@payloadcms/figma 0.0.1-alpha.7 → 0.0.1-alpha.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/control-plane.d.ts +56 -6
- package/dist/api/control-plane.js +181 -72
- package/dist/api/figma-api.d.ts +22 -1
- package/dist/api/figma-api.js +78 -25
- package/dist/auth/callback-server.d.ts +19 -7
- package/dist/auth/callback-server.js +72 -30
- package/dist/auth/credentials.d.ts +21 -0
- package/dist/auth/credentials.js +21 -0
- package/dist/auth/crypto-utils.d.ts +28 -0
- package/dist/auth/crypto-utils.js +132 -21
- package/dist/auth/jwt-validator.d.ts +2 -1
- package/dist/auth/jwt-validator.js +2 -2
- package/dist/auth/oauth-flow.d.ts +19 -3
- package/dist/auth/oauth-flow.js +77 -22
- package/dist/auth/project-token.d.ts +32 -16
- package/dist/auth/project-token.js +171 -65
- package/dist/auth/refresh.d.ts +2 -1
- package/dist/auth/refresh.js +25 -12
- package/dist/auth/token-store-migration.d.ts +58 -0
- package/dist/auth/token-store-migration.js +156 -0
- package/dist/auth/token-store.d.ts +63 -97
- package/dist/auth/token-store.js +405 -122
- package/dist/auth/types.d.ts +35 -4
- package/dist/cli.js +93 -6
- package/dist/commands/bootstrap.d.ts +18 -0
- package/dist/commands/bootstrap.js +90 -0
- package/dist/commands/build-lambda-zip.d.ts +5 -0
- package/dist/commands/build-lambda-zip.js +19 -0
- package/dist/commands/debug.d.ts +8 -0
- package/dist/commands/debug.js +180 -0
- package/dist/commands/deploy.d.ts +9 -0
- package/dist/commands/deploy.js +180 -151
- package/dist/commands/dump-tokens.d.ts +12 -0
- package/dist/commands/dump-tokens.js +69 -0
- package/dist/commands/env.d.ts +13 -0
- package/dist/commands/env.js +88 -0
- package/dist/commands/init.d.ts +9 -5
- package/dist/commands/init.js +241 -148
- package/dist/commands/list-tokens.d.ts +3 -3
- package/dist/commands/list-tokens.js +24 -9
- package/dist/commands/login.d.ts +8 -1
- package/dist/commands/login.js +34 -16
- package/dist/commands/logout.d.ts +5 -4
- package/dist/commands/logout.js +77 -15
- package/dist/commands/upgrade.d.ts +5 -0
- package/dist/commands/upgrade.js +331 -0
- package/dist/config/oauth.d.ts +17 -11
- package/dist/config/oauth.js +38 -37
- package/dist/constants.d.ts +63 -18
- package/dist/constants.js +158 -18
- package/dist/db-content-api/generated/content-api-types.d.ts +3978 -0
- package/dist/db-content-api/generated/content-api-types.js +7 -0
- package/dist/db-content-api/index.d.ts +37 -0
- package/dist/db-content-api/index.js +923 -0
- package/dist/db-content-api/temp-utilities/slug.d.ts +2 -0
- package/dist/db-content-api/temp-utilities/slug.js +3 -0
- package/dist/db-content-api/temp-utilities/sorting.d.ts +3 -0
- package/dist/db-content-api/temp-utilities/sorting.js +39 -0
- package/dist/db-content-api/temp-utilities/types.d.ts +22 -0
- package/dist/db-content-api/temp-utilities/types.js +15 -0
- package/dist/db-content-api/temp-utilities/unwrapDocument.d.ts +39 -0
- package/dist/db-content-api/temp-utilities/unwrapDocument.js +64 -0
- package/dist/db-content-api/utilities/auth.d.ts +30 -0
- package/dist/db-content-api/utilities/auth.js +84 -0
- package/dist/db-content-api/utilities/data/applyDefaults.d.ts +7 -0
- package/dist/db-content-api/utilities/data/applyDefaults.js +75 -0
- package/dist/db-content-api/utilities/data/castFieldValue.d.ts +11 -0
- package/dist/db-content-api/utilities/data/castFieldValue.js +68 -0
- package/dist/db-content-api/utilities/data/index.d.ts +49 -0
- package/dist/db-content-api/utilities/data/index.js +301 -0
- package/dist/db-content-api/utilities/data/removeVirtualFields.d.ts +12 -0
- package/dist/db-content-api/utilities/data/removeVirtualFields.js +54 -0
- package/dist/db-content-api/utilities/data/stripFields.d.ts +48 -0
- package/dist/db-content-api/utilities/data/stripFields.js +195 -0
- package/dist/db-content-api/utilities/data/transformPublishedLocale.d.ts +23 -0
- package/dist/db-content-api/utilities/data/transformPublishedLocale.js +42 -0
- package/dist/db-content-api/utilities/data/validateRelationships.d.ts +7 -0
- package/dist/db-content-api/utilities/data/validateRelationships.js +102 -0
- package/dist/db-content-api/utilities/joins.d.ts +53 -0
- package/dist/db-content-api/utilities/joins.js +139 -0
- package/dist/db-content-api/utilities/locale/index.d.ts +10 -0
- package/dist/db-content-api/utilities/locale/index.js +21 -0
- package/dist/db-content-api/utilities/meta/buildLocalizedPaths.d.ts +11 -0
- package/dist/db-content-api/utilities/meta/buildLocalizedPaths.js +74 -0
- package/dist/db-content-api/utilities/meta/buildMeta.d.ts +42 -0
- package/dist/db-content-api/utilities/meta/buildMeta.js +41 -0
- package/dist/db-content-api/utilities/meta/buildPathTypes.d.ts +17 -0
- package/dist/db-content-api/utilities/meta/buildPathTypes.js +244 -0
- package/dist/db-content-api/utilities/meta/buildUniquePaths.d.ts +13 -0
- package/dist/db-content-api/utilities/meta/buildUniquePaths.js +62 -0
- package/dist/db-content-api/utilities/meta/normalizeLocaleInWhere.d.ts +10 -0
- package/dist/db-content-api/utilities/meta/normalizeLocaleInWhere.js +102 -0
- package/dist/db-content-api/utilities/where.d.ts +20 -0
- package/dist/db-content-api/utilities/where.js +108 -0
- package/dist/deploy/schedule-extract-plugin.d.ts +11 -0
- package/dist/deploy/schedule-extract-plugin.js +34 -0
- package/dist/endpoints/health.d.ts +3 -0
- package/dist/endpoints/health.js +11 -0
- package/dist/endpoints/schema.d.ts +3 -0
- package/dist/endpoints/schema.js +29 -0
- package/dist/exports/client.d.ts +3 -0
- package/dist/exports/client.js +3 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/lib/download-skill.d.ts +13 -0
- package/dist/lib/download-skill.js +79 -0
- package/dist/oauth/components/FigmaAvatar/index.d.ts +4 -0
- package/dist/oauth/components/FigmaAvatar/index.js +27 -0
- package/dist/oauth/components/FigmaAvatar/index.scss +12 -0
- package/dist/oauth/components/FigmaAvatarCell/index.d.ts +5 -0
- package/dist/oauth/components/FigmaAvatarCell/index.js +25 -0
- package/dist/oauth/components/FigmaAvatarCell/index.scss +5 -0
- package/dist/oauth/components/FigmaAvatarPlaceholder/index.d.ts +9 -0
- package/dist/oauth/components/FigmaAvatarPlaceholder/index.js +37 -0
- package/dist/oauth/components/FigmaAvatarPlaceholder/index.scss +28 -0
- package/dist/oauth/components/LoginButton/iframeAutoLogin.d.ts +82 -0
- package/dist/oauth/components/LoginButton/iframeAutoLogin.js +170 -0
- package/dist/oauth/components/LoginButton/index.js +150 -12
- package/dist/oauth/components/LoginButton/index.scss +75 -3
- package/dist/oauth/components/LogoutButton/index.js +20 -7
- package/dist/oauth/defaults.d.ts +3 -1
- package/dist/oauth/defaults.js +68 -10
- package/dist/oauth/endpoints/getLoginEndpoint.js +72 -77
- package/dist/oauth/endpoints/getLogoutEndpoint.js +7 -4
- package/dist/oauth/endpoints/getMetaEndpoint.js +18 -3
- package/dist/oauth/endpoints/getRedirectToLoginEndpoint.js +11 -2
- package/dist/oauth/index.js +27 -5
- package/dist/oauth/strategy/index.d.ts +0 -2
- package/dist/oauth/strategy/index.js +40 -17
- package/dist/oauth/types.d.ts +23 -6
- package/dist/oauth/utilities/establishSession.d.ts +23 -0
- package/dist/oauth/utilities/establishSession.js +82 -0
- package/dist/oauth/utilities/exchangeCodeForAccessToken.d.ts +24 -0
- package/dist/oauth/utilities/exchangeCodeForAccessToken.js +28 -0
- package/dist/oauth/utilities/figmaHostnames.d.ts +3 -0
- package/dist/oauth/utilities/figmaHostnames.js +26 -0
- package/dist/oauth/utilities/getAuthorizeURL.d.ts +65 -1
- package/dist/oauth/utilities/getAuthorizeURL.js +57 -2
- package/dist/oauth/utilities/isAbsoluteURL.d.ts +2 -0
- package/dist/oauth/utilities/isAbsoluteURL.js +3 -0
- package/dist/oauth/utilities/isDuplicateKeyError.d.ts +7 -0
- package/dist/oauth/utilities/isDuplicateKeyError.js +14 -0
- package/dist/oauth/utilities/refreshTokens.js +6 -3
- package/dist/plugin/auth-preflight.d.ts +8 -0
- package/dist/plugin/auth-preflight.js +20 -0
- package/dist/plugin/bootstrap-preflight.d.ts +23 -0
- package/dist/plugin/bootstrap-preflight.js +45 -0
- package/dist/plugin/build-config.d.ts +27 -15
- package/dist/plugin/build-config.js +327 -17
- package/dist/plugin/dev-cookie-names.d.ts +14 -0
- package/dist/plugin/dev-cookie-names.js +19 -0
- package/dist/storage-content-api/api-types.d.ts +168 -0
- package/dist/storage-content-api/api-types.js +6 -0
- package/dist/storage-content-api/client-uploads/ClientUploadHandler.d.ts +9 -0
- package/dist/storage-content-api/client-uploads/ClientUploadHandler.js +43 -0
- package/dist/storage-content-api/client-uploads/generateSignedURL.d.ts +13 -0
- package/dist/storage-content-api/client-uploads/generateSignedURL.js +39 -0
- package/dist/storage-content-api/client.d.ts +6 -0
- package/dist/storage-content-api/client.js +39 -0
- package/dist/storage-content-api/generateURL.d.ts +7 -0
- package/dist/storage-content-api/generateURL.js +8 -0
- package/dist/storage-content-api/handleDelete.d.ts +8 -0
- package/dist/storage-content-api/handleDelete.js +17 -0
- package/dist/storage-content-api/handleUpload.d.ts +11 -0
- package/dist/storage-content-api/handleUpload.js +144 -0
- package/dist/storage-content-api/index.d.ts +5 -0
- package/dist/storage-content-api/index.js +31 -0
- package/dist/storage-content-api/staticHandler.d.ts +10 -0
- package/dist/storage-content-api/staticHandler.js +63 -0
- package/dist/storage-content-api/types.d.ts +10 -0
- package/dist/storage-content-api/types.js +3 -0
- package/dist/storage-content-api/utilities/getSafeFilename.d.ts +12 -0
- package/dist/storage-content-api/utilities/getSafeFilename.js +61 -0
- package/dist/storage-content-api/utilities/index.d.ts +3 -0
- package/dist/storage-content-api/utilities/index.js +4 -0
- package/dist/storage-content-api/utilities/parseClientUploadContext.d.ts +19 -0
- package/dist/storage-content-api/utilities/parseClientUploadContext.js +30 -0
- package/dist/templates/.env.example +5 -0
- package/dist/templates/README.md +19 -0
- package/dist/types/config.d.ts +2 -1
- package/dist/types/config.js +0 -2
- package/dist/types.d.ts +10 -1
- package/dist/utils/adapters/nextjs.d.ts +9 -0
- package/dist/utils/adapters/nextjs.js +64 -0
- package/dist/utils/adapters/nitro.d.ts +9 -0
- package/dist/utils/adapters/nitro.js +169 -0
- package/dist/utils/adapters/vite.d.ts +10 -0
- package/dist/utils/adapters/vite.js +33 -0
- package/dist/utils/asset-collection.d.ts +27 -6
- package/dist/utils/asset-collection.js +59 -30
- package/dist/utils/build-detection.d.ts +5 -11
- package/dist/utils/build-detection.js +74 -11
- package/dist/utils/build-lambda-zip.d.ts +16 -0
- package/dist/utils/build-lambda-zip.js +78 -0
- package/dist/utils/cache-bootstrap.d.ts +8 -0
- package/dist/utils/cache-bootstrap.js +18 -0
- package/dist/utils/config.js +1 -1
- package/dist/utils/deploy-adapter.d.ts +40 -0
- package/dist/utils/deploy-adapter.js +58 -0
- package/dist/utils/download-template.d.ts +9 -1
- package/dist/utils/download-template.js +24 -18
- package/dist/utils/env-management.d.ts +24 -7
- package/dist/utils/env-management.js +119 -64
- package/dist/utils/format-env-suffix.d.ts +12 -0
- package/dist/utils/format-env-suffix.js +13 -0
- package/dist/utils/formatter.js +23 -11
- package/dist/utils/fs-utils.d.ts +6 -0
- package/dist/utils/fs-utils.js +27 -0
- package/dist/utils/handle-upgrade.d.ts +9 -0
- package/dist/utils/handle-upgrade.js +41 -0
- package/dist/utils/lambda-config.d.ts +3 -1
- package/dist/utils/lambda-config.js +75 -78
- package/dist/utils/messages.d.ts +1 -2
- package/dist/utils/messages.js +39 -11
- package/dist/utils/package-manager.d.ts +24 -0
- package/dist/utils/package-manager.js +53 -0
- package/dist/utils/parse-template-spec.d.ts +12 -0
- package/dist/utils/parse-template-spec.js +62 -0
- package/dist/utils/payload-config-ast.d.ts +27 -6
- package/dist/utils/payload-config-ast.js +106 -58
- package/dist/utils/payload-config-finder.d.ts +2 -2
- package/dist/utils/payload-config-finder.js +48 -9
- package/dist/utils/payload-config-modifier.d.ts +1 -1
- package/dist/utils/payload-config-modifier.js +114 -66
- package/dist/utils/payload-package-check.d.ts +33 -2
- package/dist/utils/payload-package-check.js +129 -28
- package/dist/utils/project.d.ts +7 -2
- package/dist/utils/project.js +60 -32
- package/dist/utils/resolve-environment.d.ts +14 -0
- package/dist/utils/resolve-environment.js +31 -0
- package/dist/utils/s3-upload.d.ts +7 -2
- package/dist/utils/s3-upload.js +39 -6
- package/dist/utils/token-display.d.ts +5 -1
- package/dist/utils/token-display.js +49 -22
- package/dist/utils/typescript-validator.js +4 -6
- package/dist/utils/version-check.d.ts +3 -0
- package/dist/utils/version-check.js +38 -0
- package/package.json +44 -15
- package/dist/api/control-plane.d.ts.map +0 -1
- package/dist/api/control-plane.js.map +0 -1
- package/dist/api/figma-api.d.ts.map +0 -1
- package/dist/api/figma-api.js.map +0 -1
- package/dist/auth/browser.d.ts.map +0 -1
- package/dist/auth/browser.js.map +0 -1
- package/dist/auth/callback-server.d.ts.map +0 -1
- package/dist/auth/callback-server.js.map +0 -1
- package/dist/auth/crypto-utils.d.ts.map +0 -1
- package/dist/auth/crypto-utils.js.map +0 -1
- package/dist/auth/jwt-validator.d.ts.map +0 -1
- package/dist/auth/jwt-validator.js.map +0 -1
- package/dist/auth/oauth-flow.d.ts.map +0 -1
- package/dist/auth/oauth-flow.js.map +0 -1
- package/dist/auth/pkce.d.ts.map +0 -1
- package/dist/auth/pkce.js.map +0 -1
- package/dist/auth/project-token.d.ts.map +0 -1
- package/dist/auth/project-token.js.map +0 -1
- package/dist/auth/refresh.d.ts.map +0 -1
- package/dist/auth/refresh.js.map +0 -1
- package/dist/auth/token-store.d.ts.map +0 -1
- package/dist/auth/token-store.js.map +0 -1
- package/dist/auth/types.d.ts.map +0 -1
- package/dist/auth/types.js.map +0 -1
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/commands/deploy.d.ts.map +0 -1
- package/dist/commands/deploy.js.map +0 -1
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/list-tokens.d.ts.map +0 -1
- package/dist/commands/list-tokens.js.map +0 -1
- package/dist/commands/login.d.ts.map +0 -1
- package/dist/commands/login.js.map +0 -1
- package/dist/commands/logout.d.ts.map +0 -1
- package/dist/commands/logout.js.map +0 -1
- package/dist/config/oauth.d.ts.map +0 -1
- package/dist/config/oauth.js.map +0 -1
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js.map +0 -1
- package/dist/exports/client.d.ts.map +0 -1
- package/dist/exports/client.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/oauth/components/LoginButton/index.d.ts.map +0 -1
- package/dist/oauth/components/LoginButton/index.js.map +0 -1
- package/dist/oauth/components/LogoutButton/index.d.ts.map +0 -1
- package/dist/oauth/components/LogoutButton/index.js.map +0 -1
- package/dist/oauth/defaults.d.ts.map +0 -1
- package/dist/oauth/defaults.js.map +0 -1
- package/dist/oauth/endpoints/getLoginEndpoint.d.ts.map +0 -1
- package/dist/oauth/endpoints/getLoginEndpoint.js.map +0 -1
- package/dist/oauth/endpoints/getLogoutEndpoint.d.ts.map +0 -1
- package/dist/oauth/endpoints/getLogoutEndpoint.js.map +0 -1
- package/dist/oauth/endpoints/getMetaEndpoint.d.ts.map +0 -1
- package/dist/oauth/endpoints/getMetaEndpoint.js.map +0 -1
- package/dist/oauth/endpoints/getRedirectToLoginEndpoint.d.ts.map +0 -1
- package/dist/oauth/endpoints/getRedirectToLoginEndpoint.js.map +0 -1
- package/dist/oauth/exports/client.d.ts.map +0 -1
- package/dist/oauth/exports/client.js.map +0 -1
- package/dist/oauth/hooks/afterLogout.d.ts.map +0 -1
- package/dist/oauth/hooks/afterLogout.js.map +0 -1
- package/dist/oauth/hooks/me.d.ts.map +0 -1
- package/dist/oauth/hooks/me.js.map +0 -1
- package/dist/oauth/hooks/refresh.d.ts.map +0 -1
- package/dist/oauth/hooks/refresh.js.map +0 -1
- package/dist/oauth/index.d.ts.map +0 -1
- package/dist/oauth/index.js.map +0 -1
- package/dist/oauth/strategy/index.d.ts.map +0 -1
- package/dist/oauth/strategy/index.js.map +0 -1
- package/dist/oauth/types.d.ts.map +0 -1
- package/dist/oauth/types.js.map +0 -1
- package/dist/oauth/utilities/clearCookie.d.ts.map +0 -1
- package/dist/oauth/utilities/clearCookie.js.map +0 -1
- package/dist/oauth/utilities/createCookieOptions.d.ts.map +0 -1
- package/dist/oauth/utilities/createCookieOptions.js.map +0 -1
- package/dist/oauth/utilities/createDebugLogger.d.ts.map +0 -1
- package/dist/oauth/utilities/createDebugLogger.js.map +0 -1
- package/dist/oauth/utilities/extractOrigin.d.ts.map +0 -1
- package/dist/oauth/utilities/extractOrigin.js.map +0 -1
- package/dist/oauth/utilities/getAdminCollectionSlug.d.ts.map +0 -1
- package/dist/oauth/utilities/getAdminCollectionSlug.js.map +0 -1
- package/dist/oauth/utilities/getAdminPath.d.ts +0 -8
- package/dist/oauth/utilities/getAdminPath.d.ts.map +0 -1
- package/dist/oauth/utilities/getAdminPath.js +0 -9
- package/dist/oauth/utilities/getAdminPath.js.map +0 -1
- package/dist/oauth/utilities/getAuthorizeURL.d.ts.map +0 -1
- package/dist/oauth/utilities/getAuthorizeURL.js.map +0 -1
- package/dist/oauth/utilities/getCookieExpiration.d.ts.map +0 -1
- package/dist/oauth/utilities/getCookieExpiration.js.map +0 -1
- package/dist/oauth/utilities/getSecondsFromTokenExp.d.ts.map +0 -1
- package/dist/oauth/utilities/getSecondsFromTokenExp.js.map +0 -1
- package/dist/oauth/utilities/getTokenExp.d.ts.map +0 -1
- package/dist/oauth/utilities/getTokenExp.js.map +0 -1
- package/dist/oauth/utilities/getUsernameField.d.ts.map +0 -1
- package/dist/oauth/utilities/getUsernameField.js.map +0 -1
- package/dist/oauth/utilities/hasUserTokenPropsChanged.d.ts.map +0 -1
- package/dist/oauth/utilities/hasUserTokenPropsChanged.js.map +0 -1
- package/dist/oauth/utilities/mergeHeaders.d.ts.map +0 -1
- package/dist/oauth/utilities/mergeHeaders.js.map +0 -1
- package/dist/oauth/utilities/refreshTokens.d.ts.map +0 -1
- package/dist/oauth/utilities/refreshTokens.js.map +0 -1
- package/dist/plugin/adapter.d.ts.map +0 -1
- package/dist/plugin/adapter.js.map +0 -1
- package/dist/plugin/build-config.d.ts.map +0 -1
- package/dist/plugin/build-config.js.map +0 -1
- package/dist/types/config.d.ts.map +0 -1
- package/dist/types/config.js.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js.map +0 -1
- package/dist/utils/asset-collection.d.ts.map +0 -1
- package/dist/utils/asset-collection.js.map +0 -1
- package/dist/utils/build-detection.d.ts.map +0 -1
- package/dist/utils/build-detection.js.map +0 -1
- package/dist/utils/config.d.ts.map +0 -1
- package/dist/utils/config.js.map +0 -1
- package/dist/utils/download-template.d.ts.map +0 -1
- package/dist/utils/download-template.js.map +0 -1
- package/dist/utils/env-management.d.ts.map +0 -1
- package/dist/utils/env-management.js.map +0 -1
- package/dist/utils/format.d.ts.map +0 -1
- package/dist/utils/format.js.map +0 -1
- package/dist/utils/formatter.d.ts.map +0 -1
- package/dist/utils/formatter.js.map +0 -1
- package/dist/utils/git.d.ts.map +0 -1
- package/dist/utils/git.js.map +0 -1
- package/dist/utils/is-debug.d.ts.map +0 -1
- package/dist/utils/is-debug.js.map +0 -1
- package/dist/utils/lambda-config.d.ts.map +0 -1
- package/dist/utils/lambda-config.js.map +0 -1
- package/dist/utils/log.d.ts.map +0 -1
- package/dist/utils/log.js.map +0 -1
- package/dist/utils/messages.d.ts.map +0 -1
- package/dist/utils/messages.js.map +0 -1
- package/dist/utils/package-manager.d.ts.map +0 -1
- package/dist/utils/package-manager.js.map +0 -1
- package/dist/utils/payload-config-ast.d.ts.map +0 -1
- package/dist/utils/payload-config-ast.js.map +0 -1
- package/dist/utils/payload-config-finder.d.ts.map +0 -1
- package/dist/utils/payload-config-finder.js.map +0 -1
- package/dist/utils/payload-config-modifier.d.ts.map +0 -1
- package/dist/utils/payload-config-modifier.js.map +0 -1
- package/dist/utils/payload-package-check.d.ts.map +0 -1
- package/dist/utils/payload-package-check.js.map +0 -1
- package/dist/utils/project.d.ts.map +0 -1
- package/dist/utils/project.js.map +0 -1
- package/dist/utils/s3-upload.d.ts.map +0 -1
- package/dist/utils/s3-upload.js.map +0 -1
- package/dist/utils/token-display.d.ts.map +0 -1
- package/dist/utils/token-display.js.map +0 -1
- package/dist/utils/typescript-validator.d.ts.map +0 -1
- package/dist/utils/typescript-validator.js.map +0 -1
|
@@ -0,0 +1,3978 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export type paths = {
|
|
6
|
+
'/api/me': {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
get: {
|
|
14
|
+
parameters: {
|
|
15
|
+
query?: never;
|
|
16
|
+
header?: never;
|
|
17
|
+
path?: never;
|
|
18
|
+
cookie?: never;
|
|
19
|
+
};
|
|
20
|
+
requestBody?: never;
|
|
21
|
+
responses: {
|
|
22
|
+
/** @description Current authentication context */
|
|
23
|
+
200: {
|
|
24
|
+
headers: {
|
|
25
|
+
[name: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
content: {
|
|
28
|
+
'application/json': components['schemas']['AuthContextResponse'];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/** @description Unauthorized */
|
|
32
|
+
401: {
|
|
33
|
+
headers: {
|
|
34
|
+
[name: string]: unknown;
|
|
35
|
+
};
|
|
36
|
+
content: {
|
|
37
|
+
'application/json': {
|
|
38
|
+
/** @example Error message describing the issue. */
|
|
39
|
+
message: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
put?: never;
|
|
46
|
+
post?: never;
|
|
47
|
+
delete?: never;
|
|
48
|
+
options?: never;
|
|
49
|
+
head?: never;
|
|
50
|
+
patch?: never;
|
|
51
|
+
trace?: never;
|
|
52
|
+
};
|
|
53
|
+
'/health': {
|
|
54
|
+
parameters: {
|
|
55
|
+
query?: never;
|
|
56
|
+
header?: never;
|
|
57
|
+
path?: never;
|
|
58
|
+
cookie?: never;
|
|
59
|
+
};
|
|
60
|
+
get: {
|
|
61
|
+
parameters: {
|
|
62
|
+
query?: never;
|
|
63
|
+
header?: never;
|
|
64
|
+
path?: never;
|
|
65
|
+
cookie?: never;
|
|
66
|
+
};
|
|
67
|
+
requestBody?: never;
|
|
68
|
+
responses: {
|
|
69
|
+
/** @description OK */
|
|
70
|
+
200: {
|
|
71
|
+
headers: {
|
|
72
|
+
[name: string]: unknown;
|
|
73
|
+
};
|
|
74
|
+
content: {
|
|
75
|
+
'application/json': components['schemas']['HealthResponse'];
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
put?: never;
|
|
81
|
+
post?: never;
|
|
82
|
+
delete?: never;
|
|
83
|
+
options?: never;
|
|
84
|
+
head?: never;
|
|
85
|
+
patch?: never;
|
|
86
|
+
trace?: never;
|
|
87
|
+
};
|
|
88
|
+
'/api/v0/api_keys': {
|
|
89
|
+
parameters: {
|
|
90
|
+
query?: never;
|
|
91
|
+
header?: never;
|
|
92
|
+
path?: never;
|
|
93
|
+
cookie?: never;
|
|
94
|
+
};
|
|
95
|
+
get: {
|
|
96
|
+
parameters: {
|
|
97
|
+
query: {
|
|
98
|
+
contentSystemId: string;
|
|
99
|
+
};
|
|
100
|
+
header?: never;
|
|
101
|
+
path?: never;
|
|
102
|
+
cookie?: never;
|
|
103
|
+
};
|
|
104
|
+
requestBody?: never;
|
|
105
|
+
responses: {
|
|
106
|
+
/** @description API keys retrieved */
|
|
107
|
+
200: {
|
|
108
|
+
headers: {
|
|
109
|
+
[name: string]: unknown;
|
|
110
|
+
};
|
|
111
|
+
content: {
|
|
112
|
+
'application/json': components['schemas']['ListApiKeysResponse'];
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
/** @description No content system scope found */
|
|
116
|
+
400: {
|
|
117
|
+
headers: {
|
|
118
|
+
[name: string]: unknown;
|
|
119
|
+
};
|
|
120
|
+
content: {
|
|
121
|
+
'application/json': {
|
|
122
|
+
/** @example Error message describing the issue. */
|
|
123
|
+
message: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
/** @description Unauthorized */
|
|
128
|
+
401: {
|
|
129
|
+
headers: {
|
|
130
|
+
[name: string]: unknown;
|
|
131
|
+
};
|
|
132
|
+
content: {
|
|
133
|
+
'application/json': {
|
|
134
|
+
/** @example Error message describing the issue. */
|
|
135
|
+
message: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
/** @description Forbidden */
|
|
140
|
+
403: {
|
|
141
|
+
headers: {
|
|
142
|
+
[name: string]: unknown;
|
|
143
|
+
};
|
|
144
|
+
content: {
|
|
145
|
+
'application/json': {
|
|
146
|
+
/** @example Error message describing the issue. */
|
|
147
|
+
message: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
put?: never;
|
|
154
|
+
post: {
|
|
155
|
+
parameters: {
|
|
156
|
+
query?: never;
|
|
157
|
+
header?: never;
|
|
158
|
+
path?: never;
|
|
159
|
+
cookie?: never;
|
|
160
|
+
};
|
|
161
|
+
requestBody?: {
|
|
162
|
+
content: {
|
|
163
|
+
'application/json': components['schemas']['CreateApiKeyRequest'];
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
responses: {
|
|
167
|
+
/** @description API key created */
|
|
168
|
+
201: {
|
|
169
|
+
headers: {
|
|
170
|
+
[name: string]: unknown;
|
|
171
|
+
};
|
|
172
|
+
content: {
|
|
173
|
+
'application/json': components['schemas']['CreateApiKeyResponse'];
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
/** @description Bad Request */
|
|
177
|
+
400: {
|
|
178
|
+
headers: {
|
|
179
|
+
[name: string]: unknown;
|
|
180
|
+
};
|
|
181
|
+
content: {
|
|
182
|
+
'application/json': {
|
|
183
|
+
/** @example Error message describing the issue. */
|
|
184
|
+
message: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
/** @description Unauthorized */
|
|
189
|
+
401: {
|
|
190
|
+
headers: {
|
|
191
|
+
[name: string]: unknown;
|
|
192
|
+
};
|
|
193
|
+
content: {
|
|
194
|
+
'application/json': {
|
|
195
|
+
/** @example Error message describing the issue. */
|
|
196
|
+
message: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
/** @description Forbidden */
|
|
201
|
+
403: {
|
|
202
|
+
headers: {
|
|
203
|
+
[name: string]: unknown;
|
|
204
|
+
};
|
|
205
|
+
content: {
|
|
206
|
+
'application/json': {
|
|
207
|
+
/** @example Error message describing the issue. */
|
|
208
|
+
message: string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
/** @description Failed to create API key */
|
|
213
|
+
500: {
|
|
214
|
+
headers: {
|
|
215
|
+
[name: string]: unknown;
|
|
216
|
+
};
|
|
217
|
+
content: {
|
|
218
|
+
'application/json': {
|
|
219
|
+
/** @example Error message describing the issue. */
|
|
220
|
+
message: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
delete?: never;
|
|
227
|
+
options?: never;
|
|
228
|
+
head?: never;
|
|
229
|
+
patch?: never;
|
|
230
|
+
trace?: never;
|
|
231
|
+
};
|
|
232
|
+
'/api/v0/api_keys/{id}': {
|
|
233
|
+
parameters: {
|
|
234
|
+
query?: never;
|
|
235
|
+
header?: never;
|
|
236
|
+
path?: never;
|
|
237
|
+
cookie?: never;
|
|
238
|
+
};
|
|
239
|
+
get?: never;
|
|
240
|
+
put?: never;
|
|
241
|
+
post?: never;
|
|
242
|
+
delete: {
|
|
243
|
+
parameters: {
|
|
244
|
+
query?: never;
|
|
245
|
+
header?: never;
|
|
246
|
+
path: {
|
|
247
|
+
id: string;
|
|
248
|
+
};
|
|
249
|
+
cookie?: never;
|
|
250
|
+
};
|
|
251
|
+
requestBody?: never;
|
|
252
|
+
responses: {
|
|
253
|
+
/** @description API key deleted successfully */
|
|
254
|
+
204: {
|
|
255
|
+
headers: {
|
|
256
|
+
[name: string]: unknown;
|
|
257
|
+
};
|
|
258
|
+
content?: never;
|
|
259
|
+
};
|
|
260
|
+
/** @description Bad Request */
|
|
261
|
+
400: {
|
|
262
|
+
headers: {
|
|
263
|
+
[name: string]: unknown;
|
|
264
|
+
};
|
|
265
|
+
content: {
|
|
266
|
+
'application/json': {
|
|
267
|
+
/** @example Error message describing the issue. */
|
|
268
|
+
message: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
/** @description Unauthorized */
|
|
273
|
+
401: {
|
|
274
|
+
headers: {
|
|
275
|
+
[name: string]: unknown;
|
|
276
|
+
};
|
|
277
|
+
content: {
|
|
278
|
+
'application/json': {
|
|
279
|
+
/** @example Error message describing the issue. */
|
|
280
|
+
message: string;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
/** @description Forbidden */
|
|
285
|
+
403: {
|
|
286
|
+
headers: {
|
|
287
|
+
[name: string]: unknown;
|
|
288
|
+
};
|
|
289
|
+
content: {
|
|
290
|
+
'application/json': {
|
|
291
|
+
/** @example Error message describing the issue. */
|
|
292
|
+
message: string;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
/** @description Not Found */
|
|
297
|
+
404: {
|
|
298
|
+
headers: {
|
|
299
|
+
[name: string]: unknown;
|
|
300
|
+
};
|
|
301
|
+
content: {
|
|
302
|
+
'application/json': {
|
|
303
|
+
/** @example Error message describing the issue. */
|
|
304
|
+
message: string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
/** @description Internal Server Error */
|
|
309
|
+
500: {
|
|
310
|
+
headers: {
|
|
311
|
+
[name: string]: unknown;
|
|
312
|
+
};
|
|
313
|
+
content: {
|
|
314
|
+
'application/json': {
|
|
315
|
+
/** @example Error message describing the issue. */
|
|
316
|
+
message: string;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
options?: never;
|
|
323
|
+
head?: never;
|
|
324
|
+
patch?: never;
|
|
325
|
+
trace?: never;
|
|
326
|
+
};
|
|
327
|
+
'/api/v0/content_systems': {
|
|
328
|
+
parameters: {
|
|
329
|
+
query?: never;
|
|
330
|
+
header?: never;
|
|
331
|
+
path?: never;
|
|
332
|
+
cookie?: never;
|
|
333
|
+
};
|
|
334
|
+
get: {
|
|
335
|
+
parameters: {
|
|
336
|
+
query?: never;
|
|
337
|
+
header?: never;
|
|
338
|
+
path?: never;
|
|
339
|
+
cookie?: never;
|
|
340
|
+
};
|
|
341
|
+
requestBody?: never;
|
|
342
|
+
responses: {
|
|
343
|
+
/** @description Content systems retrieved */
|
|
344
|
+
200: {
|
|
345
|
+
headers: {
|
|
346
|
+
[name: string]: unknown;
|
|
347
|
+
};
|
|
348
|
+
content: {
|
|
349
|
+
'application/json': {
|
|
350
|
+
data: components['schemas']['ContentSystem'][];
|
|
351
|
+
total: number;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
/** @description Bad Request */
|
|
356
|
+
400: {
|
|
357
|
+
headers: {
|
|
358
|
+
[name: string]: unknown;
|
|
359
|
+
};
|
|
360
|
+
content: {
|
|
361
|
+
'application/json': {
|
|
362
|
+
/** @example Error message describing the issue. */
|
|
363
|
+
message: string;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
/** @description Unauthorized */
|
|
368
|
+
401: {
|
|
369
|
+
headers: {
|
|
370
|
+
[name: string]: unknown;
|
|
371
|
+
};
|
|
372
|
+
content: {
|
|
373
|
+
'application/json': {
|
|
374
|
+
/** @example Error message describing the issue. */
|
|
375
|
+
message: string;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
/** @description Forbidden */
|
|
380
|
+
403: {
|
|
381
|
+
headers: {
|
|
382
|
+
[name: string]: unknown;
|
|
383
|
+
};
|
|
384
|
+
content: {
|
|
385
|
+
'application/json': {
|
|
386
|
+
/** @example Error message describing the issue. */
|
|
387
|
+
message: string;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
/** @description Internal Server Error */
|
|
392
|
+
500: {
|
|
393
|
+
headers: {
|
|
394
|
+
[name: string]: unknown;
|
|
395
|
+
};
|
|
396
|
+
content: {
|
|
397
|
+
'application/json': {
|
|
398
|
+
/** @example Error message describing the issue. */
|
|
399
|
+
message: string;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
put?: never;
|
|
406
|
+
post: {
|
|
407
|
+
parameters: {
|
|
408
|
+
query?: never;
|
|
409
|
+
header?: never;
|
|
410
|
+
path?: never;
|
|
411
|
+
cookie?: never;
|
|
412
|
+
};
|
|
413
|
+
requestBody?: {
|
|
414
|
+
content: {
|
|
415
|
+
'application/json': components['schemas']['CreateContentSystemRequest'];
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
responses: {
|
|
419
|
+
/** @description Content system created */
|
|
420
|
+
201: {
|
|
421
|
+
headers: {
|
|
422
|
+
[name: string]: unknown;
|
|
423
|
+
};
|
|
424
|
+
content: {
|
|
425
|
+
'application/json': components['schemas']['CreateContentSystemResponse'];
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
/** @description Bad Request */
|
|
429
|
+
400: {
|
|
430
|
+
headers: {
|
|
431
|
+
[name: string]: unknown;
|
|
432
|
+
};
|
|
433
|
+
content: {
|
|
434
|
+
'application/json': {
|
|
435
|
+
/** @example Error message describing the issue. */
|
|
436
|
+
message: string;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
/** @description Unauthorized */
|
|
441
|
+
401: {
|
|
442
|
+
headers: {
|
|
443
|
+
[name: string]: unknown;
|
|
444
|
+
};
|
|
445
|
+
content: {
|
|
446
|
+
'application/json': {
|
|
447
|
+
/** @example Error message describing the issue. */
|
|
448
|
+
message: string;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
/** @description Forbidden */
|
|
453
|
+
403: {
|
|
454
|
+
headers: {
|
|
455
|
+
[name: string]: unknown;
|
|
456
|
+
};
|
|
457
|
+
content: {
|
|
458
|
+
'application/json': {
|
|
459
|
+
/** @example Error message describing the issue. */
|
|
460
|
+
message: string;
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
/** @description Conflict */
|
|
465
|
+
409: {
|
|
466
|
+
headers: {
|
|
467
|
+
[name: string]: unknown;
|
|
468
|
+
};
|
|
469
|
+
content: {
|
|
470
|
+
'application/json': {
|
|
471
|
+
/** @example Error message describing the issue. */
|
|
472
|
+
message: string;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
/** @description Unprocessable Entity */
|
|
477
|
+
422: {
|
|
478
|
+
headers: {
|
|
479
|
+
[name: string]: unknown;
|
|
480
|
+
};
|
|
481
|
+
content: {
|
|
482
|
+
'application/json': {
|
|
483
|
+
/** @example Error message describing the issue. */
|
|
484
|
+
message: string;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
/** @description Internal Server Error */
|
|
489
|
+
500: {
|
|
490
|
+
headers: {
|
|
491
|
+
[name: string]: unknown;
|
|
492
|
+
};
|
|
493
|
+
content: {
|
|
494
|
+
'application/json': {
|
|
495
|
+
/** @example Error message describing the issue. */
|
|
496
|
+
message: string;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
delete?: never;
|
|
503
|
+
options?: never;
|
|
504
|
+
head?: never;
|
|
505
|
+
patch?: never;
|
|
506
|
+
trace?: never;
|
|
507
|
+
};
|
|
508
|
+
'/api/v0/content_systems/{id}': {
|
|
509
|
+
parameters: {
|
|
510
|
+
query?: never;
|
|
511
|
+
header?: never;
|
|
512
|
+
path?: never;
|
|
513
|
+
cookie?: never;
|
|
514
|
+
};
|
|
515
|
+
get: {
|
|
516
|
+
parameters: {
|
|
517
|
+
query?: never;
|
|
518
|
+
header?: never;
|
|
519
|
+
path: {
|
|
520
|
+
id: string;
|
|
521
|
+
};
|
|
522
|
+
cookie?: never;
|
|
523
|
+
};
|
|
524
|
+
requestBody?: never;
|
|
525
|
+
responses: {
|
|
526
|
+
/** @description Content system retrieved */
|
|
527
|
+
200: {
|
|
528
|
+
headers: {
|
|
529
|
+
[name: string]: unknown;
|
|
530
|
+
};
|
|
531
|
+
content: {
|
|
532
|
+
'application/json': components['schemas']['RetrieveContentSystemResponse'];
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
/** @description Bad Request */
|
|
536
|
+
400: {
|
|
537
|
+
headers: {
|
|
538
|
+
[name: string]: unknown;
|
|
539
|
+
};
|
|
540
|
+
content: {
|
|
541
|
+
'application/json': {
|
|
542
|
+
/** @example Error message describing the issue. */
|
|
543
|
+
message: string;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
/** @description Unauthorized */
|
|
548
|
+
401: {
|
|
549
|
+
headers: {
|
|
550
|
+
[name: string]: unknown;
|
|
551
|
+
};
|
|
552
|
+
content: {
|
|
553
|
+
'application/json': {
|
|
554
|
+
/** @example Error message describing the issue. */
|
|
555
|
+
message: string;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
/** @description Forbidden */
|
|
560
|
+
403: {
|
|
561
|
+
headers: {
|
|
562
|
+
[name: string]: unknown;
|
|
563
|
+
};
|
|
564
|
+
content: {
|
|
565
|
+
'application/json': {
|
|
566
|
+
/** @example Error message describing the issue. */
|
|
567
|
+
message: string;
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
/** @description Not Found */
|
|
572
|
+
404: {
|
|
573
|
+
headers: {
|
|
574
|
+
[name: string]: unknown;
|
|
575
|
+
};
|
|
576
|
+
content: {
|
|
577
|
+
'application/json': {
|
|
578
|
+
/** @example Error message describing the issue. */
|
|
579
|
+
message: string;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
/** @description Internal Server Error */
|
|
584
|
+
500: {
|
|
585
|
+
headers: {
|
|
586
|
+
[name: string]: unknown;
|
|
587
|
+
};
|
|
588
|
+
content: {
|
|
589
|
+
'application/json': {
|
|
590
|
+
/** @example Error message describing the issue. */
|
|
591
|
+
message: string;
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
put: {
|
|
598
|
+
parameters: {
|
|
599
|
+
query?: never;
|
|
600
|
+
header?: never;
|
|
601
|
+
path: {
|
|
602
|
+
id: string;
|
|
603
|
+
};
|
|
604
|
+
cookie?: never;
|
|
605
|
+
};
|
|
606
|
+
requestBody?: {
|
|
607
|
+
content: {
|
|
608
|
+
'application/json': components['schemas']['UpdateContentSystemRequest'];
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
responses: {
|
|
612
|
+
/** @description Content system updated */
|
|
613
|
+
200: {
|
|
614
|
+
headers: {
|
|
615
|
+
[name: string]: unknown;
|
|
616
|
+
};
|
|
617
|
+
content: {
|
|
618
|
+
'application/json': components['schemas']['UpdateContentSystemResponse'];
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
/** @description Bad Request */
|
|
622
|
+
400: {
|
|
623
|
+
headers: {
|
|
624
|
+
[name: string]: unknown;
|
|
625
|
+
};
|
|
626
|
+
content: {
|
|
627
|
+
'application/json': {
|
|
628
|
+
/** @example Error message describing the issue. */
|
|
629
|
+
message: string;
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
/** @description Unauthorized */
|
|
634
|
+
401: {
|
|
635
|
+
headers: {
|
|
636
|
+
[name: string]: unknown;
|
|
637
|
+
};
|
|
638
|
+
content: {
|
|
639
|
+
'application/json': {
|
|
640
|
+
/** @example Error message describing the issue. */
|
|
641
|
+
message: string;
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
/** @description Forbidden */
|
|
646
|
+
403: {
|
|
647
|
+
headers: {
|
|
648
|
+
[name: string]: unknown;
|
|
649
|
+
};
|
|
650
|
+
content: {
|
|
651
|
+
'application/json': {
|
|
652
|
+
/** @example Error message describing the issue. */
|
|
653
|
+
message: string;
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
/** @description Not Found */
|
|
658
|
+
404: {
|
|
659
|
+
headers: {
|
|
660
|
+
[name: string]: unknown;
|
|
661
|
+
};
|
|
662
|
+
content: {
|
|
663
|
+
'application/json': {
|
|
664
|
+
/** @example Error message describing the issue. */
|
|
665
|
+
message: string;
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
/** @description Conflict */
|
|
670
|
+
409: {
|
|
671
|
+
headers: {
|
|
672
|
+
[name: string]: unknown;
|
|
673
|
+
};
|
|
674
|
+
content: {
|
|
675
|
+
'application/json': {
|
|
676
|
+
/** @example Error message describing the issue. */
|
|
677
|
+
message: string;
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
/** @description Internal Server Error */
|
|
682
|
+
500: {
|
|
683
|
+
headers: {
|
|
684
|
+
[name: string]: unknown;
|
|
685
|
+
};
|
|
686
|
+
content: {
|
|
687
|
+
'application/json': {
|
|
688
|
+
/** @example Error message describing the issue. */
|
|
689
|
+
message: string;
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
post?: never;
|
|
696
|
+
delete: {
|
|
697
|
+
parameters: {
|
|
698
|
+
query?: never;
|
|
699
|
+
header?: never;
|
|
700
|
+
path: {
|
|
701
|
+
id: string;
|
|
702
|
+
};
|
|
703
|
+
cookie?: never;
|
|
704
|
+
};
|
|
705
|
+
requestBody?: never;
|
|
706
|
+
responses: {
|
|
707
|
+
/** @description Content system deleted successfully */
|
|
708
|
+
204: {
|
|
709
|
+
headers: {
|
|
710
|
+
[name: string]: unknown;
|
|
711
|
+
};
|
|
712
|
+
content?: never;
|
|
713
|
+
};
|
|
714
|
+
/** @description Unauthorized */
|
|
715
|
+
401: {
|
|
716
|
+
headers: {
|
|
717
|
+
[name: string]: unknown;
|
|
718
|
+
};
|
|
719
|
+
content: {
|
|
720
|
+
'application/json': {
|
|
721
|
+
/** @example Error message describing the issue. */
|
|
722
|
+
message: string;
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
/** @description Forbidden */
|
|
727
|
+
403: {
|
|
728
|
+
headers: {
|
|
729
|
+
[name: string]: unknown;
|
|
730
|
+
};
|
|
731
|
+
content: {
|
|
732
|
+
'application/json': {
|
|
733
|
+
/** @example Error message describing the issue. */
|
|
734
|
+
message: string;
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
/** @description Not Found */
|
|
739
|
+
404: {
|
|
740
|
+
headers: {
|
|
741
|
+
[name: string]: unknown;
|
|
742
|
+
};
|
|
743
|
+
content: {
|
|
744
|
+
'application/json': {
|
|
745
|
+
/** @example Error message describing the issue. */
|
|
746
|
+
message: string;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
/** @description Internal Server Error */
|
|
751
|
+
500: {
|
|
752
|
+
headers: {
|
|
753
|
+
[name: string]: unknown;
|
|
754
|
+
};
|
|
755
|
+
content: {
|
|
756
|
+
'application/json': {
|
|
757
|
+
/** @example Error message describing the issue. */
|
|
758
|
+
message: string;
|
|
759
|
+
};
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
options?: never;
|
|
765
|
+
head?: never;
|
|
766
|
+
patch?: never;
|
|
767
|
+
trace?: never;
|
|
768
|
+
};
|
|
769
|
+
'/api/v0/content_systems/{contentSystemId}/collections': {
|
|
770
|
+
parameters: {
|
|
771
|
+
query?: never;
|
|
772
|
+
header?: never;
|
|
773
|
+
path?: never;
|
|
774
|
+
cookie?: never;
|
|
775
|
+
};
|
|
776
|
+
get: {
|
|
777
|
+
parameters: {
|
|
778
|
+
query?: {
|
|
779
|
+
id?: string;
|
|
780
|
+
};
|
|
781
|
+
header?: never;
|
|
782
|
+
path: {
|
|
783
|
+
contentSystemId: string;
|
|
784
|
+
};
|
|
785
|
+
cookie?: never;
|
|
786
|
+
};
|
|
787
|
+
requestBody?: never;
|
|
788
|
+
responses: {
|
|
789
|
+
/** @description Collections retrieved */
|
|
790
|
+
200: {
|
|
791
|
+
headers: {
|
|
792
|
+
[name: string]: unknown;
|
|
793
|
+
};
|
|
794
|
+
content: {
|
|
795
|
+
'application/json': {
|
|
796
|
+
data: components['schemas']['Collection'][];
|
|
797
|
+
total: number;
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
/** @description Bad Request */
|
|
802
|
+
400: {
|
|
803
|
+
headers: {
|
|
804
|
+
[name: string]: unknown;
|
|
805
|
+
};
|
|
806
|
+
content: {
|
|
807
|
+
'application/json': {
|
|
808
|
+
/** @example Error message describing the issue. */
|
|
809
|
+
message: string;
|
|
810
|
+
};
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
/** @description Unauthorized */
|
|
814
|
+
401: {
|
|
815
|
+
headers: {
|
|
816
|
+
[name: string]: unknown;
|
|
817
|
+
};
|
|
818
|
+
content: {
|
|
819
|
+
'application/json': {
|
|
820
|
+
/** @example Error message describing the issue. */
|
|
821
|
+
message: string;
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
};
|
|
825
|
+
/** @description Forbidden */
|
|
826
|
+
403: {
|
|
827
|
+
headers: {
|
|
828
|
+
[name: string]: unknown;
|
|
829
|
+
};
|
|
830
|
+
content: {
|
|
831
|
+
'application/json': {
|
|
832
|
+
/** @example Error message describing the issue. */
|
|
833
|
+
message: string;
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
/** @description Internal Server Error */
|
|
838
|
+
500: {
|
|
839
|
+
headers: {
|
|
840
|
+
[name: string]: unknown;
|
|
841
|
+
};
|
|
842
|
+
content: {
|
|
843
|
+
'application/json': {
|
|
844
|
+
/** @example Error message describing the issue. */
|
|
845
|
+
message: string;
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
put?: never;
|
|
852
|
+
post: {
|
|
853
|
+
parameters: {
|
|
854
|
+
query?: never;
|
|
855
|
+
header?: never;
|
|
856
|
+
path: {
|
|
857
|
+
contentSystemId: string;
|
|
858
|
+
};
|
|
859
|
+
cookie?: never;
|
|
860
|
+
};
|
|
861
|
+
requestBody?: {
|
|
862
|
+
content: {
|
|
863
|
+
'application/json': components['schemas']['CreateCollectionRequest'];
|
|
864
|
+
};
|
|
865
|
+
};
|
|
866
|
+
responses: {
|
|
867
|
+
/** @description Collection created */
|
|
868
|
+
201: {
|
|
869
|
+
headers: {
|
|
870
|
+
[name: string]: unknown;
|
|
871
|
+
};
|
|
872
|
+
content: {
|
|
873
|
+
'application/json': components['schemas']['CreateCollectionResponse'];
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
/** @description Bad Request */
|
|
877
|
+
400: {
|
|
878
|
+
headers: {
|
|
879
|
+
[name: string]: unknown;
|
|
880
|
+
};
|
|
881
|
+
content: {
|
|
882
|
+
'application/json': {
|
|
883
|
+
/** @example Error message describing the issue. */
|
|
884
|
+
message: string;
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
/** @description Unauthorized */
|
|
889
|
+
401: {
|
|
890
|
+
headers: {
|
|
891
|
+
[name: string]: unknown;
|
|
892
|
+
};
|
|
893
|
+
content: {
|
|
894
|
+
'application/json': {
|
|
895
|
+
/** @example Error message describing the issue. */
|
|
896
|
+
message: string;
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
/** @description Forbidden */
|
|
901
|
+
403: {
|
|
902
|
+
headers: {
|
|
903
|
+
[name: string]: unknown;
|
|
904
|
+
};
|
|
905
|
+
content: {
|
|
906
|
+
'application/json': {
|
|
907
|
+
/** @example Error message describing the issue. */
|
|
908
|
+
message: string;
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
/** @description Not Found */
|
|
913
|
+
404: {
|
|
914
|
+
headers: {
|
|
915
|
+
[name: string]: unknown;
|
|
916
|
+
};
|
|
917
|
+
content: {
|
|
918
|
+
'application/json': {
|
|
919
|
+
/** @example Error message describing the issue. */
|
|
920
|
+
message: string;
|
|
921
|
+
};
|
|
922
|
+
};
|
|
923
|
+
};
|
|
924
|
+
/** @description Conflict */
|
|
925
|
+
409: {
|
|
926
|
+
headers: {
|
|
927
|
+
[name: string]: unknown;
|
|
928
|
+
};
|
|
929
|
+
content: {
|
|
930
|
+
'application/json': {
|
|
931
|
+
/** @example Error message describing the issue. */
|
|
932
|
+
message: string;
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
/** @description Unprocessable Entity */
|
|
937
|
+
422: {
|
|
938
|
+
headers: {
|
|
939
|
+
[name: string]: unknown;
|
|
940
|
+
};
|
|
941
|
+
content: {
|
|
942
|
+
'application/json': {
|
|
943
|
+
/** @example Error message describing the issue. */
|
|
944
|
+
message: string;
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
/** @description Internal Server Error */
|
|
949
|
+
500: {
|
|
950
|
+
headers: {
|
|
951
|
+
[name: string]: unknown;
|
|
952
|
+
};
|
|
953
|
+
content: {
|
|
954
|
+
'application/json': {
|
|
955
|
+
/** @example Error message describing the issue. */
|
|
956
|
+
message: string;
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
delete?: never;
|
|
963
|
+
options?: never;
|
|
964
|
+
head?: never;
|
|
965
|
+
patch?: never;
|
|
966
|
+
trace?: never;
|
|
967
|
+
};
|
|
968
|
+
'/api/v0/content_systems/{contentSystemId}/collections/{id}': {
|
|
969
|
+
parameters: {
|
|
970
|
+
query?: never;
|
|
971
|
+
header?: never;
|
|
972
|
+
path?: never;
|
|
973
|
+
cookie?: never;
|
|
974
|
+
};
|
|
975
|
+
get: {
|
|
976
|
+
parameters: {
|
|
977
|
+
query?: never;
|
|
978
|
+
header?: never;
|
|
979
|
+
path: {
|
|
980
|
+
contentSystemId: string;
|
|
981
|
+
id: string;
|
|
982
|
+
};
|
|
983
|
+
cookie?: never;
|
|
984
|
+
};
|
|
985
|
+
requestBody?: never;
|
|
986
|
+
responses: {
|
|
987
|
+
/** @description Collection retrieved */
|
|
988
|
+
200: {
|
|
989
|
+
headers: {
|
|
990
|
+
[name: string]: unknown;
|
|
991
|
+
};
|
|
992
|
+
content: {
|
|
993
|
+
'application/json': components['schemas']['RetrieveCollectionResponse'];
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
/** @description Bad Request */
|
|
997
|
+
400: {
|
|
998
|
+
headers: {
|
|
999
|
+
[name: string]: unknown;
|
|
1000
|
+
};
|
|
1001
|
+
content: {
|
|
1002
|
+
'application/json': {
|
|
1003
|
+
/** @example Error message describing the issue. */
|
|
1004
|
+
message: string;
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
/** @description Unauthorized */
|
|
1009
|
+
401: {
|
|
1010
|
+
headers: {
|
|
1011
|
+
[name: string]: unknown;
|
|
1012
|
+
};
|
|
1013
|
+
content: {
|
|
1014
|
+
'application/json': {
|
|
1015
|
+
/** @example Error message describing the issue. */
|
|
1016
|
+
message: string;
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
/** @description Forbidden */
|
|
1021
|
+
403: {
|
|
1022
|
+
headers: {
|
|
1023
|
+
[name: string]: unknown;
|
|
1024
|
+
};
|
|
1025
|
+
content: {
|
|
1026
|
+
'application/json': {
|
|
1027
|
+
/** @example Error message describing the issue. */
|
|
1028
|
+
message: string;
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
/** @description Not Found */
|
|
1033
|
+
404: {
|
|
1034
|
+
headers: {
|
|
1035
|
+
[name: string]: unknown;
|
|
1036
|
+
};
|
|
1037
|
+
content: {
|
|
1038
|
+
'application/json': {
|
|
1039
|
+
/** @example Error message describing the issue. */
|
|
1040
|
+
message: string;
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
};
|
|
1044
|
+
/** @description Internal Server Error */
|
|
1045
|
+
500: {
|
|
1046
|
+
headers: {
|
|
1047
|
+
[name: string]: unknown;
|
|
1048
|
+
};
|
|
1049
|
+
content: {
|
|
1050
|
+
'application/json': {
|
|
1051
|
+
/** @example Error message describing the issue. */
|
|
1052
|
+
message: string;
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1058
|
+
put: {
|
|
1059
|
+
parameters: {
|
|
1060
|
+
query?: never;
|
|
1061
|
+
header?: never;
|
|
1062
|
+
path: {
|
|
1063
|
+
contentSystemId: string;
|
|
1064
|
+
id: string;
|
|
1065
|
+
};
|
|
1066
|
+
cookie?: never;
|
|
1067
|
+
};
|
|
1068
|
+
requestBody?: {
|
|
1069
|
+
content: {
|
|
1070
|
+
'application/json': components['schemas']['UpdateCollectionRequest'];
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1073
|
+
responses: {
|
|
1074
|
+
/** @description Collection updated */
|
|
1075
|
+
200: {
|
|
1076
|
+
headers: {
|
|
1077
|
+
[name: string]: unknown;
|
|
1078
|
+
};
|
|
1079
|
+
content: {
|
|
1080
|
+
'application/json': components['schemas']['UpdateCollectionResponse'];
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
/** @description Bad Request */
|
|
1084
|
+
400: {
|
|
1085
|
+
headers: {
|
|
1086
|
+
[name: string]: unknown;
|
|
1087
|
+
};
|
|
1088
|
+
content: {
|
|
1089
|
+
'application/json': {
|
|
1090
|
+
/** @example Error message describing the issue. */
|
|
1091
|
+
message: string;
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
1095
|
+
/** @description Unauthorized */
|
|
1096
|
+
401: {
|
|
1097
|
+
headers: {
|
|
1098
|
+
[name: string]: unknown;
|
|
1099
|
+
};
|
|
1100
|
+
content: {
|
|
1101
|
+
'application/json': {
|
|
1102
|
+
/** @example Error message describing the issue. */
|
|
1103
|
+
message: string;
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
/** @description Forbidden */
|
|
1108
|
+
403: {
|
|
1109
|
+
headers: {
|
|
1110
|
+
[name: string]: unknown;
|
|
1111
|
+
};
|
|
1112
|
+
content: {
|
|
1113
|
+
'application/json': {
|
|
1114
|
+
/** @example Error message describing the issue. */
|
|
1115
|
+
message: string;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
/** @description Not Found */
|
|
1120
|
+
404: {
|
|
1121
|
+
headers: {
|
|
1122
|
+
[name: string]: unknown;
|
|
1123
|
+
};
|
|
1124
|
+
content: {
|
|
1125
|
+
'application/json': {
|
|
1126
|
+
/** @example Error message describing the issue. */
|
|
1127
|
+
message: string;
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
/** @description Conflict */
|
|
1132
|
+
409: {
|
|
1133
|
+
headers: {
|
|
1134
|
+
[name: string]: unknown;
|
|
1135
|
+
};
|
|
1136
|
+
content: {
|
|
1137
|
+
'application/json': {
|
|
1138
|
+
/** @example Error message describing the issue. */
|
|
1139
|
+
message: string;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
/** @description Internal Server Error */
|
|
1144
|
+
500: {
|
|
1145
|
+
headers: {
|
|
1146
|
+
[name: string]: unknown;
|
|
1147
|
+
};
|
|
1148
|
+
content: {
|
|
1149
|
+
'application/json': {
|
|
1150
|
+
/** @example Error message describing the issue. */
|
|
1151
|
+
message: string;
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
post?: never;
|
|
1158
|
+
delete: {
|
|
1159
|
+
parameters: {
|
|
1160
|
+
query?: never;
|
|
1161
|
+
header?: never;
|
|
1162
|
+
path: {
|
|
1163
|
+
contentSystemId: string;
|
|
1164
|
+
id: string;
|
|
1165
|
+
};
|
|
1166
|
+
cookie?: never;
|
|
1167
|
+
};
|
|
1168
|
+
requestBody?: never;
|
|
1169
|
+
responses: {
|
|
1170
|
+
/** @description Collection deleted successfully */
|
|
1171
|
+
204: {
|
|
1172
|
+
headers: {
|
|
1173
|
+
[name: string]: unknown;
|
|
1174
|
+
};
|
|
1175
|
+
content?: never;
|
|
1176
|
+
};
|
|
1177
|
+
/** @description Bad Request */
|
|
1178
|
+
400: {
|
|
1179
|
+
headers: {
|
|
1180
|
+
[name: string]: unknown;
|
|
1181
|
+
};
|
|
1182
|
+
content: {
|
|
1183
|
+
'application/json': {
|
|
1184
|
+
/** @example Error message describing the issue. */
|
|
1185
|
+
message: string;
|
|
1186
|
+
};
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
/** @description Unauthorized */
|
|
1190
|
+
401: {
|
|
1191
|
+
headers: {
|
|
1192
|
+
[name: string]: unknown;
|
|
1193
|
+
};
|
|
1194
|
+
content: {
|
|
1195
|
+
'application/json': {
|
|
1196
|
+
/** @example Error message describing the issue. */
|
|
1197
|
+
message: string;
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
};
|
|
1201
|
+
/** @description Forbidden */
|
|
1202
|
+
403: {
|
|
1203
|
+
headers: {
|
|
1204
|
+
[name: string]: unknown;
|
|
1205
|
+
};
|
|
1206
|
+
content: {
|
|
1207
|
+
'application/json': {
|
|
1208
|
+
/** @example Error message describing the issue. */
|
|
1209
|
+
message: string;
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
/** @description Not Found */
|
|
1214
|
+
404: {
|
|
1215
|
+
headers: {
|
|
1216
|
+
[name: string]: unknown;
|
|
1217
|
+
};
|
|
1218
|
+
content: {
|
|
1219
|
+
'application/json': {
|
|
1220
|
+
/** @example Error message describing the issue. */
|
|
1221
|
+
message: string;
|
|
1222
|
+
};
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
/** @description Internal Server Error */
|
|
1226
|
+
500: {
|
|
1227
|
+
headers: {
|
|
1228
|
+
[name: string]: unknown;
|
|
1229
|
+
};
|
|
1230
|
+
content: {
|
|
1231
|
+
'application/json': {
|
|
1232
|
+
/** @example Error message describing the issue. */
|
|
1233
|
+
message: string;
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
};
|
|
1239
|
+
options?: never;
|
|
1240
|
+
head?: never;
|
|
1241
|
+
patch?: never;
|
|
1242
|
+
trace?: never;
|
|
1243
|
+
};
|
|
1244
|
+
'/api/v0/documents:count': {
|
|
1245
|
+
parameters: {
|
|
1246
|
+
query?: never;
|
|
1247
|
+
header?: never;
|
|
1248
|
+
path?: never;
|
|
1249
|
+
cookie?: never;
|
|
1250
|
+
};
|
|
1251
|
+
get?: never;
|
|
1252
|
+
put?: never;
|
|
1253
|
+
post: {
|
|
1254
|
+
parameters: {
|
|
1255
|
+
query?: never;
|
|
1256
|
+
header?: never;
|
|
1257
|
+
path?: never;
|
|
1258
|
+
cookie?: never;
|
|
1259
|
+
};
|
|
1260
|
+
requestBody?: {
|
|
1261
|
+
content: {
|
|
1262
|
+
'application/json': components['schemas']['CountDocumentRequest'];
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
responses: {
|
|
1266
|
+
/** @description Document count */
|
|
1267
|
+
200: {
|
|
1268
|
+
headers: {
|
|
1269
|
+
[name: string]: unknown;
|
|
1270
|
+
};
|
|
1271
|
+
content: {
|
|
1272
|
+
'application/json': components['schemas']['CountDocumentResponse'];
|
|
1273
|
+
};
|
|
1274
|
+
};
|
|
1275
|
+
/** @description Bad Request */
|
|
1276
|
+
400: {
|
|
1277
|
+
headers: {
|
|
1278
|
+
[name: string]: unknown;
|
|
1279
|
+
};
|
|
1280
|
+
content: {
|
|
1281
|
+
'application/json': {
|
|
1282
|
+
/** @example Error message describing the issue. */
|
|
1283
|
+
message: string;
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
/** @description Unauthorized */
|
|
1288
|
+
401: {
|
|
1289
|
+
headers: {
|
|
1290
|
+
[name: string]: unknown;
|
|
1291
|
+
};
|
|
1292
|
+
content: {
|
|
1293
|
+
'application/json': {
|
|
1294
|
+
/** @example Error message describing the issue. */
|
|
1295
|
+
message: string;
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
};
|
|
1299
|
+
/** @description Forbidden */
|
|
1300
|
+
403: {
|
|
1301
|
+
headers: {
|
|
1302
|
+
[name: string]: unknown;
|
|
1303
|
+
};
|
|
1304
|
+
content: {
|
|
1305
|
+
'application/json': {
|
|
1306
|
+
/** @example Error message describing the issue. */
|
|
1307
|
+
message: string;
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1311
|
+
/** @description Not Found */
|
|
1312
|
+
404: {
|
|
1313
|
+
headers: {
|
|
1314
|
+
[name: string]: unknown;
|
|
1315
|
+
};
|
|
1316
|
+
content: {
|
|
1317
|
+
'application/json': {
|
|
1318
|
+
/** @example Error message describing the issue. */
|
|
1319
|
+
message: string;
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
/** @description Internal Server Error */
|
|
1324
|
+
500: {
|
|
1325
|
+
headers: {
|
|
1326
|
+
[name: string]: unknown;
|
|
1327
|
+
};
|
|
1328
|
+
content: {
|
|
1329
|
+
'application/json': {
|
|
1330
|
+
/** @example Error message describing the issue. */
|
|
1331
|
+
message: string;
|
|
1332
|
+
};
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
delete?: never;
|
|
1338
|
+
options?: never;
|
|
1339
|
+
head?: never;
|
|
1340
|
+
patch?: never;
|
|
1341
|
+
trace?: never;
|
|
1342
|
+
};
|
|
1343
|
+
'/api/v0/documents:create': {
|
|
1344
|
+
parameters: {
|
|
1345
|
+
query?: never;
|
|
1346
|
+
header?: never;
|
|
1347
|
+
path?: never;
|
|
1348
|
+
cookie?: never;
|
|
1349
|
+
};
|
|
1350
|
+
get?: never;
|
|
1351
|
+
put?: never;
|
|
1352
|
+
post: {
|
|
1353
|
+
parameters: {
|
|
1354
|
+
query?: never;
|
|
1355
|
+
header?: never;
|
|
1356
|
+
path?: never;
|
|
1357
|
+
cookie?: never;
|
|
1358
|
+
};
|
|
1359
|
+
requestBody?: {
|
|
1360
|
+
content: {
|
|
1361
|
+
'application/json': components['schemas']['CreateDocumentRequest'];
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
responses: {
|
|
1365
|
+
/** @description Document created */
|
|
1366
|
+
201: {
|
|
1367
|
+
headers: {
|
|
1368
|
+
[name: string]: unknown;
|
|
1369
|
+
};
|
|
1370
|
+
content: {
|
|
1371
|
+
'application/json': components['schemas']['CreateDocumentResponse'];
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
/** @description Bad Request */
|
|
1375
|
+
400: {
|
|
1376
|
+
headers: {
|
|
1377
|
+
[name: string]: unknown;
|
|
1378
|
+
};
|
|
1379
|
+
content: {
|
|
1380
|
+
'application/json': {
|
|
1381
|
+
/** @example Error message describing the issue. */
|
|
1382
|
+
message: string;
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
/** @description Unauthorized */
|
|
1387
|
+
401: {
|
|
1388
|
+
headers: {
|
|
1389
|
+
[name: string]: unknown;
|
|
1390
|
+
};
|
|
1391
|
+
content: {
|
|
1392
|
+
'application/json': {
|
|
1393
|
+
/** @example Error message describing the issue. */
|
|
1394
|
+
message: string;
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1398
|
+
/** @description Forbidden */
|
|
1399
|
+
403: {
|
|
1400
|
+
headers: {
|
|
1401
|
+
[name: string]: unknown;
|
|
1402
|
+
};
|
|
1403
|
+
content: {
|
|
1404
|
+
'application/json': {
|
|
1405
|
+
/** @example Error message describing the issue. */
|
|
1406
|
+
message: string;
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1410
|
+
/** @description Not Found */
|
|
1411
|
+
404: {
|
|
1412
|
+
headers: {
|
|
1413
|
+
[name: string]: unknown;
|
|
1414
|
+
};
|
|
1415
|
+
content: {
|
|
1416
|
+
'application/json': {
|
|
1417
|
+
/** @example Error message describing the issue. */
|
|
1418
|
+
message: string;
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
/** @description Conflict */
|
|
1423
|
+
409: {
|
|
1424
|
+
headers: {
|
|
1425
|
+
[name: string]: unknown;
|
|
1426
|
+
};
|
|
1427
|
+
content: {
|
|
1428
|
+
'application/json': {
|
|
1429
|
+
/** @example Error message describing the issue. */
|
|
1430
|
+
message: string;
|
|
1431
|
+
};
|
|
1432
|
+
};
|
|
1433
|
+
};
|
|
1434
|
+
/** @description Internal Server Error */
|
|
1435
|
+
500: {
|
|
1436
|
+
headers: {
|
|
1437
|
+
[name: string]: unknown;
|
|
1438
|
+
};
|
|
1439
|
+
content: {
|
|
1440
|
+
'application/json': {
|
|
1441
|
+
/** @example Error message describing the issue. */
|
|
1442
|
+
message: string;
|
|
1443
|
+
};
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
delete?: never;
|
|
1449
|
+
options?: never;
|
|
1450
|
+
head?: never;
|
|
1451
|
+
patch?: never;
|
|
1452
|
+
trace?: never;
|
|
1453
|
+
};
|
|
1454
|
+
'/api/v0/documents:find': {
|
|
1455
|
+
parameters: {
|
|
1456
|
+
query?: never;
|
|
1457
|
+
header?: never;
|
|
1458
|
+
path?: never;
|
|
1459
|
+
cookie?: never;
|
|
1460
|
+
};
|
|
1461
|
+
get?: never;
|
|
1462
|
+
put?: never;
|
|
1463
|
+
post: {
|
|
1464
|
+
parameters: {
|
|
1465
|
+
query?: never;
|
|
1466
|
+
header?: never;
|
|
1467
|
+
path?: never;
|
|
1468
|
+
cookie?: never;
|
|
1469
|
+
};
|
|
1470
|
+
requestBody?: {
|
|
1471
|
+
content: {
|
|
1472
|
+
'application/json': components['schemas']['FindDocumentsRequest'];
|
|
1473
|
+
};
|
|
1474
|
+
};
|
|
1475
|
+
responses: {
|
|
1476
|
+
/** @description Documents found */
|
|
1477
|
+
200: {
|
|
1478
|
+
headers: {
|
|
1479
|
+
[name: string]: unknown;
|
|
1480
|
+
};
|
|
1481
|
+
content: {
|
|
1482
|
+
'application/json': components['schemas']['FindDocumentsResponse'];
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
/** @description Bad Request */
|
|
1486
|
+
400: {
|
|
1487
|
+
headers: {
|
|
1488
|
+
[name: string]: unknown;
|
|
1489
|
+
};
|
|
1490
|
+
content: {
|
|
1491
|
+
'application/json': {
|
|
1492
|
+
/** @example Error message describing the issue. */
|
|
1493
|
+
message: string;
|
|
1494
|
+
};
|
|
1495
|
+
};
|
|
1496
|
+
};
|
|
1497
|
+
/** @description Unauthorized */
|
|
1498
|
+
401: {
|
|
1499
|
+
headers: {
|
|
1500
|
+
[name: string]: unknown;
|
|
1501
|
+
};
|
|
1502
|
+
content: {
|
|
1503
|
+
'application/json': {
|
|
1504
|
+
/** @example Error message describing the issue. */
|
|
1505
|
+
message: string;
|
|
1506
|
+
};
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
/** @description Forbidden */
|
|
1510
|
+
403: {
|
|
1511
|
+
headers: {
|
|
1512
|
+
[name: string]: unknown;
|
|
1513
|
+
};
|
|
1514
|
+
content: {
|
|
1515
|
+
'application/json': {
|
|
1516
|
+
/** @example Error message describing the issue. */
|
|
1517
|
+
message: string;
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
/** @description Not Found */
|
|
1522
|
+
404: {
|
|
1523
|
+
headers: {
|
|
1524
|
+
[name: string]: unknown;
|
|
1525
|
+
};
|
|
1526
|
+
content: {
|
|
1527
|
+
'application/json': {
|
|
1528
|
+
/** @example Error message describing the issue. */
|
|
1529
|
+
message: string;
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
/** @description Internal Server Error */
|
|
1534
|
+
500: {
|
|
1535
|
+
headers: {
|
|
1536
|
+
[name: string]: unknown;
|
|
1537
|
+
};
|
|
1538
|
+
content: {
|
|
1539
|
+
'application/json': {
|
|
1540
|
+
/** @example Error message describing the issue. */
|
|
1541
|
+
message: string;
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1544
|
+
};
|
|
1545
|
+
};
|
|
1546
|
+
};
|
|
1547
|
+
delete?: never;
|
|
1548
|
+
options?: never;
|
|
1549
|
+
head?: never;
|
|
1550
|
+
patch?: never;
|
|
1551
|
+
trace?: never;
|
|
1552
|
+
};
|
|
1553
|
+
'/api/v0/documents:findDistinct': {
|
|
1554
|
+
parameters: {
|
|
1555
|
+
query?: never;
|
|
1556
|
+
header?: never;
|
|
1557
|
+
path?: never;
|
|
1558
|
+
cookie?: never;
|
|
1559
|
+
};
|
|
1560
|
+
get?: never;
|
|
1561
|
+
put?: never;
|
|
1562
|
+
post: {
|
|
1563
|
+
parameters: {
|
|
1564
|
+
query?: never;
|
|
1565
|
+
header?: never;
|
|
1566
|
+
path?: never;
|
|
1567
|
+
cookie?: never;
|
|
1568
|
+
};
|
|
1569
|
+
requestBody?: {
|
|
1570
|
+
content: {
|
|
1571
|
+
'application/json': components['schemas']['FindDistinctDocumentsRequest'];
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
responses: {
|
|
1575
|
+
/** @description Distinct values found */
|
|
1576
|
+
200: {
|
|
1577
|
+
headers: {
|
|
1578
|
+
[name: string]: unknown;
|
|
1579
|
+
};
|
|
1580
|
+
content: {
|
|
1581
|
+
'application/json': components['schemas']['FindDistinctDocumentsResponse'];
|
|
1582
|
+
};
|
|
1583
|
+
};
|
|
1584
|
+
/** @description Bad Request */
|
|
1585
|
+
400: {
|
|
1586
|
+
headers: {
|
|
1587
|
+
[name: string]: unknown;
|
|
1588
|
+
};
|
|
1589
|
+
content: {
|
|
1590
|
+
'application/json': {
|
|
1591
|
+
/** @example Error message describing the issue. */
|
|
1592
|
+
message: string;
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
};
|
|
1596
|
+
/** @description Unauthorized */
|
|
1597
|
+
401: {
|
|
1598
|
+
headers: {
|
|
1599
|
+
[name: string]: unknown;
|
|
1600
|
+
};
|
|
1601
|
+
content: {
|
|
1602
|
+
'application/json': {
|
|
1603
|
+
/** @example Error message describing the issue. */
|
|
1604
|
+
message: string;
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
/** @description Forbidden */
|
|
1609
|
+
403: {
|
|
1610
|
+
headers: {
|
|
1611
|
+
[name: string]: unknown;
|
|
1612
|
+
};
|
|
1613
|
+
content: {
|
|
1614
|
+
'application/json': {
|
|
1615
|
+
/** @example Error message describing the issue. */
|
|
1616
|
+
message: string;
|
|
1617
|
+
};
|
|
1618
|
+
};
|
|
1619
|
+
};
|
|
1620
|
+
/** @description Not Found */
|
|
1621
|
+
404: {
|
|
1622
|
+
headers: {
|
|
1623
|
+
[name: string]: unknown;
|
|
1624
|
+
};
|
|
1625
|
+
content: {
|
|
1626
|
+
'application/json': {
|
|
1627
|
+
/** @example Error message describing the issue. */
|
|
1628
|
+
message: string;
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
};
|
|
1632
|
+
/** @description Internal Server Error */
|
|
1633
|
+
500: {
|
|
1634
|
+
headers: {
|
|
1635
|
+
[name: string]: unknown;
|
|
1636
|
+
};
|
|
1637
|
+
content: {
|
|
1638
|
+
'application/json': {
|
|
1639
|
+
/** @example Error message describing the issue. */
|
|
1640
|
+
message: string;
|
|
1641
|
+
};
|
|
1642
|
+
};
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
1646
|
+
delete?: never;
|
|
1647
|
+
options?: never;
|
|
1648
|
+
head?: never;
|
|
1649
|
+
patch?: never;
|
|
1650
|
+
trace?: never;
|
|
1651
|
+
};
|
|
1652
|
+
'/api/v0/documents:update': {
|
|
1653
|
+
parameters: {
|
|
1654
|
+
query?: never;
|
|
1655
|
+
header?: never;
|
|
1656
|
+
path?: never;
|
|
1657
|
+
cookie?: never;
|
|
1658
|
+
};
|
|
1659
|
+
get?: never;
|
|
1660
|
+
put?: never;
|
|
1661
|
+
post: {
|
|
1662
|
+
parameters: {
|
|
1663
|
+
query?: never;
|
|
1664
|
+
header?: never;
|
|
1665
|
+
path?: never;
|
|
1666
|
+
cookie?: never;
|
|
1667
|
+
};
|
|
1668
|
+
requestBody?: {
|
|
1669
|
+
content: {
|
|
1670
|
+
'application/json': components['schemas']['UpdateDocumentRequest'];
|
|
1671
|
+
};
|
|
1672
|
+
};
|
|
1673
|
+
responses: {
|
|
1674
|
+
/** @description Documents updated */
|
|
1675
|
+
200: {
|
|
1676
|
+
headers: {
|
|
1677
|
+
[name: string]: unknown;
|
|
1678
|
+
};
|
|
1679
|
+
content: {
|
|
1680
|
+
'application/json': components['schemas']['UpdateDocumentResponse'];
|
|
1681
|
+
};
|
|
1682
|
+
};
|
|
1683
|
+
/** @description Bad Request */
|
|
1684
|
+
400: {
|
|
1685
|
+
headers: {
|
|
1686
|
+
[name: string]: unknown;
|
|
1687
|
+
};
|
|
1688
|
+
content: {
|
|
1689
|
+
'application/json': {
|
|
1690
|
+
/** @example Error message describing the issue. */
|
|
1691
|
+
message: string;
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1695
|
+
/** @description Unauthorized */
|
|
1696
|
+
401: {
|
|
1697
|
+
headers: {
|
|
1698
|
+
[name: string]: unknown;
|
|
1699
|
+
};
|
|
1700
|
+
content: {
|
|
1701
|
+
'application/json': {
|
|
1702
|
+
/** @example Error message describing the issue. */
|
|
1703
|
+
message: string;
|
|
1704
|
+
};
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
/** @description Forbidden */
|
|
1708
|
+
403: {
|
|
1709
|
+
headers: {
|
|
1710
|
+
[name: string]: unknown;
|
|
1711
|
+
};
|
|
1712
|
+
content: {
|
|
1713
|
+
'application/json': {
|
|
1714
|
+
/** @example Error message describing the issue. */
|
|
1715
|
+
message: string;
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
};
|
|
1719
|
+
/** @description Not Found */
|
|
1720
|
+
404: {
|
|
1721
|
+
headers: {
|
|
1722
|
+
[name: string]: unknown;
|
|
1723
|
+
};
|
|
1724
|
+
content: {
|
|
1725
|
+
'application/json': {
|
|
1726
|
+
/** @example Error message describing the issue. */
|
|
1727
|
+
message: string;
|
|
1728
|
+
};
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
/** @description Conflict */
|
|
1732
|
+
409: {
|
|
1733
|
+
headers: {
|
|
1734
|
+
[name: string]: unknown;
|
|
1735
|
+
};
|
|
1736
|
+
content: {
|
|
1737
|
+
'application/json': {
|
|
1738
|
+
/** @example Error message describing the issue. */
|
|
1739
|
+
message: string;
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
};
|
|
1743
|
+
/** @description Internal Server Error */
|
|
1744
|
+
500: {
|
|
1745
|
+
headers: {
|
|
1746
|
+
[name: string]: unknown;
|
|
1747
|
+
};
|
|
1748
|
+
content: {
|
|
1749
|
+
'application/json': {
|
|
1750
|
+
/** @example Error message describing the issue. */
|
|
1751
|
+
message: string;
|
|
1752
|
+
};
|
|
1753
|
+
};
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
};
|
|
1757
|
+
delete?: never;
|
|
1758
|
+
options?: never;
|
|
1759
|
+
head?: never;
|
|
1760
|
+
patch?: never;
|
|
1761
|
+
trace?: never;
|
|
1762
|
+
};
|
|
1763
|
+
'/api/v0/documents:delete': {
|
|
1764
|
+
parameters: {
|
|
1765
|
+
query?: never;
|
|
1766
|
+
header?: never;
|
|
1767
|
+
path?: never;
|
|
1768
|
+
cookie?: never;
|
|
1769
|
+
};
|
|
1770
|
+
get?: never;
|
|
1771
|
+
put?: never;
|
|
1772
|
+
post: {
|
|
1773
|
+
parameters: {
|
|
1774
|
+
query?: never;
|
|
1775
|
+
header?: never;
|
|
1776
|
+
path?: never;
|
|
1777
|
+
cookie?: never;
|
|
1778
|
+
};
|
|
1779
|
+
requestBody?: {
|
|
1780
|
+
content: {
|
|
1781
|
+
'application/json': components['schemas']['DeleteDocumentRequest'];
|
|
1782
|
+
};
|
|
1783
|
+
};
|
|
1784
|
+
responses: {
|
|
1785
|
+
/** @description Documents deleted */
|
|
1786
|
+
200: {
|
|
1787
|
+
headers: {
|
|
1788
|
+
[name: string]: unknown;
|
|
1789
|
+
};
|
|
1790
|
+
content: {
|
|
1791
|
+
'application/json': components['schemas']['DeleteDocumentResponse'];
|
|
1792
|
+
};
|
|
1793
|
+
};
|
|
1794
|
+
/** @description Bad Request */
|
|
1795
|
+
400: {
|
|
1796
|
+
headers: {
|
|
1797
|
+
[name: string]: unknown;
|
|
1798
|
+
};
|
|
1799
|
+
content: {
|
|
1800
|
+
'application/json': {
|
|
1801
|
+
/** @example Error message describing the issue. */
|
|
1802
|
+
message: string;
|
|
1803
|
+
};
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
/** @description Unauthorized */
|
|
1807
|
+
401: {
|
|
1808
|
+
headers: {
|
|
1809
|
+
[name: string]: unknown;
|
|
1810
|
+
};
|
|
1811
|
+
content: {
|
|
1812
|
+
'application/json': {
|
|
1813
|
+
/** @example Error message describing the issue. */
|
|
1814
|
+
message: string;
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
/** @description Forbidden */
|
|
1819
|
+
403: {
|
|
1820
|
+
headers: {
|
|
1821
|
+
[name: string]: unknown;
|
|
1822
|
+
};
|
|
1823
|
+
content: {
|
|
1824
|
+
'application/json': {
|
|
1825
|
+
/** @example Error message describing the issue. */
|
|
1826
|
+
message: string;
|
|
1827
|
+
};
|
|
1828
|
+
};
|
|
1829
|
+
};
|
|
1830
|
+
/** @description Not Found */
|
|
1831
|
+
404: {
|
|
1832
|
+
headers: {
|
|
1833
|
+
[name: string]: unknown;
|
|
1834
|
+
};
|
|
1835
|
+
content: {
|
|
1836
|
+
'application/json': {
|
|
1837
|
+
/** @example Error message describing the issue. */
|
|
1838
|
+
message: string;
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
};
|
|
1842
|
+
/** @description Internal Server Error */
|
|
1843
|
+
500: {
|
|
1844
|
+
headers: {
|
|
1845
|
+
[name: string]: unknown;
|
|
1846
|
+
};
|
|
1847
|
+
content: {
|
|
1848
|
+
'application/json': {
|
|
1849
|
+
/** @example Error message describing the issue. */
|
|
1850
|
+
message: string;
|
|
1851
|
+
};
|
|
1852
|
+
};
|
|
1853
|
+
};
|
|
1854
|
+
};
|
|
1855
|
+
};
|
|
1856
|
+
delete?: never;
|
|
1857
|
+
options?: never;
|
|
1858
|
+
head?: never;
|
|
1859
|
+
patch?: never;
|
|
1860
|
+
trace?: never;
|
|
1861
|
+
};
|
|
1862
|
+
'/api/v0/document_versions:count': {
|
|
1863
|
+
parameters: {
|
|
1864
|
+
query?: never;
|
|
1865
|
+
header?: never;
|
|
1866
|
+
path?: never;
|
|
1867
|
+
cookie?: never;
|
|
1868
|
+
};
|
|
1869
|
+
get?: never;
|
|
1870
|
+
put?: never;
|
|
1871
|
+
post: {
|
|
1872
|
+
parameters: {
|
|
1873
|
+
query?: never;
|
|
1874
|
+
header?: never;
|
|
1875
|
+
path?: never;
|
|
1876
|
+
cookie?: never;
|
|
1877
|
+
};
|
|
1878
|
+
requestBody?: {
|
|
1879
|
+
content: {
|
|
1880
|
+
'application/json': components['schemas']['CountDocumentVersionRequest'];
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1883
|
+
responses: {
|
|
1884
|
+
/** @description Document version count */
|
|
1885
|
+
200: {
|
|
1886
|
+
headers: {
|
|
1887
|
+
[name: string]: unknown;
|
|
1888
|
+
};
|
|
1889
|
+
content: {
|
|
1890
|
+
'application/json': components['schemas']['CountDocumentVersionResponse'];
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
/** @description Bad Request */
|
|
1894
|
+
400: {
|
|
1895
|
+
headers: {
|
|
1896
|
+
[name: string]: unknown;
|
|
1897
|
+
};
|
|
1898
|
+
content: {
|
|
1899
|
+
'application/json': {
|
|
1900
|
+
/** @example Error message describing the issue. */
|
|
1901
|
+
message: string;
|
|
1902
|
+
};
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
/** @description Unauthorized */
|
|
1906
|
+
401: {
|
|
1907
|
+
headers: {
|
|
1908
|
+
[name: string]: unknown;
|
|
1909
|
+
};
|
|
1910
|
+
content: {
|
|
1911
|
+
'application/json': {
|
|
1912
|
+
/** @example Error message describing the issue. */
|
|
1913
|
+
message: string;
|
|
1914
|
+
};
|
|
1915
|
+
};
|
|
1916
|
+
};
|
|
1917
|
+
/** @description Forbidden */
|
|
1918
|
+
403: {
|
|
1919
|
+
headers: {
|
|
1920
|
+
[name: string]: unknown;
|
|
1921
|
+
};
|
|
1922
|
+
content: {
|
|
1923
|
+
'application/json': {
|
|
1924
|
+
/** @example Error message describing the issue. */
|
|
1925
|
+
message: string;
|
|
1926
|
+
};
|
|
1927
|
+
};
|
|
1928
|
+
};
|
|
1929
|
+
/** @description Not Found */
|
|
1930
|
+
404: {
|
|
1931
|
+
headers: {
|
|
1932
|
+
[name: string]: unknown;
|
|
1933
|
+
};
|
|
1934
|
+
content: {
|
|
1935
|
+
'application/json': {
|
|
1936
|
+
/** @example Error message describing the issue. */
|
|
1937
|
+
message: string;
|
|
1938
|
+
};
|
|
1939
|
+
};
|
|
1940
|
+
};
|
|
1941
|
+
/** @description Internal Server Error */
|
|
1942
|
+
500: {
|
|
1943
|
+
headers: {
|
|
1944
|
+
[name: string]: unknown;
|
|
1945
|
+
};
|
|
1946
|
+
content: {
|
|
1947
|
+
'application/json': {
|
|
1948
|
+
/** @example Error message describing the issue. */
|
|
1949
|
+
message: string;
|
|
1950
|
+
};
|
|
1951
|
+
};
|
|
1952
|
+
};
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
1955
|
+
delete?: never;
|
|
1956
|
+
options?: never;
|
|
1957
|
+
head?: never;
|
|
1958
|
+
patch?: never;
|
|
1959
|
+
trace?: never;
|
|
1960
|
+
};
|
|
1961
|
+
'/api/v0/document_versions:create': {
|
|
1962
|
+
parameters: {
|
|
1963
|
+
query?: never;
|
|
1964
|
+
header?: never;
|
|
1965
|
+
path?: never;
|
|
1966
|
+
cookie?: never;
|
|
1967
|
+
};
|
|
1968
|
+
get?: never;
|
|
1969
|
+
put?: never;
|
|
1970
|
+
post: {
|
|
1971
|
+
parameters: {
|
|
1972
|
+
query?: never;
|
|
1973
|
+
header?: never;
|
|
1974
|
+
path?: never;
|
|
1975
|
+
cookie?: never;
|
|
1976
|
+
};
|
|
1977
|
+
requestBody?: {
|
|
1978
|
+
content: {
|
|
1979
|
+
'application/json': components['schemas']['CreateDocumentVersionRequest'];
|
|
1980
|
+
};
|
|
1981
|
+
};
|
|
1982
|
+
responses: {
|
|
1983
|
+
/** @description Document version created */
|
|
1984
|
+
201: {
|
|
1985
|
+
headers: {
|
|
1986
|
+
[name: string]: unknown;
|
|
1987
|
+
};
|
|
1988
|
+
content: {
|
|
1989
|
+
'application/json': components['schemas']['CreateDocumentVersionResponse'];
|
|
1990
|
+
};
|
|
1991
|
+
};
|
|
1992
|
+
/** @description Bad Request */
|
|
1993
|
+
400: {
|
|
1994
|
+
headers: {
|
|
1995
|
+
[name: string]: unknown;
|
|
1996
|
+
};
|
|
1997
|
+
content: {
|
|
1998
|
+
'application/json': {
|
|
1999
|
+
/** @example Error message describing the issue. */
|
|
2000
|
+
message: string;
|
|
2001
|
+
};
|
|
2002
|
+
};
|
|
2003
|
+
};
|
|
2004
|
+
/** @description Unauthorized */
|
|
2005
|
+
401: {
|
|
2006
|
+
headers: {
|
|
2007
|
+
[name: string]: unknown;
|
|
2008
|
+
};
|
|
2009
|
+
content: {
|
|
2010
|
+
'application/json': {
|
|
2011
|
+
/** @example Error message describing the issue. */
|
|
2012
|
+
message: string;
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
};
|
|
2016
|
+
/** @description Forbidden */
|
|
2017
|
+
403: {
|
|
2018
|
+
headers: {
|
|
2019
|
+
[name: string]: unknown;
|
|
2020
|
+
};
|
|
2021
|
+
content: {
|
|
2022
|
+
'application/json': {
|
|
2023
|
+
/** @example Error message describing the issue. */
|
|
2024
|
+
message: string;
|
|
2025
|
+
};
|
|
2026
|
+
};
|
|
2027
|
+
};
|
|
2028
|
+
/** @description Not Found */
|
|
2029
|
+
404: {
|
|
2030
|
+
headers: {
|
|
2031
|
+
[name: string]: unknown;
|
|
2032
|
+
};
|
|
2033
|
+
content: {
|
|
2034
|
+
'application/json': {
|
|
2035
|
+
/** @example Error message describing the issue. */
|
|
2036
|
+
message: string;
|
|
2037
|
+
};
|
|
2038
|
+
};
|
|
2039
|
+
};
|
|
2040
|
+
/** @description Internal Server Error */
|
|
2041
|
+
500: {
|
|
2042
|
+
headers: {
|
|
2043
|
+
[name: string]: unknown;
|
|
2044
|
+
};
|
|
2045
|
+
content: {
|
|
2046
|
+
'application/json': {
|
|
2047
|
+
/** @example Error message describing the issue. */
|
|
2048
|
+
message: string;
|
|
2049
|
+
};
|
|
2050
|
+
};
|
|
2051
|
+
};
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
delete?: never;
|
|
2055
|
+
options?: never;
|
|
2056
|
+
head?: never;
|
|
2057
|
+
patch?: never;
|
|
2058
|
+
trace?: never;
|
|
2059
|
+
};
|
|
2060
|
+
'/api/v0/document_versions:find': {
|
|
2061
|
+
parameters: {
|
|
2062
|
+
query?: never;
|
|
2063
|
+
header?: never;
|
|
2064
|
+
path?: never;
|
|
2065
|
+
cookie?: never;
|
|
2066
|
+
};
|
|
2067
|
+
get?: never;
|
|
2068
|
+
put?: never;
|
|
2069
|
+
post: {
|
|
2070
|
+
parameters: {
|
|
2071
|
+
query?: never;
|
|
2072
|
+
header?: never;
|
|
2073
|
+
path?: never;
|
|
2074
|
+
cookie?: never;
|
|
2075
|
+
};
|
|
2076
|
+
requestBody?: {
|
|
2077
|
+
content: {
|
|
2078
|
+
'application/json': components['schemas']['FindDocumentVersionsRequest'];
|
|
2079
|
+
};
|
|
2080
|
+
};
|
|
2081
|
+
responses: {
|
|
2082
|
+
/** @description Document versions found */
|
|
2083
|
+
200: {
|
|
2084
|
+
headers: {
|
|
2085
|
+
[name: string]: unknown;
|
|
2086
|
+
};
|
|
2087
|
+
content: {
|
|
2088
|
+
'application/json': components['schemas']['FindDocumentVersionsResponse'];
|
|
2089
|
+
};
|
|
2090
|
+
};
|
|
2091
|
+
/** @description Bad Request */
|
|
2092
|
+
400: {
|
|
2093
|
+
headers: {
|
|
2094
|
+
[name: string]: unknown;
|
|
2095
|
+
};
|
|
2096
|
+
content: {
|
|
2097
|
+
'application/json': {
|
|
2098
|
+
/** @example Error message describing the issue. */
|
|
2099
|
+
message: string;
|
|
2100
|
+
};
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
/** @description Unauthorized */
|
|
2104
|
+
401: {
|
|
2105
|
+
headers: {
|
|
2106
|
+
[name: string]: unknown;
|
|
2107
|
+
};
|
|
2108
|
+
content: {
|
|
2109
|
+
'application/json': {
|
|
2110
|
+
/** @example Error message describing the issue. */
|
|
2111
|
+
message: string;
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
2115
|
+
/** @description Forbidden */
|
|
2116
|
+
403: {
|
|
2117
|
+
headers: {
|
|
2118
|
+
[name: string]: unknown;
|
|
2119
|
+
};
|
|
2120
|
+
content: {
|
|
2121
|
+
'application/json': {
|
|
2122
|
+
/** @example Error message describing the issue. */
|
|
2123
|
+
message: string;
|
|
2124
|
+
};
|
|
2125
|
+
};
|
|
2126
|
+
};
|
|
2127
|
+
/** @description Not Found */
|
|
2128
|
+
404: {
|
|
2129
|
+
headers: {
|
|
2130
|
+
[name: string]: unknown;
|
|
2131
|
+
};
|
|
2132
|
+
content: {
|
|
2133
|
+
'application/json': {
|
|
2134
|
+
/** @example Error message describing the issue. */
|
|
2135
|
+
message: string;
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
};
|
|
2139
|
+
/** @description Internal Server Error */
|
|
2140
|
+
500: {
|
|
2141
|
+
headers: {
|
|
2142
|
+
[name: string]: unknown;
|
|
2143
|
+
};
|
|
2144
|
+
content: {
|
|
2145
|
+
'application/json': {
|
|
2146
|
+
/** @example Error message describing the issue. */
|
|
2147
|
+
message: string;
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2150
|
+
};
|
|
2151
|
+
};
|
|
2152
|
+
};
|
|
2153
|
+
delete?: never;
|
|
2154
|
+
options?: never;
|
|
2155
|
+
head?: never;
|
|
2156
|
+
patch?: never;
|
|
2157
|
+
trace?: never;
|
|
2158
|
+
};
|
|
2159
|
+
'/api/v0/document_versions:update': {
|
|
2160
|
+
parameters: {
|
|
2161
|
+
query?: never;
|
|
2162
|
+
header?: never;
|
|
2163
|
+
path?: never;
|
|
2164
|
+
cookie?: never;
|
|
2165
|
+
};
|
|
2166
|
+
get?: never;
|
|
2167
|
+
put?: never;
|
|
2168
|
+
post: {
|
|
2169
|
+
parameters: {
|
|
2170
|
+
query?: never;
|
|
2171
|
+
header?: never;
|
|
2172
|
+
path?: never;
|
|
2173
|
+
cookie?: never;
|
|
2174
|
+
};
|
|
2175
|
+
requestBody?: {
|
|
2176
|
+
content: {
|
|
2177
|
+
'application/json': components['schemas']['UpdateDocumentVersionRequest'];
|
|
2178
|
+
};
|
|
2179
|
+
};
|
|
2180
|
+
responses: {
|
|
2181
|
+
/** @description Document versions updated */
|
|
2182
|
+
200: {
|
|
2183
|
+
headers: {
|
|
2184
|
+
[name: string]: unknown;
|
|
2185
|
+
};
|
|
2186
|
+
content: {
|
|
2187
|
+
'application/json': components['schemas']['UpdateDocumentVersionResponse'];
|
|
2188
|
+
};
|
|
2189
|
+
};
|
|
2190
|
+
/** @description Bad Request */
|
|
2191
|
+
400: {
|
|
2192
|
+
headers: {
|
|
2193
|
+
[name: string]: unknown;
|
|
2194
|
+
};
|
|
2195
|
+
content: {
|
|
2196
|
+
'application/json': {
|
|
2197
|
+
/** @example Error message describing the issue. */
|
|
2198
|
+
message: string;
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
};
|
|
2202
|
+
/** @description Unauthorized */
|
|
2203
|
+
401: {
|
|
2204
|
+
headers: {
|
|
2205
|
+
[name: string]: unknown;
|
|
2206
|
+
};
|
|
2207
|
+
content: {
|
|
2208
|
+
'application/json': {
|
|
2209
|
+
/** @example Error message describing the issue. */
|
|
2210
|
+
message: string;
|
|
2211
|
+
};
|
|
2212
|
+
};
|
|
2213
|
+
};
|
|
2214
|
+
/** @description Forbidden */
|
|
2215
|
+
403: {
|
|
2216
|
+
headers: {
|
|
2217
|
+
[name: string]: unknown;
|
|
2218
|
+
};
|
|
2219
|
+
content: {
|
|
2220
|
+
'application/json': {
|
|
2221
|
+
/** @example Error message describing the issue. */
|
|
2222
|
+
message: string;
|
|
2223
|
+
};
|
|
2224
|
+
};
|
|
2225
|
+
};
|
|
2226
|
+
/** @description Not Found */
|
|
2227
|
+
404: {
|
|
2228
|
+
headers: {
|
|
2229
|
+
[name: string]: unknown;
|
|
2230
|
+
};
|
|
2231
|
+
content: {
|
|
2232
|
+
'application/json': {
|
|
2233
|
+
/** @example Error message describing the issue. */
|
|
2234
|
+
message: string;
|
|
2235
|
+
};
|
|
2236
|
+
};
|
|
2237
|
+
};
|
|
2238
|
+
/** @description Internal Server Error */
|
|
2239
|
+
500: {
|
|
2240
|
+
headers: {
|
|
2241
|
+
[name: string]: unknown;
|
|
2242
|
+
};
|
|
2243
|
+
content: {
|
|
2244
|
+
'application/json': {
|
|
2245
|
+
/** @example Error message describing the issue. */
|
|
2246
|
+
message: string;
|
|
2247
|
+
};
|
|
2248
|
+
};
|
|
2249
|
+
};
|
|
2250
|
+
};
|
|
2251
|
+
};
|
|
2252
|
+
delete?: never;
|
|
2253
|
+
options?: never;
|
|
2254
|
+
head?: never;
|
|
2255
|
+
patch?: never;
|
|
2256
|
+
trace?: never;
|
|
2257
|
+
};
|
|
2258
|
+
'/api/v0/document_versions:delete': {
|
|
2259
|
+
parameters: {
|
|
2260
|
+
query?: never;
|
|
2261
|
+
header?: never;
|
|
2262
|
+
path?: never;
|
|
2263
|
+
cookie?: never;
|
|
2264
|
+
};
|
|
2265
|
+
get?: never;
|
|
2266
|
+
put?: never;
|
|
2267
|
+
post: {
|
|
2268
|
+
parameters: {
|
|
2269
|
+
query?: never;
|
|
2270
|
+
header?: never;
|
|
2271
|
+
path?: never;
|
|
2272
|
+
cookie?: never;
|
|
2273
|
+
};
|
|
2274
|
+
requestBody?: {
|
|
2275
|
+
content: {
|
|
2276
|
+
'application/json': components['schemas']['DeleteDocumentVersionRequest'];
|
|
2277
|
+
};
|
|
2278
|
+
};
|
|
2279
|
+
responses: {
|
|
2280
|
+
/** @description Document versions deleted */
|
|
2281
|
+
200: {
|
|
2282
|
+
headers: {
|
|
2283
|
+
[name: string]: unknown;
|
|
2284
|
+
};
|
|
2285
|
+
content: {
|
|
2286
|
+
'application/json': components['schemas']['DeleteDocumentVersionResponse'];
|
|
2287
|
+
};
|
|
2288
|
+
};
|
|
2289
|
+
/** @description Bad Request */
|
|
2290
|
+
400: {
|
|
2291
|
+
headers: {
|
|
2292
|
+
[name: string]: unknown;
|
|
2293
|
+
};
|
|
2294
|
+
content: {
|
|
2295
|
+
'application/json': {
|
|
2296
|
+
/** @example Error message describing the issue. */
|
|
2297
|
+
message: string;
|
|
2298
|
+
};
|
|
2299
|
+
};
|
|
2300
|
+
};
|
|
2301
|
+
/** @description Unauthorized */
|
|
2302
|
+
401: {
|
|
2303
|
+
headers: {
|
|
2304
|
+
[name: string]: unknown;
|
|
2305
|
+
};
|
|
2306
|
+
content: {
|
|
2307
|
+
'application/json': {
|
|
2308
|
+
/** @example Error message describing the issue. */
|
|
2309
|
+
message: string;
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
};
|
|
2313
|
+
/** @description Forbidden */
|
|
2314
|
+
403: {
|
|
2315
|
+
headers: {
|
|
2316
|
+
[name: string]: unknown;
|
|
2317
|
+
};
|
|
2318
|
+
content: {
|
|
2319
|
+
'application/json': {
|
|
2320
|
+
/** @example Error message describing the issue. */
|
|
2321
|
+
message: string;
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
};
|
|
2325
|
+
/** @description Not Found */
|
|
2326
|
+
404: {
|
|
2327
|
+
headers: {
|
|
2328
|
+
[name: string]: unknown;
|
|
2329
|
+
};
|
|
2330
|
+
content: {
|
|
2331
|
+
'application/json': {
|
|
2332
|
+
/** @example Error message describing the issue. */
|
|
2333
|
+
message: string;
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
};
|
|
2337
|
+
/** @description Internal Server Error */
|
|
2338
|
+
500: {
|
|
2339
|
+
headers: {
|
|
2340
|
+
[name: string]: unknown;
|
|
2341
|
+
};
|
|
2342
|
+
content: {
|
|
2343
|
+
'application/json': {
|
|
2344
|
+
/** @example Error message describing the issue. */
|
|
2345
|
+
message: string;
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
};
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
2351
|
+
delete?: never;
|
|
2352
|
+
options?: never;
|
|
2353
|
+
head?: never;
|
|
2354
|
+
patch?: never;
|
|
2355
|
+
trace?: never;
|
|
2356
|
+
};
|
|
2357
|
+
'/api/v0/uploads/sign': {
|
|
2358
|
+
parameters: {
|
|
2359
|
+
query?: never;
|
|
2360
|
+
header?: never;
|
|
2361
|
+
path?: never;
|
|
2362
|
+
cookie?: never;
|
|
2363
|
+
};
|
|
2364
|
+
get?: never;
|
|
2365
|
+
put?: never;
|
|
2366
|
+
post: {
|
|
2367
|
+
parameters: {
|
|
2368
|
+
query?: never;
|
|
2369
|
+
header?: never;
|
|
2370
|
+
path?: never;
|
|
2371
|
+
cookie?: never;
|
|
2372
|
+
};
|
|
2373
|
+
requestBody?: {
|
|
2374
|
+
content: {
|
|
2375
|
+
'application/json': components['schemas']['GeneratePresignedUploadUrlRequest'];
|
|
2376
|
+
};
|
|
2377
|
+
};
|
|
2378
|
+
responses: {
|
|
2379
|
+
/** @description Presigned upload URL generated */
|
|
2380
|
+
200: {
|
|
2381
|
+
headers: {
|
|
2382
|
+
[name: string]: unknown;
|
|
2383
|
+
};
|
|
2384
|
+
content: {
|
|
2385
|
+
'application/json': components['schemas']['GeneratePresignedUploadUrlResponse'];
|
|
2386
|
+
};
|
|
2387
|
+
};
|
|
2388
|
+
/** @description Bad Request */
|
|
2389
|
+
400: {
|
|
2390
|
+
headers: {
|
|
2391
|
+
[name: string]: unknown;
|
|
2392
|
+
};
|
|
2393
|
+
content: {
|
|
2394
|
+
'application/json': {
|
|
2395
|
+
/** @example Error message describing the issue. */
|
|
2396
|
+
message: string;
|
|
2397
|
+
};
|
|
2398
|
+
};
|
|
2399
|
+
};
|
|
2400
|
+
/** @description Unauthorized */
|
|
2401
|
+
401: {
|
|
2402
|
+
headers: {
|
|
2403
|
+
[name: string]: unknown;
|
|
2404
|
+
};
|
|
2405
|
+
content: {
|
|
2406
|
+
'application/json': {
|
|
2407
|
+
/** @example Error message describing the issue. */
|
|
2408
|
+
message: string;
|
|
2409
|
+
};
|
|
2410
|
+
};
|
|
2411
|
+
};
|
|
2412
|
+
/** @description Forbidden */
|
|
2413
|
+
403: {
|
|
2414
|
+
headers: {
|
|
2415
|
+
[name: string]: unknown;
|
|
2416
|
+
};
|
|
2417
|
+
content: {
|
|
2418
|
+
'application/json': {
|
|
2419
|
+
/** @example Error message describing the issue. */
|
|
2420
|
+
message: string;
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
};
|
|
2424
|
+
/** @description Not Found */
|
|
2425
|
+
404: {
|
|
2426
|
+
headers: {
|
|
2427
|
+
[name: string]: unknown;
|
|
2428
|
+
};
|
|
2429
|
+
content: {
|
|
2430
|
+
'application/json': {
|
|
2431
|
+
/** @example Error message describing the issue. */
|
|
2432
|
+
message: string;
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2435
|
+
};
|
|
2436
|
+
/** @description Service Unavailable */
|
|
2437
|
+
503: {
|
|
2438
|
+
headers: {
|
|
2439
|
+
[name: string]: unknown;
|
|
2440
|
+
};
|
|
2441
|
+
content: {
|
|
2442
|
+
'application/json': {
|
|
2443
|
+
/** @example Error message describing the issue. */
|
|
2444
|
+
message: string;
|
|
2445
|
+
};
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
};
|
|
2450
|
+
delete?: never;
|
|
2451
|
+
options?: never;
|
|
2452
|
+
head?: never;
|
|
2453
|
+
patch?: never;
|
|
2454
|
+
trace?: never;
|
|
2455
|
+
};
|
|
2456
|
+
'/api/v0/uploads/download/sign': {
|
|
2457
|
+
parameters: {
|
|
2458
|
+
query?: never;
|
|
2459
|
+
header?: never;
|
|
2460
|
+
path?: never;
|
|
2461
|
+
cookie?: never;
|
|
2462
|
+
};
|
|
2463
|
+
get?: never;
|
|
2464
|
+
put?: never;
|
|
2465
|
+
post: {
|
|
2466
|
+
parameters: {
|
|
2467
|
+
query?: never;
|
|
2468
|
+
header?: never;
|
|
2469
|
+
path?: never;
|
|
2470
|
+
cookie?: never;
|
|
2471
|
+
};
|
|
2472
|
+
requestBody?: {
|
|
2473
|
+
content: {
|
|
2474
|
+
'application/json': components['schemas']['GeneratePresignedDownloadUrlRequest'];
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
2477
|
+
responses: {
|
|
2478
|
+
/** @description Presigned download URL generated */
|
|
2479
|
+
200: {
|
|
2480
|
+
headers: {
|
|
2481
|
+
[name: string]: unknown;
|
|
2482
|
+
};
|
|
2483
|
+
content: {
|
|
2484
|
+
'application/json': components['schemas']['GeneratePresignedDownloadUrlResponse'];
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
/** @description Bad Request */
|
|
2488
|
+
400: {
|
|
2489
|
+
headers: {
|
|
2490
|
+
[name: string]: unknown;
|
|
2491
|
+
};
|
|
2492
|
+
content: {
|
|
2493
|
+
'application/json': {
|
|
2494
|
+
/** @example Error message describing the issue. */
|
|
2495
|
+
message: string;
|
|
2496
|
+
};
|
|
2497
|
+
};
|
|
2498
|
+
};
|
|
2499
|
+
/** @description Unauthorized */
|
|
2500
|
+
401: {
|
|
2501
|
+
headers: {
|
|
2502
|
+
[name: string]: unknown;
|
|
2503
|
+
};
|
|
2504
|
+
content: {
|
|
2505
|
+
'application/json': {
|
|
2506
|
+
/** @example Error message describing the issue. */
|
|
2507
|
+
message: string;
|
|
2508
|
+
};
|
|
2509
|
+
};
|
|
2510
|
+
};
|
|
2511
|
+
/** @description Forbidden */
|
|
2512
|
+
403: {
|
|
2513
|
+
headers: {
|
|
2514
|
+
[name: string]: unknown;
|
|
2515
|
+
};
|
|
2516
|
+
content: {
|
|
2517
|
+
'application/json': {
|
|
2518
|
+
/** @example Error message describing the issue. */
|
|
2519
|
+
message: string;
|
|
2520
|
+
};
|
|
2521
|
+
};
|
|
2522
|
+
};
|
|
2523
|
+
/** @description Not Found */
|
|
2524
|
+
404: {
|
|
2525
|
+
headers: {
|
|
2526
|
+
[name: string]: unknown;
|
|
2527
|
+
};
|
|
2528
|
+
content: {
|
|
2529
|
+
'application/json': {
|
|
2530
|
+
/** @example Error message describing the issue. */
|
|
2531
|
+
message: string;
|
|
2532
|
+
};
|
|
2533
|
+
};
|
|
2534
|
+
};
|
|
2535
|
+
/** @description Service Unavailable */
|
|
2536
|
+
503: {
|
|
2537
|
+
headers: {
|
|
2538
|
+
[name: string]: unknown;
|
|
2539
|
+
};
|
|
2540
|
+
content: {
|
|
2541
|
+
'application/json': {
|
|
2542
|
+
/** @example Error message describing the issue. */
|
|
2543
|
+
message: string;
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
};
|
|
2548
|
+
};
|
|
2549
|
+
delete?: never;
|
|
2550
|
+
options?: never;
|
|
2551
|
+
head?: never;
|
|
2552
|
+
patch?: never;
|
|
2553
|
+
trace?: never;
|
|
2554
|
+
};
|
|
2555
|
+
'/api/v0/uploads/multipart/initiate': {
|
|
2556
|
+
parameters: {
|
|
2557
|
+
query?: never;
|
|
2558
|
+
header?: never;
|
|
2559
|
+
path?: never;
|
|
2560
|
+
cookie?: never;
|
|
2561
|
+
};
|
|
2562
|
+
get?: never;
|
|
2563
|
+
put?: never;
|
|
2564
|
+
post: {
|
|
2565
|
+
parameters: {
|
|
2566
|
+
query?: never;
|
|
2567
|
+
header?: never;
|
|
2568
|
+
path?: never;
|
|
2569
|
+
cookie?: never;
|
|
2570
|
+
};
|
|
2571
|
+
requestBody?: {
|
|
2572
|
+
content: {
|
|
2573
|
+
'application/json': components['schemas']['InitiateMultipartUploadRequest'];
|
|
2574
|
+
};
|
|
2575
|
+
};
|
|
2576
|
+
responses: {
|
|
2577
|
+
/** @description Multipart upload initiated */
|
|
2578
|
+
200: {
|
|
2579
|
+
headers: {
|
|
2580
|
+
[name: string]: unknown;
|
|
2581
|
+
};
|
|
2582
|
+
content: {
|
|
2583
|
+
'application/json': components['schemas']['InitiateMultipartUploadResponse'];
|
|
2584
|
+
};
|
|
2585
|
+
};
|
|
2586
|
+
/** @description Bad Request */
|
|
2587
|
+
400: {
|
|
2588
|
+
headers: {
|
|
2589
|
+
[name: string]: unknown;
|
|
2590
|
+
};
|
|
2591
|
+
content: {
|
|
2592
|
+
'application/json': {
|
|
2593
|
+
/** @example Error message describing the issue. */
|
|
2594
|
+
message: string;
|
|
2595
|
+
};
|
|
2596
|
+
};
|
|
2597
|
+
};
|
|
2598
|
+
/** @description Unauthorized */
|
|
2599
|
+
401: {
|
|
2600
|
+
headers: {
|
|
2601
|
+
[name: string]: unknown;
|
|
2602
|
+
};
|
|
2603
|
+
content: {
|
|
2604
|
+
'application/json': {
|
|
2605
|
+
/** @example Error message describing the issue. */
|
|
2606
|
+
message: string;
|
|
2607
|
+
};
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
/** @description Forbidden */
|
|
2611
|
+
403: {
|
|
2612
|
+
headers: {
|
|
2613
|
+
[name: string]: unknown;
|
|
2614
|
+
};
|
|
2615
|
+
content: {
|
|
2616
|
+
'application/json': {
|
|
2617
|
+
/** @example Error message describing the issue. */
|
|
2618
|
+
message: string;
|
|
2619
|
+
};
|
|
2620
|
+
};
|
|
2621
|
+
};
|
|
2622
|
+
/** @description Not Found */
|
|
2623
|
+
404: {
|
|
2624
|
+
headers: {
|
|
2625
|
+
[name: string]: unknown;
|
|
2626
|
+
};
|
|
2627
|
+
content: {
|
|
2628
|
+
'application/json': {
|
|
2629
|
+
/** @example Error message describing the issue. */
|
|
2630
|
+
message: string;
|
|
2631
|
+
};
|
|
2632
|
+
};
|
|
2633
|
+
};
|
|
2634
|
+
/** @description Service Unavailable */
|
|
2635
|
+
503: {
|
|
2636
|
+
headers: {
|
|
2637
|
+
[name: string]: unknown;
|
|
2638
|
+
};
|
|
2639
|
+
content: {
|
|
2640
|
+
'application/json': {
|
|
2641
|
+
/** @example Error message describing the issue. */
|
|
2642
|
+
message: string;
|
|
2643
|
+
};
|
|
2644
|
+
};
|
|
2645
|
+
};
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2648
|
+
delete?: never;
|
|
2649
|
+
options?: never;
|
|
2650
|
+
head?: never;
|
|
2651
|
+
patch?: never;
|
|
2652
|
+
trace?: never;
|
|
2653
|
+
};
|
|
2654
|
+
'/api/v0/uploads/multipart/parts': {
|
|
2655
|
+
parameters: {
|
|
2656
|
+
query?: never;
|
|
2657
|
+
header?: never;
|
|
2658
|
+
path?: never;
|
|
2659
|
+
cookie?: never;
|
|
2660
|
+
};
|
|
2661
|
+
get?: never;
|
|
2662
|
+
put?: never;
|
|
2663
|
+
post: {
|
|
2664
|
+
parameters: {
|
|
2665
|
+
query?: never;
|
|
2666
|
+
header?: never;
|
|
2667
|
+
path?: never;
|
|
2668
|
+
cookie?: never;
|
|
2669
|
+
};
|
|
2670
|
+
requestBody?: {
|
|
2671
|
+
content: {
|
|
2672
|
+
'application/json': components['schemas']['GenerateUploadPartUrlsRequest'];
|
|
2673
|
+
};
|
|
2674
|
+
};
|
|
2675
|
+
responses: {
|
|
2676
|
+
/** @description Upload part URLs generated */
|
|
2677
|
+
200: {
|
|
2678
|
+
headers: {
|
|
2679
|
+
[name: string]: unknown;
|
|
2680
|
+
};
|
|
2681
|
+
content: {
|
|
2682
|
+
'application/json': components['schemas']['GenerateUploadPartUrlsResponse'];
|
|
2683
|
+
};
|
|
2684
|
+
};
|
|
2685
|
+
/** @description Bad Request */
|
|
2686
|
+
400: {
|
|
2687
|
+
headers: {
|
|
2688
|
+
[name: string]: unknown;
|
|
2689
|
+
};
|
|
2690
|
+
content: {
|
|
2691
|
+
'application/json': {
|
|
2692
|
+
/** @example Error message describing the issue. */
|
|
2693
|
+
message: string;
|
|
2694
|
+
};
|
|
2695
|
+
};
|
|
2696
|
+
};
|
|
2697
|
+
/** @description Unauthorized */
|
|
2698
|
+
401: {
|
|
2699
|
+
headers: {
|
|
2700
|
+
[name: string]: unknown;
|
|
2701
|
+
};
|
|
2702
|
+
content: {
|
|
2703
|
+
'application/json': {
|
|
2704
|
+
/** @example Error message describing the issue. */
|
|
2705
|
+
message: string;
|
|
2706
|
+
};
|
|
2707
|
+
};
|
|
2708
|
+
};
|
|
2709
|
+
/** @description Forbidden */
|
|
2710
|
+
403: {
|
|
2711
|
+
headers: {
|
|
2712
|
+
[name: string]: unknown;
|
|
2713
|
+
};
|
|
2714
|
+
content: {
|
|
2715
|
+
'application/json': {
|
|
2716
|
+
/** @example Error message describing the issue. */
|
|
2717
|
+
message: string;
|
|
2718
|
+
};
|
|
2719
|
+
};
|
|
2720
|
+
};
|
|
2721
|
+
/** @description Not Found */
|
|
2722
|
+
404: {
|
|
2723
|
+
headers: {
|
|
2724
|
+
[name: string]: unknown;
|
|
2725
|
+
};
|
|
2726
|
+
content: {
|
|
2727
|
+
'application/json': {
|
|
2728
|
+
/** @example Error message describing the issue. */
|
|
2729
|
+
message: string;
|
|
2730
|
+
};
|
|
2731
|
+
};
|
|
2732
|
+
};
|
|
2733
|
+
/** @description Service Unavailable */
|
|
2734
|
+
503: {
|
|
2735
|
+
headers: {
|
|
2736
|
+
[name: string]: unknown;
|
|
2737
|
+
};
|
|
2738
|
+
content: {
|
|
2739
|
+
'application/json': {
|
|
2740
|
+
/** @example Error message describing the issue. */
|
|
2741
|
+
message: string;
|
|
2742
|
+
};
|
|
2743
|
+
};
|
|
2744
|
+
};
|
|
2745
|
+
};
|
|
2746
|
+
};
|
|
2747
|
+
delete?: never;
|
|
2748
|
+
options?: never;
|
|
2749
|
+
head?: never;
|
|
2750
|
+
patch?: never;
|
|
2751
|
+
trace?: never;
|
|
2752
|
+
};
|
|
2753
|
+
'/api/v0/uploads/multipart/complete': {
|
|
2754
|
+
parameters: {
|
|
2755
|
+
query?: never;
|
|
2756
|
+
header?: never;
|
|
2757
|
+
path?: never;
|
|
2758
|
+
cookie?: never;
|
|
2759
|
+
};
|
|
2760
|
+
get?: never;
|
|
2761
|
+
put?: never;
|
|
2762
|
+
post: {
|
|
2763
|
+
parameters: {
|
|
2764
|
+
query?: never;
|
|
2765
|
+
header?: never;
|
|
2766
|
+
path?: never;
|
|
2767
|
+
cookie?: never;
|
|
2768
|
+
};
|
|
2769
|
+
requestBody?: {
|
|
2770
|
+
content: {
|
|
2771
|
+
'application/json': components['schemas']['CompleteMultipartUploadRequest'];
|
|
2772
|
+
};
|
|
2773
|
+
};
|
|
2774
|
+
responses: {
|
|
2775
|
+
/** @description Multipart upload completed */
|
|
2776
|
+
200: {
|
|
2777
|
+
headers: {
|
|
2778
|
+
[name: string]: unknown;
|
|
2779
|
+
};
|
|
2780
|
+
content: {
|
|
2781
|
+
'application/json': components['schemas']['CompleteMultipartUploadResponse'];
|
|
2782
|
+
};
|
|
2783
|
+
};
|
|
2784
|
+
/** @description Bad Request */
|
|
2785
|
+
400: {
|
|
2786
|
+
headers: {
|
|
2787
|
+
[name: string]: unknown;
|
|
2788
|
+
};
|
|
2789
|
+
content: {
|
|
2790
|
+
'application/json': {
|
|
2791
|
+
/** @example Error message describing the issue. */
|
|
2792
|
+
message: string;
|
|
2793
|
+
};
|
|
2794
|
+
};
|
|
2795
|
+
};
|
|
2796
|
+
/** @description Unauthorized */
|
|
2797
|
+
401: {
|
|
2798
|
+
headers: {
|
|
2799
|
+
[name: string]: unknown;
|
|
2800
|
+
};
|
|
2801
|
+
content: {
|
|
2802
|
+
'application/json': {
|
|
2803
|
+
/** @example Error message describing the issue. */
|
|
2804
|
+
message: string;
|
|
2805
|
+
};
|
|
2806
|
+
};
|
|
2807
|
+
};
|
|
2808
|
+
/** @description Forbidden */
|
|
2809
|
+
403: {
|
|
2810
|
+
headers: {
|
|
2811
|
+
[name: string]: unknown;
|
|
2812
|
+
};
|
|
2813
|
+
content: {
|
|
2814
|
+
'application/json': {
|
|
2815
|
+
/** @example Error message describing the issue. */
|
|
2816
|
+
message: string;
|
|
2817
|
+
};
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
/** @description Not Found */
|
|
2821
|
+
404: {
|
|
2822
|
+
headers: {
|
|
2823
|
+
[name: string]: unknown;
|
|
2824
|
+
};
|
|
2825
|
+
content: {
|
|
2826
|
+
'application/json': {
|
|
2827
|
+
/** @example Error message describing the issue. */
|
|
2828
|
+
message: string;
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2831
|
+
};
|
|
2832
|
+
/** @description Service Unavailable */
|
|
2833
|
+
503: {
|
|
2834
|
+
headers: {
|
|
2835
|
+
[name: string]: unknown;
|
|
2836
|
+
};
|
|
2837
|
+
content: {
|
|
2838
|
+
'application/json': {
|
|
2839
|
+
/** @example Error message describing the issue. */
|
|
2840
|
+
message: string;
|
|
2841
|
+
};
|
|
2842
|
+
};
|
|
2843
|
+
};
|
|
2844
|
+
};
|
|
2845
|
+
};
|
|
2846
|
+
delete?: never;
|
|
2847
|
+
options?: never;
|
|
2848
|
+
head?: never;
|
|
2849
|
+
patch?: never;
|
|
2850
|
+
trace?: never;
|
|
2851
|
+
};
|
|
2852
|
+
'/api/v0/uploads/multipart/abort': {
|
|
2853
|
+
parameters: {
|
|
2854
|
+
query?: never;
|
|
2855
|
+
header?: never;
|
|
2856
|
+
path?: never;
|
|
2857
|
+
cookie?: never;
|
|
2858
|
+
};
|
|
2859
|
+
get?: never;
|
|
2860
|
+
put?: never;
|
|
2861
|
+
post: {
|
|
2862
|
+
parameters: {
|
|
2863
|
+
query?: never;
|
|
2864
|
+
header?: never;
|
|
2865
|
+
path?: never;
|
|
2866
|
+
cookie?: never;
|
|
2867
|
+
};
|
|
2868
|
+
requestBody?: {
|
|
2869
|
+
content: {
|
|
2870
|
+
'application/json': components['schemas']['AbortMultipartUploadRequest'];
|
|
2871
|
+
};
|
|
2872
|
+
};
|
|
2873
|
+
responses: {
|
|
2874
|
+
/** @description Multipart upload aborted */
|
|
2875
|
+
200: {
|
|
2876
|
+
headers: {
|
|
2877
|
+
[name: string]: unknown;
|
|
2878
|
+
};
|
|
2879
|
+
content: {
|
|
2880
|
+
'application/json': components['schemas']['AbortMultipartUploadResponse'];
|
|
2881
|
+
};
|
|
2882
|
+
};
|
|
2883
|
+
/** @description Bad Request */
|
|
2884
|
+
400: {
|
|
2885
|
+
headers: {
|
|
2886
|
+
[name: string]: unknown;
|
|
2887
|
+
};
|
|
2888
|
+
content: {
|
|
2889
|
+
'application/json': {
|
|
2890
|
+
/** @example Error message describing the issue. */
|
|
2891
|
+
message: string;
|
|
2892
|
+
};
|
|
2893
|
+
};
|
|
2894
|
+
};
|
|
2895
|
+
/** @description Unauthorized */
|
|
2896
|
+
401: {
|
|
2897
|
+
headers: {
|
|
2898
|
+
[name: string]: unknown;
|
|
2899
|
+
};
|
|
2900
|
+
content: {
|
|
2901
|
+
'application/json': {
|
|
2902
|
+
/** @example Error message describing the issue. */
|
|
2903
|
+
message: string;
|
|
2904
|
+
};
|
|
2905
|
+
};
|
|
2906
|
+
};
|
|
2907
|
+
/** @description Forbidden */
|
|
2908
|
+
403: {
|
|
2909
|
+
headers: {
|
|
2910
|
+
[name: string]: unknown;
|
|
2911
|
+
};
|
|
2912
|
+
content: {
|
|
2913
|
+
'application/json': {
|
|
2914
|
+
/** @example Error message describing the issue. */
|
|
2915
|
+
message: string;
|
|
2916
|
+
};
|
|
2917
|
+
};
|
|
2918
|
+
};
|
|
2919
|
+
/** @description Not Found */
|
|
2920
|
+
404: {
|
|
2921
|
+
headers: {
|
|
2922
|
+
[name: string]: unknown;
|
|
2923
|
+
};
|
|
2924
|
+
content: {
|
|
2925
|
+
'application/json': {
|
|
2926
|
+
/** @example Error message describing the issue. */
|
|
2927
|
+
message: string;
|
|
2928
|
+
};
|
|
2929
|
+
};
|
|
2930
|
+
};
|
|
2931
|
+
/** @description Service Unavailable */
|
|
2932
|
+
503: {
|
|
2933
|
+
headers: {
|
|
2934
|
+
[name: string]: unknown;
|
|
2935
|
+
};
|
|
2936
|
+
content: {
|
|
2937
|
+
'application/json': {
|
|
2938
|
+
/** @example Error message describing the issue. */
|
|
2939
|
+
message: string;
|
|
2940
|
+
};
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
};
|
|
2945
|
+
delete?: never;
|
|
2946
|
+
options?: never;
|
|
2947
|
+
head?: never;
|
|
2948
|
+
patch?: never;
|
|
2949
|
+
trace?: never;
|
|
2950
|
+
};
|
|
2951
|
+
'/api/v0/uploads/{collectionId}/{filename}': {
|
|
2952
|
+
parameters: {
|
|
2953
|
+
query?: never;
|
|
2954
|
+
header?: never;
|
|
2955
|
+
path?: never;
|
|
2956
|
+
cookie?: never;
|
|
2957
|
+
};
|
|
2958
|
+
get?: never;
|
|
2959
|
+
put?: never;
|
|
2960
|
+
post?: never;
|
|
2961
|
+
delete: {
|
|
2962
|
+
parameters: {
|
|
2963
|
+
query?: never;
|
|
2964
|
+
header?: never;
|
|
2965
|
+
path: {
|
|
2966
|
+
collectionId: string;
|
|
2967
|
+
filename: string;
|
|
2968
|
+
};
|
|
2969
|
+
cookie?: never;
|
|
2970
|
+
};
|
|
2971
|
+
requestBody?: never;
|
|
2972
|
+
responses: {
|
|
2973
|
+
/** @description File deleted successfully */
|
|
2974
|
+
200: {
|
|
2975
|
+
headers: {
|
|
2976
|
+
[name: string]: unknown;
|
|
2977
|
+
};
|
|
2978
|
+
content: {
|
|
2979
|
+
'application/json': components['schemas']['DeleteFileResponse'];
|
|
2980
|
+
};
|
|
2981
|
+
};
|
|
2982
|
+
/** @description Bad Request */
|
|
2983
|
+
400: {
|
|
2984
|
+
headers: {
|
|
2985
|
+
[name: string]: unknown;
|
|
2986
|
+
};
|
|
2987
|
+
content: {
|
|
2988
|
+
'application/json': {
|
|
2989
|
+
/** @example Error message describing the issue. */
|
|
2990
|
+
message: string;
|
|
2991
|
+
};
|
|
2992
|
+
};
|
|
2993
|
+
};
|
|
2994
|
+
/** @description Unauthorized */
|
|
2995
|
+
401: {
|
|
2996
|
+
headers: {
|
|
2997
|
+
[name: string]: unknown;
|
|
2998
|
+
};
|
|
2999
|
+
content: {
|
|
3000
|
+
'application/json': {
|
|
3001
|
+
/** @example Error message describing the issue. */
|
|
3002
|
+
message: string;
|
|
3003
|
+
};
|
|
3004
|
+
};
|
|
3005
|
+
};
|
|
3006
|
+
/** @description Forbidden */
|
|
3007
|
+
403: {
|
|
3008
|
+
headers: {
|
|
3009
|
+
[name: string]: unknown;
|
|
3010
|
+
};
|
|
3011
|
+
content: {
|
|
3012
|
+
'application/json': {
|
|
3013
|
+
/** @example Error message describing the issue. */
|
|
3014
|
+
message: string;
|
|
3015
|
+
};
|
|
3016
|
+
};
|
|
3017
|
+
};
|
|
3018
|
+
/** @description Not Found */
|
|
3019
|
+
404: {
|
|
3020
|
+
headers: {
|
|
3021
|
+
[name: string]: unknown;
|
|
3022
|
+
};
|
|
3023
|
+
content: {
|
|
3024
|
+
'application/json': {
|
|
3025
|
+
/** @example Error message describing the issue. */
|
|
3026
|
+
message: string;
|
|
3027
|
+
};
|
|
3028
|
+
};
|
|
3029
|
+
};
|
|
3030
|
+
/** @description Service Unavailable */
|
|
3031
|
+
503: {
|
|
3032
|
+
headers: {
|
|
3033
|
+
[name: string]: unknown;
|
|
3034
|
+
};
|
|
3035
|
+
content: {
|
|
3036
|
+
'application/json': {
|
|
3037
|
+
/** @example Error message describing the issue. */
|
|
3038
|
+
message: string;
|
|
3039
|
+
};
|
|
3040
|
+
};
|
|
3041
|
+
};
|
|
3042
|
+
};
|
|
3043
|
+
};
|
|
3044
|
+
options?: never;
|
|
3045
|
+
head?: never;
|
|
3046
|
+
patch?: never;
|
|
3047
|
+
trace?: never;
|
|
3048
|
+
};
|
|
3049
|
+
};
|
|
3050
|
+
export type webhooks = Record<string, never>;
|
|
3051
|
+
export type components = {
|
|
3052
|
+
schemas: {
|
|
3053
|
+
AuthContextResponse: {
|
|
3054
|
+
/**
|
|
3055
|
+
* @description Type of authentication scope
|
|
3056
|
+
* @example project
|
|
3057
|
+
* @enum {string}
|
|
3058
|
+
*/
|
|
3059
|
+
scopeType: 'super_user' | 'project';
|
|
3060
|
+
/**
|
|
3061
|
+
* @description Content system ID if scopeType is project, undefined for super_user
|
|
3062
|
+
* @example 4cfea8de-4f44-4efd-a8fc-7d539249e9f1
|
|
3063
|
+
*/
|
|
3064
|
+
contentSystemScope?: string;
|
|
3065
|
+
};
|
|
3066
|
+
HealthResponse: {
|
|
3067
|
+
/**
|
|
3068
|
+
* @example ok
|
|
3069
|
+
* @enum {string}
|
|
3070
|
+
*/
|
|
3071
|
+
status: 'ok';
|
|
3072
|
+
/**
|
|
3073
|
+
* @example connected
|
|
3074
|
+
* @enum {string}
|
|
3075
|
+
*/
|
|
3076
|
+
database: 'connected' | 'disconnected';
|
|
3077
|
+
/**
|
|
3078
|
+
* @example available
|
|
3079
|
+
* @enum {string}
|
|
3080
|
+
*/
|
|
3081
|
+
s3: 'available' | 'unavailable';
|
|
3082
|
+
/** @example 2026-01-01T00:00:00.000Z */
|
|
3083
|
+
timestamp: string;
|
|
3084
|
+
};
|
|
3085
|
+
ApiKey: {
|
|
3086
|
+
/** @example 123abc */
|
|
3087
|
+
id: string;
|
|
3088
|
+
/** @example My API Key */
|
|
3089
|
+
name: string;
|
|
3090
|
+
/** @example 123def */
|
|
3091
|
+
contentSystemId: string;
|
|
3092
|
+
/** @example BRTRKFsL */
|
|
3093
|
+
shortToken: string;
|
|
3094
|
+
/**
|
|
3095
|
+
* Format: date
|
|
3096
|
+
* @example 2024-01-01T00:00:00.000Z
|
|
3097
|
+
*/
|
|
3098
|
+
createdAt: string;
|
|
3099
|
+
/**
|
|
3100
|
+
* Format: date
|
|
3101
|
+
* @example 2024-01-01T00:00:00.000Z
|
|
3102
|
+
*/
|
|
3103
|
+
updatedAt: string;
|
|
3104
|
+
};
|
|
3105
|
+
ListApiKeysResponse: {
|
|
3106
|
+
data: components['schemas']['ApiKey'][];
|
|
3107
|
+
total: number;
|
|
3108
|
+
};
|
|
3109
|
+
CreateApiKeyResponse: {
|
|
3110
|
+
/** @example 123abc */
|
|
3111
|
+
id: string;
|
|
3112
|
+
/** @example 123def */
|
|
3113
|
+
contentSystemId: string;
|
|
3114
|
+
/** @example BRTRKFsL */
|
|
3115
|
+
shortToken: string;
|
|
3116
|
+
/**
|
|
3117
|
+
* @description Full API key - only returned on creation
|
|
3118
|
+
* @example figma_BRTRKFsL_51FwqftsmMDHHbJAMEXXHCgG
|
|
3119
|
+
*/
|
|
3120
|
+
fullToken: string;
|
|
3121
|
+
/**
|
|
3122
|
+
* Format: date
|
|
3123
|
+
* @example 2024-01-01T00:00:00.000Z
|
|
3124
|
+
*/
|
|
3125
|
+
createdAt: string;
|
|
3126
|
+
/**
|
|
3127
|
+
* Format: date
|
|
3128
|
+
* @example 2024-01-01T00:00:00.000Z
|
|
3129
|
+
*/
|
|
3130
|
+
updatedAt: string;
|
|
3131
|
+
};
|
|
3132
|
+
CreateApiKeyRequest: {
|
|
3133
|
+
/** @example My API Key */
|
|
3134
|
+
name: string;
|
|
3135
|
+
/** @example 123def */
|
|
3136
|
+
contentSystemId: string;
|
|
3137
|
+
};
|
|
3138
|
+
ContentSystem: {
|
|
3139
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3140
|
+
id: string;
|
|
3141
|
+
/** @example demo-tenant */
|
|
3142
|
+
owningKey: string;
|
|
3143
|
+
/** @example Demo CMS */
|
|
3144
|
+
name: string;
|
|
3145
|
+
/**
|
|
3146
|
+
* Format: date
|
|
3147
|
+
* @example 2024-01-01T00:00:00Z
|
|
3148
|
+
*/
|
|
3149
|
+
createdAt: string;
|
|
3150
|
+
/**
|
|
3151
|
+
* Format: date
|
|
3152
|
+
* @example 2024-01-01T00:00:00Z
|
|
3153
|
+
*/
|
|
3154
|
+
updatedAt: string;
|
|
3155
|
+
};
|
|
3156
|
+
CreateContentSystemResponse: {
|
|
3157
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3158
|
+
id: string;
|
|
3159
|
+
/** @example demo-tenant */
|
|
3160
|
+
owningKey: string;
|
|
3161
|
+
/** @example Demo CMS */
|
|
3162
|
+
name: string;
|
|
3163
|
+
/**
|
|
3164
|
+
* Format: date
|
|
3165
|
+
* @example 2024-01-01T00:00:00Z
|
|
3166
|
+
*/
|
|
3167
|
+
createdAt: string;
|
|
3168
|
+
/**
|
|
3169
|
+
* Format: date
|
|
3170
|
+
* @example 2024-01-01T00:00:00Z
|
|
3171
|
+
*/
|
|
3172
|
+
updatedAt: string;
|
|
3173
|
+
};
|
|
3174
|
+
CreateContentSystemRequest: {
|
|
3175
|
+
/** @example demo-tenant */
|
|
3176
|
+
owningKey: string;
|
|
3177
|
+
/** @example Demo CMS */
|
|
3178
|
+
name: string;
|
|
3179
|
+
};
|
|
3180
|
+
RetrieveContentSystemResponse: {
|
|
3181
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3182
|
+
id: string;
|
|
3183
|
+
/** @example demo-tenant */
|
|
3184
|
+
owningKey: string;
|
|
3185
|
+
/** @example Demo CMS */
|
|
3186
|
+
name: string;
|
|
3187
|
+
/**
|
|
3188
|
+
* Format: date
|
|
3189
|
+
* @example 2024-01-01T00:00:00Z
|
|
3190
|
+
*/
|
|
3191
|
+
createdAt: string;
|
|
3192
|
+
/**
|
|
3193
|
+
* Format: date
|
|
3194
|
+
* @example 2024-01-01T00:00:00Z
|
|
3195
|
+
*/
|
|
3196
|
+
updatedAt: string;
|
|
3197
|
+
};
|
|
3198
|
+
UpdateContentSystemResponse: {
|
|
3199
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3200
|
+
id: string;
|
|
3201
|
+
/** @example demo-tenant */
|
|
3202
|
+
owningKey: string;
|
|
3203
|
+
/** @example Demo CMS */
|
|
3204
|
+
name: string;
|
|
3205
|
+
/**
|
|
3206
|
+
* Format: date
|
|
3207
|
+
* @example 2024-01-01T00:00:00Z
|
|
3208
|
+
*/
|
|
3209
|
+
createdAt: string;
|
|
3210
|
+
/**
|
|
3211
|
+
* Format: date
|
|
3212
|
+
* @example 2024-01-01T00:00:00Z
|
|
3213
|
+
*/
|
|
3214
|
+
updatedAt: string;
|
|
3215
|
+
};
|
|
3216
|
+
UpdateContentSystemRequest: {
|
|
3217
|
+
/** @example demo-tenant */
|
|
3218
|
+
owningKey?: string;
|
|
3219
|
+
/** @example Demo CMS */
|
|
3220
|
+
name?: string;
|
|
3221
|
+
};
|
|
3222
|
+
Collection: {
|
|
3223
|
+
/** @example posts */
|
|
3224
|
+
id: string;
|
|
3225
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3226
|
+
contentSystemId: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* Format: date
|
|
3229
|
+
* @example 2024-01-01T00:00:00Z
|
|
3230
|
+
*/
|
|
3231
|
+
createdAt: string;
|
|
3232
|
+
/**
|
|
3233
|
+
* Format: date
|
|
3234
|
+
* @example 2024-01-01T00:00:00Z
|
|
3235
|
+
*/
|
|
3236
|
+
updatedAt: string;
|
|
3237
|
+
};
|
|
3238
|
+
CreateCollectionResponse: {
|
|
3239
|
+
/** @example posts */
|
|
3240
|
+
id: string;
|
|
3241
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3242
|
+
contentSystemId: string;
|
|
3243
|
+
/**
|
|
3244
|
+
* Format: date
|
|
3245
|
+
* @example 2024-01-01T00:00:00Z
|
|
3246
|
+
*/
|
|
3247
|
+
createdAt: string;
|
|
3248
|
+
/**
|
|
3249
|
+
* Format: date
|
|
3250
|
+
* @example 2024-01-01T00:00:00Z
|
|
3251
|
+
*/
|
|
3252
|
+
updatedAt: string;
|
|
3253
|
+
};
|
|
3254
|
+
CreateCollectionRequest: {
|
|
3255
|
+
/** @example posts */
|
|
3256
|
+
id: string;
|
|
3257
|
+
};
|
|
3258
|
+
RetrieveCollectionResponse: {
|
|
3259
|
+
/** @example posts */
|
|
3260
|
+
id: string;
|
|
3261
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3262
|
+
contentSystemId: string;
|
|
3263
|
+
/**
|
|
3264
|
+
* Format: date
|
|
3265
|
+
* @example 2024-01-01T00:00:00Z
|
|
3266
|
+
*/
|
|
3267
|
+
createdAt: string;
|
|
3268
|
+
/**
|
|
3269
|
+
* Format: date
|
|
3270
|
+
* @example 2024-01-01T00:00:00Z
|
|
3271
|
+
*/
|
|
3272
|
+
updatedAt: string;
|
|
3273
|
+
};
|
|
3274
|
+
UpdateCollectionResponse: {
|
|
3275
|
+
/** @example posts */
|
|
3276
|
+
id: string;
|
|
3277
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3278
|
+
contentSystemId: string;
|
|
3279
|
+
/**
|
|
3280
|
+
* Format: date
|
|
3281
|
+
* @example 2024-01-01T00:00:00Z
|
|
3282
|
+
*/
|
|
3283
|
+
createdAt: string;
|
|
3284
|
+
/**
|
|
3285
|
+
* Format: date
|
|
3286
|
+
* @example 2024-01-01T00:00:00Z
|
|
3287
|
+
*/
|
|
3288
|
+
updatedAt: string;
|
|
3289
|
+
};
|
|
3290
|
+
UpdateCollectionRequest: {
|
|
3291
|
+
/** @example posts */
|
|
3292
|
+
id: string;
|
|
3293
|
+
};
|
|
3294
|
+
CountDocumentResponse: {
|
|
3295
|
+
result: {
|
|
3296
|
+
/** @example 1 */
|
|
3297
|
+
count: number;
|
|
3298
|
+
};
|
|
3299
|
+
};
|
|
3300
|
+
/** @example es */
|
|
3301
|
+
LocaleClause: string;
|
|
3302
|
+
/**
|
|
3303
|
+
* @example {
|
|
3304
|
+
* "paths": [
|
|
3305
|
+
* "field_a",
|
|
3306
|
+
* "field_b"
|
|
3307
|
+
* ]
|
|
3308
|
+
* }
|
|
3309
|
+
*/
|
|
3310
|
+
UniquePath: {
|
|
3311
|
+
paths: string[];
|
|
3312
|
+
};
|
|
3313
|
+
/** @enum {string} */
|
|
3314
|
+
PathTypeArray: 'array';
|
|
3315
|
+
PathTypeRelationship: {
|
|
3316
|
+
/** @enum {string} */
|
|
3317
|
+
type: 'relationship';
|
|
3318
|
+
collection: string | string[];
|
|
3319
|
+
hasMany?: boolean;
|
|
3320
|
+
};
|
|
3321
|
+
PathTypeJoin: {
|
|
3322
|
+
/** @enum {string} */
|
|
3323
|
+
type: 'join';
|
|
3324
|
+
collection: string | string[];
|
|
3325
|
+
hasMany?: boolean;
|
|
3326
|
+
on: string;
|
|
3327
|
+
};
|
|
3328
|
+
/** @enum {string} */
|
|
3329
|
+
PathTypeBlocks: 'blocks';
|
|
3330
|
+
/** @example array */
|
|
3331
|
+
PathType: components['schemas']['PathTypeArray'] | components['schemas']['PathTypeRelationship'] | components['schemas']['PathTypeJoin'] | components['schemas']['PathTypeBlocks'];
|
|
3332
|
+
/**
|
|
3333
|
+
* @example {
|
|
3334
|
+
* "author.tagIds": "array",
|
|
3335
|
+
* "author": {
|
|
3336
|
+
* "type": "relationship",
|
|
3337
|
+
* "collection": "users",
|
|
3338
|
+
* "hasMany": false
|
|
3339
|
+
* },
|
|
3340
|
+
* "relatedPosts": {
|
|
3341
|
+
* "type": "join",
|
|
3342
|
+
* "collection": "posts",
|
|
3343
|
+
* "hasMany": true,
|
|
3344
|
+
* "on": "category"
|
|
3345
|
+
* },
|
|
3346
|
+
* "blocks": "blocks"
|
|
3347
|
+
* }
|
|
3348
|
+
*/
|
|
3349
|
+
PathTypesMeta: {
|
|
3350
|
+
[key: string]: components['schemas']['PathType'];
|
|
3351
|
+
};
|
|
3352
|
+
RequestMeta: {
|
|
3353
|
+
localizedPaths?: string[];
|
|
3354
|
+
uniquePaths?: components['schemas']['UniquePath'][];
|
|
3355
|
+
pathTypes?: components['schemas']['PathTypesMeta'];
|
|
3356
|
+
};
|
|
3357
|
+
DataValue: string | number | boolean | unknown | components['schemas']['DataValue'][] | {
|
|
3358
|
+
[key: string]: components['schemas']['DataValue'];
|
|
3359
|
+
} | unknown;
|
|
3360
|
+
/**
|
|
3361
|
+
* @example {
|
|
3362
|
+
* "and": [
|
|
3363
|
+
* {
|
|
3364
|
+
* "path": "status",
|
|
3365
|
+
* "operator": "equals",
|
|
3366
|
+
* "value": "published"
|
|
3367
|
+
* },
|
|
3368
|
+
* {
|
|
3369
|
+
* "path": "createdAt",
|
|
3370
|
+
* "operator": "greater_than",
|
|
3371
|
+
* "value": "2025-01-01T00:00:00Z"
|
|
3372
|
+
* }
|
|
3373
|
+
* ]
|
|
3374
|
+
* }
|
|
3375
|
+
*/
|
|
3376
|
+
WhereClause: {
|
|
3377
|
+
and: components['schemas']['WhereClause'][];
|
|
3378
|
+
} | {
|
|
3379
|
+
or: components['schemas']['WhereClause'][];
|
|
3380
|
+
} | {
|
|
3381
|
+
path: string;
|
|
3382
|
+
operator: 'equals' | 'not_equals' | 'in' | 'not_in' | 'greater_than' | 'greater_than_equal' | 'less_than' | 'less_than_equal' | 'like' | 'not_like' | 'all' | 'contains' | 'exists' | 'intersects' | 'near' | 'within';
|
|
3383
|
+
value: components['schemas']['DataValue'];
|
|
3384
|
+
};
|
|
3385
|
+
CountDocumentRequest: {
|
|
3386
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3387
|
+
contentSystemId: string;
|
|
3388
|
+
/** @example posts */
|
|
3389
|
+
collection: string;
|
|
3390
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3391
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3392
|
+
where?: components['schemas']['WhereClause'];
|
|
3393
|
+
};
|
|
3394
|
+
/**
|
|
3395
|
+
* @example {
|
|
3396
|
+
* "id": "doc-key",
|
|
3397
|
+
* "title": "Placeholder title",
|
|
3398
|
+
* "content": "This is placeholder content",
|
|
3399
|
+
* "createdAt": "2024-01-01T00:00:00Z",
|
|
3400
|
+
* "updatedAt": "2024-01-02T00:00:00Z",
|
|
3401
|
+
* "deletedAt": "2024-01-05T00:00:00Z"
|
|
3402
|
+
* }
|
|
3403
|
+
*/
|
|
3404
|
+
DocumentData: {
|
|
3405
|
+
[key: string]: components['schemas']['DataValue'];
|
|
3406
|
+
};
|
|
3407
|
+
Document: {
|
|
3408
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3409
|
+
contentSystemId: string;
|
|
3410
|
+
/** @example posts */
|
|
3411
|
+
collection: string;
|
|
3412
|
+
doc: components['schemas']['DocumentData'];
|
|
3413
|
+
};
|
|
3414
|
+
CreateDocumentResponse: {
|
|
3415
|
+
result: components['schemas']['Document'] & {
|
|
3416
|
+
/** @example doc-key */
|
|
3417
|
+
id: string;
|
|
3418
|
+
};
|
|
3419
|
+
};
|
|
3420
|
+
/** @example createdAt */
|
|
3421
|
+
SortClause: string | string[];
|
|
3422
|
+
/**
|
|
3423
|
+
* @example [
|
|
3424
|
+
* {
|
|
3425
|
+
* "collectionId": "books",
|
|
3426
|
+
* "on": "authorId",
|
|
3427
|
+
* "path": "books",
|
|
3428
|
+
* "count": false,
|
|
3429
|
+
* "where": {
|
|
3430
|
+
* "path": "status",
|
|
3431
|
+
* "operator": "equals",
|
|
3432
|
+
* "value": "published"
|
|
3433
|
+
* },
|
|
3434
|
+
* "limit": 5,
|
|
3435
|
+
* "page": 1,
|
|
3436
|
+
* "sort": [
|
|
3437
|
+
* {
|
|
3438
|
+
* "path": "title",
|
|
3439
|
+
* "direction": "asc"
|
|
3440
|
+
* }
|
|
3441
|
+
* ]
|
|
3442
|
+
* }
|
|
3443
|
+
* ]
|
|
3444
|
+
*/
|
|
3445
|
+
JoinClause: {
|
|
3446
|
+
collectionId: string | string[];
|
|
3447
|
+
on: string;
|
|
3448
|
+
path: string;
|
|
3449
|
+
count: boolean;
|
|
3450
|
+
where?: components['schemas']['WhereClause'];
|
|
3451
|
+
limit?: number;
|
|
3452
|
+
page?: number;
|
|
3453
|
+
sort?: components['schemas']['SortClause'];
|
|
3454
|
+
}[];
|
|
3455
|
+
/**
|
|
3456
|
+
* @example {
|
|
3457
|
+
* "title": true,
|
|
3458
|
+
* "author": {
|
|
3459
|
+
* "name": true,
|
|
3460
|
+
* "email": true
|
|
3461
|
+
* },
|
|
3462
|
+
* "tags": true
|
|
3463
|
+
* }
|
|
3464
|
+
*/
|
|
3465
|
+
IncludeSelectClause: {
|
|
3466
|
+
[key: string]: true | components['schemas']['IncludeSelectClause'];
|
|
3467
|
+
};
|
|
3468
|
+
/**
|
|
3469
|
+
* @example {
|
|
3470
|
+
* "title": false,
|
|
3471
|
+
* "author": {
|
|
3472
|
+
* "name": false,
|
|
3473
|
+
* "email": false
|
|
3474
|
+
* },
|
|
3475
|
+
* "tags": false
|
|
3476
|
+
* }
|
|
3477
|
+
*/
|
|
3478
|
+
ExcludeSelectClause: {
|
|
3479
|
+
[key: string]: false | components['schemas']['ExcludeSelectClause'];
|
|
3480
|
+
};
|
|
3481
|
+
/** @description Field selection - use include mode (true) or exclude mode (false), but not both */
|
|
3482
|
+
SelectClause: components['schemas']['IncludeSelectClause'] | components['schemas']['ExcludeSelectClause'];
|
|
3483
|
+
CreateDocumentRequest: {
|
|
3484
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3485
|
+
contentSystemId: string;
|
|
3486
|
+
/** User-defined Payload environment name (e.g. "production"). */
|
|
3487
|
+
environmentName?: string;
|
|
3488
|
+
/** @example posts */
|
|
3489
|
+
collection: string;
|
|
3490
|
+
doc: components['schemas']['DocumentData'];
|
|
3491
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3492
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3493
|
+
returning?: false | {
|
|
3494
|
+
join?: components['schemas']['JoinClause'];
|
|
3495
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3496
|
+
select?: components['schemas']['SelectClause'];
|
|
3497
|
+
};
|
|
3498
|
+
};
|
|
3499
|
+
FindDocumentsResponse: {
|
|
3500
|
+
result: {
|
|
3501
|
+
data: (components['schemas']['Document'] & {
|
|
3502
|
+
/** @example doc-key */
|
|
3503
|
+
id: string;
|
|
3504
|
+
})[];
|
|
3505
|
+
totalDocs: number;
|
|
3506
|
+
limit: number;
|
|
3507
|
+
page: number;
|
|
3508
|
+
totalPages: number;
|
|
3509
|
+
pagingCounter: number;
|
|
3510
|
+
hasPrevPage: boolean;
|
|
3511
|
+
hasNextPage: boolean;
|
|
3512
|
+
prevPage: number | null;
|
|
3513
|
+
nextPage: number | null;
|
|
3514
|
+
};
|
|
3515
|
+
};
|
|
3516
|
+
FindDocumentsRequest: {
|
|
3517
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3518
|
+
contentSystemId: string;
|
|
3519
|
+
/** @example posts */
|
|
3520
|
+
collection: string;
|
|
3521
|
+
join?: components['schemas']['JoinClause'];
|
|
3522
|
+
/** @example 10 */
|
|
3523
|
+
limit?: number;
|
|
3524
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3525
|
+
/** @example 1 */
|
|
3526
|
+
page?: number;
|
|
3527
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3528
|
+
select?: components['schemas']['SelectClause'];
|
|
3529
|
+
sort?: components['schemas']['SortClause'];
|
|
3530
|
+
where?: components['schemas']['WhereClause'];
|
|
3531
|
+
};
|
|
3532
|
+
FindDistinctDocumentsResponse: {
|
|
3533
|
+
result: {
|
|
3534
|
+
/**
|
|
3535
|
+
* @example [
|
|
3536
|
+
* "value1",
|
|
3537
|
+
* "value2"
|
|
3538
|
+
* ]
|
|
3539
|
+
*/
|
|
3540
|
+
data: unknown[];
|
|
3541
|
+
totalDocs: number;
|
|
3542
|
+
limit: number;
|
|
3543
|
+
page: number;
|
|
3544
|
+
totalPages: number;
|
|
3545
|
+
pagingCounter: number;
|
|
3546
|
+
hasPrevPage: boolean;
|
|
3547
|
+
hasNextPage: boolean;
|
|
3548
|
+
prevPage: number | null;
|
|
3549
|
+
nextPage: number | null;
|
|
3550
|
+
};
|
|
3551
|
+
};
|
|
3552
|
+
FindDistinctDocumentsRequest: {
|
|
3553
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3554
|
+
contentSystemId: string;
|
|
3555
|
+
/** @example posts */
|
|
3556
|
+
collection: string;
|
|
3557
|
+
/**
|
|
3558
|
+
* @description Path to the field to get distinct values for
|
|
3559
|
+
* @example title
|
|
3560
|
+
*/
|
|
3561
|
+
distinctBy: string;
|
|
3562
|
+
join?: components['schemas']['JoinClause'];
|
|
3563
|
+
/** @example 10 */
|
|
3564
|
+
limit?: number;
|
|
3565
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3566
|
+
/** @example 1 */
|
|
3567
|
+
page?: number;
|
|
3568
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3569
|
+
select?: components['schemas']['SelectClause'];
|
|
3570
|
+
sort?: components['schemas']['SortClause'];
|
|
3571
|
+
where?: components['schemas']['WhereClause'];
|
|
3572
|
+
};
|
|
3573
|
+
UpdateDocumentResponse: {
|
|
3574
|
+
result?: {
|
|
3575
|
+
/** @example 1 */
|
|
3576
|
+
count: number;
|
|
3577
|
+
} | {
|
|
3578
|
+
data: (components['schemas']['Document'] & {
|
|
3579
|
+
/** @example doc-key */
|
|
3580
|
+
id: string;
|
|
3581
|
+
})[];
|
|
3582
|
+
};
|
|
3583
|
+
};
|
|
3584
|
+
/**
|
|
3585
|
+
* @example {
|
|
3586
|
+
* "title": "New Title",
|
|
3587
|
+
* "views": {
|
|
3588
|
+
* "$inc": 1
|
|
3589
|
+
* },
|
|
3590
|
+
* "status": "draft"
|
|
3591
|
+
* }
|
|
3592
|
+
*/
|
|
3593
|
+
DataWithOperations: {
|
|
3594
|
+
[key: string]: components['schemas']['DataValue'];
|
|
3595
|
+
};
|
|
3596
|
+
UpdateDocumentRequest: {
|
|
3597
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3598
|
+
contentSystemId: string;
|
|
3599
|
+
/** User-defined Payload environment name (e.g. "production"). */
|
|
3600
|
+
environmentName?: string;
|
|
3601
|
+
/** @example posts */
|
|
3602
|
+
collection: string;
|
|
3603
|
+
/** @example false */
|
|
3604
|
+
createOnMissing: false | (components['schemas']['DocumentData'] & {
|
|
3605
|
+
id: string;
|
|
3606
|
+
});
|
|
3607
|
+
doc: components['schemas']['DataWithOperations'];
|
|
3608
|
+
/** @example 10 */
|
|
3609
|
+
limit?: number;
|
|
3610
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3611
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3612
|
+
returning?: false | {
|
|
3613
|
+
join?: components['schemas']['JoinClause'];
|
|
3614
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3615
|
+
select?: components['schemas']['SelectClause'];
|
|
3616
|
+
};
|
|
3617
|
+
sort?: components['schemas']['SortClause'];
|
|
3618
|
+
where: components['schemas']['WhereClause'];
|
|
3619
|
+
};
|
|
3620
|
+
DeleteDocumentResponse: {
|
|
3621
|
+
result?: {
|
|
3622
|
+
/** @example 1 */
|
|
3623
|
+
count: number;
|
|
3624
|
+
} | {
|
|
3625
|
+
data: (components['schemas']['Document'] & {
|
|
3626
|
+
/** @example doc-key */
|
|
3627
|
+
id: string;
|
|
3628
|
+
})[];
|
|
3629
|
+
};
|
|
3630
|
+
};
|
|
3631
|
+
DeleteDocumentRequest: {
|
|
3632
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3633
|
+
contentSystemId: string;
|
|
3634
|
+
/** User-defined Payload environment name (e.g. "production"). */
|
|
3635
|
+
environmentName?: string;
|
|
3636
|
+
/** @example posts */
|
|
3637
|
+
collection: string;
|
|
3638
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3639
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3640
|
+
returning?: false | {
|
|
3641
|
+
join?: components['schemas']['JoinClause'];
|
|
3642
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3643
|
+
select?: components['schemas']['SelectClause'];
|
|
3644
|
+
};
|
|
3645
|
+
where: components['schemas']['WhereClause'];
|
|
3646
|
+
};
|
|
3647
|
+
CountDocumentVersionResponse: {
|
|
3648
|
+
result: {
|
|
3649
|
+
/** @example 1 */
|
|
3650
|
+
count: number;
|
|
3651
|
+
};
|
|
3652
|
+
};
|
|
3653
|
+
CountDocumentVersionRequest: {
|
|
3654
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3655
|
+
contentSystemId: string;
|
|
3656
|
+
/** @example posts */
|
|
3657
|
+
collection: string;
|
|
3658
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3659
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3660
|
+
where?: components['schemas']['WhereClause'];
|
|
3661
|
+
};
|
|
3662
|
+
DocumentVersion: {
|
|
3663
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3664
|
+
contentSystemId: string;
|
|
3665
|
+
/** @example posts */
|
|
3666
|
+
collection: string;
|
|
3667
|
+
versionDoc: {
|
|
3668
|
+
/** @example 2024-01-01T00:00:00Z */
|
|
3669
|
+
createdAt?: string | null;
|
|
3670
|
+
/** @example 2024-01-01T00:00:00Z */
|
|
3671
|
+
updatedAt?: string | null;
|
|
3672
|
+
/** @example true */
|
|
3673
|
+
latest?: boolean;
|
|
3674
|
+
/** @example doc-key */
|
|
3675
|
+
parent?: string | number;
|
|
3676
|
+
version: components['schemas']['DocumentData'] & unknown;
|
|
3677
|
+
/** @example ver-xxxxx-xxxxx */
|
|
3678
|
+
id: string;
|
|
3679
|
+
};
|
|
3680
|
+
};
|
|
3681
|
+
CreateDocumentVersionResponse: {
|
|
3682
|
+
result: components['schemas']['DocumentVersion'] & {
|
|
3683
|
+
/** @example ver-xxxxx-xxxxx */
|
|
3684
|
+
id: string;
|
|
3685
|
+
};
|
|
3686
|
+
};
|
|
3687
|
+
/**
|
|
3688
|
+
* @example {
|
|
3689
|
+
* "contentSystemId": "cms-xxxxx-xxxxx",
|
|
3690
|
+
* "collection": "posts",
|
|
3691
|
+
* "versionDoc": {
|
|
3692
|
+
* "createdAt": "2024-01-01T00:00:00Z",
|
|
3693
|
+
* "updatedAt": "2024-01-01T00:00:00Z",
|
|
3694
|
+
* "latest": true,
|
|
3695
|
+
* "parent": "doc-key",
|
|
3696
|
+
* "version": {
|
|
3697
|
+
* "title": "Placeholder title",
|
|
3698
|
+
* "content": "This is placeholder content"
|
|
3699
|
+
* }
|
|
3700
|
+
* },
|
|
3701
|
+
* "returning": false
|
|
3702
|
+
* }
|
|
3703
|
+
*/
|
|
3704
|
+
CreateDocumentVersionRequest: {
|
|
3705
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3706
|
+
contentSystemId: string;
|
|
3707
|
+
/** @example posts */
|
|
3708
|
+
collection: string;
|
|
3709
|
+
versionDoc: {
|
|
3710
|
+
/** @example 2024-01-01T00:00:00Z */
|
|
3711
|
+
createdAt?: string | null;
|
|
3712
|
+
/** @example 2024-01-01T00:00:00Z */
|
|
3713
|
+
updatedAt?: string | null;
|
|
3714
|
+
/** @example true */
|
|
3715
|
+
latest?: boolean;
|
|
3716
|
+
/** @example doc-key */
|
|
3717
|
+
parent?: string | number;
|
|
3718
|
+
version: components['schemas']['DocumentData'] & unknown;
|
|
3719
|
+
};
|
|
3720
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3721
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3722
|
+
returning?: false | {
|
|
3723
|
+
join?: components['schemas']['JoinClause'];
|
|
3724
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3725
|
+
select?: components['schemas']['SelectClause'];
|
|
3726
|
+
};
|
|
3727
|
+
};
|
|
3728
|
+
FindDocumentVersionsResponse: {
|
|
3729
|
+
result: {
|
|
3730
|
+
data: (components['schemas']['DocumentVersion'] & {
|
|
3731
|
+
/** @example ver-xxxxx-xxxxx */
|
|
3732
|
+
id: string;
|
|
3733
|
+
})[];
|
|
3734
|
+
totalDocs: number;
|
|
3735
|
+
limit: number;
|
|
3736
|
+
page: number;
|
|
3737
|
+
totalPages: number;
|
|
3738
|
+
pagingCounter: number;
|
|
3739
|
+
hasPrevPage: boolean;
|
|
3740
|
+
hasNextPage: boolean;
|
|
3741
|
+
prevPage: number | null;
|
|
3742
|
+
nextPage: number | null;
|
|
3743
|
+
};
|
|
3744
|
+
};
|
|
3745
|
+
FindDocumentVersionsRequest: {
|
|
3746
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3747
|
+
contentSystemId: string;
|
|
3748
|
+
/** @example posts */
|
|
3749
|
+
collection: string;
|
|
3750
|
+
join?: components['schemas']['JoinClause'];
|
|
3751
|
+
/** @example 10 */
|
|
3752
|
+
limit?: number;
|
|
3753
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3754
|
+
/** @example 1 */
|
|
3755
|
+
page?: number;
|
|
3756
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3757
|
+
select?: components['schemas']['SelectClause'];
|
|
3758
|
+
sort?: components['schemas']['SortClause'];
|
|
3759
|
+
where?: components['schemas']['WhereClause'];
|
|
3760
|
+
};
|
|
3761
|
+
UpdateDocumentVersionResponse: {
|
|
3762
|
+
result?: {
|
|
3763
|
+
/** @example 1 */
|
|
3764
|
+
count: number;
|
|
3765
|
+
} | {
|
|
3766
|
+
data: (components['schemas']['DocumentVersion'] & {
|
|
3767
|
+
/** @example ver-xxxxx-xxxxx */
|
|
3768
|
+
id: string;
|
|
3769
|
+
})[];
|
|
3770
|
+
};
|
|
3771
|
+
};
|
|
3772
|
+
UpdateDocumentVersionRequest: {
|
|
3773
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3774
|
+
contentSystemId: string;
|
|
3775
|
+
/** @example posts */
|
|
3776
|
+
collection: string;
|
|
3777
|
+
/** @example false */
|
|
3778
|
+
createOnMissing: false | {
|
|
3779
|
+
/** @example true */
|
|
3780
|
+
latest: boolean;
|
|
3781
|
+
/** @example doc-key */
|
|
3782
|
+
parent: string;
|
|
3783
|
+
/** @example 2024-01-01T00:00:00Z */
|
|
3784
|
+
createdAt?: string | null;
|
|
3785
|
+
/** @example 2024-01-01T00:00:00Z */
|
|
3786
|
+
updatedAt?: string | null;
|
|
3787
|
+
version?: components['schemas']['DocumentData'] & unknown;
|
|
3788
|
+
};
|
|
3789
|
+
versionDoc: {
|
|
3790
|
+
/** @example 2024-01-01T00:00:00Z */
|
|
3791
|
+
createdAt?: string | null;
|
|
3792
|
+
/** @example 2024-01-01T00:00:00Z */
|
|
3793
|
+
updatedAt?: string | null;
|
|
3794
|
+
/** @example true */
|
|
3795
|
+
latest?: boolean;
|
|
3796
|
+
/** @example doc-key */
|
|
3797
|
+
parent?: string | number;
|
|
3798
|
+
version: components['schemas']['DocumentData'] & unknown;
|
|
3799
|
+
};
|
|
3800
|
+
where: components['schemas']['WhereClause'];
|
|
3801
|
+
/** @example 10 */
|
|
3802
|
+
limit?: number;
|
|
3803
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3804
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3805
|
+
sort?: components['schemas']['SortClause'];
|
|
3806
|
+
returning?: false | {
|
|
3807
|
+
join?: components['schemas']['JoinClause'];
|
|
3808
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3809
|
+
select?: components['schemas']['SelectClause'];
|
|
3810
|
+
};
|
|
3811
|
+
};
|
|
3812
|
+
DeleteDocumentVersionResponse: {
|
|
3813
|
+
result?: {
|
|
3814
|
+
/** @example 1 */
|
|
3815
|
+
count: number;
|
|
3816
|
+
} | {
|
|
3817
|
+
data: (components['schemas']['DocumentVersion'] & {
|
|
3818
|
+
/** @example ver-xxxxx-xxxxx */
|
|
3819
|
+
id: string;
|
|
3820
|
+
})[];
|
|
3821
|
+
};
|
|
3822
|
+
};
|
|
3823
|
+
DeleteDocumentVersionRequest: {
|
|
3824
|
+
/** @example cms-xxxxx-xxxxx */
|
|
3825
|
+
contentSystemId: string;
|
|
3826
|
+
/** @example posts */
|
|
3827
|
+
collection: string;
|
|
3828
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3829
|
+
meta?: components['schemas']['RequestMeta'];
|
|
3830
|
+
returning?: false | {
|
|
3831
|
+
join?: components['schemas']['JoinClause'];
|
|
3832
|
+
locale?: components['schemas']['LocaleClause'];
|
|
3833
|
+
select?: components['schemas']['SelectClause'];
|
|
3834
|
+
};
|
|
3835
|
+
where: components['schemas']['WhereClause'];
|
|
3836
|
+
};
|
|
3837
|
+
GeneratePresignedUploadUrlResponse: {
|
|
3838
|
+
/** @example https://s3.amazonaws.com/bucket/key?presigned-params */
|
|
3839
|
+
url: string;
|
|
3840
|
+
};
|
|
3841
|
+
GeneratePresignedUploadUrlRequest: {
|
|
3842
|
+
/** @example document.pdf */
|
|
3843
|
+
filename: string;
|
|
3844
|
+
/** @example application/pdf */
|
|
3845
|
+
contentType?: string;
|
|
3846
|
+
/**
|
|
3847
|
+
* @default 3600
|
|
3848
|
+
* @example 3600
|
|
3849
|
+
*/
|
|
3850
|
+
expiresIn: number;
|
|
3851
|
+
/** @example media */
|
|
3852
|
+
collectionId: string;
|
|
3853
|
+
};
|
|
3854
|
+
GeneratePresignedDownloadUrlResponse: {
|
|
3855
|
+
/** @example https://s3.amazonaws.com/bucket/key?presigned-params */
|
|
3856
|
+
url: string;
|
|
3857
|
+
};
|
|
3858
|
+
GeneratePresignedDownloadUrlRequest: {
|
|
3859
|
+
/** @example document.pdf */
|
|
3860
|
+
filename: string;
|
|
3861
|
+
/**
|
|
3862
|
+
* @default 3600
|
|
3863
|
+
* @example 3600
|
|
3864
|
+
*/
|
|
3865
|
+
expiresIn: number;
|
|
3866
|
+
/** @example media */
|
|
3867
|
+
collectionId: string;
|
|
3868
|
+
};
|
|
3869
|
+
InitiateMultipartUploadResponse: {
|
|
3870
|
+
/** @example abc123xyz789 */
|
|
3871
|
+
uploadId: string;
|
|
3872
|
+
};
|
|
3873
|
+
InitiateMultipartUploadRequest: {
|
|
3874
|
+
/** @example large-video.mp4 */
|
|
3875
|
+
filename: string;
|
|
3876
|
+
/** @example video/mp4 */
|
|
3877
|
+
contentType: string;
|
|
3878
|
+
/** @example media */
|
|
3879
|
+
collectionId: string;
|
|
3880
|
+
};
|
|
3881
|
+
GenerateUploadPartUrlsResponse: {
|
|
3882
|
+
/**
|
|
3883
|
+
* @example [
|
|
3884
|
+
* {
|
|
3885
|
+
* "partNumber": 1,
|
|
3886
|
+
* "url": "https://s3.amazonaws.com/..."
|
|
3887
|
+
* }
|
|
3888
|
+
* ]
|
|
3889
|
+
*/
|
|
3890
|
+
parts: {
|
|
3891
|
+
/** @example 1 */
|
|
3892
|
+
partNumber: number;
|
|
3893
|
+
/** @example https://s3.amazonaws.com/bucket/key?presigned-params */
|
|
3894
|
+
url: string;
|
|
3895
|
+
}[];
|
|
3896
|
+
};
|
|
3897
|
+
GenerateUploadPartUrlsRequest: {
|
|
3898
|
+
/** @example large-video.mp4 */
|
|
3899
|
+
filename: string;
|
|
3900
|
+
/** @example abc123xyz789 */
|
|
3901
|
+
uploadId: string;
|
|
3902
|
+
/**
|
|
3903
|
+
* @example [
|
|
3904
|
+
* 1,
|
|
3905
|
+
* 2,
|
|
3906
|
+
* 3
|
|
3907
|
+
* ]
|
|
3908
|
+
*/
|
|
3909
|
+
partNumbers: number[];
|
|
3910
|
+
/**
|
|
3911
|
+
* @default 3600
|
|
3912
|
+
* @example 3600
|
|
3913
|
+
*/
|
|
3914
|
+
expiresIn: number;
|
|
3915
|
+
/** @example media */
|
|
3916
|
+
collectionId: string;
|
|
3917
|
+
};
|
|
3918
|
+
CompleteMultipartUploadResponse: {
|
|
3919
|
+
/**
|
|
3920
|
+
* @example true
|
|
3921
|
+
* @enum {boolean}
|
|
3922
|
+
*/
|
|
3923
|
+
success: true;
|
|
3924
|
+
};
|
|
3925
|
+
CompleteMultipartUploadRequest: {
|
|
3926
|
+
/** @example large-video.mp4 */
|
|
3927
|
+
filename: string;
|
|
3928
|
+
/** @example abc123xyz789 */
|
|
3929
|
+
uploadId: string;
|
|
3930
|
+
/**
|
|
3931
|
+
* @example [
|
|
3932
|
+
* {
|
|
3933
|
+
* "PartNumber": 1,
|
|
3934
|
+
* "ETag": "\"abc123\""
|
|
3935
|
+
* }
|
|
3936
|
+
* ]
|
|
3937
|
+
*/
|
|
3938
|
+
parts: {
|
|
3939
|
+
/** @example 1 */
|
|
3940
|
+
PartNumber: number;
|
|
3941
|
+
/** @example "abc123" */
|
|
3942
|
+
ETag: string;
|
|
3943
|
+
}[];
|
|
3944
|
+
/** @example media */
|
|
3945
|
+
collectionId: string;
|
|
3946
|
+
};
|
|
3947
|
+
AbortMultipartUploadResponse: {
|
|
3948
|
+
/**
|
|
3949
|
+
* @example true
|
|
3950
|
+
* @enum {boolean}
|
|
3951
|
+
*/
|
|
3952
|
+
success: true;
|
|
3953
|
+
};
|
|
3954
|
+
AbortMultipartUploadRequest: {
|
|
3955
|
+
/** @example large-video.mp4 */
|
|
3956
|
+
filename: string;
|
|
3957
|
+
/** @example abc123xyz789 */
|
|
3958
|
+
uploadId: string;
|
|
3959
|
+
/** @example media */
|
|
3960
|
+
collectionId: string;
|
|
3961
|
+
};
|
|
3962
|
+
DeleteFileResponse: {
|
|
3963
|
+
/**
|
|
3964
|
+
* @example true
|
|
3965
|
+
* @enum {boolean}
|
|
3966
|
+
*/
|
|
3967
|
+
success: true;
|
|
3968
|
+
};
|
|
3969
|
+
};
|
|
3970
|
+
responses: never;
|
|
3971
|
+
parameters: never;
|
|
3972
|
+
requestBodies: never;
|
|
3973
|
+
headers: never;
|
|
3974
|
+
pathItems: never;
|
|
3975
|
+
};
|
|
3976
|
+
export type $defs = Record<string, never>;
|
|
3977
|
+
export type operations = Record<string, never>;
|
|
3978
|
+
//# sourceMappingURL=content-api-types.d.ts.map
|