@salsita-ai/sdk 0.50.0-develop.b5dfdd9774 → 0.50.0-develop.b65a5a9c66
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/admin/common/admin-interface.d.ts +11 -1
- package/dist/admin/common/admin-interface.js +1 -1
- package/dist/admin/ui/layout/UserProfile.d.ts +1 -1
- package/dist/admin/ui/layout/UserProfile.js +1 -1
- package/dist/admin/ui/maintenance/ImportPresets.js +1 -1
- package/dist/application/mount-application.js +1 -1
- package/dist/application/mount-configurator.js +1 -1
- package/dist/application/studio-embedding.d.ts +6 -0
- package/dist/application/studio-embedding.js +1 -0
- package/dist/application-spec/core/enhanced-json-schema.d.ts +5 -6
- package/dist/application-spec/core/enhanced-json-schema.js +1 -1
- package/dist/application-spec/core/markers/index.d.ts +1 -0
- package/dist/application-spec/core/markers/index.js +1 -1
- package/dist/application-spec/core/markers/set-in-studio-marker.d.ts +15 -0
- package/dist/application-spec/core/markers/set-in-studio-marker.js +1 -0
- package/dist/application-spec/errors/diagnostic-codes.d.ts +14 -0
- package/dist/application-spec/errors/diagnostic-codes.js +1 -1
- package/dist/application-spec/errors/diagnostic-messages.d.ts +14 -0
- package/dist/application-spec/errors/diagnostic-messages.js +1 -1
- package/dist/application-spec/generate-application/code/domain-runtime-files.d.ts +3 -3
- package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
- package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +0 -12
- package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
- package/dist/application-spec/generate-application/code/templates/admin-config.d.ts +5 -1
- package/dist/application-spec/generate-application/code/templates/admin-config.js +4 -4
- package/dist/application-spec/generate-application/code/templates/configurator-config.js +6 -6
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +19 -0
- package/dist/application-spec/generate-application/code/templates/domain-spec.js +12 -12
- package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +12 -12
- package/dist/application-spec/generate-application/code/templates/globals.js +21 -12
- package/dist/application-spec/generate-application/code/templates/sign-in-page-options.d.ts +5 -0
- package/dist/application-spec/generate-application/code/templates/sign-in-page-options.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.js +2 -2
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.js +19 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.js +32 -26
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.js +1 -3
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.js +1 -1
- package/dist/application-spec/generate-application/code/templates/webhook-builders.js +3 -2
- package/dist/application-spec/generate-application/code/templates/webhook-index.d.ts +1 -2
- package/dist/application-spec/generate-application/code/templates/webhook-index.js +3 -7
- package/dist/application-spec/generate-application/code/webhook-safe-files.d.ts +3 -1
- package/dist/application-spec/generate-application/code/webhook-safe-files.js +1 -1
- package/dist/application-spec/parse-application-files/access/access-handler-kinds.d.ts +18 -0
- package/dist/application-spec/parse-application-files/access/access-handler-kinds.js +1 -0
- package/dist/application-spec/parse-application-files/access/analyzed-file.d.ts +7 -0
- package/dist/application-spec/parse-application-files/access/analyzed-file.js +1 -0
- package/dist/application-spec/parse-application-files/access/check-access-handler-files.d.ts +20 -0
- package/dist/application-spec/parse-application-files/access/check-access-handler-files.js +1 -0
- package/dist/application-spec/parse-application-files/access/check-auth-hook-files.d.ts +17 -0
- package/dist/application-spec/parse-application-files/access/check-auth-hook-files.js +1 -0
- package/dist/application-spec/parse-application-files/access/index.d.ts +5 -0
- package/dist/application-spec/parse-application-files/access/index.js +1 -0
- package/dist/application-spec/parse-application-files/access/sign-in-control.d.ts +7 -0
- package/dist/application-spec/parse-application-files/access/sign-in-control.js +1 -0
- package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +2 -1
- package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
- package/dist/application-spec/parse-application-files/categorize/module-analysis.d.ts +30 -4
- package/dist/application-spec/parse-application-files/categorize/module-analysis.js +1 -1
- package/dist/application-spec/parse-application-files/categorize/webhook-safety.js +1 -1
- package/dist/application-spec/parse-application-files/merge/merged-app-metadata.d.ts +14 -1
- package/dist/application-spec/parse-application-files/merge/merged-app-metadata.js +1 -1
- package/dist/application-spec/parse-application-files/merge/merged-spec.d.ts +7 -1
- package/dist/application-spec/parse-application-files/merge/merged-spec.js +1 -1
- package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
- package/dist/application-spec/parse-application-files/parse-common-admin-spec.js +1 -1
- package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.d.ts +6 -0
- package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
- package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.d.ts +6 -0
- package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
- package/dist/application-spec/parse-application-files/spec/model/index.d.ts +2 -1
- package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
- package/dist/application-spec/parse-application-files/spec/model/session-data-schema.d.ts +5 -2
- package/dist/application-spec/parse-application-files/spec/model/session-data-schema.js +1 -1
- package/dist/application-spec/parse-application-files/spec/model/session-fields/index.d.ts +1 -0
- package/dist/application-spec/parse-application-files/spec/model/session-fields/index.js +1 -0
- package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.d.ts +15 -0
- package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.js +1 -0
- package/dist/application-spec/parse-application-files/spec/sections/app-metadata.js +1 -1
- package/dist/client/authenticated-client.d.ts +5 -1
- package/dist/client/authenticated-client.js +1 -1
- package/dist/client/authorized-client.d.ts +3 -1
- package/dist/client/authorized-client.js +1 -1
- package/dist/client/base-client.d.ts +15 -1
- package/dist/client/base-client.js +1 -1
- package/dist/client/contract.d.ts +25 -0
- package/dist/client/contract.js +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/phoenix-api.d.ts +941 -8
- package/dist/client/unauthenticated-client.d.ts +1 -0
- package/dist/client/unauthenticated-client.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +9 -3
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
- package/dist/configurator/common/configurator-interface.d.ts +11 -1
- package/dist/configurator/common/configurator-interface.js +1 -1
- package/dist/docs/index.json +1 -1
- package/dist/docs/phoenix/admin.mdx +5 -40
- package/dist/docs/phoenix/clerk-sign-in.mdx +9 -5
- package/dist/docs/phoenix/data-sources.mdx +25 -29
- package/dist/docs/phoenix/deployments.mdx +3 -3
- package/dist/docs/phoenix/finalization.mdx +0 -1
- package/dist/docs/phoenix/integration/authentication-external.mdx +5 -5
- package/dist/docs/phoenix/integration/authentication-internal.mdx +1 -1
- package/dist/docs/phoenix/integration/finalization-internal.mdx +1 -4
- package/dist/docs/phoenix/integration/integration-modes-internal.mdx +9 -0
- package/dist/docs/phoenix/phoenix-cli.mdx +4 -4
- package/dist/docs/phoenix/project-structure.mdx +13 -8
- package/dist/docs/phoenix/publishing.mdx +21 -28
- package/dist/docs/phoenix/sdk-builder-workflow.mdx +2 -2
- package/dist/docs/phoenix/sessions-and-access.mdx +169 -163
- package/dist/docs/phoenix/webhook-membership.mdx +3 -0
- package/dist/docs/phoenix/webhooks.mdx +90 -113
- package/dist/domain/application/access/access-handlers.d.ts +19 -0
- package/dist/domain/application/access/access-handlers.js +1 -0
- package/dist/domain/application/access/anonymous-handler.d.ts +16 -0
- package/dist/domain/application/access/anonymous-handler.js +1 -0
- package/dist/domain/application/access/chunk-scopes-handler.d.ts +27 -0
- package/dist/domain/application/access/chunk-scopes-handler.js +1 -0
- package/dist/domain/application/access/code-handler.d.ts +16 -0
- package/dist/domain/application/access/code-handler.js +1 -0
- package/dist/domain/application/access/index.d.ts +7 -0
- package/dist/domain/application/access/index.js +1 -0
- package/dist/domain/application/access/refresh-handler.d.ts +16 -0
- package/dist/domain/application/access/refresh-handler.js +1 -0
- package/dist/domain/application/access/signed-in-handler.d.ts +44 -0
- package/dist/domain/application/access/signed-in-handler.js +1 -0
- package/dist/domain/application/access/visitor-handler.d.ts +23 -0
- package/dist/domain/application/access/visitor-handler.js +1 -0
- package/dist/domain/application/application-config.d.ts +29 -0
- package/dist/domain/application/configurator-builder.d.ts +2 -0
- package/dist/domain/application/configurator-builder.js +1 -1
- package/dist/domain/application/index.d.ts +2 -1
- package/dist/domain/application/index.js +1 -1
- package/dist/domain/application/standard-properties.d.ts +1 -1
- package/dist/domain/application/standard-properties.js +1 -1
- package/dist/domain/core/domain-factory.d.ts +6 -0
- package/dist/domain/core/domain-factory.js +1 -1
- package/dist/domain/core/fit-session-data.d.ts +16 -0
- package/dist/domain/core/fit-session-data.js +1 -0
- package/dist/domain/domain-runtime/domain-context/actions.d.ts +4 -0
- package/dist/domain/domain-runtime/domain-context/actions.js +1 -1
- package/dist/domain/domain-runtime/domain-context/domain-context.d.ts +8 -0
- package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
- package/dist/domain/domain-runtime/domain-context/selectors.d.ts +1 -0
- package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
- package/dist/domain/domain-runtime/domain-context/types.d.ts +8 -4
- package/dist/domain/domain-runtime/domain-runtime.d.ts +8 -0
- package/dist/domain/mocks/create-mock-domain-runtime.d.ts +4 -0
- package/dist/domain/spec/sections/app-metadata.d.ts +10 -0
- package/dist/editor/domain-editors/use-implementation-files.js +1 -1
- package/dist/extras/clerk/index.d.ts +6 -0
- package/dist/extras/cognito/AccountAvatar.d.ts +7 -0
- package/dist/extras/cognito/AccountAvatar.js +1 -0
- package/dist/extras/cognito/AccountControl.d.ts +13 -0
- package/dist/extras/cognito/AccountControl.js +1 -0
- package/dist/extras/cognito/AdminSignInPage.d.ts +26 -0
- package/dist/extras/cognito/AdminSignInPage.js +1 -0
- package/dist/extras/cognito/CognitoSignInPage.d.ts +8 -2
- package/dist/extras/cognito/CognitoSignInPage.js +1 -1
- package/dist/extras/cognito/ConfiguratorSignInPage.d.ts +19 -0
- package/dist/extras/cognito/ConfiguratorSignInPage.js +1 -0
- package/dist/extras/cognito/SignInFailurePage.d.ts +11 -0
- package/dist/extras/cognito/SignInFailurePage.js +1 -0
- package/dist/extras/cognito/SignInGateLayout.d.ts +25 -0
- package/dist/extras/cognito/SignInGateLayout.js +1 -0
- package/dist/extras/cognito/SignInNotice.d.ts +8 -0
- package/dist/extras/cognito/SignInNotice.js +1 -0
- package/dist/extras/cognito/index.d.ts +4 -0
- package/dist/extras/cognito/index.js +1 -1
- package/dist/i18n/locales/cs/messages.js +1 -1
- package/dist/i18n/locales/da/messages.js +1 -1
- package/dist/i18n/locales/de/messages.js +1 -1
- package/dist/i18n/locales/de-AT/messages.js +1 -1
- package/dist/i18n/locales/en/messages.js +1 -1
- package/dist/i18n/locales/en-AU/messages.js +1 -1
- package/dist/i18n/locales/en-GB/messages.js +1 -1
- package/dist/i18n/locales/es/messages.js +1 -1
- package/dist/i18n/locales/fr/messages.js +1 -1
- package/dist/i18n/locales/hu/messages.js +1 -1
- package/dist/i18n/locales/it/messages.js +1 -1
- package/dist/i18n/locales/nl/messages.js +1 -1
- package/dist/i18n/locales/pl/messages.js +1 -1
- package/dist/i18n/locales/pt/messages.js +1 -1
- package/dist/i18n/locales/ro/messages.js +1 -1
- package/dist/i18n/locales/sk/messages.js +1 -1
- package/dist/i18n/locales/tr/messages.js +1 -1
- package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +10 -3
- package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
- package/dist/phoenix/commands/deps/deps.js +2 -2
- package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
- package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
- package/dist/phoenix/services/prepare-development-environment.js +2 -2
- package/dist/phoenix/services/variant-file-session.js +1 -1
- package/dist/react-sdk/application-runtime/common-services/selectors.js +1 -1
- package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.d.ts +6 -0
- package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.js +1 -1
- package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +2 -2
- package/dist/react-sdk/application-runtime/integration/integration-mode.d.ts +30 -0
- package/dist/react-sdk/application-runtime/integration/integration-mode.js +1 -1
- package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +20 -6
- package/dist/react-sdk/application-runtime/session/actions.d.ts +2 -1
- package/dist/react-sdk/application-runtime/session/actions.js +1 -1
- package/dist/react-sdk/application-runtime/session/initialize.js +1 -1
- package/dist/react-sdk/application-runtime/session/selectors.d.ts +2 -0
- package/dist/react-sdk/application-runtime/session/selectors.js +1 -1
- package/dist/react-sdk/application-runtime/session/session-service.d.ts +34 -1
- package/dist/react-sdk/application-runtime/session/session-service.js +1 -1
- package/dist/react-sdk/application-runtime/session/session-token.d.ts +8 -0
- package/dist/react-sdk/application-runtime/session/session-token.js +1 -1
- package/dist/react-sdk/application-runtime/session/types.d.ts +6 -1
- package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +1 -0
- package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -1
- package/dist/react-sdk/session/AccessDeniedAdminPage.d.ts +13 -0
- package/dist/react-sdk/session/AccessDeniedAdminPage.js +1 -0
- package/dist/react-sdk/session/AccessDeniedPage.d.ts +20 -0
- package/dist/react-sdk/session/AccessDeniedPage.js +1 -0
- package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
- package/dist/react-sdk/session/index.d.ts +3 -0
- package/dist/react-sdk/session/index.js +1 -1
- package/dist/react-sdk/session/sign-in-address.d.ts +13 -0
- package/dist/react-sdk/session/sign-in-address.js +1 -0
- package/dist/react-sdk/session/studio-frame.d.ts +7 -0
- package/dist/react-sdk/session/studio-frame.js +1 -0
- package/dist/react-sdk/session/use-sign-in.d.ts +50 -0
- package/dist/react-sdk/session/use-sign-in.js +1 -0
- package/dist/webhook/builders/auth-handler-builder.d.ts +21 -1
- package/dist/webhook/builders/auth-handler-builder.js +1 -1
- package/dist/webhook/builders/common.d.ts +9 -0
- package/dist/webhook/builders/webhook-builder.d.ts +13 -0
- package/dist/webhook/builders/webhook-builder.js +1 -1
- package/package.json +4 -4
|
@@ -342,6 +342,38 @@ export interface paths {
|
|
|
342
342
|
readonly patch?: never
|
|
343
343
|
readonly trace?: never
|
|
344
344
|
}
|
|
345
|
+
readonly '/auth/login-attempt': {
|
|
346
|
+
readonly parameters: {
|
|
347
|
+
readonly query?: never
|
|
348
|
+
readonly header?: never
|
|
349
|
+
readonly path?: never
|
|
350
|
+
readonly cookie?: never
|
|
351
|
+
}
|
|
352
|
+
readonly get?: never
|
|
353
|
+
readonly put?: never
|
|
354
|
+
readonly post: operations['getLoginAttempt']
|
|
355
|
+
readonly delete?: never
|
|
356
|
+
readonly options?: never
|
|
357
|
+
readonly head?: never
|
|
358
|
+
readonly patch?: never
|
|
359
|
+
readonly trace?: never
|
|
360
|
+
}
|
|
361
|
+
readonly '/auth/login-attempt/continue': {
|
|
362
|
+
readonly parameters: {
|
|
363
|
+
readonly query?: never
|
|
364
|
+
readonly header?: never
|
|
365
|
+
readonly path?: never
|
|
366
|
+
readonly cookie?: never
|
|
367
|
+
}
|
|
368
|
+
readonly get?: never
|
|
369
|
+
readonly put?: never
|
|
370
|
+
readonly post: operations['continueLoginAttempt']
|
|
371
|
+
readonly delete?: never
|
|
372
|
+
readonly options?: never
|
|
373
|
+
readonly head?: never
|
|
374
|
+
readonly patch?: never
|
|
375
|
+
readonly trace?: never
|
|
376
|
+
}
|
|
345
377
|
readonly '/auth/logout': {
|
|
346
378
|
readonly parameters: {
|
|
347
379
|
readonly query?: never
|
|
@@ -351,7 +383,7 @@ export interface paths {
|
|
|
351
383
|
}
|
|
352
384
|
readonly get?: never
|
|
353
385
|
readonly put?: never
|
|
354
|
-
/** @description Destroy the local session and return the fixed Studio URL. Requires the exact shared Studio Origin. */
|
|
386
|
+
/** @description Destroy the local session and return the fixed Studio URL. Requires the exact shared Studio Origin. With `keepLoginAttempt`, the open sign-in of this browser is kept, so "Use another account" on Studio's sign-in form continues it. */
|
|
355
387
|
readonly post: operations['endBrowserSession']
|
|
356
388
|
readonly delete?: never
|
|
357
389
|
readonly options?: never
|
|
@@ -634,6 +666,57 @@ export interface paths {
|
|
|
634
666
|
readonly patch?: never
|
|
635
667
|
readonly trace?: never
|
|
636
668
|
}
|
|
669
|
+
readonly '/auth/terms': {
|
|
670
|
+
readonly parameters: {
|
|
671
|
+
readonly query?: never
|
|
672
|
+
readonly header?: never
|
|
673
|
+
readonly path?: never
|
|
674
|
+
readonly cookie?: never
|
|
675
|
+
}
|
|
676
|
+
/** @description The current version of each terms document with the address to read it. Needs no sign-in. */
|
|
677
|
+
readonly get: operations['getCurrentTerms']
|
|
678
|
+
readonly put?: never
|
|
679
|
+
readonly post?: never
|
|
680
|
+
readonly delete?: never
|
|
681
|
+
readonly options?: never
|
|
682
|
+
readonly head?: never
|
|
683
|
+
readonly patch?: never
|
|
684
|
+
readonly trace?: never
|
|
685
|
+
}
|
|
686
|
+
readonly '/auth/terms/accept': {
|
|
687
|
+
readonly parameters: {
|
|
688
|
+
readonly query?: never
|
|
689
|
+
readonly header?: never
|
|
690
|
+
readonly path?: never
|
|
691
|
+
readonly cookie?: never
|
|
692
|
+
}
|
|
693
|
+
readonly get?: never
|
|
694
|
+
readonly put?: never
|
|
695
|
+
/** @description Record the signed-in account's acceptance of the terms versions Studio's acceptance page or an upcoming version's notice showed. Requires the exact shared Studio Origin. */
|
|
696
|
+
readonly post: operations['acceptTerms']
|
|
697
|
+
readonly delete?: never
|
|
698
|
+
readonly options?: never
|
|
699
|
+
readonly head?: never
|
|
700
|
+
readonly patch?: never
|
|
701
|
+
readonly trace?: never
|
|
702
|
+
}
|
|
703
|
+
readonly '/auth/terms/text': {
|
|
704
|
+
readonly parameters: {
|
|
705
|
+
readonly query?: never
|
|
706
|
+
readonly header?: never
|
|
707
|
+
readonly path?: never
|
|
708
|
+
readonly cookie?: never
|
|
709
|
+
}
|
|
710
|
+
/** @description A placeholder version's text, which Studio's public page `/legal/<document>/<version>` shows. Needs no sign-in. */
|
|
711
|
+
readonly get: operations['getTermsText']
|
|
712
|
+
readonly put?: never
|
|
713
|
+
readonly post?: never
|
|
714
|
+
readonly delete?: never
|
|
715
|
+
readonly options?: never
|
|
716
|
+
readonly head?: never
|
|
717
|
+
readonly patch?: never
|
|
718
|
+
readonly trace?: never
|
|
719
|
+
}
|
|
637
720
|
readonly '/auth/token': {
|
|
638
721
|
readonly parameters: {
|
|
639
722
|
readonly query?: never
|
|
@@ -1205,6 +1288,23 @@ export interface paths {
|
|
|
1205
1288
|
readonly patch?: never
|
|
1206
1289
|
readonly trace?: never
|
|
1207
1290
|
}
|
|
1291
|
+
readonly '/deployments/{deploymentId}/auth/sign-out': {
|
|
1292
|
+
readonly parameters: {
|
|
1293
|
+
readonly query?: never
|
|
1294
|
+
readonly header?: never
|
|
1295
|
+
readonly path?: never
|
|
1296
|
+
readonly cookie?: never
|
|
1297
|
+
}
|
|
1298
|
+
readonly get?: never
|
|
1299
|
+
readonly put?: never
|
|
1300
|
+
/** @description End the configurator sign-in with a Studio account that a refresh token belongs to, together with every session token it issued. Any other refresh token is ignored, so the configurator can always call it when the person signs out; it does not sign the person out of Studio. */
|
|
1301
|
+
readonly post: operations['signOutSession']
|
|
1302
|
+
readonly delete?: never
|
|
1303
|
+
readonly options?: never
|
|
1304
|
+
readonly head?: never
|
|
1305
|
+
readonly patch?: never
|
|
1306
|
+
readonly trace?: never
|
|
1307
|
+
}
|
|
1208
1308
|
readonly '/deployments/{deploymentId}/build-envs': {
|
|
1209
1309
|
readonly parameters: {
|
|
1210
1310
|
readonly query?: never
|
|
@@ -1745,7 +1845,7 @@ export interface paths {
|
|
|
1745
1845
|
readonly path?: never
|
|
1746
1846
|
readonly cookie?: never
|
|
1747
1847
|
}
|
|
1748
|
-
/** @description Get a published data chunk. Redirects to a presigned S3 URL if the chunk exists and the session has the required scope. */
|
|
1848
|
+
/** @description Get a published data chunk. Redirects to a presigned S3 URL if the chunk exists and the session has the required scope. Answers 403 when the session lacks the chunk's scope, and 403 with `accessChanged` when the session is stale because the person's access or session field values changed; the configurator then refreshes its session. */
|
|
1749
1849
|
readonly get: operations['getPublishedChunk']
|
|
1750
1850
|
readonly put?: never
|
|
1751
1851
|
readonly post?: never
|
|
@@ -2031,6 +2131,11 @@ export interface components {
|
|
|
2031
2131
|
readonly ConfigurationUuid: string
|
|
2032
2132
|
/** @description Conflict: The request could not be completed due to a conflict with the current state of the resource. */
|
|
2033
2133
|
readonly ConflictError: {
|
|
2134
|
+
/**
|
|
2135
|
+
* @description Set when accepted terms are refused because the versions in force changed since they were shown: load the current versions and ask again. Other conflicts carry no code.
|
|
2136
|
+
* @enum {string}
|
|
2137
|
+
*/
|
|
2138
|
+
readonly code?: 'terms-changed'
|
|
2034
2139
|
/** @example Conflict! */
|
|
2035
2140
|
readonly message: string
|
|
2036
2141
|
/** @enum {number} */
|
|
@@ -2128,10 +2233,21 @@ export interface components {
|
|
|
2128
2233
|
readonly FinalizationUuid: string
|
|
2129
2234
|
/** @description Forbidden: The client does not have access rights to the content, i.e. they are authenticated but unauthorized. */
|
|
2130
2235
|
readonly ForbiddenError: {
|
|
2236
|
+
/** @description Set when a configurator session of a Studio account is refused because the person's project access or session field values changed after it was issued. Refreshing the session once gets one that reflects the change. */
|
|
2237
|
+
readonly accessChanged?: boolean
|
|
2238
|
+
/**
|
|
2239
|
+
* @description Set when a Studio-account sign-in is refused. `access-refused`: the project's signed-in handler refused it, at sign-in or at a session refresh. `not-invited`: the configurator redeemed the one-use credential a person who may not open it comes back with: no invitation to its project, or no active workspace membership.
|
|
2240
|
+
* @enum {string}
|
|
2241
|
+
*/
|
|
2242
|
+
readonly code?: 'access-refused' | 'not-invited'
|
|
2243
|
+
/** @description With `code`, the email address of the refused account. Null with `not-invited` when the person is not a member of the configurator's workspace. */
|
|
2244
|
+
readonly email?: string | null
|
|
2131
2245
|
/** @description Set when the X-Access-Key header failed verification. */
|
|
2132
2246
|
readonly invalidAccessKey?: boolean
|
|
2133
2247
|
/** @example You don't have rights to do that! */
|
|
2134
2248
|
readonly message: string
|
|
2249
|
+
/** @description With `code`, the name on the refused Studio account, null when it has none. */
|
|
2250
|
+
readonly name?: string | null
|
|
2135
2251
|
/** @enum {number} */
|
|
2136
2252
|
readonly statusCode: 403
|
|
2137
2253
|
}
|
|
@@ -2215,8 +2331,13 @@ export interface components {
|
|
|
2215
2331
|
* @example 2f1c9b10-7d9f-4f0f-9d2e-3b1f7a1c6c43
|
|
2216
2332
|
*/
|
|
2217
2333
|
readonly RollbackUuid: string
|
|
2218
|
-
/** @description Service Unavailable: A required development client is not currently connected. */
|
|
2334
|
+
/** @description Service Unavailable: A required development client is not currently connected, or a sign-in could not be completed right now. */
|
|
2219
2335
|
readonly ServiceUnavailableError: {
|
|
2336
|
+
/**
|
|
2337
|
+
* @description Set when a Studio-account sign-in failed and may succeed if tried again: the project's signed-in handler threw, gave an answer that is neither data nor a refusal, or did not answer within ten seconds, or the webhook failed or did not answer within twelve seconds. No session is issued.
|
|
2338
|
+
* @enum {string}
|
|
2339
|
+
*/
|
|
2340
|
+
readonly code?: 'sign-in-unavailable'
|
|
2220
2341
|
/** @example No development client is connected. Start phoenix dev and retry. */
|
|
2221
2342
|
readonly message: string
|
|
2222
2343
|
/** @enum {number} */
|
|
@@ -2532,6 +2653,11 @@ export interface operations {
|
|
|
2532
2653
|
readonly terms: readonly {
|
|
2533
2654
|
/** Format: date-time */
|
|
2534
2655
|
readonly acceptedAt: string
|
|
2656
|
+
/**
|
|
2657
|
+
* @default sdk_terms
|
|
2658
|
+
* @enum {string}
|
|
2659
|
+
*/
|
|
2660
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
2535
2661
|
/** Format: uri */
|
|
2536
2662
|
readonly url: string
|
|
2537
2663
|
readonly version: string
|
|
@@ -2973,6 +3099,10 @@ export interface operations {
|
|
|
2973
3099
|
/** @enum {string} */
|
|
2974
3100
|
readonly provider: 'google' | 'microsoft'
|
|
2975
3101
|
}
|
|
3102
|
+
| {
|
|
3103
|
+
/** @enum {string} */
|
|
3104
|
+
readonly kind: 'terms'
|
|
3105
|
+
}
|
|
2976
3106
|
readonly slug: string
|
|
2977
3107
|
}[]
|
|
2978
3108
|
readonly workspaces: readonly {
|
|
@@ -3524,6 +3654,11 @@ export interface operations {
|
|
|
3524
3654
|
readonly 'application/json': {
|
|
3525
3655
|
/** Format: uuid */
|
|
3526
3656
|
readonly id: string
|
|
3657
|
+
readonly terms?: readonly {
|
|
3658
|
+
/** @enum {string} */
|
|
3659
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
3660
|
+
readonly version: string
|
|
3661
|
+
}[]
|
|
3527
3662
|
readonly token?: string
|
|
3528
3663
|
}
|
|
3529
3664
|
}
|
|
@@ -3538,6 +3673,16 @@ export interface operations {
|
|
|
3538
3673
|
readonly 'application/json': {
|
|
3539
3674
|
/** Format: uuid */
|
|
3540
3675
|
readonly customerId: string
|
|
3676
|
+
readonly projects: readonly {
|
|
3677
|
+
/** Format: uuid */
|
|
3678
|
+
readonly environmentId: string | null
|
|
3679
|
+
/** @enum {string} */
|
|
3680
|
+
readonly landing: 'studio' | 'own-address'
|
|
3681
|
+
/** Format: uuid */
|
|
3682
|
+
readonly projectId: string
|
|
3683
|
+
/** @enum {string} */
|
|
3684
|
+
readonly role: 'user' | 'admin' | 'superadmin'
|
|
3685
|
+
}[]
|
|
3541
3686
|
}
|
|
3542
3687
|
}
|
|
3543
3688
|
}
|
|
@@ -3782,6 +3927,18 @@ export interface operations {
|
|
|
3782
3927
|
| 'workspace-suspended'
|
|
3783
3928
|
| 'workspace-deletion-pending'
|
|
3784
3929
|
| 'outside-allowed-domains'
|
|
3930
|
+
readonly terms: readonly {
|
|
3931
|
+
/** @default [] */
|
|
3932
|
+
readonly changes: readonly string[]
|
|
3933
|
+
/** @enum {string} */
|
|
3934
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
3935
|
+
readonly effectiveFrom: string
|
|
3936
|
+
readonly placeholder: boolean
|
|
3937
|
+
readonly requiresAcceptance: boolean
|
|
3938
|
+
/** Format: uri */
|
|
3939
|
+
readonly url: string
|
|
3940
|
+
readonly version: string
|
|
3941
|
+
}[]
|
|
3785
3942
|
}
|
|
3786
3943
|
}
|
|
3787
3944
|
}
|
|
@@ -3876,6 +4033,11 @@ export interface operations {
|
|
|
3876
4033
|
readonly id: string
|
|
3877
4034
|
readonly name?: string
|
|
3878
4035
|
readonly password: string
|
|
4036
|
+
readonly terms?: readonly {
|
|
4037
|
+
/** @enum {string} */
|
|
4038
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
4039
|
+
readonly version: string
|
|
4040
|
+
}[]
|
|
3879
4041
|
readonly token: string
|
|
3880
4042
|
}
|
|
3881
4043
|
}
|
|
@@ -3890,6 +4052,16 @@ export interface operations {
|
|
|
3890
4052
|
readonly 'application/json': {
|
|
3891
4053
|
/** Format: uuid */
|
|
3892
4054
|
readonly customerId: string
|
|
4055
|
+
readonly projects: readonly {
|
|
4056
|
+
/** Format: uuid */
|
|
4057
|
+
readonly environmentId: string | null
|
|
4058
|
+
/** @enum {string} */
|
|
4059
|
+
readonly landing: 'studio' | 'own-address'
|
|
4060
|
+
/** Format: uuid */
|
|
4061
|
+
readonly projectId: string
|
|
4062
|
+
/** @enum {string} */
|
|
4063
|
+
readonly role: 'user' | 'admin' | 'superadmin'
|
|
4064
|
+
}[]
|
|
3893
4065
|
}
|
|
3894
4066
|
}
|
|
3895
4067
|
}
|
|
@@ -4063,13 +4235,273 @@ export interface operations {
|
|
|
4063
4235
|
}
|
|
4064
4236
|
}
|
|
4065
4237
|
}
|
|
4066
|
-
readonly
|
|
4238
|
+
readonly getLoginAttempt: {
|
|
4239
|
+
readonly parameters: {
|
|
4240
|
+
readonly query?: never
|
|
4241
|
+
readonly header?: never
|
|
4242
|
+
readonly path?: never
|
|
4243
|
+
readonly cookie?: never
|
|
4244
|
+
}
|
|
4245
|
+
readonly requestBody: {
|
|
4246
|
+
readonly content: {
|
|
4247
|
+
readonly 'application/json': {
|
|
4248
|
+
readonly attempt: string
|
|
4249
|
+
}
|
|
4250
|
+
}
|
|
4251
|
+
}
|
|
4252
|
+
readonly responses: {
|
|
4253
|
+
/** @description Authentication result. */
|
|
4254
|
+
readonly 200: {
|
|
4255
|
+
headers: {
|
|
4256
|
+
readonly [name: string]: unknown
|
|
4257
|
+
}
|
|
4258
|
+
content: {
|
|
4259
|
+
readonly 'application/json':
|
|
4260
|
+
| {
|
|
4261
|
+
/** @enum {string} */
|
|
4262
|
+
readonly target: 'studio'
|
|
4263
|
+
}
|
|
4264
|
+
| {
|
|
4265
|
+
/** @enum {string|null} */
|
|
4266
|
+
readonly accessMode?: 'public' | 'invited' | 'public-with-sign-in' | 'custom' | 'legacy-clerk' | null
|
|
4267
|
+
readonly projectName: string | null
|
|
4268
|
+
readonly signedOut: boolean
|
|
4269
|
+
/** @enum {string} */
|
|
4270
|
+
readonly target: 'configurator'
|
|
4271
|
+
readonly workspaceName: string | null
|
|
4272
|
+
}
|
|
4273
|
+
}
|
|
4274
|
+
}
|
|
4275
|
+
/** @description Bad Request! */
|
|
4276
|
+
readonly 400: {
|
|
4277
|
+
headers: {
|
|
4278
|
+
readonly [name: string]: unknown
|
|
4279
|
+
}
|
|
4280
|
+
content: {
|
|
4281
|
+
readonly 'application/json': components['schemas']['BadRequestError']
|
|
4282
|
+
}
|
|
4283
|
+
}
|
|
4284
|
+
/** @description Unauthorized! */
|
|
4285
|
+
readonly 401: {
|
|
4286
|
+
headers: {
|
|
4287
|
+
readonly [name: string]: unknown
|
|
4288
|
+
}
|
|
4289
|
+
content: {
|
|
4290
|
+
readonly 'application/json': components['schemas']['UnauthorizedError']
|
|
4291
|
+
}
|
|
4292
|
+
}
|
|
4293
|
+
/** @description Forbidden! */
|
|
4294
|
+
readonly 403: {
|
|
4295
|
+
headers: {
|
|
4296
|
+
readonly [name: string]: unknown
|
|
4297
|
+
}
|
|
4298
|
+
content: {
|
|
4299
|
+
readonly 'application/json': components['schemas']['ForbiddenError']
|
|
4300
|
+
}
|
|
4301
|
+
}
|
|
4302
|
+
/** @description Not Found! */
|
|
4303
|
+
readonly 404: {
|
|
4304
|
+
headers: {
|
|
4305
|
+
readonly [name: string]: unknown
|
|
4306
|
+
}
|
|
4307
|
+
content: {
|
|
4308
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
4309
|
+
}
|
|
4310
|
+
}
|
|
4311
|
+
/** @description Conflict! */
|
|
4312
|
+
readonly 409: {
|
|
4313
|
+
headers: {
|
|
4314
|
+
readonly [name: string]: unknown
|
|
4315
|
+
}
|
|
4316
|
+
content: {
|
|
4317
|
+
readonly 'application/json': components['schemas']['ConflictError']
|
|
4318
|
+
}
|
|
4319
|
+
}
|
|
4320
|
+
/** @description The request expired. */
|
|
4321
|
+
readonly 410: {
|
|
4322
|
+
headers: {
|
|
4323
|
+
readonly [name: string]: unknown
|
|
4324
|
+
}
|
|
4325
|
+
content: {
|
|
4326
|
+
readonly 'application/json': {
|
|
4327
|
+
readonly message: string
|
|
4328
|
+
/** @enum {number} */
|
|
4329
|
+
readonly statusCode: 410
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
}
|
|
4333
|
+
/** @description Unprocessable Entity! */
|
|
4334
|
+
readonly 422: {
|
|
4335
|
+
headers: {
|
|
4336
|
+
readonly [name: string]: unknown
|
|
4337
|
+
}
|
|
4338
|
+
content: {
|
|
4339
|
+
readonly 'application/json': components['schemas']['UnprocessableEntityError']
|
|
4340
|
+
}
|
|
4341
|
+
}
|
|
4342
|
+
/** @description Too Many Requests! */
|
|
4343
|
+
readonly 429: {
|
|
4344
|
+
headers: {
|
|
4345
|
+
readonly [name: string]: unknown
|
|
4346
|
+
}
|
|
4347
|
+
content: {
|
|
4348
|
+
readonly 'application/json': components['schemas']['TooManyRequestsError']
|
|
4349
|
+
}
|
|
4350
|
+
}
|
|
4351
|
+
/** @description Service Unavailable! */
|
|
4352
|
+
readonly 503: {
|
|
4353
|
+
headers: {
|
|
4354
|
+
readonly [name: string]: unknown
|
|
4355
|
+
}
|
|
4356
|
+
content: {
|
|
4357
|
+
readonly 'application/json': components['schemas']['ServiceUnavailableError']
|
|
4358
|
+
}
|
|
4359
|
+
}
|
|
4360
|
+
/** @description An unexpected error occurred! */
|
|
4361
|
+
readonly default: {
|
|
4362
|
+
headers: {
|
|
4363
|
+
readonly [name: string]: unknown
|
|
4364
|
+
}
|
|
4365
|
+
content: {
|
|
4366
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
4367
|
+
}
|
|
4368
|
+
}
|
|
4369
|
+
}
|
|
4370
|
+
}
|
|
4371
|
+
readonly continueLoginAttempt: {
|
|
4067
4372
|
readonly parameters: {
|
|
4068
4373
|
readonly query?: never
|
|
4069
4374
|
readonly header?: never
|
|
4070
4375
|
readonly path?: never
|
|
4071
4376
|
readonly cookie?: never
|
|
4072
4377
|
}
|
|
4378
|
+
readonly requestBody: {
|
|
4379
|
+
readonly content: {
|
|
4380
|
+
readonly 'application/json': {
|
|
4381
|
+
readonly attempt: string
|
|
4382
|
+
}
|
|
4383
|
+
}
|
|
4384
|
+
}
|
|
4385
|
+
readonly responses: {
|
|
4386
|
+
/** @description Authentication result. */
|
|
4387
|
+
readonly 200: {
|
|
4388
|
+
headers: {
|
|
4389
|
+
readonly [name: string]: unknown
|
|
4390
|
+
}
|
|
4391
|
+
content: {
|
|
4392
|
+
readonly 'application/json': {
|
|
4393
|
+
/** Format: uri */
|
|
4394
|
+
readonly redirectUrl: string
|
|
4395
|
+
/** @enum {string} */
|
|
4396
|
+
readonly status: 'complete'
|
|
4397
|
+
}
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
/** @description Bad Request! */
|
|
4401
|
+
readonly 400: {
|
|
4402
|
+
headers: {
|
|
4403
|
+
readonly [name: string]: unknown
|
|
4404
|
+
}
|
|
4405
|
+
content: {
|
|
4406
|
+
readonly 'application/json': components['schemas']['BadRequestError']
|
|
4407
|
+
}
|
|
4408
|
+
}
|
|
4409
|
+
/** @description Unauthorized! */
|
|
4410
|
+
readonly 401: {
|
|
4411
|
+
headers: {
|
|
4412
|
+
readonly [name: string]: unknown
|
|
4413
|
+
}
|
|
4414
|
+
content: {
|
|
4415
|
+
readonly 'application/json': components['schemas']['UnauthorizedError']
|
|
4416
|
+
}
|
|
4417
|
+
}
|
|
4418
|
+
/** @description Forbidden! */
|
|
4419
|
+
readonly 403: {
|
|
4420
|
+
headers: {
|
|
4421
|
+
readonly [name: string]: unknown
|
|
4422
|
+
}
|
|
4423
|
+
content: {
|
|
4424
|
+
readonly 'application/json': components['schemas']['ForbiddenError']
|
|
4425
|
+
}
|
|
4426
|
+
}
|
|
4427
|
+
/** @description Not Found! */
|
|
4428
|
+
readonly 404: {
|
|
4429
|
+
headers: {
|
|
4430
|
+
readonly [name: string]: unknown
|
|
4431
|
+
}
|
|
4432
|
+
content: {
|
|
4433
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
4434
|
+
}
|
|
4435
|
+
}
|
|
4436
|
+
/** @description Conflict! */
|
|
4437
|
+
readonly 409: {
|
|
4438
|
+
headers: {
|
|
4439
|
+
readonly [name: string]: unknown
|
|
4440
|
+
}
|
|
4441
|
+
content: {
|
|
4442
|
+
readonly 'application/json': components['schemas']['ConflictError']
|
|
4443
|
+
}
|
|
4444
|
+
}
|
|
4445
|
+
/** @description The request expired. */
|
|
4446
|
+
readonly 410: {
|
|
4447
|
+
headers: {
|
|
4448
|
+
readonly [name: string]: unknown
|
|
4449
|
+
}
|
|
4450
|
+
content: {
|
|
4451
|
+
readonly 'application/json': {
|
|
4452
|
+
readonly message: string
|
|
4453
|
+
/** @enum {number} */
|
|
4454
|
+
readonly statusCode: 410
|
|
4455
|
+
}
|
|
4456
|
+
}
|
|
4457
|
+
}
|
|
4458
|
+
/** @description Unprocessable Entity! */
|
|
4459
|
+
readonly 422: {
|
|
4460
|
+
headers: {
|
|
4461
|
+
readonly [name: string]: unknown
|
|
4462
|
+
}
|
|
4463
|
+
content: {
|
|
4464
|
+
readonly 'application/json': components['schemas']['UnprocessableEntityError']
|
|
4465
|
+
}
|
|
4466
|
+
}
|
|
4467
|
+
/** @description Too Many Requests! */
|
|
4468
|
+
readonly 429: {
|
|
4469
|
+
headers: {
|
|
4470
|
+
readonly [name: string]: unknown
|
|
4471
|
+
}
|
|
4472
|
+
content: {
|
|
4473
|
+
readonly 'application/json': components['schemas']['TooManyRequestsError']
|
|
4474
|
+
}
|
|
4475
|
+
}
|
|
4476
|
+
/** @description Service Unavailable! */
|
|
4477
|
+
readonly 503: {
|
|
4478
|
+
headers: {
|
|
4479
|
+
readonly [name: string]: unknown
|
|
4480
|
+
}
|
|
4481
|
+
content: {
|
|
4482
|
+
readonly 'application/json': components['schemas']['ServiceUnavailableError']
|
|
4483
|
+
}
|
|
4484
|
+
}
|
|
4485
|
+
/** @description An unexpected error occurred! */
|
|
4486
|
+
readonly default: {
|
|
4487
|
+
headers: {
|
|
4488
|
+
readonly [name: string]: unknown
|
|
4489
|
+
}
|
|
4490
|
+
content: {
|
|
4491
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
4492
|
+
}
|
|
4493
|
+
}
|
|
4494
|
+
}
|
|
4495
|
+
}
|
|
4496
|
+
readonly endBrowserSession: {
|
|
4497
|
+
readonly parameters: {
|
|
4498
|
+
readonly query?: {
|
|
4499
|
+
readonly keepLoginAttempt?: 'true'
|
|
4500
|
+
}
|
|
4501
|
+
readonly header?: never
|
|
4502
|
+
readonly path?: never
|
|
4503
|
+
readonly cookie?: never
|
|
4504
|
+
}
|
|
4073
4505
|
readonly requestBody?: never
|
|
4074
4506
|
readonly responses: {
|
|
4075
4507
|
/** @description Navigate to this URL to return to Studio. */
|
|
@@ -6073,6 +6505,7 @@ export interface operations {
|
|
|
6073
6505
|
}[]
|
|
6074
6506
|
/** @default null */
|
|
6075
6507
|
readonly name: string | null
|
|
6508
|
+
readonly serverNow?: number
|
|
6076
6509
|
/** @default null */
|
|
6077
6510
|
readonly signInMethod: ('password' | 'passkey' | ('google' | 'microsoft')) | null
|
|
6078
6511
|
readonly strongAuthAt?: number | null
|
|
@@ -6088,6 +6521,61 @@ export interface operations {
|
|
|
6088
6521
|
readonly suspendedAt: string | null
|
|
6089
6522
|
readonly suspendedBy: string | null
|
|
6090
6523
|
}[]
|
|
6524
|
+
/** @default {
|
|
6525
|
+
* "required": [],
|
|
6526
|
+
* "upcoming": [],
|
|
6527
|
+
* "gate": false,
|
|
6528
|
+
* "current": [],
|
|
6529
|
+
* "accepted": []
|
|
6530
|
+
* } */
|
|
6531
|
+
readonly terms: {
|
|
6532
|
+
/** @default [] */
|
|
6533
|
+
readonly accepted: readonly {
|
|
6534
|
+
/** Format: date-time */
|
|
6535
|
+
readonly acceptedAt: string
|
|
6536
|
+
/** @enum {string} */
|
|
6537
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
6538
|
+
readonly version: string
|
|
6539
|
+
}[]
|
|
6540
|
+
/** @default [] */
|
|
6541
|
+
readonly current: readonly {
|
|
6542
|
+
/** @default [] */
|
|
6543
|
+
readonly changes: readonly string[]
|
|
6544
|
+
/** @enum {string} */
|
|
6545
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
6546
|
+
readonly effectiveFrom: string
|
|
6547
|
+
readonly placeholder: boolean
|
|
6548
|
+
readonly requiresAcceptance: boolean
|
|
6549
|
+
/** Format: uri */
|
|
6550
|
+
readonly url: string
|
|
6551
|
+
readonly version: string
|
|
6552
|
+
}[]
|
|
6553
|
+
readonly gate: boolean
|
|
6554
|
+
readonly required: readonly {
|
|
6555
|
+
/** @default [] */
|
|
6556
|
+
readonly changes: readonly string[]
|
|
6557
|
+
/** @enum {string} */
|
|
6558
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
6559
|
+
readonly effectiveFrom: string
|
|
6560
|
+
readonly placeholder: boolean
|
|
6561
|
+
readonly requiresAcceptance: boolean
|
|
6562
|
+
/** Format: uri */
|
|
6563
|
+
readonly url: string
|
|
6564
|
+
readonly version: string
|
|
6565
|
+
}[]
|
|
6566
|
+
readonly upcoming: readonly {
|
|
6567
|
+
/** @default [] */
|
|
6568
|
+
readonly changes: readonly string[]
|
|
6569
|
+
/** @enum {string} */
|
|
6570
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
6571
|
+
readonly effectiveFrom: string
|
|
6572
|
+
readonly placeholder: boolean
|
|
6573
|
+
readonly requiresAcceptance: boolean
|
|
6574
|
+
/** Format: uri */
|
|
6575
|
+
readonly url: string
|
|
6576
|
+
readonly version: string
|
|
6577
|
+
}[]
|
|
6578
|
+
}
|
|
6091
6579
|
/** Format: uuid */
|
|
6092
6580
|
readonly userId: string
|
|
6093
6581
|
readonly workspaces: readonly {
|
|
@@ -6178,7 +6666,83 @@ export interface operations {
|
|
|
6178
6666
|
}
|
|
6179
6667
|
}
|
|
6180
6668
|
}
|
|
6181
|
-
readonly endOtherBrowserSessions: {
|
|
6669
|
+
readonly endOtherBrowserSessions: {
|
|
6670
|
+
readonly parameters: {
|
|
6671
|
+
readonly query?: never
|
|
6672
|
+
readonly header?: never
|
|
6673
|
+
readonly path?: never
|
|
6674
|
+
readonly cookie?: never
|
|
6675
|
+
}
|
|
6676
|
+
readonly requestBody?: never
|
|
6677
|
+
readonly responses: {
|
|
6678
|
+
/** @description How many other browser sessions were still active and are now ended. */
|
|
6679
|
+
readonly 200: {
|
|
6680
|
+
headers: {
|
|
6681
|
+
readonly [name: string]: unknown
|
|
6682
|
+
}
|
|
6683
|
+
content: {
|
|
6684
|
+
readonly 'application/json': {
|
|
6685
|
+
readonly ended: number
|
|
6686
|
+
}
|
|
6687
|
+
}
|
|
6688
|
+
}
|
|
6689
|
+
/** @description Bad Request! */
|
|
6690
|
+
readonly 400: {
|
|
6691
|
+
headers: {
|
|
6692
|
+
readonly [name: string]: unknown
|
|
6693
|
+
}
|
|
6694
|
+
content: {
|
|
6695
|
+
readonly 'application/json': components['schemas']['BadRequestError']
|
|
6696
|
+
}
|
|
6697
|
+
}
|
|
6698
|
+
/** @description Unauthorized! */
|
|
6699
|
+
readonly 401: {
|
|
6700
|
+
headers: {
|
|
6701
|
+
readonly [name: string]: unknown
|
|
6702
|
+
}
|
|
6703
|
+
content: {
|
|
6704
|
+
readonly 'application/json': components['schemas']['UnauthorizedError']
|
|
6705
|
+
}
|
|
6706
|
+
}
|
|
6707
|
+
/** @description Forbidden! */
|
|
6708
|
+
readonly 403: {
|
|
6709
|
+
headers: {
|
|
6710
|
+
readonly [name: string]: unknown
|
|
6711
|
+
}
|
|
6712
|
+
content: {
|
|
6713
|
+
readonly 'application/json': components['schemas']['ForbiddenError']
|
|
6714
|
+
}
|
|
6715
|
+
}
|
|
6716
|
+
/** @description Not Found! */
|
|
6717
|
+
readonly 404: {
|
|
6718
|
+
headers: {
|
|
6719
|
+
readonly [name: string]: unknown
|
|
6720
|
+
}
|
|
6721
|
+
content: {
|
|
6722
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
6723
|
+
}
|
|
6724
|
+
}
|
|
6725
|
+
/** @description Service Unavailable! */
|
|
6726
|
+
readonly 503: {
|
|
6727
|
+
headers: {
|
|
6728
|
+
readonly [name: string]: unknown
|
|
6729
|
+
}
|
|
6730
|
+
content: {
|
|
6731
|
+
readonly 'application/json': components['schemas']['ServiceUnavailableError']
|
|
6732
|
+
}
|
|
6733
|
+
}
|
|
6734
|
+
/** @description An unexpected error occurred! */
|
|
6735
|
+
readonly default: {
|
|
6736
|
+
headers: {
|
|
6737
|
+
readonly [name: string]: unknown
|
|
6738
|
+
}
|
|
6739
|
+
content: {
|
|
6740
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
6741
|
+
}
|
|
6742
|
+
}
|
|
6743
|
+
}
|
|
6744
|
+
}
|
|
6745
|
+
readonly getCurrentTerms: {
|
|
6182
6746
|
readonly parameters: {
|
|
6183
6747
|
readonly query?: never
|
|
6184
6748
|
readonly header?: never
|
|
@@ -6187,17 +6751,76 @@ export interface operations {
|
|
|
6187
6751
|
}
|
|
6188
6752
|
readonly requestBody?: never
|
|
6189
6753
|
readonly responses: {
|
|
6190
|
-
/** @description
|
|
6754
|
+
/** @description Terms of Service, SDK Terms and Privacy Policy, in that order. */
|
|
6191
6755
|
readonly 200: {
|
|
6192
6756
|
headers: {
|
|
6193
6757
|
readonly [name: string]: unknown
|
|
6194
6758
|
}
|
|
6195
6759
|
content: {
|
|
6196
6760
|
readonly 'application/json': {
|
|
6197
|
-
readonly
|
|
6761
|
+
readonly current: readonly {
|
|
6762
|
+
/** @default [] */
|
|
6763
|
+
readonly changes: readonly string[]
|
|
6764
|
+
/** @enum {string} */
|
|
6765
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
6766
|
+
readonly effectiveFrom: string
|
|
6767
|
+
readonly placeholder: boolean
|
|
6768
|
+
readonly requiresAcceptance: boolean
|
|
6769
|
+
/** Format: uri */
|
|
6770
|
+
readonly url: string
|
|
6771
|
+
readonly version: string
|
|
6772
|
+
}[]
|
|
6198
6773
|
}
|
|
6199
6774
|
}
|
|
6200
6775
|
}
|
|
6776
|
+
/** @description Not Found! */
|
|
6777
|
+
readonly 404: {
|
|
6778
|
+
headers: {
|
|
6779
|
+
readonly [name: string]: unknown
|
|
6780
|
+
}
|
|
6781
|
+
content: {
|
|
6782
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
6783
|
+
}
|
|
6784
|
+
}
|
|
6785
|
+
/** @description An unexpected error occurred! */
|
|
6786
|
+
readonly default: {
|
|
6787
|
+
headers: {
|
|
6788
|
+
readonly [name: string]: unknown
|
|
6789
|
+
}
|
|
6790
|
+
content: {
|
|
6791
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
6792
|
+
}
|
|
6793
|
+
}
|
|
6794
|
+
}
|
|
6795
|
+
}
|
|
6796
|
+
readonly acceptTerms: {
|
|
6797
|
+
readonly parameters: {
|
|
6798
|
+
readonly query?: never
|
|
6799
|
+
readonly header?: never
|
|
6800
|
+
readonly path?: never
|
|
6801
|
+
readonly cookie?: never
|
|
6802
|
+
}
|
|
6803
|
+
readonly requestBody: {
|
|
6804
|
+
readonly content: {
|
|
6805
|
+
readonly 'application/json': {
|
|
6806
|
+
readonly accepted: readonly {
|
|
6807
|
+
/** @enum {string} */
|
|
6808
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
6809
|
+
readonly version: string
|
|
6810
|
+
}[]
|
|
6811
|
+
}
|
|
6812
|
+
}
|
|
6813
|
+
}
|
|
6814
|
+
readonly responses: {
|
|
6815
|
+
/** @description Accepted; the account works in its self-service workspaces again. */
|
|
6816
|
+
readonly 204: {
|
|
6817
|
+
headers: {
|
|
6818
|
+
readonly [name: string]: unknown
|
|
6819
|
+
}
|
|
6820
|
+
content: {
|
|
6821
|
+
readonly 'application/json': Record<string, unknown>
|
|
6822
|
+
}
|
|
6823
|
+
}
|
|
6201
6824
|
/** @description Bad Request! */
|
|
6202
6825
|
readonly 400: {
|
|
6203
6826
|
headers: {
|
|
@@ -6234,6 +6857,15 @@ export interface operations {
|
|
|
6234
6857
|
readonly 'application/json': components['schemas']['NotFoundError']
|
|
6235
6858
|
}
|
|
6236
6859
|
}
|
|
6860
|
+
/** @description Conflict! */
|
|
6861
|
+
readonly 409: {
|
|
6862
|
+
headers: {
|
|
6863
|
+
readonly [name: string]: unknown
|
|
6864
|
+
}
|
|
6865
|
+
content: {
|
|
6866
|
+
readonly 'application/json': components['schemas']['ConflictError']
|
|
6867
|
+
}
|
|
6868
|
+
}
|
|
6237
6869
|
/** @description Service Unavailable! */
|
|
6238
6870
|
readonly 503: {
|
|
6239
6871
|
headers: {
|
|
@@ -6254,6 +6886,55 @@ export interface operations {
|
|
|
6254
6886
|
}
|
|
6255
6887
|
}
|
|
6256
6888
|
}
|
|
6889
|
+
readonly getTermsText: {
|
|
6890
|
+
readonly parameters: {
|
|
6891
|
+
readonly query: {
|
|
6892
|
+
readonly document: string
|
|
6893
|
+
readonly version: string
|
|
6894
|
+
}
|
|
6895
|
+
readonly header?: never
|
|
6896
|
+
readonly path?: never
|
|
6897
|
+
readonly cookie?: never
|
|
6898
|
+
}
|
|
6899
|
+
readonly requestBody?: never
|
|
6900
|
+
readonly responses: {
|
|
6901
|
+
/** @description The version and its text. */
|
|
6902
|
+
readonly 200: {
|
|
6903
|
+
headers: {
|
|
6904
|
+
readonly [name: string]: unknown
|
|
6905
|
+
}
|
|
6906
|
+
content: {
|
|
6907
|
+
readonly 'application/json': {
|
|
6908
|
+
/** @enum {string} */
|
|
6909
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
6910
|
+
readonly effectiveFrom: string
|
|
6911
|
+
readonly paragraphs: readonly string[]
|
|
6912
|
+
readonly placeholder: boolean
|
|
6913
|
+
readonly title: string
|
|
6914
|
+
readonly version: string
|
|
6915
|
+
}
|
|
6916
|
+
}
|
|
6917
|
+
}
|
|
6918
|
+
/** @description Not Found! */
|
|
6919
|
+
readonly 404: {
|
|
6920
|
+
headers: {
|
|
6921
|
+
readonly [name: string]: unknown
|
|
6922
|
+
}
|
|
6923
|
+
content: {
|
|
6924
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
6925
|
+
}
|
|
6926
|
+
}
|
|
6927
|
+
/** @description An unexpected error occurred! */
|
|
6928
|
+
readonly default: {
|
|
6929
|
+
headers: {
|
|
6930
|
+
readonly [name: string]: unknown
|
|
6931
|
+
}
|
|
6932
|
+
content: {
|
|
6933
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
6934
|
+
}
|
|
6935
|
+
}
|
|
6936
|
+
}
|
|
6937
|
+
}
|
|
6257
6938
|
readonly exchangeAuthCode: {
|
|
6258
6939
|
readonly parameters: {
|
|
6259
6940
|
readonly query?: never
|
|
@@ -6403,7 +7084,12 @@ export interface operations {
|
|
|
6403
7084
|
readonly acceptedTerms: true
|
|
6404
7085
|
readonly name: string
|
|
6405
7086
|
readonly slug: string
|
|
6406
|
-
readonly
|
|
7087
|
+
readonly terms?: readonly {
|
|
7088
|
+
/** @enum {string} */
|
|
7089
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
7090
|
+
readonly version: string
|
|
7091
|
+
}[]
|
|
7092
|
+
readonly termsVersion?: string
|
|
6407
7093
|
}
|
|
6408
7094
|
}
|
|
6409
7095
|
}
|
|
@@ -6504,6 +7190,24 @@ export interface operations {
|
|
|
6504
7190
|
readonly 'application/json': {
|
|
6505
7191
|
readonly enabled: boolean
|
|
6506
7192
|
readonly hasCreatedWorkspace: boolean
|
|
7193
|
+
/** @default null */
|
|
7194
|
+
readonly region: {
|
|
7195
|
+
readonly code: string
|
|
7196
|
+
readonly label: string
|
|
7197
|
+
} | null
|
|
7198
|
+
/** @default [] */
|
|
7199
|
+
readonly terms: readonly {
|
|
7200
|
+
/** @default [] */
|
|
7201
|
+
readonly changes: readonly string[]
|
|
7202
|
+
/** @enum {string} */
|
|
7203
|
+
readonly document: 'terms_of_service' | 'sdk_terms' | 'privacy_policy'
|
|
7204
|
+
readonly effectiveFrom: string
|
|
7205
|
+
readonly placeholder: boolean
|
|
7206
|
+
readonly requiresAcceptance: boolean
|
|
7207
|
+
/** Format: uri */
|
|
7208
|
+
readonly url: string
|
|
7209
|
+
readonly version: string
|
|
7210
|
+
}[]
|
|
6507
7211
|
/** Format: uri */
|
|
6508
7212
|
readonly termsUrl: string
|
|
6509
7213
|
readonly termsVersion: string
|
|
@@ -6520,6 +7224,11 @@ export interface operations {
|
|
|
6520
7224
|
readonly seats: number | null
|
|
6521
7225
|
readonly sessions: number
|
|
6522
7226
|
} | null
|
|
7227
|
+
/**
|
|
7228
|
+
* @default null
|
|
7229
|
+
* @enum {string|null}
|
|
7230
|
+
*/
|
|
7231
|
+
readonly turnedAway: 'closed' | 'at_capacity' | 'trial_used' | null
|
|
6523
7232
|
}
|
|
6524
7233
|
}
|
|
6525
7234
|
}
|
|
@@ -9277,6 +9986,10 @@ export interface operations {
|
|
|
9277
9986
|
readonly oauthStart: {
|
|
9278
9987
|
readonly parameters: {
|
|
9279
9988
|
readonly query?: {
|
|
9989
|
+
/** @description For a sign-in with a Studio account: which application of the deployment asked, so the workspace audit log says whether the person signed in to the configurator or to its admin panel. Left out, it is the configurator. */
|
|
9990
|
+
readonly application?: 'configurator' | 'admin'
|
|
9991
|
+
/** @description For a sign-in with a Studio account: the person signed out of this configurator, so Studio asks which account continues instead of continuing with its session by itself. */
|
|
9992
|
+
readonly prompt?: 'select_account'
|
|
9280
9993
|
/** @description The URL to redirect to after the OAuth2 authorization flow is completed. */
|
|
9281
9994
|
readonly returnUrl?: string
|
|
9282
9995
|
}
|
|
@@ -9344,6 +10057,77 @@ export interface operations {
|
|
|
9344
10057
|
}
|
|
9345
10058
|
}
|
|
9346
10059
|
}
|
|
10060
|
+
readonly signOutSession: {
|
|
10061
|
+
readonly parameters: {
|
|
10062
|
+
readonly query?: never
|
|
10063
|
+
readonly header?: never
|
|
10064
|
+
readonly path: {
|
|
10065
|
+
readonly deploymentId: components['schemas']['DeploymentUuid']
|
|
10066
|
+
}
|
|
10067
|
+
readonly cookie?: never
|
|
10068
|
+
}
|
|
10069
|
+
readonly requestBody: {
|
|
10070
|
+
readonly content: {
|
|
10071
|
+
readonly 'application/json': {
|
|
10072
|
+
/**
|
|
10073
|
+
* @description The refresh token the configurator received from the session endpoint.
|
|
10074
|
+
* @example eyJhbGciOiJub25lIn0.eyJpc3MiOiJwaG9lbml4OmNvbmZpZ3VyYXRvci1zaWduLWluIn0.
|
|
10075
|
+
*/
|
|
10076
|
+
readonly refreshToken: string
|
|
10077
|
+
}
|
|
10078
|
+
}
|
|
10079
|
+
}
|
|
10080
|
+
readonly responses: {
|
|
10081
|
+
/** @description The sign-in has ended, or the refresh token named none that was still live. */
|
|
10082
|
+
readonly 200: {
|
|
10083
|
+
headers: {
|
|
10084
|
+
readonly [name: string]: unknown
|
|
10085
|
+
}
|
|
10086
|
+
content: {
|
|
10087
|
+
readonly 'application/json': {
|
|
10088
|
+
/** @enum {boolean} */
|
|
10089
|
+
readonly signedOut: true
|
|
10090
|
+
}
|
|
10091
|
+
}
|
|
10092
|
+
}
|
|
10093
|
+
/** @description Bad Request! */
|
|
10094
|
+
readonly 400: {
|
|
10095
|
+
headers: {
|
|
10096
|
+
readonly [name: string]: unknown
|
|
10097
|
+
}
|
|
10098
|
+
content: {
|
|
10099
|
+
readonly 'application/json': components['schemas']['BadRequestError']
|
|
10100
|
+
}
|
|
10101
|
+
}
|
|
10102
|
+
/** @description Forbidden! */
|
|
10103
|
+
readonly 403: {
|
|
10104
|
+
headers: {
|
|
10105
|
+
readonly [name: string]: unknown
|
|
10106
|
+
}
|
|
10107
|
+
content: {
|
|
10108
|
+
readonly 'application/json': components['schemas']['ForbiddenError']
|
|
10109
|
+
}
|
|
10110
|
+
}
|
|
10111
|
+
/** @description Not Found! */
|
|
10112
|
+
readonly 404: {
|
|
10113
|
+
headers: {
|
|
10114
|
+
readonly [name: string]: unknown
|
|
10115
|
+
}
|
|
10116
|
+
content: {
|
|
10117
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
10118
|
+
}
|
|
10119
|
+
}
|
|
10120
|
+
/** @description An unexpected error occurred! */
|
|
10121
|
+
readonly default: {
|
|
10122
|
+
headers: {
|
|
10123
|
+
readonly [name: string]: unknown
|
|
10124
|
+
}
|
|
10125
|
+
content: {
|
|
10126
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
10127
|
+
}
|
|
10128
|
+
}
|
|
10129
|
+
}
|
|
10130
|
+
}
|
|
9347
10131
|
readonly getDeploymentBuildEnvs: {
|
|
9348
10132
|
readonly parameters: {
|
|
9349
10133
|
readonly query?: never
|
|
@@ -9982,6 +10766,15 @@ export interface operations {
|
|
|
9982
10766
|
readonly 'application/json': components['schemas']['ConflictError']
|
|
9983
10767
|
}
|
|
9984
10768
|
}
|
|
10769
|
+
/** @description Too Many Requests! */
|
|
10770
|
+
readonly 429: {
|
|
10771
|
+
headers: {
|
|
10772
|
+
readonly [name: string]: unknown
|
|
10773
|
+
}
|
|
10774
|
+
content: {
|
|
10775
|
+
readonly 'application/json': components['schemas']['TooManyRequestsError']
|
|
10776
|
+
}
|
|
10777
|
+
}
|
|
9985
10778
|
/** @description An unexpected error occurred! */
|
|
9986
10779
|
readonly default: {
|
|
9987
10780
|
headers: {
|
|
@@ -10068,6 +10861,13 @@ export interface operations {
|
|
|
10068
10861
|
readonly status: 'queued' | 'preparing' | 'building' | 'deploying' | 'live' | 'failed' | 'cancelled'
|
|
10069
10862
|
/** @description The build is still running long after it was started on a runner. A waiting build never times out. */
|
|
10070
10863
|
readonly timedOut: boolean
|
|
10864
|
+
/** @description Set while the build waits because its workspace already runs as many builds as its plan allows at once; `queue` is empty then. The build starts when one of them finishes. */
|
|
10865
|
+
readonly workspaceQueue?: {
|
|
10866
|
+
/** @description How many builds of the workspace may run at once. */
|
|
10867
|
+
readonly limit: number
|
|
10868
|
+
/** @description How many builds of the workspace run now. */
|
|
10869
|
+
readonly running: number
|
|
10870
|
+
} | null
|
|
10071
10871
|
}
|
|
10072
10872
|
}
|
|
10073
10873
|
}
|
|
@@ -10410,6 +11210,13 @@ export interface operations {
|
|
|
10410
11210
|
readonly status: 'queued' | 'preparing' | 'building' | 'deploying' | 'live' | 'failed' | 'cancelled'
|
|
10411
11211
|
/** @description The build is still running long after it was started on a runner. A waiting build never times out. */
|
|
10412
11212
|
readonly timedOut: boolean
|
|
11213
|
+
/** @description Set while the build waits because its workspace already runs as many builds as its plan allows at once; `queue` is empty then. The build starts when one of them finishes. */
|
|
11214
|
+
readonly workspaceQueue?: {
|
|
11215
|
+
/** @description How many builds of the workspace may run at once. */
|
|
11216
|
+
readonly limit: number
|
|
11217
|
+
/** @description How many builds of the workspace run now. */
|
|
11218
|
+
readonly running: number
|
|
11219
|
+
} | null
|
|
10413
11220
|
}
|
|
10414
11221
|
}
|
|
10415
11222
|
}
|
|
@@ -10458,6 +11265,15 @@ export interface operations {
|
|
|
10458
11265
|
readonly 'application/json': components['schemas']['ConflictError']
|
|
10459
11266
|
}
|
|
10460
11267
|
}
|
|
11268
|
+
/** @description Too Many Requests! */
|
|
11269
|
+
readonly 429: {
|
|
11270
|
+
headers: {
|
|
11271
|
+
readonly [name: string]: unknown
|
|
11272
|
+
}
|
|
11273
|
+
content: {
|
|
11274
|
+
readonly 'application/json': components['schemas']['TooManyRequestsError']
|
|
11275
|
+
}
|
|
11276
|
+
}
|
|
10461
11277
|
/** @description An unexpected error occurred! */
|
|
10462
11278
|
readonly default: {
|
|
10463
11279
|
headers: {
|
|
@@ -11103,6 +11919,12 @@ export interface operations {
|
|
|
11103
11919
|
readonly requestBody: {
|
|
11104
11920
|
readonly content: {
|
|
11105
11921
|
readonly 'application/json': {
|
|
11922
|
+
/**
|
|
11923
|
+
* @description Access mode of the project's spec: who can open its configurator and who signs its users in. SDKs older than the setting leave it out; the server then derives the mode from `useAuthHook` and `useCognito`, which current SDKs still send, derived from the mode.
|
|
11924
|
+
* @example public
|
|
11925
|
+
* @enum {string}
|
|
11926
|
+
*/
|
|
11927
|
+
readonly accessMode?: 'public' | 'invited' | 'public-with-sign-in' | 'custom' | 'legacy-clerk'
|
|
11106
11928
|
readonly acl?: {
|
|
11107
11929
|
/** @description Array of user roles allowed to create new configurations. */
|
|
11108
11930
|
readonly canCreate?: readonly string[]
|
|
@@ -11169,6 +11991,52 @@ export interface operations {
|
|
|
11169
11991
|
readonly publishedDataHash?: string
|
|
11170
11992
|
/** @description Version of the PHX SDK (CLI) used to prepare this deployment. */
|
|
11171
11993
|
readonly sdkVersion?: string
|
|
11994
|
+
/** @description The project's session fields set in Studio: in `invited` and `public-with-sign-in`, the top-level `sessionData` properties besides the identity fields that the spec does not mark `setInStudio: false`, whose values Studio sets per person and project. SDKs older than session fields leave it out; the deployment then declares none. */
|
|
11995
|
+
readonly sessionFields?: readonly (
|
|
11996
|
+
| {
|
|
11997
|
+
readonly default?: string
|
|
11998
|
+
readonly description?: string
|
|
11999
|
+
readonly key: string
|
|
12000
|
+
/** @enum {string} */
|
|
12001
|
+
readonly kind: 'text'
|
|
12002
|
+
readonly title?: string
|
|
12003
|
+
}
|
|
12004
|
+
| {
|
|
12005
|
+
readonly default?: number
|
|
12006
|
+
readonly description?: string
|
|
12007
|
+
readonly integer?: boolean
|
|
12008
|
+
readonly key: string
|
|
12009
|
+
/** @enum {string} */
|
|
12010
|
+
readonly kind: 'number'
|
|
12011
|
+
readonly title?: string
|
|
12012
|
+
}
|
|
12013
|
+
| {
|
|
12014
|
+
readonly default?: boolean
|
|
12015
|
+
readonly description?: string
|
|
12016
|
+
readonly key: string
|
|
12017
|
+
/** @enum {string} */
|
|
12018
|
+
readonly kind: 'boolean'
|
|
12019
|
+
readonly title?: string
|
|
12020
|
+
}
|
|
12021
|
+
| {
|
|
12022
|
+
readonly default?: string
|
|
12023
|
+
readonly description?: string
|
|
12024
|
+
readonly key: string
|
|
12025
|
+
/** @enum {string} */
|
|
12026
|
+
readonly kind: 'oneOf'
|
|
12027
|
+
readonly options: readonly string[]
|
|
12028
|
+
readonly title?: string
|
|
12029
|
+
}
|
|
12030
|
+
| {
|
|
12031
|
+
readonly default?: readonly string[]
|
|
12032
|
+
readonly description?: string
|
|
12033
|
+
readonly key: string
|
|
12034
|
+
/** @enum {string} */
|
|
12035
|
+
readonly kind: 'anyOf'
|
|
12036
|
+
readonly options: readonly string[]
|
|
12037
|
+
readonly title?: string
|
|
12038
|
+
}
|
|
12039
|
+
)[]
|
|
11172
12040
|
/**
|
|
11173
12041
|
* @description Whether to use the auth hook for deployment session authentication.
|
|
11174
12042
|
* @default false
|
|
@@ -11199,6 +12067,8 @@ export interface operations {
|
|
|
11199
12067
|
readonly publicUploadUrls: {
|
|
11200
12068
|
readonly [key: string]: string
|
|
11201
12069
|
}
|
|
12070
|
+
/** @description Problems with the registered deployment that do not stop it, such as an access mode that does not work in this workspace. The CLI prints them. */
|
|
12071
|
+
readonly warnings?: readonly string[]
|
|
11202
12072
|
}
|
|
11203
12073
|
}
|
|
11204
12074
|
}
|
|
@@ -11346,6 +12216,12 @@ export interface operations {
|
|
|
11346
12216
|
readonly requestBody: {
|
|
11347
12217
|
readonly content: {
|
|
11348
12218
|
readonly 'application/json': {
|
|
12219
|
+
/**
|
|
12220
|
+
* @description Access mode of the project's spec: who can open its configurator and who signs its users in. SDKs older than the setting leave it out; the server then derives the mode from `useAuthHook` and `useCognito`, which current SDKs still send, derived from the mode.
|
|
12221
|
+
* @example public
|
|
12222
|
+
* @enum {string}
|
|
12223
|
+
*/
|
|
12224
|
+
readonly accessMode?: 'public' | 'invited' | 'public-with-sign-in' | 'custom' | 'legacy-clerk'
|
|
11349
12225
|
readonly acl?: {
|
|
11350
12226
|
/** @description Array of user roles allowed to create new configurations. */
|
|
11351
12227
|
readonly canCreate?: readonly string[]
|
|
@@ -11424,6 +12300,52 @@ export interface operations {
|
|
|
11424
12300
|
readonly publishedDataHash?: string
|
|
11425
12301
|
/** @description Version of the PHX SDK (CLI) used to prepare this deployment. */
|
|
11426
12302
|
readonly sdkVersion?: string
|
|
12303
|
+
/** @description The project's session fields set in Studio: in `invited` and `public-with-sign-in`, the top-level `sessionData` properties besides the identity fields that the spec does not mark `setInStudio: false`, whose values Studio sets per person and project. SDKs older than session fields leave it out; the deployment then declares none. */
|
|
12304
|
+
readonly sessionFields?: readonly (
|
|
12305
|
+
| {
|
|
12306
|
+
readonly default?: string
|
|
12307
|
+
readonly description?: string
|
|
12308
|
+
readonly key: string
|
|
12309
|
+
/** @enum {string} */
|
|
12310
|
+
readonly kind: 'text'
|
|
12311
|
+
readonly title?: string
|
|
12312
|
+
}
|
|
12313
|
+
| {
|
|
12314
|
+
readonly default?: number
|
|
12315
|
+
readonly description?: string
|
|
12316
|
+
readonly integer?: boolean
|
|
12317
|
+
readonly key: string
|
|
12318
|
+
/** @enum {string} */
|
|
12319
|
+
readonly kind: 'number'
|
|
12320
|
+
readonly title?: string
|
|
12321
|
+
}
|
|
12322
|
+
| {
|
|
12323
|
+
readonly default?: boolean
|
|
12324
|
+
readonly description?: string
|
|
12325
|
+
readonly key: string
|
|
12326
|
+
/** @enum {string} */
|
|
12327
|
+
readonly kind: 'boolean'
|
|
12328
|
+
readonly title?: string
|
|
12329
|
+
}
|
|
12330
|
+
| {
|
|
12331
|
+
readonly default?: string
|
|
12332
|
+
readonly description?: string
|
|
12333
|
+
readonly key: string
|
|
12334
|
+
/** @enum {string} */
|
|
12335
|
+
readonly kind: 'oneOf'
|
|
12336
|
+
readonly options: readonly string[]
|
|
12337
|
+
readonly title?: string
|
|
12338
|
+
}
|
|
12339
|
+
| {
|
|
12340
|
+
readonly default?: readonly string[]
|
|
12341
|
+
readonly description?: string
|
|
12342
|
+
readonly key: string
|
|
12343
|
+
/** @enum {string} */
|
|
12344
|
+
readonly kind: 'anyOf'
|
|
12345
|
+
readonly options: readonly string[]
|
|
12346
|
+
readonly title?: string
|
|
12347
|
+
}
|
|
12348
|
+
)[]
|
|
11427
12349
|
/**
|
|
11428
12350
|
* @description Whether to use the auth hook for deployment session authentication.
|
|
11429
12351
|
* @default false
|
|
@@ -11483,6 +12405,8 @@ export interface operations {
|
|
|
11483
12405
|
readonly publicUploadUrls: {
|
|
11484
12406
|
readonly [key: string]: string
|
|
11485
12407
|
}
|
|
12408
|
+
/** @description Problems with the registered deployment that do not stop it, such as an access mode that does not work in this workspace. The CLI prints them. */
|
|
12409
|
+
readonly warnings?: readonly string[]
|
|
11486
12410
|
}
|
|
11487
12411
|
}
|
|
11488
12412
|
}
|
|
@@ -12175,6 +13099,15 @@ export interface operations {
|
|
|
12175
13099
|
readonly 'application/json': components['schemas']['UnauthorizedError']
|
|
12176
13100
|
}
|
|
12177
13101
|
}
|
|
13102
|
+
/** @description Forbidden! */
|
|
13103
|
+
readonly 403: {
|
|
13104
|
+
headers: {
|
|
13105
|
+
readonly [name: string]: unknown
|
|
13106
|
+
}
|
|
13107
|
+
content: {
|
|
13108
|
+
readonly 'application/json': components['schemas']['ForbiddenError']
|
|
13109
|
+
}
|
|
13110
|
+
}
|
|
12178
13111
|
/** @description An unexpected error occurred! */
|
|
12179
13112
|
readonly default: {
|
|
12180
13113
|
headers: {
|