@wix/auto_sdk_portfolio_projects 1.0.41 → 1.0.42
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 +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +18 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +18 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +18 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +18 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +18 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +18 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/portfolio-projects-v1-project-projects.http.ts","../../src/portfolio-projects-v1-project-projects.types.ts","../../src/portfolio-projects-v1-project-projects.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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\nfunction resolveComWixpressPortfolioProjectsProjectsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n {\n srcPath: '/portfolio/projects/projects/api/v1/bulk/portfolio/projects',\n destPath: '/api/v1/bulk/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/1/portfolio/projects',\n destPath: '/api/1/portfolio/projects',\n },\n ],\n _: [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n {\n srcPath: '/portfolio/projects/projects/api/v1/bulk/portfolio/projects',\n destPath: '/api/v1/bulk/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/1/portfolio/projects',\n destPath: '/api/1/portfolio/projects',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/portfolio/v1/projects',\n destPath: '/api/v1/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/v1/bulk/portfolio/projects',\n destPath: '/api/v1/bulk/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/v1/portfolio/projects',\n destPath: '/api/v1/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/1/portfolio/projects',\n destPath: '/api/1/portfolio/projects',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/projects-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_portfolio_projects';\n\n/** Creates a project. */\nexport function createProject(payload: object): RequestOptionsFactory<any> {\n function __createProject({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'project.coverVideo.videoInfo.posters.urlExpirationDate' },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.CreateProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/projects',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\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.portfolio.projects.v1.project',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.portfolio.projects.ProjectsService.GetProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/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: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProject;\n}\n\n/** Retrieves a list of all projects in a portfolio. */\nexport function listProjects(payload: object): RequestOptionsFactory<any> {\n function __listProjects({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.portfolio.projects.ProjectsService.ListProjects',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/projects',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'projects.createdDate' },\n { path: 'projects.updatedDate' },\n { path: 'projects.coverImage.imageInfo.urlExpirationDate' },\n { path: 'projects.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'projects.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projects.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projects.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'projects.coverImage.focalPoint.x' },\n { path: 'projects.coverImage.focalPoint.y' },\n { path: 'projects.coverImage.unsharpMasking.amount' },\n { path: 'projects.coverImage.unsharpMasking.radius' },\n { path: 'projects.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listProjects;\n}\n\n/** Updates a project. */\nexport function updateProject(payload: object): RequestOptionsFactory<any> {\n function __updateProject({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'project.coverVideo.videoInfo.posters.urlExpirationDate' },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.UpdateProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/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: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProject;\n}\n\n/**\n * Updates multiple projects.\n *\n * To update a single project, call Update Project.\n */\nexport function bulkUpdateProjects(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateProjects({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'projects.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'projects.project.createdDate' },\n { path: 'projects.project.updatedDate' },\n { path: 'projects.project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'projects.project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'projects.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projects.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projects.project.source.lastSync' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'projects.project.coverImage.focalPoint.x' },\n { path: 'projects.project.coverImage.focalPoint.y' },\n { path: 'projects.project.coverImage.unsharpMasking.amount' },\n { path: 'projects.project.coverImage.unsharpMasking.radius' },\n { path: 'projects.project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.BulkUpdateProjects',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/bulk/portfolio/projects/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.project.createdDate' },\n { path: 'results.project.updatedDate' },\n {\n path: 'results.project.coverImage.imageInfo.urlExpirationDate',\n },\n {\n path: 'results.project.coverVideo.videoInfo.urlExpirationDate',\n },\n {\n path: 'results.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'results.project.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.project.coverImage.focalPoint.x' },\n { path: 'results.project.coverImage.focalPoint.y' },\n { path: 'results.project.coverImage.unsharpMasking.amount' },\n { path: 'results.project.coverImage.unsharpMasking.radius' },\n { path: 'results.project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateProjects;\n}\n\n/** Deletes a project. */\nexport function deleteProject(payload: object): RequestOptionsFactory<any> {\n function __deleteProject({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.DeleteProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/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 * Creates a query to retrieve a list of projects.\n *\n * The `queryProjects()` method builds a query to retrieve a list of projects and returns a `ProjectsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/find) method.\n *\n * You can refine the query by chaining `ProjectsQueryBuilder` methods onto the query. `ProjectsQueryBuilder` methods enable you to filter, sort, and control the results that `queryProjects()` returns.\n *\n * `queryProjects()` runs with the following `ProjectsQueryBuilder` defaults which you can override:\n *\n * + [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/limit)\n * + [`ascending('_id')`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/ascending)\n *\n * The following `ProjectsQueryBuilder` methods are supported for `queryProjects()`. For a full description of the operations object, see the object returned for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-result/items) property in `ProjectsQueryResult`.\n */\nexport function queryProjects(payload: object): RequestOptionsFactory<any> {\n function __queryProjects({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.QueryProjects',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/projects/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'projects.createdDate' },\n { path: 'projects.updatedDate' },\n { path: 'projects.coverImage.imageInfo.urlExpirationDate' },\n { path: 'projects.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'projects.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projects.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projects.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'projects.coverImage.focalPoint.x' },\n { path: 'projects.coverImage.focalPoint.y' },\n { path: 'projects.coverImage.unsharpMasking.amount' },\n { path: 'projects.coverImage.unsharpMasking.radius' },\n { path: 'projects.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryProjects;\n}\n\n/**\n * Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead\n * our Client still use it\n * @deprecated\n */\nexport function updateProjectOrderInCollection(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateProjectOrderInCollection({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'sortOrder' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.UpdateProjectOrderInCollection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath:\n '/api/v1/portfolio/projects/{projectId}/collections/{collectionId}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'project.sortOrder' },\n { path: 'projectInCollection.sortOrder' },\n { path: 'project.project.coverImage.focalPoint.x' },\n { path: 'project.project.coverImage.focalPoint.y' },\n { path: 'projectInCollection.project.coverImage.focalPoint.x' },\n { path: 'projectInCollection.project.coverImage.focalPoint.y' },\n { path: 'project.project.coverImage.unsharpMasking.amount' },\n { path: 'project.project.coverImage.unsharpMasking.radius' },\n { path: 'project.project.coverImage.unsharpMasking.threshold' },\n {\n path: 'projectInCollection.project.coverImage.unsharpMasking.amount',\n },\n {\n path: 'projectInCollection.project.coverImage.unsharpMasking.radius',\n },\n {\n path: 'projectInCollection.project.coverImage.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'project.project.createdDate' },\n { path: 'project.project.updatedDate' },\n {\n path: 'project.project.coverImage.imageInfo.urlExpirationDate',\n },\n {\n path: 'project.project.coverVideo.videoInfo.urlExpirationDate',\n },\n {\n path: 'project.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'project.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'project.project.source.lastSync' },\n { path: 'projectInCollection.project.createdDate' },\n { path: 'projectInCollection.project.updatedDate' },\n {\n path: 'projectInCollection.project.coverImage.imageInfo.urlExpirationDate',\n },\n {\n path: 'projectInCollection.project.coverVideo.videoInfo.urlExpirationDate',\n },\n {\n path: 'projectInCollection.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projectInCollection.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projectInCollection.project.source.lastSync' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProjectOrderInCollection;\n}\n\n/**\n * Deprecated - please use ProjectsInCollectionsService.QueryProjectsInCollections instead\n * our Client still use it\n * @deprecated\n */\nexport function queryProjectsWithCollectionInfo(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryProjectsWithCollectionInfo({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.QueryProjectsWithCollectionInfo',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/1/portfolio/projects/collections/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'projects.sortOrder' },\n { path: 'projects.project.coverImage.focalPoint.x' },\n { path: 'projects.project.coverImage.focalPoint.y' },\n { path: 'projects.project.coverImage.unsharpMasking.amount' },\n { path: 'projects.project.coverImage.unsharpMasking.radius' },\n { path: 'projects.project.coverImage.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'projects.project.createdDate' },\n { path: 'projects.project.updatedDate' },\n {\n path: 'projects.project.coverImage.imageInfo.urlExpirationDate',\n },\n {\n path: 'projects.project.coverVideo.videoInfo.urlExpirationDate',\n },\n {\n path: 'projects.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projects.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projects.project.source.lastSync' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryProjectsWithCollectionInfo;\n}\n","export interface Project extends ProjectCoverOneOf {\n /** Project cover image. */\n coverImage?: Image;\n /** Project cover video. */\n coverVideo?: Video;\n /**\n * Project ID.\n * @readonly\n * @format GUID\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the project is updated. To prevent conflicting changes, the existing revision must be passed when updating the project object.\n * @readonly\n */\n revision?: string | null;\n /**\n * Project title.\n * @maxLength 100\n */\n title?: string | null;\n /** Project description. */\n description?: string | null;\n /** Whether the project is hidden from the portfolio. Default: `false` */\n hidden?: boolean | null;\n /**\n * IDs of the collections that include the project.\n * @format GUID\n * @maxSize 1000\n */\n collectionIds?: string[];\n /** Project details. */\n details?: ProjectDetail[];\n /** Project slug. */\n slug?: 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 updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Project page URL and relative path. Returned when `includePageUrl` is `true` in the request.\n * @readonly\n */\n url?: PageUrlV2;\n /** Project SEO data. */\n seoData?: SeoSchema;\n /** Optional watermark that can be applied to all project's images. */\n watermark?: Watermark;\n}\n\n/** @oneof */\nexport interface ProjectCoverOneOf {\n /** Project cover image. */\n coverImage?: Image;\n /** Project cover video. */\n coverVideo?: Video;\n}\n\nexport interface Image {\n /** Information about the Wix Media image. */\n imageInfo?: CommonImage;\n /** Focal point of the image. */\n focalPoint?: Point;\n}\n\nexport enum ImageType {\n UNDEFINED = 'UNDEFINED',\n WIX_MEDIA = 'WIX_MEDIA',\n EXTERNAL = 'EXTERNAL',\n}\n\n/** @enumType */\nexport type ImageTypeWithLiterals =\n | ImageType\n | 'UNDEFINED'\n | 'WIX_MEDIA'\n | 'EXTERNAL';\n\nexport interface CommonImage {\n /**\n * WixMedia image ID. Required.\n * @maxLength 512\n */\n id?: string;\n /**\n * Image URL.\n * @readonly\n * @maxLength 8000\n */\n url?: string;\n /** Original image height. Required. */\n height?: number;\n /** Original image width. Required. */\n width?: number;\n /**\n * Image alt text.\n * @maxLength 5000\n */\n altText?: string | null;\n /**\n * Image filename.\n * @maxLength 512\n */\n filename?: string | null;\n}\n\nexport interface Point {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n}\n\nexport interface UnsharpMasking {\n /**\n * Unsharp masking amount. Controls the sharpening strength. <br />\n *\n * Min: `0` <br />\n * Max: `5`\n * @max 5\n */\n amount?: number | null;\n /** Unsharp masking radius in pixels. Controls the sharpening width. */\n radius?: number | null;\n /**\n * Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply. <br />\n *\n * Min: `0` <br />\n * Max: `1`\n * @max 1\n */\n threshold?: number | null;\n}\n\nexport interface Video {\n /** Information about the Wix Media video. */\n videoInfo?: VideoV2;\n /** Manually defined Video duration in milliseconds. */\n durationInMillis?: number | null;\n}\n\nexport interface VideoV2 {\n /**\n * WixMedia ID. Required.\n * @maxLength 512\n */\n id?: string;\n /**\n * Video URL.\n * @maxLength 8000\n */\n url?: string;\n /**\n * Available resolutions for the video, starting with the optimal resolution.\n * @maxSize 100\n */\n resolutions?: VideoResolution[];\n /**\n * Video filename.\n * @maxLength 512\n */\n filename?: string | null;\n /**\n * Video posters.\n * @maxSize 100\n */\n posters?: CommonImage[];\n}\n\nexport interface VideoResolution {\n /**\n * Video URL. Required.\n * @maxLength 8000\n */\n url?: string;\n /** Video height. Required. */\n height?: number;\n /** Video width. Required. */\n width?: number;\n /**\n * Video format for example, mp4, hls. Required.\n * @maxLength 50\n */\n format?: string;\n /**\n * Video quality for example 480p, 720p.\n * @maxLength 50\n */\n quality?: string | null;\n /**\n * Video filename.\n * @maxLength 512\n */\n filename?: string | null;\n}\n\n/**\n * Project label.\n * One of:\n * + `text`\n * + `link`\n */\nexport interface ProjectDetail extends ProjectDetailValueOneOf {\n /** Project label in plain text format. */\n text?: string;\n /** Project label in link format. */\n link?: DetailsLink;\n /** Project label. */\n label?: string;\n}\n\n/** @oneof */\nexport interface ProjectDetailValueOneOf {\n /** Project label in plain text format. */\n text?: string;\n /** Project label in link format. */\n link?: DetailsLink;\n}\n\nexport interface DetailsLink {\n /** Display text of the link. */\n text?: string | null;\n /**\n * Target URL of the link.\n * @format WEB_URL\n */\n url?: string | null;\n /**\n * Whether the link opens in a new tab or window. One of:\n * * `'_blank'`: The link opens in a new tab or window.\n * * `'_self'`: The link opens in the same tab or window.\n */\n target?: string | null;\n}\n\nexport interface ProjectSource {\n /**\n * App definition id\n * @immutable\n */\n appDefId?: string;\n /**\n * External source id\n * @immutable\n */\n externalId?: string;\n /**\n * Source name\n * @maxLength 100\n * @immutable\n */\n sourceName?: string;\n /**\n * Source description\n * @immutable\n */\n description?: string | null;\n /**\n * link to external source\n * @format WEB_URL\n */\n link?: string | null;\n /** Sync status */\n syncStatus?: SyncStatusWithLiterals;\n /** fields that are synced from external source, should be blocked to update in UI */\n notEditableFields?: string[];\n /** last date the project was synced */\n lastSync?: Date | null;\n}\n\nexport enum SyncStatus {\n SYNCED = 'SYNCED',\n SYNCING = 'SYNCING',\n NOT_SYNCED = 'NOT_SYNCED',\n}\n\n/** @enumType */\nexport type SyncStatusWithLiterals =\n | SyncStatus\n | 'SYNCED'\n | 'SYNCING'\n | 'NOT_SYNCED';\n\nexport interface PageUrlV2 {\n /** The relative path for the page within the site. For example, `/product-page/a-product`. */\n relativePath?: string;\n /** The page's full URL. For example, `https://mysite.com/product-page/a-product`. */\n url?: string | null;\n}\n\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\n/** Optional Watermark that can be applied to all project's images */\nexport interface Watermark {\n /** Position of the watermark on the image. */\n position?: PositionWithLiterals;\n /**\n * Size of the watermark, from 0 to 100.\n * @max 100\n */\n size?: number;\n /**\n * Opacity of the watermark.\n * @min 1\n * @max 100\n */\n opacity?: number;\n /**\n * Image ID of the Watermark as saved in Media Platform.\n * @maxLength 300\n */\n imageUrl?: string;\n /** Whether the watermark is to be displayed on Items & Cover Photos. */\n enabled?: boolean;\n}\n\nexport enum Position {\n NORTH_WEST = 'NORTH_WEST',\n NORTH = 'NORTH',\n NORTH_EAST = 'NORTH_EAST',\n WEST = 'WEST',\n CENTER = 'CENTER',\n EAST = 'EAST',\n SOUTH_WEST = 'SOUTH_WEST',\n SOUTH = 'SOUTH',\n SOUTH_EAST = 'SOUTH_EAST',\n}\n\n/** @enumType */\nexport type PositionWithLiterals =\n | Position\n | 'NORTH_WEST'\n | 'NORTH'\n | 'NORTH_EAST'\n | 'WEST'\n | 'CENTER'\n | 'EAST'\n | 'SOUTH_WEST'\n | 'SOUTH'\n | 'SOUTH_EAST';\n\nexport interface MenuSettingUpdatedEvent {}\n\nexport interface GetProjectPageDataRequest {\n /** Slug of the project's current collection */\n collectionSlug?: string;\n /** Project's slug */\n projectSlug?: string;\n}\n\nexport interface GetProjectPageDataResponse {\n /** Project data */\n project?: Project;\n /** Previous project slug */\n previousProject?: ProjectSlug;\n /** Next project slug */\n nextProject?: ProjectSlug;\n}\n\nexport interface ProjectSlug {\n /**\n * Project id\n * @format GUID\n */\n projectId?: string;\n /** Project slug */\n slug?: string;\n}\n\nexport interface CreateNewPortfolioAppRequest {}\n\nexport interface CreateNewPortfolioAppResponse {}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n /** Base44 headless sites. */\n BASE44 = 'BASE44',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO'\n | 'BASE44';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\nexport interface Empty {}\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}\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 InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface SyncProjectWithCollectionMappings {\n /**\n * Id of recently updated Project\n * @format GUID\n */\n projectId?: string;\n /**\n * fields that were updated in the given project\n * @maxSize 100\n */\n fieldMaskPaths?: string[];\n}\n\nexport interface DeletedProjectRestored {\n /**\n * the id of the project that was restored\n * @format GUID\n */\n projectId?: string;\n /** timestamp for when the project was originally deleted. */\n deletionTimestamp?: Date | 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 /** Whether to include the project's relative path and full URL in the response. Default: `false` */\n includePageUrl?: boolean | null;\n}\n\nexport interface GetProjectResponse {\n /** The requested project. */\n project?: Project;\n}\n\nexport interface ListProjectsRequest {\n /** Projects limit per response is maximum 100, In the first request the cursor is None ? */\n paging?: CursorPaging;\n /** Whether to include the project's relative path and full URL in the response. Default: `false` */\n includePageUrl?: boolean | null;\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 ListProjectsResponse {\n /** List of projects. */\n projects?: Project[];\n /** Paging metadata. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\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 UpdateProjectRequest {\n /** Project to update. */\n project: Project;\n}\n\nexport interface UpdateProjectResponse {\n /** Updated project. */\n project?: Project;\n}\n\nexport interface BulkUpdateProjectsRequest {\n /**\n * Projects to update.\n * @maxSize 100\n */\n projects?: MaskedProject[];\n /**\n * Whether to return the updated projects.\n *\n * Set to `true` to return the projects in the response.\n *\n * Default: `false`\n */\n returnFullEntity?: boolean | null;\n}\n\nexport interface MaskedProject {\n /** Project to update. */\n project?: Project;\n}\n\nexport interface BulkUpdateProjectsResponse {\n /** List of individual Bulk Update Projects results. */\n results?: BulkUpdateProjectsResult[];\n /** Total number of successes and failures for Bulk Update Projects. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateProjectsResult {\n /**\n * Information about the updated project.\n * Including its ID, index in the bulk request and whether it was successfully updated.\n */\n itemMetadata?: ItemMetadata;\n /** Updated project. Only returned if `returnEntity` is set to `true` in the request. */\n project?: Project;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\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 /**\n * ID of the deleted project.\n * @format GUID\n */\n projectId?: string;\n}\n\nexport interface QueryProjectsRequest {\n /** Query options. */\n query: QueryV2;\n /** Whether to include the project's relative path and full URL in the response. Default: `false` */\n includePageUrl?: boolean | null;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n */\n sort?: Sorting[];\n /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n fields?: string[];\n /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface QueryProjectsResponse {\n /** List of projects. */\n projects?: Project[];\n /** Paging metadata. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface UpdateProjectOrderInCollectionRequest {\n /**\n * ID of the project to update.\n * @format GUID\n */\n projectId: string;\n /**\n * Collection ID.\n * @format GUID\n */\n collectionId: string;\n /** Index that determines the placement of a project within the collection. */\n sortOrder: number | null;\n}\n\nexport interface UpdateProjectOrderInCollectionResponse {\n /** Updated project placement within the specified collection. */\n projectInCollection?: ProjectsInCollections;\n}\n\nexport interface ProjectsInCollections {\n /**\n * Collection ID.\n * @format GUID\n */\n collectionId?: string;\n /** Project object. */\n project?: Project;\n /**\n * Index that determines the placement of a project within the collection. <br />\n *\n * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />\n */\n sortOrder?: number | null;\n /**\n * Project placement ID.\n * @readonly\n * @format GUID\n */\n id?: string | null;\n}\n\nexport interface QueryProjectWithCollectionInfoRequest {\n /** WQL expression */\n query: QueryV2;\n /** Include page url */\n includePageUrl?: boolean | null;\n}\n\nexport interface QueryProjectWithCollectionInfoResponse {\n /** The retrieved Projects in Collection */\n projects?: ProjectsInCollections[];\n /** Paging metadata */\n metadata?: PagingMetadataV2;\n}\n\nexport interface RestoreProjectFromTrashBinRequest {\n /**\n * id of deleted project to restore from trash bin.\n * @format GUID\n */\n projectId?: string;\n}\n\nexport interface RestoreProjectFromTrashBinResponse {\n /** project that was restored from trash bin */\n project?: Project;\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 /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\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\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface GetAdjacentProjectInfoRequest {\n /**\n * Collection ID to search within\n * @format GUID\n */\n collectionId?: string;\n /** Current project's sort order for finding adjacent projects */\n currentSortOrder?: number;\n}\n\nexport interface GetAdjacentProjectInfoResponse {\n /** Previous project info (optional) */\n previousProject?: ProjectInfo;\n /** Next project info (optional) */\n nextProject?: ProjectInfo;\n}\n\nexport interface ProjectInfo {\n /**\n * Project ID\n * @format GUID\n */\n projectId?: string;\n /**\n * Project slug\n * @maxLength 256\n */\n slug?: string;\n}\n","import * as ambassadorWixPortfolioProjectsV1Project from './portfolio-projects-v1-project-projects.http.js';\nimport * as ambassadorWixPortfolioProjectsV1ProjectTypes from './portfolio-projects-v1-project-projects.types.js';\nimport * as ambassadorWixPortfolioProjectsV1ProjectUniversalTypes from './portfolio-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 ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.CreateProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.CreateProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.CreateProjectResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.CreateProjectResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.GetProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.GetProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.GetProjectResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.GetProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 listProjects(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.ListProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.ListProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.ListProjectsResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.ListProjectsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 updateProject(): __PublicMethodMetaInfo<\n 'PATCH',\n { projectId: string },\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.UpdateProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.UpdateProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.UpdateProjectResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.UpdateProjectResponse\n> {\n const payload = { project: { id: ':projectId' } } as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 bulkUpdateProjects(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.BulkUpdateProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.BulkUpdateProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.BulkUpdateProjectsResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.BulkUpdateProjectsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.bulkUpdateProjects(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: '/api/v1/bulk/portfolio/projects/update',\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 deleteProject(): __PublicMethodMetaInfo<\n 'DELETE',\n { projectId: string },\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.DeleteProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.DeleteProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.DeleteProjectResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.DeleteProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 queryProjects(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.QueryProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.QueryProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.QueryProjectsResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.QueryProjectsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.queryProjects(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: '/api/v1/portfolio/projects/query',\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 updateProjectOrderInCollection(): __PublicMethodMetaInfo<\n 'PATCH',\n { projectId: string; collectionId: string },\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.UpdateProjectOrderInCollectionRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.UpdateProjectOrderInCollectionRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.UpdateProjectOrderInCollectionResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.UpdateProjectOrderInCollectionResponse\n> {\n const payload = {\n projectId: ':projectId',\n collectionId: ':collectionId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.updateProjectOrderInCollection(\n payload\n );\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: '/api/v1/portfolio/projects/{projectId}/collections/{collectionId}',\n pathParams: { projectId: 'projectId', collectionId: 'collectionId' },\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 queryProjectsWithCollectionInfo(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.QueryProjectWithCollectionInfoRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.QueryProjectWithCollectionInfoRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.QueryProjectWithCollectionInfoResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.QueryProjectWithCollectionInfoResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.queryProjectsWithCollectionInfo(\n payload\n );\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: '/api/1/portfolio/projects/collections/query',\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 {\n Project as ProjectOriginal,\n ProjectCoverOneOf as ProjectCoverOneOfOriginal,\n Image as ImageOriginal,\n ImageType as ImageTypeOriginal,\n ImageTypeWithLiterals as ImageTypeWithLiteralsOriginal,\n CommonImage as CommonImageOriginal,\n Point as PointOriginal,\n UnsharpMasking as UnsharpMaskingOriginal,\n Video as VideoOriginal,\n VideoV2 as VideoV2Original,\n VideoResolution as VideoResolutionOriginal,\n ProjectDetail as ProjectDetailOriginal,\n ProjectDetailValueOneOf as ProjectDetailValueOneOfOriginal,\n DetailsLink as DetailsLinkOriginal,\n ProjectSource as ProjectSourceOriginal,\n SyncStatus as SyncStatusOriginal,\n SyncStatusWithLiterals as SyncStatusWithLiteralsOriginal,\n PageUrlV2 as PageUrlV2Original,\n SeoSchema as SeoSchemaOriginal,\n Keyword as KeywordOriginal,\n Tag as TagOriginal,\n Settings as SettingsOriginal,\n Watermark as WatermarkOriginal,\n Position as PositionOriginal,\n PositionWithLiterals as PositionWithLiteralsOriginal,\n MenuSettingUpdatedEvent as MenuSettingUpdatedEventOriginal,\n GetProjectPageDataRequest as GetProjectPageDataRequestOriginal,\n GetProjectPageDataResponse as GetProjectPageDataResponseOriginal,\n ProjectSlug as ProjectSlugOriginal,\n CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequestOriginal,\n CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponseOriginal,\n MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n Asset as AssetOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCreatedContext as SiteCreatedContextOriginal,\n SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n Namespace as NamespaceOriginal,\n NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n SiteTransferred as SiteTransferredOriginal,\n SiteDeleted as SiteDeletedOriginal,\n DeleteContext as DeleteContextOriginal,\n DeleteStatus as DeleteStatusOriginal,\n DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n SiteUndeleted as SiteUndeletedOriginal,\n SitePublished as SitePublishedOriginal,\n SiteUnpublished as SiteUnpublishedOriginal,\n SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n ServiceProvisioned as ServiceProvisionedOriginal,\n ServiceRemoved as ServiceRemovedOriginal,\n SiteRenamed as SiteRenamedOriginal,\n SiteHardDeleted as SiteHardDeletedOriginal,\n NamespaceChanged as NamespaceChangedOriginal,\n StudioAssigned as StudioAssignedOriginal,\n StudioUnassigned as StudioUnassignedOriginal,\n SiteUrlChanged as SiteUrlChangedOriginal,\n SitePurgedExternally as SitePurgedExternallyOriginal,\n OdeditorAssigned as OdeditorAssignedOriginal,\n OdeditorUnassigned as OdeditorUnassignedOriginal,\n PicassoAssigned as PicassoAssignedOriginal,\n PicassoUnassigned as PicassoUnassignedOriginal,\n WixelAssigned as WixelAssignedOriginal,\n WixelUnassigned as WixelUnassignedOriginal,\n StudioTwoAssigned as StudioTwoAssignedOriginal,\n StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n Empty as EmptyOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappingsOriginal,\n DeletedProjectRestored as DeletedProjectRestoredOriginal,\n CreateProjectRequest as CreateProjectRequestOriginal,\n CreateProjectResponse as CreateProjectResponseOriginal,\n GetProjectRequest as GetProjectRequestOriginal,\n GetProjectResponse as GetProjectResponseOriginal,\n ListProjectsRequest as ListProjectsRequestOriginal,\n CursorPaging as CursorPagingOriginal,\n ListProjectsResponse as ListProjectsResponseOriginal,\n PagingMetadataV2 as PagingMetadataV2Original,\n Cursors as CursorsOriginal,\n UpdateProjectRequest as UpdateProjectRequestOriginal,\n UpdateProjectResponse as UpdateProjectResponseOriginal,\n BulkUpdateProjectsRequest as BulkUpdateProjectsRequestOriginal,\n MaskedProject as MaskedProjectOriginal,\n BulkUpdateProjectsResponse as BulkUpdateProjectsResponseOriginal,\n BulkUpdateProjectsResult as BulkUpdateProjectsResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n DeleteProjectRequest as DeleteProjectRequestOriginal,\n DeleteProjectResponse as DeleteProjectResponseOriginal,\n QueryProjectsRequest as QueryProjectsRequestOriginal,\n QueryV2 as QueryV2Original,\n QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n Paging as PagingOriginal,\n QueryProjectsResponse as QueryProjectsResponseOriginal,\n UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequestOriginal,\n UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponseOriginal,\n ProjectsInCollections as ProjectsInCollectionsOriginal,\n QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequestOriginal,\n QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponseOriginal,\n RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequestOriginal,\n RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponseOriginal,\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 GetAdjacentProjectInfoRequest as GetAdjacentProjectInfoRequestOriginal,\n GetAdjacentProjectInfoResponse as GetAdjacentProjectInfoResponseOriginal,\n ProjectInfo as ProjectInfoOriginal,\n} from './portfolio-projects-v1-project-projects.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,sDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;A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,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","ImageType","SyncStatus","Position","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","SortOrder","createProject","getProject","listProjects","updateProject","bulkUpdateProjects","deleteProject","queryProjects","updateProjectOrderInCollection","queryProjectsWithCollectionInfo"]}
|
|
1
|
+
{"version":3,"sources":["../../src/portfolio-projects-v1-project-projects.http.ts","../../src/portfolio-projects-v1-project-projects.types.ts","../../src/portfolio-projects-v1-project-projects.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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\nfunction resolveComWixpressPortfolioProjectsProjectsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n {\n srcPath: '/portfolio/projects/projects/api/v1/bulk/portfolio/projects',\n destPath: '/api/v1/bulk/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/1/portfolio/projects',\n destPath: '/api/1/portfolio/projects',\n },\n ],\n _: [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n {\n srcPath: '/portfolio/projects/projects/api/v1/bulk/portfolio/projects',\n destPath: '/api/v1/bulk/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/1/portfolio/projects',\n destPath: '/api/1/portfolio/projects',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/projects-service',\n destPath: '/api',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/portfolio/v1/projects',\n destPath: '/api/v1/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/v1/bulk/portfolio/projects',\n destPath: '/api/v1/bulk/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/v1/portfolio/projects',\n destPath: '/api/v1/portfolio/projects',\n },\n {\n srcPath: '/portfolio/projects/projects/api/1/portfolio/projects',\n destPath: '/api/1/portfolio/projects',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/projects-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_portfolio_projects';\n\n/** Creates a project. */\nexport function createProject(payload: object): RequestOptionsFactory<any> {\n function __createProject({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'project.coverVideo.videoInfo.posters.urlExpirationDate' },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.CreateProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/projects',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\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.portfolio.projects.v1.project',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.portfolio.projects.ProjectsService.GetProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/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: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProject;\n}\n\n/** Retrieves a list of all projects in a portfolio. */\nexport function listProjects(payload: object): RequestOptionsFactory<any> {\n function __listProjects({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.portfolio.projects.ProjectsService.ListProjects',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/projects',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'projects.createdDate' },\n { path: 'projects.updatedDate' },\n { path: 'projects.coverImage.imageInfo.urlExpirationDate' },\n { path: 'projects.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'projects.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projects.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projects.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'projects.coverImage.focalPoint.x' },\n { path: 'projects.coverImage.focalPoint.y' },\n { path: 'projects.coverImage.unsharpMasking.amount' },\n { path: 'projects.coverImage.unsharpMasking.radius' },\n { path: 'projects.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listProjects;\n}\n\n/** Updates a project. */\nexport function updateProject(payload: object): RequestOptionsFactory<any> {\n function __updateProject({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'project.coverVideo.videoInfo.posters.urlExpirationDate' },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.UpdateProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/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: [\n { path: 'project.createdDate' },\n { path: 'project.updatedDate' },\n { path: 'project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'project.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'project.coverImage.focalPoint.x' },\n { path: 'project.coverImage.focalPoint.y' },\n { path: 'project.coverImage.unsharpMasking.amount' },\n { path: 'project.coverImage.unsharpMasking.radius' },\n { path: 'project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProject;\n}\n\n/**\n * Updates multiple projects.\n *\n * To update a single project, call Update Project.\n */\nexport function bulkUpdateProjects(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateProjects({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'projects.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'projects.project.createdDate' },\n { path: 'projects.project.updatedDate' },\n { path: 'projects.project.coverImage.imageInfo.urlExpirationDate' },\n { path: 'projects.project.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'projects.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projects.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projects.project.source.lastSync' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'projects.project.coverImage.focalPoint.x' },\n { path: 'projects.project.coverImage.focalPoint.y' },\n { path: 'projects.project.coverImage.unsharpMasking.amount' },\n { path: 'projects.project.coverImage.unsharpMasking.radius' },\n { path: 'projects.project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.BulkUpdateProjects',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/bulk/portfolio/projects/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.project.createdDate' },\n { path: 'results.project.updatedDate' },\n {\n path: 'results.project.coverImage.imageInfo.urlExpirationDate',\n },\n {\n path: 'results.project.coverVideo.videoInfo.urlExpirationDate',\n },\n {\n path: 'results.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'results.project.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.project.coverImage.focalPoint.x' },\n { path: 'results.project.coverImage.focalPoint.y' },\n { path: 'results.project.coverImage.unsharpMasking.amount' },\n { path: 'results.project.coverImage.unsharpMasking.radius' },\n { path: 'results.project.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateProjects;\n}\n\n/** Deletes a project. */\nexport function deleteProject(payload: object): RequestOptionsFactory<any> {\n function __deleteProject({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.DeleteProject',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/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 * Creates a query to retrieve a list of projects.\n *\n * The `queryProjects()` method builds a query to retrieve a list of projects and returns a `ProjectsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/find) method.\n *\n * You can refine the query by chaining `ProjectsQueryBuilder` methods onto the query. `ProjectsQueryBuilder` methods enable you to filter, sort, and control the results that `queryProjects()` returns.\n *\n * `queryProjects()` runs with the following `ProjectsQueryBuilder` defaults which you can override:\n *\n * + [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/limit)\n * + [`ascending('_id')`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/ascending)\n *\n * The following `ProjectsQueryBuilder` methods are supported for `queryProjects()`. For a full description of the operations object, see the object returned for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-result/items) property in `ProjectsQueryResult`.\n */\nexport function queryProjects(payload: object): RequestOptionsFactory<any> {\n function __queryProjects({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.QueryProjects',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/v1/portfolio/projects/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'projects.createdDate' },\n { path: 'projects.updatedDate' },\n { path: 'projects.coverImage.imageInfo.urlExpirationDate' },\n { path: 'projects.coverVideo.videoInfo.urlExpirationDate' },\n {\n path: 'projects.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projects.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projects.source.lastSync' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'projects.coverImage.focalPoint.x' },\n { path: 'projects.coverImage.focalPoint.y' },\n { path: 'projects.coverImage.unsharpMasking.amount' },\n { path: 'projects.coverImage.unsharpMasking.radius' },\n { path: 'projects.coverImage.unsharpMasking.threshold' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryProjects;\n}\n\n/**\n * Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead\n * our Client still use it\n * @deprecated\n */\nexport function updateProjectOrderInCollection(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateProjectOrderInCollection({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'sortOrder' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.UpdateProjectOrderInCollection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath:\n '/api/v1/portfolio/projects/{projectId}/collections/{collectionId}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'project.sortOrder' },\n { path: 'projectInCollection.sortOrder' },\n { path: 'project.project.coverImage.focalPoint.x' },\n { path: 'project.project.coverImage.focalPoint.y' },\n { path: 'projectInCollection.project.coverImage.focalPoint.x' },\n { path: 'projectInCollection.project.coverImage.focalPoint.y' },\n { path: 'project.project.coverImage.unsharpMasking.amount' },\n { path: 'project.project.coverImage.unsharpMasking.radius' },\n { path: 'project.project.coverImage.unsharpMasking.threshold' },\n {\n path: 'projectInCollection.project.coverImage.unsharpMasking.amount',\n },\n {\n path: 'projectInCollection.project.coverImage.unsharpMasking.radius',\n },\n {\n path: 'projectInCollection.project.coverImage.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'project.project.createdDate' },\n { path: 'project.project.updatedDate' },\n {\n path: 'project.project.coverImage.imageInfo.urlExpirationDate',\n },\n {\n path: 'project.project.coverVideo.videoInfo.urlExpirationDate',\n },\n {\n path: 'project.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'project.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'project.project.source.lastSync' },\n { path: 'projectInCollection.project.createdDate' },\n { path: 'projectInCollection.project.updatedDate' },\n {\n path: 'projectInCollection.project.coverImage.imageInfo.urlExpirationDate',\n },\n {\n path: 'projectInCollection.project.coverVideo.videoInfo.urlExpirationDate',\n },\n {\n path: 'projectInCollection.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projectInCollection.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projectInCollection.project.source.lastSync' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProjectOrderInCollection;\n}\n\n/**\n * Deprecated - please use ProjectsInCollectionsService.QueryProjectsInCollections instead\n * our Client still use it\n * @deprecated\n */\nexport function queryProjectsWithCollectionInfo(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryProjectsWithCollectionInfo({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.portfolio.projects.v1.project',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.portfolio.projects.ProjectsService.QueryProjectsWithCollectionInfo',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({\n protoPath: '/api/1/portfolio/projects/collections/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'projects.sortOrder' },\n { path: 'projects.project.coverImage.focalPoint.x' },\n { path: 'projects.project.coverImage.focalPoint.y' },\n { path: 'projects.project.coverImage.unsharpMasking.amount' },\n { path: 'projects.project.coverImage.unsharpMasking.radius' },\n { path: 'projects.project.coverImage.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'projects.project.createdDate' },\n { path: 'projects.project.updatedDate' },\n {\n path: 'projects.project.coverImage.imageInfo.urlExpirationDate',\n },\n {\n path: 'projects.project.coverVideo.videoInfo.urlExpirationDate',\n },\n {\n path: 'projects.project.coverVideo.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'projects.project.coverVideo.videoInfo.posters.urlExpirationDate',\n },\n { path: 'projects.project.source.lastSync' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryProjectsWithCollectionInfo;\n}\n","export interface Project extends ProjectCoverOneOf {\n /** Project cover image. */\n coverImage?: Image;\n /** Project cover video. */\n coverVideo?: Video;\n /**\n * Project ID.\n * @readonly\n * @format GUID\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the project is updated. To prevent conflicting changes, the existing revision must be passed when updating the project object.\n * @readonly\n */\n revision?: string | null;\n /**\n * Project title.\n * @maxLength 100\n */\n title?: string | null;\n /** Project description. */\n description?: string | null;\n /** Whether the project is hidden from the portfolio. Default: `false` */\n hidden?: boolean | null;\n /**\n * IDs of the collections that include the project.\n * @format GUID\n * @maxSize 1000\n */\n collectionIds?: string[];\n /** Project details. */\n details?: ProjectDetail[];\n /** Project slug. */\n slug?: 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 updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Project page URL and relative path. Returned when `includePageUrl` is `true` in the request.\n * @readonly\n */\n url?: PageUrlV2;\n /** Project SEO data. */\n seoData?: SeoSchema;\n /** Optional watermark that can be applied to all project's images. */\n watermark?: Watermark;\n}\n\n/** @oneof */\nexport interface ProjectCoverOneOf {\n /** Project cover image. */\n coverImage?: Image;\n /** Project cover video. */\n coverVideo?: Video;\n}\n\nexport interface Image {\n /** Information about the Wix Media image. */\n imageInfo?: CommonImage;\n /** Focal point of the image. */\n focalPoint?: Point;\n}\n\nexport enum ImageType {\n UNDEFINED = 'UNDEFINED',\n WIX_MEDIA = 'WIX_MEDIA',\n EXTERNAL = 'EXTERNAL',\n}\n\n/** @enumType */\nexport type ImageTypeWithLiterals =\n | ImageType\n | 'UNDEFINED'\n | 'WIX_MEDIA'\n | 'EXTERNAL';\n\nexport interface CommonImage {\n /**\n * WixMedia image ID. Required.\n * @maxLength 512\n */\n id?: string;\n /**\n * Image URL.\n * @readonly\n * @maxLength 8000\n */\n url?: string;\n /** Original image height. Required. */\n height?: number;\n /** Original image width. Required. */\n width?: number;\n /**\n * Image alt text.\n * @maxLength 5000\n */\n altText?: string | null;\n /**\n * Image filename.\n * @maxLength 512\n */\n filename?: string | null;\n}\n\nexport interface Point {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n}\n\nexport interface UnsharpMasking {\n /**\n * Unsharp masking amount. Controls the sharpening strength. <br />\n *\n * Min: `0` <br />\n * Max: `5`\n * @max 5\n */\n amount?: number | null;\n /** Unsharp masking radius in pixels. Controls the sharpening width. */\n radius?: number | null;\n /**\n * Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply. <br />\n *\n * Min: `0` <br />\n * Max: `1`\n * @max 1\n */\n threshold?: number | null;\n}\n\nexport interface Video {\n /** Information about the Wix Media video. */\n videoInfo?: VideoV2;\n /** Manually defined Video duration in milliseconds. */\n durationInMillis?: number | null;\n}\n\nexport interface VideoV2 {\n /**\n * WixMedia ID. Required.\n * @maxLength 512\n */\n id?: string;\n /**\n * Video URL.\n * @maxLength 8000\n */\n url?: string;\n /**\n * Available resolutions for the video, starting with the optimal resolution.\n * @maxSize 100\n */\n resolutions?: VideoResolution[];\n /**\n * Video filename.\n * @maxLength 512\n */\n filename?: string | null;\n /**\n * Video posters.\n * @maxSize 100\n */\n posters?: CommonImage[];\n}\n\nexport interface VideoResolution {\n /**\n * Video URL. Required.\n * @maxLength 8000\n */\n url?: string;\n /** Video height. Required. */\n height?: number;\n /** Video width. Required. */\n width?: number;\n /**\n * Video format for example, mp4, hls. Required.\n * @maxLength 50\n */\n format?: string;\n /**\n * Video quality for example 480p, 720p.\n * @maxLength 50\n */\n quality?: string | null;\n /**\n * Video filename.\n * @maxLength 512\n */\n filename?: string | null;\n}\n\n/**\n * Project label.\n * One of:\n * + `text`\n * + `link`\n */\nexport interface ProjectDetail extends ProjectDetailValueOneOf {\n /** Project label in plain text format. */\n text?: string;\n /** Project label in link format. */\n link?: DetailsLink;\n /** Project label. */\n label?: string;\n}\n\n/** @oneof */\nexport interface ProjectDetailValueOneOf {\n /** Project label in plain text format. */\n text?: string;\n /** Project label in link format. */\n link?: DetailsLink;\n}\n\nexport interface DetailsLink {\n /** Display text of the link. */\n text?: string | null;\n /**\n * Target URL of the link.\n * @format WEB_URL\n */\n url?: string | null;\n /**\n * Whether the link opens in a new tab or window. One of:\n * * `'_blank'`: The link opens in a new tab or window.\n * * `'_self'`: The link opens in the same tab or window.\n */\n target?: string | null;\n}\n\nexport interface ProjectSource {\n /**\n * App definition id\n * @immutable\n */\n appDefId?: string;\n /**\n * External source id\n * @immutable\n */\n externalId?: string;\n /**\n * Source name\n * @maxLength 100\n * @immutable\n */\n sourceName?: string;\n /**\n * Source description\n * @immutable\n */\n description?: string | null;\n /**\n * link to external source\n * @format WEB_URL\n */\n link?: string | null;\n /** Sync status */\n syncStatus?: SyncStatusWithLiterals;\n /** fields that are synced from external source, should be blocked to update in UI */\n notEditableFields?: string[];\n /** last date the project was synced */\n lastSync?: Date | null;\n}\n\nexport enum SyncStatus {\n SYNCED = 'SYNCED',\n SYNCING = 'SYNCING',\n NOT_SYNCED = 'NOT_SYNCED',\n}\n\n/** @enumType */\nexport type SyncStatusWithLiterals =\n | SyncStatus\n | 'SYNCED'\n | 'SYNCING'\n | 'NOT_SYNCED';\n\nexport interface PageUrlV2 {\n /** The relative path for the page within the site. For example, `/product-page/a-product`. */\n relativePath?: string;\n /** The page's full URL. For example, `https://mysite.com/product-page/a-product`. */\n url?: string | null;\n}\n\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\n/** Optional Watermark that can be applied to all project's images */\nexport interface Watermark {\n /** Position of the watermark on the image. */\n position?: PositionWithLiterals;\n /**\n * Size of the watermark, from 0 to 100.\n * @max 100\n */\n size?: number;\n /**\n * Opacity of the watermark.\n * @min 1\n * @max 100\n */\n opacity?: number;\n /**\n * Image ID of the Watermark as saved in Media Platform.\n * @maxLength 300\n */\n imageUrl?: string;\n /** Whether the watermark is to be displayed on Items & Cover Photos. */\n enabled?: boolean;\n}\n\nexport enum Position {\n NORTH_WEST = 'NORTH_WEST',\n NORTH = 'NORTH',\n NORTH_EAST = 'NORTH_EAST',\n WEST = 'WEST',\n CENTER = 'CENTER',\n EAST = 'EAST',\n SOUTH_WEST = 'SOUTH_WEST',\n SOUTH = 'SOUTH',\n SOUTH_EAST = 'SOUTH_EAST',\n}\n\n/** @enumType */\nexport type PositionWithLiterals =\n | Position\n | 'NORTH_WEST'\n | 'NORTH'\n | 'NORTH_EAST'\n | 'WEST'\n | 'CENTER'\n | 'EAST'\n | 'SOUTH_WEST'\n | 'SOUTH'\n | 'SOUTH_EAST';\n\nexport interface MenuSettingUpdatedEvent {}\n\nexport interface GetProjectPageDataRequest {\n /** Slug of the project's current collection */\n collectionSlug?: string;\n /** Project's slug */\n projectSlug?: string;\n}\n\nexport interface GetProjectPageDataResponse {\n /** Project data */\n project?: Project;\n /** Previous project slug */\n previousProject?: ProjectSlug;\n /** Next project slug */\n nextProject?: ProjectSlug;\n}\n\nexport interface ProjectSlug {\n /**\n * Project id\n * @format GUID\n */\n projectId?: string;\n /** Project slug */\n slug?: string;\n}\n\nexport interface CreateNewPortfolioAppRequest {}\n\nexport interface CreateNewPortfolioAppResponse {}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n /** Base44 headless sites. */\n BASE44 = 'BASE44',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO'\n | 'BASE44';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\nexport interface Empty {}\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}\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 AccountDetails {\n /**\n * ID of the account.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the site, if applicable.\n * @format GUID\n */\n siteId?: string | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface SyncProjectWithCollectionMappings {\n /**\n * Id of recently updated Project\n * @format GUID\n */\n projectId?: string;\n /**\n * fields that were updated in the given project\n * @maxSize 100\n */\n fieldMaskPaths?: string[];\n}\n\nexport interface DeletedProjectRestored {\n /**\n * the id of the project that was restored\n * @format GUID\n */\n projectId?: string;\n /** timestamp for when the project was originally deleted. */\n deletionTimestamp?: Date | 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 /** Whether to include the project's relative path and full URL in the response. Default: `false` */\n includePageUrl?: boolean | null;\n}\n\nexport interface GetProjectResponse {\n /** The requested project. */\n project?: Project;\n}\n\nexport interface ListProjectsRequest {\n /** Projects limit per response is maximum 100, In the first request the cursor is None ? */\n paging?: CursorPaging;\n /** Whether to include the project's relative path and full URL in the response. Default: `false` */\n includePageUrl?: boolean | null;\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 ListProjectsResponse {\n /** List of projects. */\n projects?: Project[];\n /** Paging metadata. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\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 UpdateProjectRequest {\n /** Project to update. */\n project: Project;\n}\n\nexport interface UpdateProjectResponse {\n /** Updated project. */\n project?: Project;\n}\n\nexport interface BulkUpdateProjectsRequest {\n /**\n * Projects to update.\n * @maxSize 100\n */\n projects?: MaskedProject[];\n /**\n * Whether to return the updated projects.\n *\n * Set to `true` to return the projects in the response.\n *\n * Default: `false`\n */\n returnFullEntity?: boolean | null;\n}\n\nexport interface MaskedProject {\n /** Project to update. */\n project?: Project;\n}\n\nexport interface BulkUpdateProjectsResponse {\n /** List of individual Bulk Update Projects results. */\n results?: BulkUpdateProjectsResult[];\n /** Total number of successes and failures for Bulk Update Projects. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateProjectsResult {\n /**\n * Information about the updated project.\n * Including its ID, index in the bulk request and whether it was successfully updated.\n */\n itemMetadata?: ItemMetadata;\n /** Updated project. Only returned if `returnEntity` is set to `true` in the request. */\n project?: Project;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\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 /**\n * ID of the deleted project.\n * @format GUID\n */\n projectId?: string;\n}\n\nexport interface QueryProjectsRequest {\n /** Query options. */\n query: QueryV2;\n /** Whether to include the project's relative path and full URL in the response. Default: `false` */\n includePageUrl?: boolean | null;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n */\n sort?: Sorting[];\n /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n fields?: string[];\n /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface QueryProjectsResponse {\n /** List of projects. */\n projects?: Project[];\n /** Paging metadata. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface UpdateProjectOrderInCollectionRequest {\n /**\n * ID of the project to update.\n * @format GUID\n */\n projectId: string;\n /**\n * Collection ID.\n * @format GUID\n */\n collectionId: string;\n /** Index that determines the placement of a project within the collection. */\n sortOrder: number | null;\n}\n\nexport interface UpdateProjectOrderInCollectionResponse {\n /** Updated project placement within the specified collection. */\n projectInCollection?: ProjectsInCollections;\n}\n\nexport interface ProjectsInCollections {\n /**\n * Collection ID.\n * @format GUID\n */\n collectionId?: string;\n /** Project object. */\n project?: Project;\n /**\n * Index that determines the placement of a project within the collection. <br />\n *\n * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />\n */\n sortOrder?: number | null;\n /**\n * Project placement ID.\n * @readonly\n * @format GUID\n */\n id?: string | null;\n}\n\nexport interface QueryProjectWithCollectionInfoRequest {\n /** WQL expression */\n query: QueryV2;\n /** Include page url */\n includePageUrl?: boolean | null;\n}\n\nexport interface QueryProjectWithCollectionInfoResponse {\n /** The retrieved Projects in Collection */\n projects?: ProjectsInCollections[];\n /** Paging metadata */\n metadata?: PagingMetadataV2;\n}\n\nexport interface RestoreProjectFromTrashBinRequest {\n /**\n * id of deleted project to restore from trash bin.\n * @format GUID\n */\n projectId?: string;\n}\n\nexport interface RestoreProjectFromTrashBinResponse {\n /** project that was restored from trash bin */\n project?: Project;\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 /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\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\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface GetAdjacentProjectInfoRequest {\n /**\n * Collection ID to search within\n * @format GUID\n */\n collectionId?: string;\n /** Current project's sort order for finding adjacent projects */\n currentSortOrder?: number;\n}\n\nexport interface GetAdjacentProjectInfoResponse {\n /** Previous project info (optional) */\n previousProject?: ProjectInfo;\n /** Next project info (optional) */\n nextProject?: ProjectInfo;\n}\n\nexport interface ProjectInfo {\n /**\n * Project ID\n * @format GUID\n */\n projectId?: string;\n /**\n * Project slug\n * @maxLength 256\n */\n slug?: string;\n}\n","import * as ambassadorWixPortfolioProjectsV1Project from './portfolio-projects-v1-project-projects.http.js';\nimport * as ambassadorWixPortfolioProjectsV1ProjectTypes from './portfolio-projects-v1-project-projects.types.js';\nimport * as ambassadorWixPortfolioProjectsV1ProjectUniversalTypes from './portfolio-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 ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.CreateProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.CreateProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.CreateProjectResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.CreateProjectResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.GetProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.GetProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.GetProjectResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.GetProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 listProjects(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.ListProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.ListProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.ListProjectsResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.ListProjectsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 updateProject(): __PublicMethodMetaInfo<\n 'PATCH',\n { projectId: string },\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.UpdateProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.UpdateProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.UpdateProjectResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.UpdateProjectResponse\n> {\n const payload = { project: { id: ':projectId' } } as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 bulkUpdateProjects(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.BulkUpdateProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.BulkUpdateProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.BulkUpdateProjectsResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.BulkUpdateProjectsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.bulkUpdateProjects(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: '/api/v1/bulk/portfolio/projects/update',\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 deleteProject(): __PublicMethodMetaInfo<\n 'DELETE',\n { projectId: string },\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.DeleteProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.DeleteProjectRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.DeleteProjectResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.DeleteProjectResponse\n> {\n const payload = { projectId: ':projectId' } as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.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: '/api/v1/portfolio/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 queryProjects(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.QueryProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.QueryProjectsRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.QueryProjectsResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.QueryProjectsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.queryProjects(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: '/api/v1/portfolio/projects/query',\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 updateProjectOrderInCollection(): __PublicMethodMetaInfo<\n 'PATCH',\n { projectId: string; collectionId: string },\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.UpdateProjectOrderInCollectionRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.UpdateProjectOrderInCollectionRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.UpdateProjectOrderInCollectionResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.UpdateProjectOrderInCollectionResponse\n> {\n const payload = {\n projectId: ':projectId',\n collectionId: ':collectionId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.updateProjectOrderInCollection(\n payload\n );\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: '/api/v1/portfolio/projects/{projectId}/collections/{collectionId}',\n pathParams: { projectId: 'projectId', collectionId: 'collectionId' },\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 queryProjectsWithCollectionInfo(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.QueryProjectWithCollectionInfoRequest,\n ambassadorWixPortfolioProjectsV1ProjectTypes.QueryProjectWithCollectionInfoRequest,\n ambassadorWixPortfolioProjectsV1ProjectUniversalTypes.QueryProjectWithCollectionInfoResponse,\n ambassadorWixPortfolioProjectsV1ProjectTypes.QueryProjectWithCollectionInfoResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPortfolioProjectsV1Project.queryProjectsWithCollectionInfo(\n payload\n );\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: '/api/1/portfolio/projects/collections/query',\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 {\n Project as ProjectOriginal,\n ProjectCoverOneOf as ProjectCoverOneOfOriginal,\n Image as ImageOriginal,\n ImageType as ImageTypeOriginal,\n ImageTypeWithLiterals as ImageTypeWithLiteralsOriginal,\n CommonImage as CommonImageOriginal,\n Point as PointOriginal,\n UnsharpMasking as UnsharpMaskingOriginal,\n Video as VideoOriginal,\n VideoV2 as VideoV2Original,\n VideoResolution as VideoResolutionOriginal,\n ProjectDetail as ProjectDetailOriginal,\n ProjectDetailValueOneOf as ProjectDetailValueOneOfOriginal,\n DetailsLink as DetailsLinkOriginal,\n ProjectSource as ProjectSourceOriginal,\n SyncStatus as SyncStatusOriginal,\n SyncStatusWithLiterals as SyncStatusWithLiteralsOriginal,\n PageUrlV2 as PageUrlV2Original,\n SeoSchema as SeoSchemaOriginal,\n Keyword as KeywordOriginal,\n Tag as TagOriginal,\n Settings as SettingsOriginal,\n Watermark as WatermarkOriginal,\n Position as PositionOriginal,\n PositionWithLiterals as PositionWithLiteralsOriginal,\n MenuSettingUpdatedEvent as MenuSettingUpdatedEventOriginal,\n GetProjectPageDataRequest as GetProjectPageDataRequestOriginal,\n GetProjectPageDataResponse as GetProjectPageDataResponseOriginal,\n ProjectSlug as ProjectSlugOriginal,\n CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequestOriginal,\n CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponseOriginal,\n MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n Asset as AssetOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCreatedContext as SiteCreatedContextOriginal,\n SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n Namespace as NamespaceOriginal,\n NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n SiteTransferred as SiteTransferredOriginal,\n SiteDeleted as SiteDeletedOriginal,\n DeleteContext as DeleteContextOriginal,\n DeleteStatus as DeleteStatusOriginal,\n DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n SiteUndeleted as SiteUndeletedOriginal,\n SitePublished as SitePublishedOriginal,\n SiteUnpublished as SiteUnpublishedOriginal,\n SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n ServiceProvisioned as ServiceProvisionedOriginal,\n ServiceRemoved as ServiceRemovedOriginal,\n SiteRenamed as SiteRenamedOriginal,\n SiteHardDeleted as SiteHardDeletedOriginal,\n NamespaceChanged as NamespaceChangedOriginal,\n StudioAssigned as StudioAssignedOriginal,\n StudioUnassigned as StudioUnassignedOriginal,\n SiteUrlChanged as SiteUrlChangedOriginal,\n SitePurgedExternally as SitePurgedExternallyOriginal,\n OdeditorAssigned as OdeditorAssignedOriginal,\n OdeditorUnassigned as OdeditorUnassignedOriginal,\n PicassoAssigned as PicassoAssignedOriginal,\n PicassoUnassigned as PicassoUnassignedOriginal,\n WixelAssigned as WixelAssignedOriginal,\n WixelUnassigned as WixelUnassignedOriginal,\n StudioTwoAssigned as StudioTwoAssignedOriginal,\n StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n Empty as EmptyOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountDetails as AccountDetailsOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappingsOriginal,\n DeletedProjectRestored as DeletedProjectRestoredOriginal,\n CreateProjectRequest as CreateProjectRequestOriginal,\n CreateProjectResponse as CreateProjectResponseOriginal,\n GetProjectRequest as GetProjectRequestOriginal,\n GetProjectResponse as GetProjectResponseOriginal,\n ListProjectsRequest as ListProjectsRequestOriginal,\n CursorPaging as CursorPagingOriginal,\n ListProjectsResponse as ListProjectsResponseOriginal,\n PagingMetadataV2 as PagingMetadataV2Original,\n Cursors as CursorsOriginal,\n UpdateProjectRequest as UpdateProjectRequestOriginal,\n UpdateProjectResponse as UpdateProjectResponseOriginal,\n BulkUpdateProjectsRequest as BulkUpdateProjectsRequestOriginal,\n MaskedProject as MaskedProjectOriginal,\n BulkUpdateProjectsResponse as BulkUpdateProjectsResponseOriginal,\n BulkUpdateProjectsResult as BulkUpdateProjectsResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n DeleteProjectRequest as DeleteProjectRequestOriginal,\n DeleteProjectResponse as DeleteProjectResponseOriginal,\n QueryProjectsRequest as QueryProjectsRequestOriginal,\n QueryV2 as QueryV2Original,\n QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n Paging as PagingOriginal,\n QueryProjectsResponse as QueryProjectsResponseOriginal,\n UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequestOriginal,\n UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponseOriginal,\n ProjectsInCollections as ProjectsInCollectionsOriginal,\n QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequestOriginal,\n QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponseOriginal,\n RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequestOriginal,\n RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponseOriginal,\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 GetAdjacentProjectInfoRequest as GetAdjacentProjectInfoRequestOriginal,\n GetAdjacentProjectInfoResponse as GetAdjacentProjectInfoResponseOriginal,\n ProjectInfo as ProjectInfoOriginal,\n} from './portfolio-projects-v1-project-projects.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,sDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAA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C,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,kCAOd;AACA,QAAM,UAAU;AAAA,IACd,WAAW;AAAA,IACX,cAAc;AAAA,EAChB;AAEA,QAAM,oBACoC;AAAA,IACtC;AAAA,EACF;AAEF,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,aAAa,cAAc,eAAe;AAAA,IACnE,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,mCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACoC;AAAA,IACtC;AAAA,EACF;AAEF,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;","names":["payload","ImageType","SyncStatus","Position","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","SortOrder","createProject","getProject","listProjects","updateProject","bulkUpdateProjects","deleteProject","queryProjects","updateProjectOrderInCollection","queryProjectsWithCollectionInfo"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { Project, GetProjectOptions, ListProjectsOptions, ListProjectsResponse, UpdateProject, BulkUpdateProjectsOptions, BulkUpdateProjectsResponse, DeleteProjectResponse, UpdateProjectOrderInCollectionIdentifiers, UpdateProjectOrderInCollectionResponse, QueryV2, QueryProjectsWithCollectionInfoOptions, QueryProjectWithCollectionInfoResponse, ProjectCreatedEnvelope, ProjectDeletedEnvelope, ProjectUpdatedEnvelope, ProjectQuery, QueryProjectsOptions, typedQueryProjects, ProjectsQueryBuilder } from './index.typings.js';
|
|
3
|
-
export { ActionEvent, App, ApplicationError, Asset, BaseEventMetadata, BulkActionMetadata, BulkUpdateProjectsRequest, BulkUpdateProjectsResult, CommonQueryWithEntityContext, CreateNewPortfolioAppRequest, CreateNewPortfolioAppResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, Cursors, CustomTag, DeleteContext, DeleteProjectRequest, DeleteStatus, DeleteStatusWithLiterals, DeletedProjectRestored, DetailsLink, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, File, GetAdjacentProjectInfoRequest, GetAdjacentProjectInfoResponse, GetProjectPageDataRequest, GetProjectPageDataResponse, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, Image, ImageType, ImageTypeWithLiterals, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, Keyword, ListProjectsRequest, MaskedProject, MenuSettingUpdatedEvent, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, Page, Paging, PagingMetadataV2, PicassoAssigned, PicassoUnassigned, Point, Position, PositionWithLiterals, ProjectCoverOneOf, ProjectDetail, ProjectDetailValueOneOf, ProjectInfo, ProjectQuerySpec, ProjectSlug, ProjectSource, ProjectsInCollections, ProjectsQueryResult, QueryProjectWithCollectionInfoRequest, QueryProjectsRequest, QueryProjectsResponse, QueryV2PagingMethodOneOf, RestoreInfo, RestoreProjectFromTrashBinRequest, RestoreProjectFromTrashBinResponse, SeoSchema, ServiceProvisioned, ServiceRemoved, Settings, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, SyncProjectWithCollectionMappings, SyncStatus, SyncStatusWithLiterals, Tag, URI, UnsharpMasking, UpdateProjectOrderInCollectionRequest, UpdateProjectRequest, UpdateProjectResponse, Video, VideoResolution, Watermark, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
3
|
+
export { AccountDetails, ActionEvent, App, ApplicationError, Asset, BaseEventMetadata, BulkActionMetadata, BulkUpdateProjectsRequest, BulkUpdateProjectsResult, CommonQueryWithEntityContext, CreateNewPortfolioAppRequest, CreateNewPortfolioAppResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, Cursors, CustomTag, DeleteContext, DeleteProjectRequest, DeleteStatus, DeleteStatusWithLiterals, DeletedProjectRestored, DetailsLink, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, File, GetAdjacentProjectInfoRequest, GetAdjacentProjectInfoResponse, GetProjectPageDataRequest, GetProjectPageDataResponse, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, Image, ImageType, ImageTypeWithLiterals, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, Keyword, ListProjectsRequest, MaskedProject, MenuSettingUpdatedEvent, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, Page, Paging, PagingMetadataV2, PicassoAssigned, PicassoUnassigned, Point, Position, PositionWithLiterals, ProjectCoverOneOf, ProjectDetail, ProjectDetailValueOneOf, ProjectInfo, ProjectQuerySpec, ProjectSlug, ProjectSource, ProjectsInCollections, ProjectsQueryResult, QueryProjectWithCollectionInfoRequest, QueryProjectsRequest, QueryProjectsResponse, QueryV2PagingMethodOneOf, RestoreInfo, RestoreProjectFromTrashBinRequest, RestoreProjectFromTrashBinResponse, SeoSchema, ServiceProvisioned, ServiceRemoved, Settings, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, SyncProjectWithCollectionMappings, SyncStatus, SyncStatusWithLiterals, Tag, URI, UnsharpMasking, UpdateProjectOrderInCollectionRequest, UpdateProjectRequest, UpdateProjectResponse, Video, VideoResolution, Watermark, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createProject$1(httpClient: HttpClient): CreateProjectSignature;
|
|
6
6
|
interface CreateProjectSignature {
|