@wix/auto_sdk_containers_projects 1.0.4 → 1.0.6
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/build/cjs/index.d.ts +54 -29
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +216 -180
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +112 -104
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +54 -29
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +216 -180
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +112 -104
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +83 -56
- package/build/internal/cjs/index.typings.d.ts +244 -206
- package/build/internal/cjs/meta.d.ts +113 -105
- package/build/internal/es/index.d.mts +83 -56
- package/build/internal/es/index.typings.d.mts +244 -206
- package/build/internal/es/meta.d.mts +113 -105
- package/package.json +2 -2
package/build/es/meta.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/containers-projects-v1-project-projects.http.ts","../../src/containers-projects-v1-project-projects.types.ts","../../src/containers-projects-v1-project-projects.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n];\nconst TRANSFORM_PATHS_1 = [{ path: 'fieldMask' }];\nconst TRANSFORM_PATHS_2 = [{ path: 'previewTokenExpiresAt' }];\nconst TRANSFORM_PATHS_3 = [\n { path: 'projects.createdDate' },\n { path: 'projects.updatedDate' },\n];\n\nfunction resolveWixContainersProjectsV1ContainersProjectsUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/containers-projects',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_containers_projects';\n\n/**\n * Creates a new Project from a template.\n * Looks up the template to find its backing source code, creates a dev-center app,\n * registers an AppProject, clones the template's git repository into a new\n * code-store project, and persists the Project.\n */\nexport function createProject(payload: object): RequestOptionsFactory<any> {\n function __createProject({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.CreateProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createProject;\n}\n\n/** Retrieves a Project by ID. */\nexport function getProject(payload: object): RequestOptionsFactory<any> {\n function __getProject({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'GET' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.GetProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProject;\n}\n\n/** Updates an existing Project. */\nexport function updateProject(payload: object): RequestOptionsFactory<any> {\n function __updateProject({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_1,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'PATCH' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.UpdateProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{project.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProject;\n}\n\n/** Deletes a Project. */\nexport function deleteProject(payload: object): RequestOptionsFactory<any> {\n function __deleteProject({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'DELETE' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.DeleteProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteProject;\n}\n\n/** Requests Project resume by starting or reusing its configured remote machine asynchronously. */\nexport function resumeProject(payload: object): RequestOptionsFactory<any> {\n function __resumeProject({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.ResumeProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/resume',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __resumeProject;\n}\n\n/**\n * Generates a candidate display name for a Project from a user instruction, via the published\n * \"Regenerate app name\" Prompt Hub prompt. The current name and the project's description are\n * resolved server-side; the caller supplies only the instruction. Does not persist the result —\n * the caller saves an accepted name with UpdateProject.\n */\nexport function regenerateProjectName(\n payload: object\n): RequestOptionsFactory<any> {\n function __regenerateProjectName({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'wix.containers.projects.v1.ContainersProjects.RegenerateProjectName',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/regenerate-name',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __regenerateProjectName;\n}\n\n/**\n * Generates a candidate icon for a Project from a user instruction. The current project name,\n * icon, app description, and brand colors are resolved server-side. Does not persist the result —\n * the caller saves an accepted icon with UpdateProject.\n */\nexport function regenerateProjectIcon(\n payload: object\n): RequestOptionsFactory<any> {\n function __regenerateProjectIcon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'wix.containers.projects.v1.ContainersProjects.RegenerateProjectIcon',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/regenerate-icon',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __regenerateProjectIcon;\n}\n\n/**\n * Persists a complete design-token document as a new Himalaya draft release, branched from the\n * release the client currently has displayed.\n *\n * Synchronous: the Himalaya write completes before this call returns. Never touches the project's\n * sandbox, runs a build, or activates the app — the saved release stays a draft, so what the live\n * app serves is unaffected. Persists no entity of its own. When `conversation_id` is supplied it\n * posts a CHECKPOINT message for the saved release into that conversation (best-effort — a chat\n * failure never fails the save); omit it to skip the checkpoint.\n */\nexport function saveProjectDesign(payload: object): RequestOptionsFactory<any> {\n function __saveProjectDesign({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'wix.containers.projects.v1.ContainersProjects.SaveProjectDesign',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/save-design',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_2,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __saveProjectDesign;\n}\n\n/**\n * Restores an earlier version by pointing the project's editable head at `release_id`: the client\n * then previews that release and the next edit (design save or AI edit) branches from it. Pure\n * project state — sets `head_release_id` and nothing in Himalaya: it does NOT activate the release,\n * so the live app end-users run is untouched (a later publish/build is what carries head live).\n *\n * `release_id` is a Himalaya release id the caller already holds from the project's own release\n * ledger, scoped to this project's app; the server stores it as head without re-reading Himalaya.\n * When `conversation_id` is supplied, a CHECKPOINT message for the restored release is posted into\n * it (best-effort — a chat failure never fails the restore); omit it to skip the checkpoint.\n */\nexport function restoreRelease(payload: object): RequestOptionsFactory<any> {\n function __restoreRelease({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.RestoreRelease',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/restore-release',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __restoreRelease;\n}\n\n/**\n * Lists the Projects of the current site — the MetaSite in the call scope — regardless of who owns\n * them. Anyone with access to the site sees the site's projects; other sites in the same account are\n * separate tenants and never appear here. The dashboard uses this; ListProjectsForCurrentUser stays\n * owner-scoped for callers that still depend on it.\n */\nexport function listProjects(payload: object): RequestOptionsFactory<any> {\n function __listProjects({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'GET' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.ListProjects',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listProjects;\n}\n\n/**\n * Repeats authenticated Himalaya authorization for the current collaborator. This response is\n * a capability check only; every worker/design mutation performs a fresh check.\n */\nexport function getHimalayaAuthorization(\n payload: object\n): RequestOptionsFactory<any> {\n function __getHimalayaAuthorization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'GET' as any,\n methodFqn:\n 'wix.containers.projects.v1.ContainersProjects.GetHimalayaAuthorization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/himalaya-authorization',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getHimalayaAuthorization;\n}\n","export interface Project {\n /**\n * Project ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Display name for the project.\n * @maxLength 200\n */\n name?: string;\n /** Current status of the project. */\n status?: ProjectStatusWithLiterals;\n /**\n * ID of the template used to create this project.\n * @format GUID\n * @immutable\n */\n templateId?: string | null;\n /**\n * ID of the git-code-store project (and backing dev-center app) for this project. Set on creation.\n * @format GUID\n * @readonly\n */\n codeStoreProjectId?: string | null;\n /**\n * The user id of the owner of this project\n * @format GUID\n * @readonly\n */\n ownerUserId?: string | null;\n /**\n * Revision number, which increments by 1 each time the Project is updated.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the Project was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the Project was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Transient lock marking that a sandbox is currently being created for this project.\n * Used to serialize concurrent dev-machine creation; liveness of the sandbox itself is resolved via ListSandboxes.\n * @readonly\n */\n sandboxStatus?: SandboxStatusWithLiterals;\n /**\n * Meta site IDs (MSIDs) of the Wix sites this project is related to.\n * Optional — a project is not required to be tied to a site; may relate to many sites.\n * Preserve the deployed input contract; see containers-projects/SDK_COMPATIBILITY.md.\n * @format GUID\n */\n metaSiteIds?: string[];\n /**\n * Platform this project targets (iOS/Android). Supplied by the client at creation; immutable after.\n * @immutable\n */\n platform?: PlatformWithLiterals;\n /**\n * Optional app icon URL supplied by the client from Wix Media Manager.\n * @maxLength 2000\n */\n appIconUrl?: string | null;\n /**\n * The Himalaya release the editor is currently on — the \"head\" the client previews and the next\n * edit (design save or AI edit) branches from. Server-managed: set to the new draft after each\n * edit, and to the chosen release by RestoreRelease. Unset means \"newest release by date\" (the\n * pre-head default), so existing projects keep working until their first edit/restore sets it.\n * Not a GUID — a Himalaya release id (e.g. `rel-<hash>` / `<sha>-<hash>`).\n * @maxLength 200\n * @readonly\n */\n headReleaseId?: string | null;\n}\n\nexport enum ProjectStatus {\n /** Project created; client (via containers-plans) is doing most of the work. */\n PLANNING = 'PLANNING',\n /** Generation job created; project moves onward to machine startup. */\n BUILDING = 'BUILDING',\n /** Plan finalized; project is about to create the initial generation job. */\n PLAN_READY = 'PLAN_READY',\n}\n\n/** @enumType */\nexport type ProjectStatusWithLiterals =\n | ProjectStatus\n | 'PLANNING'\n | 'BUILDING'\n | 'PLAN_READY';\n\nexport enum SandboxStatus {\n /** No sandbox creation in progress. */\n NONE = 'NONE',\n /** A caller is currently creating a sandbox for this project (creation lock held). */\n CREATING = 'CREATING',\n}\n\n/** @enumType */\nexport type SandboxStatusWithLiterals = SandboxStatus | 'NONE' | 'CREATING';\n\nexport enum Platform {\n IOS = 'IOS',\n ANDROID = 'ANDROID',\n /**\n * Himalaya Mobile (Wix SDUI/OTA content package): mobile apps built headlessly on the\n * on-demand remote machine via the himi CLI, instead of native iOS/Android pods.\n */\n HIMALAYA_MOBILE = 'HIMALAYA_MOBILE',\n}\n\n/** @enumType */\nexport type PlatformWithLiterals =\n | Platform\n | 'IOS'\n | 'ANDROID'\n | 'HIMALAYA_MOBILE';\n\nexport interface ProjectStartRequested {\n /**\n * ID of the Project to start.\n * @format GUID\n */\n projectId?: string;\n}\n\nexport interface ProjectResumeRequested {\n /**\n * ID of the Project to resume.\n * @format GUID\n */\n projectId?: string;\n}\n\n/**\n * Emitted when the project transitions PLANNING -> PLAN_READY (on plan finalization). The project\n * self-consumes this event to start the app generation: mint the agent session, attach it to the\n * finalized conversation, create the initial generation job, and move to BUILDING. The finalized\n * plan is read back from containers-plans by project id when the job is built.\n */\nexport interface ProjectPlanReady {\n /**\n * ID of the Project whose plan is ready.\n * @format GUID\n */\n projectId?: string;\n /**\n * ID of the conversation that led to this plan being finalized. The minted agent session id is\n * attached to this conversation so the build can --resume it. Propagated from PlanFinalized.\n * @format GUID\n */\n conversationId?: string;\n}\n\nexport interface CreateAgentSessionRequest {\n /**\n * ID of the Project to create an agent session for.\n * @format GUID\n */\n projectId?: string;\n}\n\nexport interface CreateAgentSessionResponse {\n /**\n * Agent session ID materialized for the Project.\n * @format GUID\n */\n agentSessionId?: string;\n}\n\nexport interface RefreshAgentSiteTokenRequest {\n /**\n * Exact project/job tuple whose initiating user's site token should be re-minted.\n * @format GUID\n */\n projectId?: string;\n /**\n * Job whose persisted initiating user and MetaSite provenance must be revalidated.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface RefreshAgentSiteTokenResponse {\n /**\n * A freshly minted site-scoped access token for the project owner. Sensitive credential material:\n * marked pii so the platform redacts it from request/response logging (never log it in app code either).\n * maxLength matches the sibling containers-project-versions token fields (4096) — ample for the\n * oauth2-ng user access token, and required by the string-validation standard.\n * @maxLength 4096\n */\n accessToken?: string;\n /** Seconds until the returned token expires, as reported by oauth2-ng. */\n expiresIn?: string;\n /** Version of the job-bound authorization response contract. */\n authorizationVersion?: number;\n /**\n * The project authorized by this refresh.\n * @format GUID\n */\n projectId?: string;\n /**\n * The job authorized by this refresh.\n * @format GUID\n */\n jobId?: string;\n /**\n * Trusted MetaSite captured when the job was created.\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Trusted dashboard USER captured when the job was created.\n * @format GUID\n */\n initiatingUserId?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\nexport interface CreateProjectRequest {\n /** Project to be created. */\n project: Project;\n}\n\nexport interface CreateProjectResponse {\n /** The created Project. */\n project?: Project;\n}\n\nexport interface GetProjectRequest {\n /**\n * ID of the Project to retrieve.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface GetProjectResponse {\n /** The requested Project. */\n project?: Project;\n}\n\nexport interface UpdateProjectRequest {\n /** Project to be updated, may be partial. */\n project: Project;\n /**\n * Set of fields to update.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdateProjectResponse {\n /** Updated Project. */\n project?: Project;\n}\n\nexport interface DeleteProjectRequest {\n /**\n * Id of the Project to delete.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface DeleteProjectResponse {}\n\nexport interface StartProjectRequest {\n /**\n * ID of the Project to start.\n * @format GUID\n */\n projectId?: string;\n}\n\nexport interface StartProjectResponse {\n /** The Project for which start was requested. */\n project?: Project;\n}\n\nexport interface ResumeProjectRequest {\n /**\n * ID of the Project to resume.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface ResumeProjectResponse {\n /** The Project for which resume was requested. */\n project?: Project;\n}\n\nexport interface RegenerateProjectNameRequest {\n /**\n * ID of the Project to generate a new name for.\n * @format GUID\n */\n projectId: string;\n /**\n * The user's free-text renaming instruction, passed to the name-generation prompt.\n * @maxLength 4000\n */\n prompt: string;\n}\n\nexport interface RegenerateProjectNameResponse {\n /**\n * The generated display name, at most 30 characters. Not persisted.\n * @maxLength 30\n */\n name?: string;\n}\n\nexport interface RegenerateProjectIconRequest {\n /**\n * ID of the Project to generate a new icon for.\n * @format GUID\n */\n projectId: string;\n /**\n * The user's free-text icon instruction, passed to the icon-generation prompt.\n * @maxLength 4000\n */\n prompt: string;\n}\n\nexport interface RegenerateProjectIconResponse {\n /**\n * The generated icon URL. Not persisted.\n * @format WEB_URL\n */\n iconUrl?: string;\n}\n\nexport interface ListProjectsForCurrentUserRequest {\n /** Cursor paging options. */\n paging?: CursorPaging;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface ListProjectsForCurrentUserResponse {\n /** Projects owned by the current user. */\n projects?: Project[];\n /** Paging metadata for cursor-based pagination. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface SaveProjectDesignRequest {\n /**\n * Project whose design is being saved. The caller must own it.\n * @format GUID\n */\n projectId: string;\n /**\n * The Himalaya release ID currently displayed by the client. The saved draft branches from\n * exactly this release, even when a newer release exists for the app.\n * @maxLength 100\n */\n baseReleaseId: string;\n /**\n * The complete edited design-token document, as a JSON object string — not a flattened set of\n * preview overrides. The caller is responsible for preserving unknown groups and light/dark\n * values it did not change.\n * @maxLength 65536\n */\n tokensJson: string;\n /**\n * Short-lived, app-scoped Himalaya control credential the client obtained from Himalaya's owner\n * embed-token endpoint. Forwarded to Himalaya for this call only — never logged, persisted, or\n * echoed back in any response, error, or event.\n *\n * The app this call writes to is NOT taken from this request. It is composed from the owner\n * prefix this credential carries plus project_id; see HimalayaAppSlug.\n * @maxLength 4096\n */\n himalayaControlToken: string;\n /**\n * Client assertion of the canonical app returned by authenticated Himalaya lookup. Catalyst\n * resolves and validates the same value; it is never used as an unchecked write target.\n * @maxLength 200\n */\n canonicalApp?: string;\n /**\n * Conversation this design is saved from. When set, a CHECKPOINT message marking the saved\n * version is posted into it (best-effort). Optional — an older client that omits it still saves\n * the design; it just produces no checkpoint. Verified to belong to this project server-side.\n *\n * Deliberately NOT (.wix.api.format) = GUID: posting the checkpoint is best-effort and must never\n * fail the save. A malformed/unexpected id is handled downstream (the ownership lookup rejects it\n * and the checkpoint is skipped) rather than hard-failing SaveProjectDesign at the request boundary.\n * @maxLength 100\n */\n conversationId?: string;\n}\n\nexport interface SaveProjectDesignResponse {\n /**\n * The saved draft release. Always a draft, so the app's live release is untouched.\n * @maxLength 100\n */\n himalayaReleaseId?: string;\n /**\n * Short-lived credential for previewing the saved draft release. Response-only: never persisted\n * or placed in a preview URL by this service.\n * @maxLength 4096\n */\n previewToken?: string;\n /** When preview_token expires. */\n previewTokenExpiresAt?: Date | null;\n}\n\nexport interface RestoreReleaseRequest {\n /**\n * Project whose head is being moved. The caller must own it.\n * @format GUID\n */\n projectId: string;\n /**\n * The Himalaya release to make the project's editable head. Not a GUID — a Himalaya release id\n * (e.g. `rel-<hash>` / `<sha>-<hash>`), taken from the project's own release ledger.\n * @maxLength 200\n */\n releaseId: string;\n /**\n * Short-lived, app-scoped Himalaya control credential (the same the client obtains from Himalaya's\n * owner embed-token endpoint and sends on SaveProjectDesign). When present, the server verifies\n * release_id belongs to this project's Himalaya app before moving head. Optional for back-compat:\n * an older client that omits it skips that check (the release still comes from the project's own\n * ledger). Forwarded to Himalaya for the ledger read only — never logged, persisted, or echoed.\n * @maxLength 4096\n */\n himalayaControlToken?: string;\n /**\n * Conversation this restore is made from. When set, a CHECKPOINT message marking the restored\n * version is posted into it (best-effort). Optional — a client that omits it still restores; it\n * just produces no checkpoint. Verified to belong to this project server-side.\n *\n * Deliberately NOT (.wix.api.format) = GUID: posting the checkpoint is best-effort and must never\n * fail the restore. A malformed id is handled downstream (the ownership lookup rejects it and the\n * checkpoint is skipped) rather than hard-failing RestoreRelease at the request boundary.\n * @maxLength 100\n */\n conversationId?: string;\n}\n\nexport interface RestoreReleaseResponse {\n /** The project after the restore, with head_release_id set to the restored release. */\n project?: Project;\n}\n\nexport interface ListProjectsRequest {\n /** Cursor paging options. */\n paging?: CursorPaging;\n}\n\nexport interface ListProjectsResponse {\n /** Projects in the current site. */\n projects?: Project[];\n /** Paging metadata for cursor-based pagination. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface GetHimalayaAuthorizationRequest {\n /**\n * Site-tenanted Containers project being authorized.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface GetHimalayaAuthorizationResponse {\n /** Version of the authorization capability contract. */\n authorizationVersion?: number;\n /**\n * Trusted MetaSite selected from request identity context.\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Site-tenanted Containers project authorized by the lookup.\n * @format GUID\n */\n projectId?: string;\n /**\n * Verified canonical Himalaya app slug.\n * @maxLength 200\n */\n canonicalApp?: string;\n /** Whether a fresh worker launch is currently authorized. */\n workerLaunch?: boolean;\n /** Whether a fresh design save is currently authorized. */\n saveDesign?: boolean;\n}\n","import * as ambassadorWixContainersProjectsV1Project from './containers-projects-v1-project-projects.http.js';\nimport * as ambassadorWixContainersProjectsV1ProjectTypes from './containers-projects-v1-project-projects.types.js';\nimport * as ambassadorWixContainersProjectsV1ProjectUniversalTypes from './containers-projects-v1-project-projects.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createProject(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.CreateProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.CreateProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.CreateProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.CreateProjectResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.createProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getProject(): __PublicMethodMetaInfo<\n 'GET',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.GetProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.GetProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.GetProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.GetProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.getProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/projects/{projectId}',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateProject(): __PublicMethodMetaInfo<\n 'PATCH',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.UpdateProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.UpdateProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.UpdateProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.UpdateProjectResponse\n> {\n const payload = { project: { id: ':projectId' } } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.updateProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/projects/{project.id}',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteProject(): __PublicMethodMetaInfo<\n 'DELETE',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.DeleteProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.DeleteProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.DeleteProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.DeleteProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.deleteProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/projects/{projectId}',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function resumeProject(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.ResumeProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.ResumeProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.ResumeProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.ResumeProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.resumeProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/resume',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function regenerateProjectName(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RegenerateProjectNameRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.RegenerateProjectNameRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RegenerateProjectNameResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.RegenerateProjectNameResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.regenerateProjectName(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/regenerate-name',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function regenerateProjectIcon(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RegenerateProjectIconRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.RegenerateProjectIconRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RegenerateProjectIconResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.RegenerateProjectIconResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.regenerateProjectIcon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/regenerate-icon',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function saveProjectDesign(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.SaveProjectDesignRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.SaveProjectDesignRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.SaveProjectDesignResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.SaveProjectDesignResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.saveProjectDesign(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/save-design',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function restoreRelease(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RestoreReleaseRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.RestoreReleaseRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RestoreReleaseResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.RestoreReleaseResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.restoreRelease(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/restore-release',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listProjects(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.ListProjectsRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.ListProjectsRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.ListProjectsResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.ListProjectsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.listProjects(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/projects',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getHimalayaAuthorization(): __PublicMethodMetaInfo<\n 'GET',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.GetHimalayaAuthorizationRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.GetHimalayaAuthorizationRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.GetHimalayaAuthorizationResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.GetHimalayaAuthorizationResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.getHimalayaAuthorization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/projects/{projectId}/himalaya-authorization',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Project as ProjectOriginal,\n ProjectStatus as ProjectStatusOriginal,\n ProjectStatusWithLiterals as ProjectStatusWithLiteralsOriginal,\n SandboxStatus as SandboxStatusOriginal,\n SandboxStatusWithLiterals as SandboxStatusWithLiteralsOriginal,\n Platform as PlatformOriginal,\n PlatformWithLiterals as PlatformWithLiteralsOriginal,\n ProjectStartRequested as ProjectStartRequestedOriginal,\n ProjectResumeRequested as ProjectResumeRequestedOriginal,\n ProjectPlanReady as ProjectPlanReadyOriginal,\n CreateAgentSessionRequest as CreateAgentSessionRequestOriginal,\n CreateAgentSessionResponse as CreateAgentSessionResponseOriginal,\n RefreshAgentSiteTokenRequest as RefreshAgentSiteTokenRequestOriginal,\n RefreshAgentSiteTokenResponse as RefreshAgentSiteTokenResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n CreateProjectRequest as CreateProjectRequestOriginal,\n CreateProjectResponse as CreateProjectResponseOriginal,\n GetProjectRequest as GetProjectRequestOriginal,\n GetProjectResponse as GetProjectResponseOriginal,\n UpdateProjectRequest as UpdateProjectRequestOriginal,\n UpdateProjectResponse as UpdateProjectResponseOriginal,\n DeleteProjectRequest as DeleteProjectRequestOriginal,\n DeleteProjectResponse as DeleteProjectResponseOriginal,\n StartProjectRequest as StartProjectRequestOriginal,\n StartProjectResponse as StartProjectResponseOriginal,\n ResumeProjectRequest as ResumeProjectRequestOriginal,\n ResumeProjectResponse as ResumeProjectResponseOriginal,\n RegenerateProjectNameRequest as RegenerateProjectNameRequestOriginal,\n RegenerateProjectNameResponse as RegenerateProjectNameResponseOriginal,\n RegenerateProjectIconRequest as RegenerateProjectIconRequestOriginal,\n RegenerateProjectIconResponse as RegenerateProjectIconResponseOriginal,\n ListProjectsForCurrentUserRequest as ListProjectsForCurrentUserRequestOriginal,\n CursorPaging as CursorPagingOriginal,\n ListProjectsForCurrentUserResponse as ListProjectsForCurrentUserResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n SaveProjectDesignRequest as SaveProjectDesignRequestOriginal,\n SaveProjectDesignResponse as SaveProjectDesignResponseOriginal,\n RestoreReleaseRequest as RestoreReleaseRequestOriginal,\n RestoreReleaseResponse as RestoreReleaseResponseOriginal,\n ListProjectsRequest as ListProjectsRequestOriginal,\n ListProjectsResponse as ListProjectsResponseOriginal,\n GetHimalayaAuthorizationRequest as GetHimalayaAuthorizationRequestOriginal,\n GetHimalayaAuthorizationResponse as GetHimalayaAuthorizationResponseOriginal,\n} from './containers-projects-v1-project-projects.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,sBAAsB;AAAA,EAC9B,EAAE,MAAM,sBAAsB;AAChC;AACA,IAAM,oBAAoB,CAAC,EAAE,MAAM,YAAY,CAAC;AAChD,IAAM,oBAAoB,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAC5D,IAAM,oBAAoB;AAAA,EACxB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AM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,WAAW,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","ProjectStatus","SandboxStatus","Platform","WebhookIdentityType","createProject","getProject","updateProject","deleteProject","resumeProject","regenerateProjectName","regenerateProjectIcon","saveProjectDesign","restoreRelease","listProjects","getHimalayaAuthorization"]}
|
|
1
|
+
{"version":3,"sources":["../../src/containers-projects-v1-project-projects.http.ts","../../src/containers-projects-v1-project-projects.types.ts","../../src/containers-projects-v1-project-projects.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n];\nconst TRANSFORM_PATHS_1 = [{ path: 'fieldMask' }];\nconst TRANSFORM_PATHS_2 = [{ path: 'previewTokenExpiresAt' }];\nconst TRANSFORM_PATHS_3 = [\n { path: 'projects.createdDate' },\n { path: 'projects.updatedDate' },\n];\n\nfunction resolveWixContainersProjectsV1ContainersProjectsUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/containers-projects',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_containers_projects';\n\n/**\n * Creates a project from a template.\n *\n * The project is created with `PLANNING` status.\n */\nexport function createProject(payload: object): RequestOptionsFactory<any> {\n function __createProject({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.CreateProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createProject;\n}\n\n/** Retrieves a project. */\nexport function getProject(payload: object): RequestOptionsFactory<any> {\n function __getProject({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'GET' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.GetProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProject;\n}\n\n/**\n * Updates a project.\n *\n * Each time the project is updated, `revision` increments by 1. The current `revision` must be\n * passed when updating the project. This ensures you're working with the latest project and\n * prevents unintended overwrites.\n */\nexport function updateProject(payload: object): RequestOptionsFactory<any> {\n function __updateProject({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_1,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'PATCH' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.UpdateProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{project.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProject;\n}\n\n/** Deletes a project. */\nexport function deleteProject(payload: object): RequestOptionsFactory<any> {\n function __deleteProject({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'DELETE' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.DeleteProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteProject;\n}\n\n/**\n * Resumes work on a project by starting its remote development environment, or by reusing an\n * environment that's already running.\n *\n * Call this method when a user returns to a project with `BUILDING` status, before they send new\n * requests to the coding agent. The environment starts in the background, and the method returns\n * the project without waiting for it. The API doesn't report when the environment is ready. The\n * coding agent picks up new work as soon as it is.\n *\n * The project's `status` must be `BUILDING`.\n */\nexport function resumeProject(payload: object): RequestOptionsFactory<any> {\n function __resumeProject({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.ResumeProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/resume',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __resumeProject;\n}\n\n/**\n * Generates a suggested name for a project, based on the user's instruction.\n *\n * The suggested name isn't saved. To save it, call Update Project.\n */\nexport function regenerateProjectName(\n payload: object\n): RequestOptionsFactory<any> {\n function __regenerateProjectName({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'wix.containers.projects.v1.ContainersProjects.RegenerateProjectName',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/regenerate-name',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __regenerateProjectName;\n}\n\n/**\n * Generates a suggested icon for a project, based on the user's instruction.\n *\n * The icon is based on the project's current name, icon, description, and brand colors. The\n * suggested icon isn't saved. To save it, call Update Project.\n */\nexport function regenerateProjectIcon(\n payload: object\n): RequestOptionsFactory<any> {\n function __regenerateProjectIcon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'wix.containers.projects.v1.ContainersProjects.RegenerateProjectIcon',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/regenerate-icon',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __regenerateProjectIcon;\n}\n\n/**\n * Saves a project's design as a new draft release.\n *\n * Specify the complete design-token document in `tokensJson`, and the release that the user is\n * currently viewing in `baseReleaseId`. The new draft release branches from `baseReleaseId`, even\n * if a newer release exists. Saving a design doesn't change the project's live app.\n *\n * The response includes the ID of the new release and a short-lived token for previewing it. After\n * the save, the project's `headReleaseId` is set to the new release.\n *\n * To record the saved version in a conversation, specify the conversation's ID in `conversationId`.\n * A `CHECKPOINT` message is then added to the conversation. If the checkpoint can't be added, the\n * design is still saved.\n *\n * For projects whose `platform` is `HIMALAYA_MOBILE`, call\n * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)\n * first, and specify the returned `canonicalApp`.\n */\nexport function saveProjectDesign(payload: object): RequestOptionsFactory<any> {\n function __saveProjectDesign({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'wix.containers.projects.v1.ContainersProjects.SaveProjectDesign',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/save-design',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_2,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __saveProjectDesign;\n}\n\n/**\n * Restores an earlier version of a project.\n *\n * Sets the project's `headReleaseId` to the release specified in `releaseId`. Your app then\n * previews that release, and the next design save or edit by the coding agent branches from it.\n * Restoring a release doesn't change the project's live app.\n *\n * Only the project's owner can restore a release.\n *\n * To confirm that the release belongs to the project before it's restored, specify\n * `himalayaControlToken`. To record the restored version in a conversation, specify the\n * conversation's ID in `conversationId`. A `CHECKPOINT` message is then added to the conversation.\n * If the checkpoint can't be added, the release is still restored.\n */\nexport function restoreRelease(payload: object): RequestOptionsFactory<any> {\n function __restoreRelease({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'POST' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.RestoreRelease',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/restore-release',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __restoreRelease;\n}\n\n/**\n * Retrieves the projects of the current site, regardless of who created them.\n *\n * Projects of other sites in the same account aren't included.\n */\nexport function listProjects(payload: object): RequestOptionsFactory<any> {\n function __listProjects({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'GET' as any,\n methodFqn: 'wix.containers.projects.v1.ContainersProjects.ListProjects',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listProjects;\n}\n\n/**\n * Checks whether the current user can work on a project's app.\n *\n * Supported for projects whose `platform` is `HIMALAYA_MOBILE`. The response returns the canonical\n * slug of the project's app in `canonicalApp`. Specify this value when you call\n * [Save Project Design](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/save-project-design).\n *\n * The response is a check only and doesn't grant access. Each later change to the project is\n * authorized again.\n */\nexport function getHimalayaAuthorization(\n payload: object\n): RequestOptionsFactory<any> {\n function __getHimalayaAuthorization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.containers.projects.v1.project',\n method: 'GET' as any,\n methodFqn:\n 'wix.containers.projects.v1.ContainersProjects.GetHimalayaAuthorization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixContainersProjectsV1ContainersProjectsUrl({\n protoPath: '/v1/projects/{projectId}/himalaya-authorization',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getHimalayaAuthorization;\n}\n","/**\n * A project represents an app that a user builds with the Wix AI coding agent.\n * A project belongs to the Wix site it's created on. The user's chat with the coding agent about a\n * project is held in [conversations](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-chat/introduction).\n */\nexport interface Project {\n /**\n * Project ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Project name, shown to the user.\n * @maxLength 200\n */\n name?: string;\n /** Project status. */\n status?: ProjectStatusWithLiterals;\n /**\n * ID of the template that the project was created from.\n * @format GUID\n * @immutable\n */\n templateId?: string | null;\n /**\n * ID of the project's source code project. Set automatically when the project is created.\n * @format GUID\n * @readonly\n */\n codeStoreProjectId?: string | null;\n /**\n * ID of the user who created the project.\n * @format GUID\n * @readonly\n */\n ownerUserId?: string | null;\n /**\n * Revision number, which increments by 1 each time the project is updated.\n * To prevent conflicting changes,\n * the current revision must be passed when updating the project.\n *\n * Ignored when creating a project.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the project was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the project was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Whether a remote development environment is being created for the project.\n * @readonly\n */\n sandboxStatus?: SandboxStatusWithLiterals;\n /**\n * IDs of the Wix sites that the project relates to.\n *\n * A project can relate to any number of sites, including none.\n * @format GUID\n */\n metaSiteIds?: string[];\n /**\n * Platform that the project's app targets. Set when the project is created and can't be changed.\n * @immutable\n */\n platform?: PlatformWithLiterals;\n /**\n * URL of the app's icon.\n * @maxLength 2000\n */\n appIconUrl?: string | null;\n /**\n * ID of the release that the project is currently on.\n *\n * Your app previews this release, and the next design save or edit by the coding agent branches\n * from it. Set automatically after each design save or edit, and by\n * [Restore Release](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/restore-release).\n * When empty, the project is on its newest release.\n * @maxLength 200\n * @readonly\n */\n headReleaseId?: string | null;\n}\n\n/**\n * Project status. The status changes in one direction only: `PLANNING`, then `PLAN_READY`, then\n * `BUILDING`.\n */\nexport enum ProjectStatus {\n /** The user and the coding agent are planning the app. New projects start with this status. */\n PLANNING = 'PLANNING',\n /** The coding agent is building the app, or has built it. The user can continue to request changes. */\n BUILDING = 'BUILDING',\n /** The plan is finalized, and the first build of the app is about to start. */\n PLAN_READY = 'PLAN_READY',\n}\n\n/** @enumType */\nexport type ProjectStatusWithLiterals =\n | ProjectStatus\n | 'PLANNING'\n | 'BUILDING'\n | 'PLAN_READY';\n\nexport enum SandboxStatus {\n /** No remote development environment is being created. */\n NONE = 'NONE',\n /** A remote development environment is being created. */\n CREATING = 'CREATING',\n}\n\n/** @enumType */\nexport type SandboxStatusWithLiterals = SandboxStatus | 'NONE' | 'CREATING';\n\nexport enum Platform {\n /** Native iOS app. Used by older projects. */\n IOS = 'IOS',\n /** Native Android app. Used by older projects. */\n ANDROID = 'ANDROID',\n /**\n * Mobile app built from content that's updated over the air, instead of native iOS or Android\n * code. Most new projects use this platform.\n */\n HIMALAYA_MOBILE = 'HIMALAYA_MOBILE',\n}\n\n/** @enumType */\nexport type PlatformWithLiterals =\n | Platform\n | 'IOS'\n | 'ANDROID'\n | 'HIMALAYA_MOBILE';\n\n/** Details of a request to start a project's remote development environment. */\nexport interface ProjectStartRequested {\n /**\n * ID of the project to start.\n * @format GUID\n */\n projectId?: string;\n}\n\n/** Details of a request to resume a project. */\nexport interface ProjectResumeRequested {\n /**\n * ID of the project to resume.\n * @format GUID\n */\n projectId?: string;\n}\n\n/** Details of a project whose plan is finalized. */\nexport interface ProjectPlanReady {\n /**\n * ID of the project whose plan is finalized.\n * @format GUID\n */\n projectId?: string;\n /**\n * ID of the conversation in which the plan was finalized. The coding agent continues the build in\n * this conversation.\n * @format GUID\n */\n conversationId?: string;\n}\n\nexport interface CreateAgentSessionRequest {\n /**\n * ID of the Project to create an agent session for.\n * @format GUID\n */\n projectId?: string;\n}\n\nexport interface CreateAgentSessionResponse {\n /**\n * Agent session ID materialized for the Project.\n * @format GUID\n */\n agentSessionId?: string;\n}\n\nexport interface RefreshAgentSiteTokenRequest {\n /**\n * Exact project/job tuple whose initiating user's site token should be re-minted.\n * @format GUID\n */\n projectId?: string;\n /**\n * Job whose persisted initiating user and MetaSite provenance must be revalidated.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface RefreshAgentSiteTokenResponse {\n /**\n * A freshly minted site-scoped access token for the project owner. Sensitive credential material:\n * marked pii so the platform redacts it from request/response logging (never log it in app code either).\n * maxLength matches the sibling containers-project-versions token fields (4096) — ample for the\n * oauth2-ng user access token, and required by the string-validation standard.\n * @maxLength 4096\n */\n accessToken?: string;\n /** Seconds until the returned token expires, as reported by oauth2-ng. */\n expiresIn?: string;\n /** Version of the job-bound authorization response contract. */\n authorizationVersion?: number;\n /**\n * The project authorized by this refresh.\n * @format GUID\n */\n projectId?: string;\n /**\n * The job authorized by this refresh.\n * @format GUID\n */\n jobId?: string;\n /**\n * Trusted MetaSite captured when the job was created.\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Trusted dashboard USER captured when the job was created.\n * @format GUID\n */\n initiatingUserId?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\nexport interface CreateProjectRequest {\n /** Project to create. */\n project: Project;\n}\n\nexport interface CreateProjectResponse {\n /** Created project. */\n project?: Project;\n}\n\nexport interface GetProjectRequest {\n /**\n * ID of the project to retrieve.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface GetProjectResponse {\n /** Retrieved project. */\n project?: Project;\n}\n\nexport interface UpdateProjectRequest {\n /** Project to update. */\n project: Project;\n /**\n * Set of fields to update. Fields not in the mask are ignored.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdateProjectResponse {\n /** Updated project. */\n project?: Project;\n}\n\nexport interface DeleteProjectRequest {\n /**\n * ID of the project to delete.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface DeleteProjectResponse {}\n\nexport interface StartProjectRequest {\n /**\n * ID of the project to start.\n * @format GUID\n */\n projectId?: string;\n}\n\nexport interface StartProjectResponse {\n /** Project whose environment is starting. */\n project?: Project;\n}\n\nexport interface ResumeProjectRequest {\n /**\n * ID of the project to resume.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface ResumeProjectResponse {\n /** Resumed project. The project is returned unchanged; its environment starts in the background. */\n project?: Project;\n}\n\nexport interface RegenerateProjectNameRequest {\n /**\n * ID of the project to generate a name for.\n * @format GUID\n */\n projectId: string;\n /**\n * User's instruction for the new name. For example, `Make it shorter and more playful`.\n * @maxLength 4000\n */\n prompt: string;\n}\n\nexport interface RegenerateProjectNameResponse {\n /**\n * Suggested project name. Not saved.\n * @maxLength 30\n */\n name?: string;\n}\n\nexport interface RegenerateProjectIconRequest {\n /**\n * ID of the project to generate an icon for.\n * @format GUID\n */\n projectId: string;\n /**\n * User's instruction for the new icon. For example, `Use a minimal coffee cup`.\n * @maxLength 4000\n */\n prompt: string;\n}\n\nexport interface RegenerateProjectIconResponse {\n /**\n * URL of the suggested icon. Not saved.\n * @format WEB_URL\n */\n iconUrl?: string;\n}\n\nexport interface ListProjectsForCurrentUserRequest {\n /** Cursor paging options. */\n paging?: CursorPaging;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface ListProjectsForCurrentUserResponse {\n /** Projects that the current user owns. */\n projects?: Project[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface SaveProjectDesignRequest {\n /**\n * ID of the project whose design to save.\n * @format GUID\n */\n projectId: string;\n /**\n * ID of the release that the user is currently viewing.\n *\n * The new draft release branches from this release, even if a newer release exists.\n * @maxLength 100\n */\n baseReleaseId: string;\n /**\n * Complete design-token document, as a string that contains a single JSON object.\n *\n * Specify the whole document, not only the values that changed. Keep any token groups and light or\n * dark mode values that you didn't change.\n * @maxLength 65536\n */\n tokensJson: string;\n /**\n * Short-lived control credential for the project's app releases.\n *\n * Used for this call only. It isn't stored or returned.\n * @maxLength 4096\n */\n himalayaControlToken: string;\n /**\n * Canonical slug of the project's app, exactly as returned in `canonicalApp` by\n * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization).\n * This isn't the app's ID.\n *\n * Required when the project's `platform` is `HIMALAYA_MOBILE`. The value is verified on the server.\n * @maxLength 200\n */\n canonicalApp?: string;\n /**\n * ID of the [conversation](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-chat/introduction) that the design is saved from.\n *\n * When specified, a `CHECKPOINT` message that marks the saved version is added to the conversation.\n * The conversation must belong to the project.\n * @maxLength 100\n */\n conversationId?: string;\n}\n\nexport interface SaveProjectDesignResponse {\n /**\n * ID of the saved draft release.\n * @maxLength 100\n */\n himalayaReleaseId?: string;\n /**\n * Short-lived token for previewing the saved draft release.\n * @maxLength 4096\n */\n previewToken?: string;\n /** Date and time the preview token expires. */\n previewTokenExpiresAt?: Date | null;\n}\n\nexport interface RestoreReleaseRequest {\n /**\n * ID of the project to restore a release for.\n * @format GUID\n */\n projectId: string;\n /**\n * ID of the release to restore. For example, `rel-4f9c2a1b7d3e`.\n * @maxLength 200\n */\n releaseId: string;\n /**\n * Short-lived control credential for the project's app releases.\n *\n * When specified, the release is checked to belong to the project before it's restored. Used for\n * this call only. It isn't stored or returned.\n * @maxLength 4096\n */\n himalayaControlToken?: string;\n /**\n * ID of the [conversation](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-chat/introduction) that the release is restored from.\n *\n * When specified, a `CHECKPOINT` message that marks the restored version is added to the\n * conversation. The conversation must belong to the project.\n * @maxLength 100\n */\n conversationId?: string;\n}\n\nexport interface RestoreReleaseResponse {\n /** Updated project. `headReleaseId` is set to the restored release. */\n project?: Project;\n}\n\nexport interface ListProjectsRequest {\n /** Cursor paging options. */\n paging?: CursorPaging;\n}\n\nexport interface ListProjectsResponse {\n /** Projects of the current site. */\n projects?: Project[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface GetHimalayaAuthorizationRequest {\n /**\n * ID of the project to check.\n * @format GUID\n */\n projectId: string;\n}\n\nexport interface GetHimalayaAuthorizationResponse {\n /** Version of the response format. Currently always `1`. */\n authorizationVersion?: number;\n /**\n * ID of the Wix site that the check was made for.\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Project ID.\n * @format GUID\n */\n projectId?: string;\n /**\n * Canonical slug of the project's app.\n *\n * Specify this value in `canonicalApp` when you call\n * [Save Project Design](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/save-project-design).\n * @maxLength 200\n */\n canonicalApp?: string;\n /** Whether the current user can start new work by the coding agent on the project. */\n workerLaunch?: boolean;\n /** Whether the current user can save the project's design. */\n saveDesign?: boolean;\n}\n","import * as ambassadorWixContainersProjectsV1Project from './containers-projects-v1-project-projects.http.js';\nimport * as ambassadorWixContainersProjectsV1ProjectTypes from './containers-projects-v1-project-projects.types.js';\nimport * as ambassadorWixContainersProjectsV1ProjectUniversalTypes from './containers-projects-v1-project-projects.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createProject(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.CreateProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.CreateProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.CreateProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.CreateProjectResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.createProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getProject(): __PublicMethodMetaInfo<\n 'GET',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.GetProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.GetProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.GetProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.GetProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.getProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/projects/{projectId}',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateProject(): __PublicMethodMetaInfo<\n 'PATCH',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.UpdateProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.UpdateProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.UpdateProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.UpdateProjectResponse\n> {\n const payload = { project: { id: ':projectId' } } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.updateProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/projects/{project.id}',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteProject(): __PublicMethodMetaInfo<\n 'DELETE',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.DeleteProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.DeleteProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.DeleteProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.DeleteProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.deleteProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/projects/{projectId}',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function resumeProject(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.ResumeProjectRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.ResumeProjectRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.ResumeProjectResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.ResumeProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.resumeProject(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/resume',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function regenerateProjectName(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RegenerateProjectNameRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.RegenerateProjectNameRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RegenerateProjectNameResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.RegenerateProjectNameResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.regenerateProjectName(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/regenerate-name',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function regenerateProjectIcon(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RegenerateProjectIconRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.RegenerateProjectIconRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RegenerateProjectIconResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.RegenerateProjectIconResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.regenerateProjectIcon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/regenerate-icon',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function saveProjectDesign(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.SaveProjectDesignRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.SaveProjectDesignRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.SaveProjectDesignResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.SaveProjectDesignResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.saveProjectDesign(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/save-design',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function restoreRelease(): __PublicMethodMetaInfo<\n 'POST',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RestoreReleaseRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.RestoreReleaseRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.RestoreReleaseResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.RestoreReleaseResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.restoreRelease(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/projects/{projectId}/restore-release',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listProjects(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.ListProjectsRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.ListProjectsRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.ListProjectsResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.ListProjectsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.listProjects(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/projects',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getHimalayaAuthorization(): __PublicMethodMetaInfo<\n 'GET',\n { projectId: string },\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.GetHimalayaAuthorizationRequest,\n ambassadorWixContainersProjectsV1ProjectTypes.GetHimalayaAuthorizationRequest,\n ambassadorWixContainersProjectsV1ProjectUniversalTypes.GetHimalayaAuthorizationResponse,\n ambassadorWixContainersProjectsV1ProjectTypes.GetHimalayaAuthorizationResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixContainersProjectsV1Project.getHimalayaAuthorization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/projects/{projectId}/himalaya-authorization',\n pathParams: { projectId: 'projectId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Project as ProjectOriginal,\n ProjectStatus as ProjectStatusOriginal,\n ProjectStatusWithLiterals as ProjectStatusWithLiteralsOriginal,\n SandboxStatus as SandboxStatusOriginal,\n SandboxStatusWithLiterals as SandboxStatusWithLiteralsOriginal,\n Platform as PlatformOriginal,\n PlatformWithLiterals as PlatformWithLiteralsOriginal,\n ProjectStartRequested as ProjectStartRequestedOriginal,\n ProjectResumeRequested as ProjectResumeRequestedOriginal,\n ProjectPlanReady as ProjectPlanReadyOriginal,\n CreateAgentSessionRequest as CreateAgentSessionRequestOriginal,\n CreateAgentSessionResponse as CreateAgentSessionResponseOriginal,\n RefreshAgentSiteTokenRequest as RefreshAgentSiteTokenRequestOriginal,\n RefreshAgentSiteTokenResponse as RefreshAgentSiteTokenResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n CreateProjectRequest as CreateProjectRequestOriginal,\n CreateProjectResponse as CreateProjectResponseOriginal,\n GetProjectRequest as GetProjectRequestOriginal,\n GetProjectResponse as GetProjectResponseOriginal,\n UpdateProjectRequest as UpdateProjectRequestOriginal,\n UpdateProjectResponse as UpdateProjectResponseOriginal,\n DeleteProjectRequest as DeleteProjectRequestOriginal,\n DeleteProjectResponse as DeleteProjectResponseOriginal,\n StartProjectRequest as StartProjectRequestOriginal,\n StartProjectResponse as StartProjectResponseOriginal,\n ResumeProjectRequest as ResumeProjectRequestOriginal,\n ResumeProjectResponse as ResumeProjectResponseOriginal,\n RegenerateProjectNameRequest as RegenerateProjectNameRequestOriginal,\n RegenerateProjectNameResponse as RegenerateProjectNameResponseOriginal,\n RegenerateProjectIconRequest as RegenerateProjectIconRequestOriginal,\n RegenerateProjectIconResponse as RegenerateProjectIconResponseOriginal,\n ListProjectsForCurrentUserRequest as ListProjectsForCurrentUserRequestOriginal,\n CursorPaging as CursorPagingOriginal,\n ListProjectsForCurrentUserResponse as ListProjectsForCurrentUserResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n SaveProjectDesignRequest as SaveProjectDesignRequestOriginal,\n SaveProjectDesignResponse as SaveProjectDesignResponseOriginal,\n RestoreReleaseRequest as RestoreReleaseRequestOriginal,\n RestoreReleaseResponse as RestoreReleaseResponseOriginal,\n ListProjectsRequest as ListProjectsRequestOriginal,\n ListProjectsResponse as ListProjectsResponseOriginal,\n GetHimalayaAuthorizationRequest as GetHimalayaAuthorizationRequestOriginal,\n GetHimalayaAuthorizationResponse as GetHimalayaAuthorizationResponseOriginal,\n} from './containers-projects-v1-project-projects.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,sBAAsB;AAAA,EAC9B,EAAE,MAAM,sBAAsB;AAChC;AACA,IAAM,oBAAoB,CAAC,EAAE,MAAM,YAAY,CAAC;AAChD,IAAM,oBAAoB,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAC5D,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,uBAAuB;AAAA,EAC/B,EAAE,MAAM,uBAAuB;AACjC;AAEA,SAAS,oDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAOd,SAAS,cAAc,SAA6C;AACzE,WAAS,gBAAgB,EAAE,KAAK,GAAQ;AACtC,UAAM,iBAAiB,eAAe,SAAS;AAAA,MAC7C;AAAA,QACE,aAAa;AA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WAAW,aAAa;AAE1C,QAAM,oBACqC,eAAe,OAAO;AAEjE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,WAAW,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACqC,aAAa,OAAO;AAE/D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,4BAOd;AACA,QAAM,UAAU,EAAE,WAAW,aAAa;AAE1C,QAAM,oBACqC,yBAAyB,OAAO;AAE3E,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,WAAW,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","ProjectStatus","SandboxStatus","Platform","WebhookIdentityType","createProject","getProject","updateProject","deleteProject","resumeProject","regenerateProjectName","regenerateProjectIcon","saveProjectDesign","restoreRelease","listProjects","getHimalayaAuthorization"]}
|
|
@@ -6,21 +6,20 @@ export { AccountInfo, ActionEvent, CreateAgentSessionRequest, CreateAgentSession
|
|
|
6
6
|
declare function createProject$1(httpClient: HttpClient): CreateProjectSignature;
|
|
7
7
|
interface CreateProjectSignature {
|
|
8
8
|
/**
|
|
9
|
-
* Creates a
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @
|
|
14
|
-
* @returns The created Project.
|
|
9
|
+
* Creates a project from a template.
|
|
10
|
+
*
|
|
11
|
+
* The project is created with `PLANNING` status.
|
|
12
|
+
* @param - Project to create.
|
|
13
|
+
* @returns Created project.
|
|
15
14
|
*/
|
|
16
15
|
(project: NonNullablePaths<Project, `platform` | `templateId`, 0>): Promise<NonNullablePaths<Project, `name` | `status` | `sandboxStatus` | `metaSiteIds` | `platform`, 0>>;
|
|
17
16
|
}
|
|
18
17
|
declare function getProject$1(httpClient: HttpClient): GetProjectSignature;
|
|
19
18
|
interface GetProjectSignature {
|
|
20
19
|
/**
|
|
21
|
-
* Retrieves a
|
|
22
|
-
* @param - ID of the
|
|
23
|
-
* @returns
|
|
20
|
+
* Retrieves a project.
|
|
21
|
+
* @param - ID of the project to retrieve.
|
|
22
|
+
* @returns Retrieved project.
|
|
24
23
|
*/
|
|
25
24
|
(projectId: string): Promise<NonNullablePaths<Project, `name` | `status` | `sandboxStatus` | `metaSiteIds` | `platform`, 0>>;
|
|
26
25
|
}
|
|
@@ -28,9 +27,13 @@ interface GetProjectSignature {
|
|
|
28
27
|
declare function updateProject$1(httpClient: HttpClient): UpdateProjectSignature;
|
|
29
28
|
interface UpdateProjectSignature {
|
|
30
29
|
/**
|
|
31
|
-
* Updates
|
|
30
|
+
* Updates a project.
|
|
31
|
+
*
|
|
32
|
+
* Each time the project is updated, `revision` increments by 1. The current `revision` must be
|
|
33
|
+
* passed when updating the project. This ensures you're working with the latest project and
|
|
34
|
+
* prevents unintended overwrites.
|
|
32
35
|
* @param - Project ID.
|
|
33
|
-
* @returns Updated
|
|
36
|
+
* @returns Updated project.
|
|
34
37
|
*/
|
|
35
38
|
(_id: string, project: NonNullablePaths<UpdateProject, `revision`, 0>): Promise<NonNullablePaths<Project, `name` | `status` | `sandboxStatus` | `metaSiteIds` | `platform`, 0>>;
|
|
36
39
|
}
|
|
@@ -38,16 +41,24 @@ interface UpdateProjectSignature {
|
|
|
38
41
|
declare function deleteProject$1(httpClient: HttpClient): DeleteProjectSignature;
|
|
39
42
|
interface DeleteProjectSignature {
|
|
40
43
|
/**
|
|
41
|
-
* Deletes a
|
|
42
|
-
* @param -
|
|
44
|
+
* Deletes a project.
|
|
45
|
+
* @param - ID of the project to delete.
|
|
43
46
|
*/
|
|
44
47
|
(projectId: string): Promise<void>;
|
|
45
48
|
}
|
|
46
49
|
declare function resumeProject$1(httpClient: HttpClient): ResumeProjectSignature;
|
|
47
50
|
interface ResumeProjectSignature {
|
|
48
51
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
52
|
+
* Resumes work on a project by starting its remote development environment, or by reusing an
|
|
53
|
+
* environment that's already running.
|
|
54
|
+
*
|
|
55
|
+
* Call this method when a user returns to a project with `BUILDING` status, before they send new
|
|
56
|
+
* requests to the coding agent. The environment starts in the background, and the method returns
|
|
57
|
+
* the project without waiting for it. The API doesn't report when the environment is ready. The
|
|
58
|
+
* coding agent picks up new work as soon as it is.
|
|
59
|
+
*
|
|
60
|
+
* The project's `status` must be `BUILDING`.
|
|
61
|
+
* @param - ID of the project to resume.
|
|
51
62
|
*/
|
|
52
63
|
(projectId: string): Promise<NonNullablePaths<ResumeProjectResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform`, 1>>;
|
|
53
64
|
}
|
|
@@ -55,12 +66,11 @@ interface ResumeProjectSignature {
|
|
|
55
66
|
declare function regenerateProjectName$1(httpClient: HttpClient): RegenerateProjectNameSignature;
|
|
56
67
|
interface RegenerateProjectNameSignature {
|
|
57
68
|
/**
|
|
58
|
-
* Generates a
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* the
|
|
62
|
-
* @param -
|
|
63
|
-
* @param - The user's free-text renaming instruction, passed to the name-generation prompt.
|
|
69
|
+
* Generates a suggested name for a project, based on the user's instruction.
|
|
70
|
+
*
|
|
71
|
+
* The suggested name isn't saved. To save it, call Update Project.
|
|
72
|
+
* @param - ID of the project to generate a name for.
|
|
73
|
+
* @param - User's instruction for the new name. For example, `Make it shorter and more playful`.
|
|
64
74
|
*/
|
|
65
75
|
(projectId: string, prompt: string): Promise<NonNullablePaths<RegenerateProjectNameResponse, `name`, 0>>;
|
|
66
76
|
}
|
|
@@ -68,46 +78,58 @@ interface RegenerateProjectNameSignature {
|
|
|
68
78
|
declare function regenerateProjectIcon$1(httpClient: HttpClient): RegenerateProjectIconSignature;
|
|
69
79
|
interface RegenerateProjectIconSignature {
|
|
70
80
|
/**
|
|
71
|
-
* Generates a
|
|
72
|
-
*
|
|
73
|
-
* the
|
|
74
|
-
*
|
|
75
|
-
* @param -
|
|
81
|
+
* Generates a suggested icon for a project, based on the user's instruction.
|
|
82
|
+
*
|
|
83
|
+
* The icon is based on the project's current name, icon, description, and brand colors. The
|
|
84
|
+
* suggested icon isn't saved. To save it, call Update Project.
|
|
85
|
+
* @param - ID of the project to generate an icon for.
|
|
86
|
+
* @param - User's instruction for the new icon. For example, `Use a minimal coffee cup`.
|
|
76
87
|
*/
|
|
77
88
|
(projectId: string, prompt: string): Promise<NonNullablePaths<RegenerateProjectIconResponse, `iconUrl`, 0>>;
|
|
78
89
|
}
|
|
79
90
|
declare function saveProjectDesign$1(httpClient: HttpClient): SaveProjectDesignSignature;
|
|
80
91
|
interface SaveProjectDesignSignature {
|
|
81
92
|
/**
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
+
* Saves a project's design as a new draft release.
|
|
94
|
+
*
|
|
95
|
+
* Specify the complete design-token document in `tokensJson`, and the release that the user is
|
|
96
|
+
* currently viewing in `baseReleaseId`. The new draft release branches from `baseReleaseId`, even
|
|
97
|
+
* if a newer release exists. Saving a design doesn't change the project's live app.
|
|
98
|
+
*
|
|
99
|
+
* The response includes the ID of the new release and a short-lived token for previewing it. After
|
|
100
|
+
* the save, the project's `headReleaseId` is set to the new release.
|
|
101
|
+
*
|
|
102
|
+
* To record the saved version in a conversation, specify the conversation's ID in `conversationId`.
|
|
103
|
+
* A `CHECKPOINT` message is then added to the conversation. If the checkpoint can't be added, the
|
|
104
|
+
* design is still saved.
|
|
105
|
+
*
|
|
106
|
+
* For projects whose `platform` is `HIMALAYA_MOBILE`, call
|
|
107
|
+
* [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
|
|
108
|
+
* first, and specify the returned `canonicalApp`.
|
|
109
|
+
* @param - ID of the project whose design to save.
|
|
110
|
+
* @param - ID of the release that the user is currently viewing.
|
|
111
|
+
*
|
|
112
|
+
* The new draft release branches from this release, even if a newer release exists.
|
|
93
113
|
*/
|
|
94
114
|
(projectId: string, baseReleaseId: string, options?: NonNullablePaths<SaveProjectDesignOptions, `himalayaControlToken` | `tokensJson`, 0>): Promise<NonNullablePaths<SaveProjectDesignResponse, `himalayaReleaseId` | `previewToken`, 0>>;
|
|
95
115
|
}
|
|
96
116
|
declare function restoreRelease$1(httpClient: HttpClient): RestoreReleaseSignature;
|
|
97
117
|
interface RestoreReleaseSignature {
|
|
98
118
|
/**
|
|
99
|
-
* Restores an earlier version
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
119
|
+
* Restores an earlier version of a project.
|
|
120
|
+
*
|
|
121
|
+
* Sets the project's `headReleaseId` to the release specified in `releaseId`. Your app then
|
|
122
|
+
* previews that release, and the next design save or edit by the coding agent branches from it.
|
|
123
|
+
* Restoring a release doesn't change the project's live app.
|
|
124
|
+
*
|
|
125
|
+
* Only the project's owner can restore a release.
|
|
126
|
+
*
|
|
127
|
+
* To confirm that the release belongs to the project before it's restored, specify
|
|
128
|
+
* `himalayaControlToken`. To record the restored version in a conversation, specify the
|
|
129
|
+
* conversation's ID in `conversationId`. A `CHECKPOINT` message is then added to the conversation.
|
|
130
|
+
* If the checkpoint can't be added, the release is still restored.
|
|
131
|
+
* @param - ID of the project to restore a release for.
|
|
132
|
+
* @param - ID of the release to restore. For example, `rel-4f9c2a1b7d3e`.
|
|
111
133
|
*/
|
|
112
134
|
(projectId: string, releaseId: string, options?: RestoreReleaseOptions): Promise<NonNullablePaths<RestoreReleaseResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform`, 1>>;
|
|
113
135
|
}
|
|
@@ -115,19 +137,24 @@ interface RestoreReleaseSignature {
|
|
|
115
137
|
declare function listProjects$1(httpClient: HttpClient): ListProjectsSignature;
|
|
116
138
|
interface ListProjectsSignature {
|
|
117
139
|
/**
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* owner-scoped for callers that still depend on it.
|
|
140
|
+
* Retrieves the projects of the current site, regardless of who created them.
|
|
141
|
+
*
|
|
142
|
+
* Projects of other sites in the same account aren't included.
|
|
122
143
|
*/
|
|
123
144
|
(options?: ListProjectsOptions): Promise<NonNullablePaths<ListProjectsResponse, `projects` | `projects.${number}.name` | `projects.${number}.status` | `projects.${number}.sandboxStatus` | `projects.${number}.platform`, 2>>;
|
|
124
145
|
}
|
|
125
146
|
declare function getHimalayaAuthorization$1(httpClient: HttpClient): GetHimalayaAuthorizationSignature;
|
|
126
147
|
interface GetHimalayaAuthorizationSignature {
|
|
127
148
|
/**
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
149
|
+
* Checks whether the current user can work on a project's app.
|
|
150
|
+
*
|
|
151
|
+
* Supported for projects whose `platform` is `HIMALAYA_MOBILE`. The response returns the canonical
|
|
152
|
+
* slug of the project's app in `canonicalApp`. Specify this value when you call
|
|
153
|
+
* [Save Project Design](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/save-project-design).
|
|
154
|
+
*
|
|
155
|
+
* The response is a check only and doesn't grant access. Each later change to the project is
|
|
156
|
+
* authorized again.
|
|
157
|
+
* @param - ID of the project to check.
|
|
131
158
|
*/
|
|
132
159
|
(projectId: string): Promise<NonNullablePaths<GetHimalayaAuthorizationResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp` | `workerLaunch` | `saveDesign`, 0>>;
|
|
133
160
|
}
|