mirror of
https://github.com/langgenius/dify.git
synced 2026-11-13 06:41:07 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: yyh <yuanyouhuilyz@gmail.com> Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
1115 lines
38 KiB
TypeScript
Generated
1115 lines
38 KiB
TypeScript
Generated
// This file is auto-generated by scripts/add-orpc-error-maps.ts
|
|
import * as z from 'zod'
|
|
|
|
const zErrorResponse = /* @__PURE__ */ (() =>
|
|
z.object({
|
|
code: z.string(),
|
|
details: z.record(z.string(), z.unknown()).optional(),
|
|
message: z.string(),
|
|
params: z.string().optional(),
|
|
status: z.int(),
|
|
}))()
|
|
|
|
const zInvalidRosterAgentPackageError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('invalid_roster_agent_package'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zRecommendedAppNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('recommended_app_not_found'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zAgentNameConflictError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('agent_name_conflict_error'),
|
|
status: z.literal(409),
|
|
}),
|
|
))()
|
|
|
|
const zRosterAgentPackageTooLargeError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('roster_agent_package_too_large'),
|
|
status: z.literal(413),
|
|
}),
|
|
))()
|
|
|
|
const zRosterAgentPackageImportFailedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('roster_agent_package_import_failed'),
|
|
status: z.literal(500),
|
|
}),
|
|
))()
|
|
|
|
const zRosterAgentPackageResourceUnavailableError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('roster_agent_package_resource_unavailable'),
|
|
status: z.literal(503),
|
|
}),
|
|
))()
|
|
|
|
const zAppNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('app_not_found'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zRateLimitError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('rate_limit_error'),
|
|
status: z.literal(429),
|
|
}),
|
|
))()
|
|
|
|
const zAgentNotBoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('agent_not_bound'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zAgentNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('agent_not_found_error'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zBadRequestError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('bad_request'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zNoFileUploadedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('no_file_uploaded'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zTooManyFilesError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('too_many_files'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zAppUnavailableError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('app_unavailable'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zCompletionRequestError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('completion_request_error'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zModelCurrentlyNotSupportError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('model_currently_not_support'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zNoAudioUploadedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('no_audio_uploaded'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zProviderNotInitializeError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('provider_not_initialize'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zProviderNotSupportSpeechToTextError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('provider_not_support_speech_to_text'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zProviderQuotaExceededError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('provider_quota_exceeded'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zSpeechToTextDisabledError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('speech_to_text_disabled'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zAgentVersionNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('agent_version_not_found_error'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zAudioTooLargeError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('audio_too_large'),
|
|
status: z.literal(413),
|
|
}),
|
|
))()
|
|
|
|
const zUnsupportedAudioTypeError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('unsupported_audio_type'),
|
|
status: z.literal(415),
|
|
}),
|
|
))()
|
|
|
|
const zAppSuggestedQuestionsAfterAnswerDisabledError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('app_suggested_questions_after_answer_disabled'),
|
|
status: z.literal(403),
|
|
}),
|
|
))()
|
|
|
|
const zRosterAgentPackageExportFailedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('roster_agent_package_export_failed'),
|
|
status: z.literal(500),
|
|
}),
|
|
))()
|
|
|
|
const zMessageFeedbackRatingRequiredError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('message_feedback_rating_required'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zProviderNotSupportTextToSpeechError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('provider_not_support_text_to_speech'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zInvalidTracingConfigError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('invalid_tracing_config'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zTracingProviderUnavailableError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_provider_unavailable'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zUnsupportedTracingProviderError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('unsupported_tracing_provider'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zTraceConfigNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('trace_config_not_found'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zTracingConfigConflictError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_config_conflict'),
|
|
status: z.literal(409),
|
|
}),
|
|
))()
|
|
|
|
const zTracingConfigProcessingFailedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_config_processing_failed'),
|
|
status: z.literal(500),
|
|
}),
|
|
))()
|
|
|
|
const zTracingConfigVerificationFailedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_config_verification_failed'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zTraceConfigAlreadyExistsError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('trace_config_already_exists'),
|
|
status: z.literal(409),
|
|
}),
|
|
))()
|
|
|
|
const zTracingNodeNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_node_not_found'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zTracingSourceNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_source_not_found'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zTracingRunNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_run_not_found'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zTracingAlreadyAcceptedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_already_accepted'),
|
|
status: z.literal(409),
|
|
}),
|
|
))()
|
|
|
|
const zTracingDuplicateAcknowledgementRequiredError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_duplicate_acknowledgement_required'),
|
|
status: z.literal(409),
|
|
}),
|
|
))()
|
|
|
|
const zTracingRetryNotAllowedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('tracing_retry_not_allowed'),
|
|
status: z.literal(409),
|
|
}),
|
|
))()
|
|
|
|
const zAppTriggerNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('app_trigger_not_found'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zNoActiveBindingError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('no_active_binding'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zAgentBackendUnreachableError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('agent_backend_unreachable'),
|
|
status: z.literal(502),
|
|
}),
|
|
))()
|
|
|
|
const zInspectorUnavailableError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('inspector_unavailable'),
|
|
status: z.literal(503),
|
|
}),
|
|
))()
|
|
|
|
const zBindingFileDownloadUnavailableError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('binding_file_download_unavailable'),
|
|
status: z.literal(502),
|
|
}),
|
|
))()
|
|
|
|
const zForbiddenError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('forbidden'),
|
|
status: z.literal(403),
|
|
}),
|
|
))()
|
|
|
|
const zDraftWorkflowNotExistError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('draft_workflow_not_exist'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zDraftWorkflowNotSyncError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('draft_workflow_not_sync'),
|
|
status: z.literal(409),
|
|
}),
|
|
))()
|
|
|
|
const zAgentSoulLockedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('agent_soul_locked_error'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zInvalidComposerConfigError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('invalid_composer_config_error'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zPlaintextSecretNotAllowedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('plaintext_secret_not_allowed_error'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zAgentVersionConflictError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('agent_version_conflict_error'),
|
|
status: z.literal(409),
|
|
}),
|
|
))()
|
|
|
|
const zWorkflowRunNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('workflow_run_not_found'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zNodeNotInWorkflowRunError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('node_not_in_workflow_run'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zNodeOutputNotDeclaredError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('node_output_not_declared'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zWebhookTriggerNotFoundError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('webhook_trigger_not_found'),
|
|
status: z.literal(404),
|
|
}),
|
|
))()
|
|
|
|
const zMaxKeysExceededError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('max_keys_exceeded'),
|
|
status: z.literal(400),
|
|
}),
|
|
))()
|
|
|
|
const zAgentNotPublishedError = /* @__PURE__ */ (() =>
|
|
zErrorResponse.and(
|
|
z.object({
|
|
code: z.literal('agent_not_published'),
|
|
status: z.literal(409),
|
|
}),
|
|
))()
|
|
|
|
export const getErrors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post2Errors = {
|
|
agent_name_conflict_error: { status: 409, data: zAgentNameConflictError },
|
|
invalid_roster_agent_package: { status: 400, data: zInvalidRosterAgentPackageError },
|
|
recommended_app_not_found: { status: 404, data: zRecommendedAppNotFoundError },
|
|
roster_agent_package_import_failed: { status: 500, data: zRosterAgentPackageImportFailedError },
|
|
roster_agent_package_resource_unavailable: {
|
|
status: 503,
|
|
data: zRosterAgentPackageResourceUnavailableError,
|
|
},
|
|
roster_agent_package_too_large: { status: 413, data: zRosterAgentPackageTooLargeError },
|
|
}
|
|
|
|
export const get4Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get5Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post4Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post5Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post6Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post7Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post8Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
rate_limit_error: { status: 429, data: zRateLimitError },
|
|
}
|
|
|
|
export const post9Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get6Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get7Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const delete_Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get8Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const post10Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get9Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const post11Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get10Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get11Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get12Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get13Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get14Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const delete2Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get15Errors = {
|
|
agent_not_bound: { status: 400, data: zAgentNotBoundError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const get16Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post14Errors = {
|
|
no_file_uploaded: { status: 400, data: zNoFileUploadedError },
|
|
too_many_files: { status: 400, data: zTooManyFilesError },
|
|
}
|
|
|
|
export const get20Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const delete4Errors = { bad_request: { status: 400, data: zBadRequestError } }
|
|
|
|
export const post18Errors = {
|
|
agent_version_not_found_error: { status: 404, data: zAgentVersionNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
app_unavailable: { status: 400, data: zAppUnavailableError },
|
|
audio_too_large: { status: 413, data: zAudioTooLargeError },
|
|
completion_request_error: { status: 400, data: zCompletionRequestError },
|
|
model_currently_not_support: { status: 400, data: zModelCurrentlyNotSupportError },
|
|
no_audio_uploaded: { status: 400, data: zNoAudioUploadedError },
|
|
provider_not_initialize: { status: 400, data: zProviderNotInitializeError },
|
|
provider_not_support_speech_to_text: { status: 400, data: zProviderNotSupportSpeechToTextError },
|
|
provider_quota_exceeded: { status: 400, data: zProviderQuotaExceededError },
|
|
speech_to_text_disabled: { status: 400, data: zSpeechToTextDisabledError },
|
|
unsupported_audio_type: { status: 415, data: zUnsupportedAudioTypeError },
|
|
}
|
|
|
|
export const delete5Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get24Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get25Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get26Errors = {
|
|
agent_version_not_found_error: { status: 404, data: zAgentVersionNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
app_suggested_questions_after_answer_disabled: {
|
|
status: 403,
|
|
data: zAppSuggestedQuestionsAfterAnswerDisabledError,
|
|
},
|
|
app_unavailable: { status: 400, data: zAppUnavailableError },
|
|
completion_request_error: { status: 400, data: zCompletionRequestError },
|
|
model_currently_not_support: { status: 400, data: zModelCurrentlyNotSupportError },
|
|
provider_not_initialize: { status: 400, data: zProviderNotInitializeError },
|
|
provider_quota_exceeded: { status: 400, data: zProviderQuotaExceededError },
|
|
}
|
|
|
|
export const post19Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get27Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
app_unavailable: { status: 400, data: zAppUnavailableError },
|
|
}
|
|
|
|
export const delete6Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get28Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get29Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post20Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post21Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
app_unavailable: { status: 400, data: zAppUnavailableError },
|
|
completion_request_error: { status: 400, data: zCompletionRequestError },
|
|
model_currently_not_support: { status: 400, data: zModelCurrentlyNotSupportError },
|
|
provider_not_initialize: { status: 400, data: zProviderNotInitializeError },
|
|
provider_quota_exceeded: { status: 400, data: zProviderQuotaExceededError },
|
|
}
|
|
|
|
export const get30Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post22Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get31Errors = {
|
|
roster_agent_package_export_failed: { status: 500, data: zRosterAgentPackageExportFailedError },
|
|
}
|
|
|
|
export const post24Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
app_unavailable: { status: 400, data: zAppUnavailableError },
|
|
message_feedback_rating_required: { status: 400, data: zMessageFeedbackRatingRequiredError },
|
|
}
|
|
|
|
export const get32Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
app_unavailable: { status: 400, data: zAppUnavailableError },
|
|
}
|
|
|
|
export const post26Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get33Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get34Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const putErrors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post29Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get35Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post30Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const put2Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post31Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post32Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get36Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get37Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get38Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get39Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get40Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get41Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get42Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get43Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get44Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
completion_request_error: { status: 400, data: zCompletionRequestError },
|
|
model_currently_not_support: { status: 400, data: zModelCurrentlyNotSupportError },
|
|
provider_not_initialize: { status: 400, data: zProviderNotInitializeError },
|
|
provider_quota_exceeded: { status: 400, data: zProviderQuotaExceededError },
|
|
}
|
|
|
|
export const post35Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
app_unavailable: { status: 400, data: zAppUnavailableError },
|
|
completion_request_error: { status: 400, data: zCompletionRequestError },
|
|
model_currently_not_support: { status: 400, data: zModelCurrentlyNotSupportError },
|
|
provider_not_initialize: { status: 400, data: zProviderNotInitializeError },
|
|
provider_not_support_text_to_speech: { status: 400, data: zProviderNotSupportTextToSpeechError },
|
|
provider_quota_exceeded: { status: 400, data: zProviderQuotaExceededError },
|
|
}
|
|
|
|
export const post36Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
invalid_tracing_config: { status: 400, data: zInvalidTracingConfigError },
|
|
trace_config_not_found: { status: 404, data: zTraceConfigNotFoundError },
|
|
tracing_config_conflict: { status: 409, data: zTracingConfigConflictError },
|
|
tracing_config_processing_failed: { status: 500, data: zTracingConfigProcessingFailedError },
|
|
tracing_provider_unavailable: { status: 400, data: zTracingProviderUnavailableError },
|
|
unsupported_tracing_provider: { status: 400, data: zUnsupportedTracingProviderError },
|
|
}
|
|
|
|
export const get46Errors = {
|
|
unsupported_tracing_provider: { status: 400, data: zUnsupportedTracingProviderError },
|
|
}
|
|
|
|
export const delete8Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
trace_config_not_found: { status: 404, data: zTraceConfigNotFoundError },
|
|
tracing_config_processing_failed: { status: 500, data: zTracingConfigProcessingFailedError },
|
|
unsupported_tracing_provider: { status: 400, data: zUnsupportedTracingProviderError },
|
|
}
|
|
|
|
export const get47Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
tracing_config_processing_failed: { status: 500, data: zTracingConfigProcessingFailedError },
|
|
tracing_provider_unavailable: { status: 400, data: zTracingProviderUnavailableError },
|
|
unsupported_tracing_provider: { status: 400, data: zUnsupportedTracingProviderError },
|
|
}
|
|
|
|
export const patchErrors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
invalid_tracing_config: { status: 400, data: zInvalidTracingConfigError },
|
|
trace_config_not_found: { status: 404, data: zTraceConfigNotFoundError },
|
|
tracing_config_conflict: { status: 409, data: zTracingConfigConflictError },
|
|
tracing_config_processing_failed: { status: 500, data: zTracingConfigProcessingFailedError },
|
|
tracing_config_verification_failed: { status: 400, data: zTracingConfigVerificationFailedError },
|
|
tracing_provider_unavailable: { status: 400, data: zTracingProviderUnavailableError },
|
|
unsupported_tracing_provider: { status: 400, data: zUnsupportedTracingProviderError },
|
|
}
|
|
|
|
export const post37Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
invalid_tracing_config: { status: 400, data: zInvalidTracingConfigError },
|
|
trace_config_already_exists: { status: 409, data: zTraceConfigAlreadyExistsError },
|
|
tracing_config_processing_failed: { status: 500, data: zTracingConfigProcessingFailedError },
|
|
tracing_config_verification_failed: { status: 400, data: zTracingConfigVerificationFailedError },
|
|
tracing_provider_unavailable: { status: 400, data: zTracingProviderUnavailableError },
|
|
unsupported_tracing_provider: { status: 400, data: zUnsupportedTracingProviderError },
|
|
}
|
|
|
|
export const post38Errors = {
|
|
tracing_already_accepted: { status: 409, data: zTracingAlreadyAcceptedError },
|
|
tracing_duplicate_acknowledgement_required: {
|
|
status: 409,
|
|
data: zTracingDuplicateAcknowledgementRequiredError,
|
|
},
|
|
tracing_node_not_found: { status: 404, data: zTracingNodeNotFoundError },
|
|
tracing_retry_not_allowed: { status: 409, data: zTracingRetryNotAllowedError },
|
|
tracing_run_not_found: { status: 404, data: zTracingRunNotFoundError },
|
|
tracing_source_not_found: { status: 404, data: zTracingSourceNotFoundError },
|
|
}
|
|
|
|
export const get48Errors = {
|
|
tracing_node_not_found: { status: 404, data: zTracingNodeNotFoundError },
|
|
tracing_source_not_found: { status: 404, data: zTracingSourceNotFoundError },
|
|
}
|
|
|
|
export const post39Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
app_trigger_not_found: { status: 404, data: zAppTriggerNotFoundError },
|
|
}
|
|
|
|
export const get49Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get50Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get51Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post40Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get52Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get53Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get54Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post41Errors = {
|
|
agent_backend_unreachable: { status: 502, data: zAgentBackendUnreachableError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
binding_file_download_unavailable: { status: 502, data: zBindingFileDownloadUnavailableError },
|
|
inspector_unavailable: { status: 503, data: zInspectorUnavailableError },
|
|
no_active_binding: { status: 404, data: zNoActiveBindingError },
|
|
}
|
|
|
|
export const get55Errors = {
|
|
agent_backend_unreachable: { status: 502, data: zAgentBackendUnreachableError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
inspector_unavailable: { status: 503, data: zInspectorUnavailableError },
|
|
no_active_binding: { status: 404, data: zNoActiveBindingError },
|
|
}
|
|
|
|
export const get56Errors = {
|
|
agent_backend_unreachable: { status: 502, data: zAgentBackendUnreachableError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
inspector_unavailable: { status: 503, data: zInspectorUnavailableError },
|
|
no_active_binding: { status: 404, data: zNoActiveBindingError },
|
|
}
|
|
|
|
export const get57Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get58Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const delete9Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const put3Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const post42Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const post43Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const delete10Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const get59Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const put4Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const get60Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const post44Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
forbidden: { status: 403, data: zForbiddenError },
|
|
}
|
|
|
|
export const get61Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get62Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get63Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get64Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get65Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get66Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get67Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post45Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get68Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
draft_workflow_not_exist: { status: 404, data: zDraftWorkflowNotExistError },
|
|
}
|
|
|
|
export const post46Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post47Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post48Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post49Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post50Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post51Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post52Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get69Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post53Errors = {
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
agent_version_conflict_error: { status: 409, data: zAgentVersionConflictError },
|
|
agent_version_not_found_error: { status: 404, data: zAgentVersionNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
invalid_composer_config_error: { status: 400, data: zInvalidComposerConfigError },
|
|
}
|
|
|
|
export const post54Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post55Errors = {
|
|
agent_name_conflict_error: { status: 409, data: zAgentNameConflictError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
agent_soul_locked_error: { status: 400, data: zAgentSoulLockedError },
|
|
agent_version_not_found_error: { status: 404, data: zAgentVersionNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
invalid_composer_config_error: { status: 400, data: zInvalidComposerConfigError },
|
|
plaintext_secret_not_allowed_error: { status: 400, data: zPlaintextSecretNotAllowedError },
|
|
}
|
|
|
|
export const post56Errors = {
|
|
agent_soul_locked_error: { status: 400, data: zAgentSoulLockedError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
invalid_composer_config_error: { status: 400, data: zInvalidComposerConfigError },
|
|
plaintext_secret_not_allowed_error: { status: 400, data: zPlaintextSecretNotAllowedError },
|
|
}
|
|
|
|
export const get70Errors = {
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
agent_version_not_found_error: { status: 404, data: zAgentVersionNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
}
|
|
|
|
export const put5Errors = {
|
|
agent_name_conflict_error: { status: 409, data: zAgentNameConflictError },
|
|
agent_not_found_error: { status: 404, data: zAgentNotFoundError },
|
|
agent_soul_locked_error: { status: 400, data: zAgentSoulLockedError },
|
|
agent_version_not_found_error: { status: 404, data: zAgentVersionNotFoundError },
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
invalid_composer_config_error: { status: 400, data: zInvalidComposerConfigError },
|
|
plaintext_secret_not_allowed_error: { status: 400, data: zPlaintextSecretNotAllowedError },
|
|
}
|
|
|
|
export const get71Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post57Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post58Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const delete11Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get72Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post59Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
rate_limit_error: { status: 429, data: zRateLimitError },
|
|
}
|
|
|
|
export const get73Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
workflow_run_not_found: { status: 404, data: zWorkflowRunNotFoundError },
|
|
}
|
|
|
|
export const get74Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
node_not_in_workflow_run: { status: 404, data: zNodeNotInWorkflowRunError },
|
|
node_output_not_declared: { status: 404, data: zNodeOutputNotDeclaredError },
|
|
workflow_run_not_found: { status: 404, data: zWorkflowRunNotFoundError },
|
|
}
|
|
|
|
export const get75Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
node_not_in_workflow_run: { status: 404, data: zNodeNotInWorkflowRunError },
|
|
workflow_run_not_found: { status: 404, data: zWorkflowRunNotFoundError },
|
|
}
|
|
|
|
export const get76Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
workflow_run_not_found: { status: 404, data: zWorkflowRunNotFoundError },
|
|
}
|
|
|
|
export const get77Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post60Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
rate_limit_error: { status: 429, data: zRateLimitError },
|
|
}
|
|
|
|
export const post61Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
rate_limit_error: { status: 429, data: zRateLimitError },
|
|
}
|
|
|
|
export const put6Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const delete12Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get78Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const patch2Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const delete13Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get79Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
draft_workflow_not_exist: { status: 404, data: zDraftWorkflowNotExistError },
|
|
}
|
|
|
|
export const get80Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
draft_workflow_not_exist: { status: 404, data: zDraftWorkflowNotExistError },
|
|
}
|
|
|
|
export const post62Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
draft_workflow_not_sync: { status: 409, data: zDraftWorkflowNotSyncError },
|
|
}
|
|
|
|
export const get81Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post63Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get82Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
workflow_run_not_found: { status: 404, data: zWorkflowRunNotFoundError },
|
|
}
|
|
|
|
export const get83Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
node_not_in_workflow_run: { status: 404, data: zNodeNotInWorkflowRunError },
|
|
node_output_not_declared: { status: 404, data: zNodeOutputNotDeclaredError },
|
|
workflow_run_not_found: { status: 404, data: zWorkflowRunNotFoundError },
|
|
}
|
|
|
|
export const get84Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
node_not_in_workflow_run: { status: 404, data: zNodeNotInWorkflowRunError },
|
|
workflow_run_not_found: { status: 404, data: zWorkflowRunNotFoundError },
|
|
}
|
|
|
|
export const get85Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
workflow_run_not_found: { status: 404, data: zWorkflowRunNotFoundError },
|
|
}
|
|
|
|
export const get86Errors = {
|
|
app_not_found: { status: 404, data: zAppNotFoundError },
|
|
webhook_trigger_not_found: { status: 404, data: zWebhookTriggerNotFoundError },
|
|
}
|
|
|
|
export const post64Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const delete14Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const patch3Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const get87Errors = { app_not_found: { status: 404, data: zAppNotFoundError } }
|
|
|
|
export const post65Errors = {
|
|
agent_not_published: { status: 409, data: zAgentNotPublishedError },
|
|
max_keys_exceeded: { status: 400, data: zMaxKeysExceededError },
|
|
}
|