2024-11-26 01:22:45 +00:00
|
|
|
// Code generated by ogen, DO NOT EDIT.
|
|
|
|
|
|
|
|
package api
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
ht "github.com/ogen-go/ogen/http"
|
|
|
|
)
|
|
|
|
|
|
|
|
// UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
|
|
|
|
type UnimplementedHandler struct{}
|
|
|
|
|
|
|
|
var _ Handler = UnimplementedHandler{}
|
|
|
|
|
2024-11-28 01:46:54 +00:00
|
|
|
// ActionSubmissionReject implements actionSubmissionReject operation.
|
|
|
|
//
|
|
|
|
// Role Reviewer changes status from Submitted -> Rejected.
|
|
|
|
//
|
2024-12-10 06:06:33 +00:00
|
|
|
// POST /submissions/{SubmissionID}/status/reject
|
2024-11-28 01:46:54 +00:00
|
|
|
func (UnimplementedHandler) ActionSubmissionReject(ctx context.Context, params ActionSubmissionRejectParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ActionSubmissionRequestChanges implements actionSubmissionRequestChanges operation.
|
|
|
|
//
|
|
|
|
// Role Reviewer changes status from Validated|Accepted|Submitted -> ChangesRequested.
|
|
|
|
//
|
2024-12-10 06:06:33 +00:00
|
|
|
// POST /submissions/{SubmissionID}/status/request-changes
|
2024-11-28 01:46:54 +00:00
|
|
|
func (UnimplementedHandler) ActionSubmissionRequestChanges(ctx context.Context, params ActionSubmissionRequestChangesParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ActionSubmissionRevoke implements actionSubmissionRevoke operation.
|
|
|
|
//
|
|
|
|
// Role Submitter changes status from Submitted|ChangesRequested -> UnderConstruction.
|
|
|
|
//
|
2024-12-10 06:06:33 +00:00
|
|
|
// POST /submissions/{SubmissionID}/status/revoke
|
2024-11-28 01:46:54 +00:00
|
|
|
func (UnimplementedHandler) ActionSubmissionRevoke(ctx context.Context, params ActionSubmissionRevokeParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ActionSubmissionSubmit implements actionSubmissionSubmit operation.
|
|
|
|
//
|
|
|
|
// Role Submitter changes status from UnderConstruction|ChangesRequested -> Submitted.
|
|
|
|
//
|
2024-12-10 06:06:33 +00:00
|
|
|
// POST /submissions/{SubmissionID}/status/submit
|
2024-11-28 01:46:54 +00:00
|
|
|
func (UnimplementedHandler) ActionSubmissionSubmit(ctx context.Context, params ActionSubmissionSubmitParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-12-14 19:55:56 +00:00
|
|
|
// ActionSubmissionTriggerUpload implements actionSubmissionTriggerUpload operation.
|
2024-11-28 01:46:54 +00:00
|
|
|
//
|
2024-12-14 19:55:56 +00:00
|
|
|
// Role Admin changes status from Validated -> Uploading.
|
2024-11-28 01:46:54 +00:00
|
|
|
//
|
2024-12-14 19:55:56 +00:00
|
|
|
// POST /submissions/{SubmissionID}/status/trigger-upload
|
|
|
|
func (UnimplementedHandler) ActionSubmissionTriggerUpload(ctx context.Context, params ActionSubmissionTriggerUploadParams) error {
|
2024-11-28 01:46:54 +00:00
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ActionSubmissionTriggerValidate implements actionSubmissionTriggerValidate operation.
|
|
|
|
//
|
|
|
|
// Role Reviewer triggers validation and changes status from Submitted|Accepted -> Validating.
|
|
|
|
//
|
2024-12-10 06:06:33 +00:00
|
|
|
// POST /submissions/{SubmissionID}/status/trigger-validate
|
2024-11-28 01:46:54 +00:00
|
|
|
func (UnimplementedHandler) ActionSubmissionTriggerValidate(ctx context.Context, params ActionSubmissionTriggerValidateParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-12-06 00:36:15 +00:00
|
|
|
// CreateScript implements createScript operation.
|
|
|
|
//
|
|
|
|
// Create a new script.
|
|
|
|
//
|
|
|
|
// POST /scripts
|
2024-12-06 02:48:26 +00:00
|
|
|
func (UnimplementedHandler) CreateScript(ctx context.Context, req *ScriptCreate) (r *ID, _ error) {
|
2024-12-06 00:36:15 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateScriptPolicy implements createScriptPolicy operation.
|
|
|
|
//
|
|
|
|
// Create a new script policy.
|
|
|
|
//
|
|
|
|
// POST /script-policy
|
2024-12-06 02:48:26 +00:00
|
|
|
func (UnimplementedHandler) CreateScriptPolicy(ctx context.Context, req *ScriptPolicyCreate) (r *ID, _ error) {
|
2024-12-06 00:36:15 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-11-26 20:39:10 +00:00
|
|
|
// CreateSubmission implements createSubmission operation.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// Create new submission.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// POST /submissions
|
2024-12-06 02:48:26 +00:00
|
|
|
func (UnimplementedHandler) CreateSubmission(ctx context.Context, req *SubmissionCreate) (r *ID, _ error) {
|
2024-11-26 01:22:45 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-12-06 00:36:15 +00:00
|
|
|
// DeleteScript implements deleteScript operation.
|
|
|
|
//
|
|
|
|
// Delete the specified script by ID.
|
|
|
|
//
|
|
|
|
// DELETE /scripts/{ScriptID}
|
|
|
|
func (UnimplementedHandler) DeleteScript(ctx context.Context, params DeleteScriptParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteScriptPolicy implements deleteScriptPolicy operation.
|
|
|
|
//
|
|
|
|
// Delete the specified script policy by ID.
|
|
|
|
//
|
2024-12-18 23:06:39 +00:00
|
|
|
// DELETE /script-policy/{ScriptPolicyID}
|
2024-12-06 00:36:15 +00:00
|
|
|
func (UnimplementedHandler) DeleteScriptPolicy(ctx context.Context, params DeleteScriptPolicyParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetScript implements getScript operation.
|
|
|
|
//
|
|
|
|
// Get the specified script by ID.
|
|
|
|
//
|
|
|
|
// GET /scripts/{ScriptID}
|
|
|
|
func (UnimplementedHandler) GetScript(ctx context.Context, params GetScriptParams) (r *Script, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetScriptPolicy implements getScriptPolicy operation.
|
|
|
|
//
|
|
|
|
// Get the specified script policy by ID.
|
|
|
|
//
|
2024-12-18 23:06:39 +00:00
|
|
|
// GET /script-policy/{ScriptPolicyID}
|
2024-12-06 00:36:15 +00:00
|
|
|
func (UnimplementedHandler) GetScriptPolicy(ctx context.Context, params GetScriptPolicyParams) (r *ScriptPolicy, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-11-26 20:39:10 +00:00
|
|
|
// GetSubmission implements getSubmission operation.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// Retrieve map with ID.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// GET /submissions/{SubmissionID}
|
|
|
|
func (UnimplementedHandler) GetSubmission(ctx context.Context, params GetSubmissionParams) (r *Submission, _ error) {
|
2024-11-26 01:22:45 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-12-14 06:15:05 +00:00
|
|
|
// ListScriptPolicy implements listScriptPolicy operation.
|
|
|
|
//
|
|
|
|
// Get list of script policies.
|
|
|
|
//
|
|
|
|
// GET /script-policy
|
2024-12-18 05:36:40 +00:00
|
|
|
func (UnimplementedHandler) ListScriptPolicy(ctx context.Context, params ListScriptPolicyParams) (r []ScriptPolicy, _ error) {
|
2024-12-14 06:15:05 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-12-18 23:06:39 +00:00
|
|
|
// ListScripts implements listScripts operation.
|
|
|
|
//
|
|
|
|
// Get list of scripts.
|
|
|
|
//
|
|
|
|
// GET /scripts
|
|
|
|
func (UnimplementedHandler) ListScripts(ctx context.Context, params ListScriptsParams) (r []Script, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-11-26 20:39:10 +00:00
|
|
|
// ListSubmissions implements listSubmissions operation.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// Get list of submissions.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// GET /submissions
|
2024-12-18 05:36:40 +00:00
|
|
|
func (UnimplementedHandler) ListSubmissions(ctx context.Context, params ListSubmissionsParams) (r []Submission, _ error) {
|
2024-11-26 01:22:45 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-12-10 06:06:33 +00:00
|
|
|
// SetSubmissionCompleted implements setSubmissionCompleted operation.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// Retrieve map with ID.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-12-10 06:06:33 +00:00
|
|
|
// POST /submissions/{SubmissionID}/completed
|
|
|
|
func (UnimplementedHandler) SetSubmissionCompleted(ctx context.Context, params SetSubmissionCompletedParams) error {
|
2024-11-26 20:39:10 +00:00
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-12-06 00:36:15 +00:00
|
|
|
// UpdateScript implements updateScript operation.
|
|
|
|
//
|
|
|
|
// Update the specified script by ID.
|
|
|
|
//
|
2024-12-10 06:06:33 +00:00
|
|
|
// POST /scripts/{ScriptID}
|
2024-12-06 02:48:26 +00:00
|
|
|
func (UnimplementedHandler) UpdateScript(ctx context.Context, req *ScriptUpdate, params UpdateScriptParams) error {
|
2024-12-06 00:36:15 +00:00
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateScriptPolicy implements updateScriptPolicy operation.
|
|
|
|
//
|
|
|
|
// Update the specified script policy by ID.
|
|
|
|
//
|
2024-12-18 23:06:39 +00:00
|
|
|
// POST /script-policy/{ScriptPolicyID}
|
2024-12-06 02:48:26 +00:00
|
|
|
func (UnimplementedHandler) UpdateScriptPolicy(ctx context.Context, req *ScriptPolicyUpdate, params UpdateScriptPolicyParams) error {
|
2024-12-06 00:36:15 +00:00
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-12-10 06:06:33 +00:00
|
|
|
// UpdateSubmissionModel implements updateSubmissionModel operation.
|
|
|
|
//
|
|
|
|
// Update model following role restrictions.
|
|
|
|
//
|
|
|
|
// POST /submissions/{SubmissionID}/model
|
|
|
|
func (UnimplementedHandler) UpdateSubmissionModel(ctx context.Context, params UpdateSubmissionModelParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-11-26 01:22:45 +00:00
|
|
|
// NewError creates *ErrorStatusCode from error returned by handler.
|
|
|
|
//
|
|
|
|
// Used for common default response.
|
|
|
|
func (UnimplementedHandler) NewError(ctx context.Context, err error) (r *ErrorStatusCode) {
|
|
|
|
r = new(ErrorStatusCode)
|
|
|
|
return r
|
|
|
|
}
|