@wix/auto_sdk_standalone-forms_standalone-forms 1.0.1 → 1.0.2
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 +51 -24
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +103 -59
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +47 -32
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +51 -24
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +103 -59
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +47 -32
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +51 -24
- package/build/internal/cjs/index.typings.d.ts +103 -59
- package/build/internal/cjs/meta.d.ts +47 -32
- package/build/internal/es/index.d.mts +51 -24
- package/build/internal/es/index.typings.d.mts +103 -59
- package/build/internal/es/meta.d.mts +47 -32
- package/package.json +2 -2
package/build/es/meta.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/forms-v1-standalone-form-standalone-forms.http.ts","../../src/forms-v1-standalone-form-standalone-forms.types.ts","../../src/forms-v1-standalone-form-standalone-forms.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'standaloneForm.createdDate' },\n { path: 'standaloneForm.updatedDate' },\n];\nconst TRANSFORM_PATHS_1 = [\n { path: 'standaloneForms.createdDate' },\n { path: 'standaloneForms.updatedDate' },\n];\n\nfunction resolveWixFormsV1FormStandaloneServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/form-standalone-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n {\n srcPath: '/forms/v4/standalone-forms',\n destPath: '/v4/standalone-forms',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/forms/v4/standalone-forms',\n destPath: '/v4/standalone-forms',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/forms/v4/standalone-forms',\n destPath: '/v4/standalone-forms',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_standalone-forms_standalone-forms';\n\n/**\n * Marks an existing form as standalone by creating a standalone form record that binds the form\n * to the meta site that owns it.\n *\n * The form referenced by `formId` must already exist. The owning meta site is taken from the\n * calling context. A given form can be marked standalone by only one record per meta site.\n */\nexport function createStandaloneForm(\n payload: object\n): RequestOptionsFactory<any> {\n function __createStandaloneForm({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'POST' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.CreateStandaloneForm',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createStandaloneForm;\n}\n\n/** Retrieves a standalone form by ID. */\nexport function getStandaloneForm(payload: object): RequestOptionsFactory<any> {\n function __getStandaloneForm({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'GET' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.GetStandaloneForm',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/{standaloneFormId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getStandaloneForm;\n}\n\n/**\n * Deletes a standalone form record\n *\n * By default the record is moved to the trash bin. Set `permanent` to `true` to delete it permanently.\n */\nexport function deleteStandaloneForm(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteStandaloneForm({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'DELETE' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.DeleteStandaloneForm',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/{standaloneFormId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteStandaloneForm;\n}\n\n/** Permanently deletes a standalone form record that is in the trash bin. */\nexport function removeStandaloneFormFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeStandaloneFormFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.forms.v1.FormStandaloneService.RemoveStandaloneFormFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/trash-bin/{standaloneFormId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __removeStandaloneFormFromTrashBin;\n}\n\n/** Restores a standalone form record from the trash bin. */\nexport function restoreStandaloneFormFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __restoreStandaloneFormFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'POST' as any,\n methodFqn:\n 'wix.forms.v1.FormStandaloneService.RestoreStandaloneFormFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/trash-bin/{standaloneFormId}/restore',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __restoreStandaloneFormFromTrashBin;\n}\n\n/** Retrieves a standalone form record from the trash bin by ID. */\nexport function getDeletedStandaloneForm(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeletedStandaloneForm({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'GET' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.GetDeletedStandaloneForm',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/trash-bin/{standaloneFormId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeletedStandaloneForm;\n}\n\n/** Retrieves a list of standalone form records that are in the trash bin. */\nexport function listDeletedStandaloneForms(\n payload: object\n): RequestOptionsFactory<any> {\n function __listDeletedStandaloneForms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'GET' as any,\n methodFqn:\n 'wix.forms.v1.FormStandaloneService.ListDeletedStandaloneForms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/trash-bin',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDeletedStandaloneForms;\n}\n\n/**\n * Retrieves a list of standalone forms, given the provided filtering, sorting, and paging.\n *\n * Supported filterable and sortable fields: `id`, `formId`, `metaSiteId`, `createdDate`, `updatedDate`.\n */\nexport function queryStandaloneForms(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryStandaloneForms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'POST' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.QueryStandaloneForms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryStandaloneForms;\n}\n\n/**\n * Gets site properties (currency and locale) for the caller's standalone meta site.\n *\n * Results may be cached and are not guaranteed to reflect real-time changes.\n */\nexport function getSiteProperties(payload: object): RequestOptionsFactory<any> {\n function __getSiteProperties({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'GET' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.GetSiteProperties',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/site-properties',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getSiteProperties;\n}\n","export interface StandaloneForm {\n /**\n * Standalone form ID. Automatically generated when the standalone form is created.\n *\n * Together with `accountSlug`, this ID forms part of the standalone form's public URL.\n * @maxLength 36\n * @readonly\n */\n id?: string | null;\n /**\n * ID of the form, managed through the Wix Forms API, that this record marks as standalone.\n *\n * A form doesn't itself indicate whether it's standalone. The existence of a standalone form\n * record that references it is what makes the form standalone.\n * @format GUID\n */\n formId?: string | null;\n /**\n * ID of the meta site that owns the standalone form.\n *\n * The meta site owns the form. Because this service doesn't use meta site tenancy, the owning\n * meta site is stored explicitly in this field. Set from the calling context when the form is created.\n * @format GUID\n * @readonly\n */\n metaSiteId?: string | null;\n /**\n * Date and time the standalone form was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the standalone form was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Account slug of the site owner, captured when the standalone form was created.\n *\n * Together with `id`, the slug forms part of the standalone form's public URL. May be empty\n * if it couldn't be resolved at creation time.\n * @maxLength 50\n * @readonly\n */\n accountSlug?: string | null;\n}\n\nexport interface GetOrCreateFormStandaloneMetaSiteRequest {}\n\nexport interface GetOrCreateFormStandaloneMetaSiteResponse {\n /**\n * MetaSiteId\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface CreateStandaloneFormRequest {\n /** Standalone form */\n standaloneForm: StandaloneForm;\n}\n\nexport interface CreateStandaloneFormResponse {\n /** Standalone form */\n standaloneForm?: StandaloneForm;\n}\n\nexport interface GetStandaloneFormRequest {\n /**\n * Standalone form id\n * @maxLength 36\n */\n standaloneFormId: string;\n}\n\nexport interface GetStandaloneFormResponse {\n /** Standalone form */\n standaloneForm?: StandaloneForm;\n}\n\nexport interface DeleteStandaloneFormRequest {\n /**\n * Standalone form id\n * @maxLength 36\n */\n standaloneFormId: string;\n /**\n * Whether to permanently delete a standalone form bypassing the trash bin.\n *\n * Default: `false`\n */\n permanent?: boolean;\n}\n\nexport interface DeleteStandaloneFormResponse {}\n\nexport interface RemoveStandaloneFormFromTrashBinRequest {\n /**\n * Standalone form id\n * @maxLength 36\n */\n standaloneFormId: string;\n}\n\nexport interface RemoveStandaloneFormFromTrashBinResponse {}\n\nexport interface RestoreStandaloneFormFromTrashBinRequest {\n /**\n * Standalone form id\n * @maxLength 36\n */\n standaloneFormId: string;\n}\n\nexport interface RestoreStandaloneFormFromTrashBinResponse {\n /** Standalone form */\n standaloneForm?: StandaloneForm;\n}\n\nexport interface GetDeletedStandaloneFormRequest {\n /**\n * Standalone form id\n * @maxLength 36\n */\n standaloneFormId: string;\n}\n\nexport interface GetDeletedStandaloneFormResponse {\n /** Standalone form */\n standaloneForm?: StandaloneForm;\n}\n\nexport interface ListDeletedStandaloneFormsRequest {\n /**\n * Standalone Form ids.\n * @maxSize 100\n * @maxLength 36\n */\n standaloneFormIds?: string[];\n /** Cursor token pointing to a page of results. Not used in the first request. */\n paging?: CursorPaging;\n}\n\nexport interface CursorPaging {\n /**\n * Number of items to load.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * You can get the relevant cursor token\n * 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 ListDeletedStandaloneFormsResponse {\n /**\n * The retrieved standalone forms\n * @maxSize 100\n */\n standaloneForms?: StandaloneForm[];\n /** Details on the paged set of results returned. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor pointing to next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface QueryStandaloneFormsRequest {\n /** WQL expression. */\n query: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\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 in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 3\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\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 QueryStandaloneFormsResponse {\n /**\n * The retrieved standalone forms\n * @maxSize 100\n */\n standaloneForms?: StandaloneForm[];\n /** Details on the paged set of results returned. */\n metadata?: CursorPagingMetadata;\n}\n\nexport interface GetSitePropertiesRequest {}\n\nexport interface GetSitePropertiesResponse {\n /** Standalone MetaSite properties */\n siteProperties?: StandaloneMetaSiteProperties;\n}\n\nexport interface StandaloneMetaSiteProperties {\n /** Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. */\n paymentCurrency?: string | null;\n /**\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n *\n * Empty if the site's locale isn't set.\n * @maxLength 2\n */\n localeLanguageCode?: string;\n /**\n * Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.\n *\n * Empty if the site's locale isn't set.\n * @maxLength 2\n */\n localeCountry?: string;\n}\n\n/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */\nexport interface SitePropertiesNotification {\n /** The site ID for which this update notification applies. */\n metasiteId?: string;\n /** The actual update event. */\n event?: SitePropertiesEvent;\n /**\n * A convenience set of mappings from the MetaSite ID to its constituent services.\n * @maxSize 500\n */\n translations?: Translation[];\n /** Context of the notification */\n changeContext?: ChangeContext;\n}\n\n/** The actual update event for a particular notification. */\nexport interface SitePropertiesEvent {\n /** Version of the site's properties represented by this update. */\n version?: number;\n /** Set of properties that were updated - corresponds to the fields in \"properties\". */\n fields?: string[];\n /** Updated properties. */\n properties?: Properties;\n}\n\nexport interface Properties {\n /** Site categories. */\n categories?: Categories;\n /** Site locale. */\n locale?: Locale;\n /**\n * Site language.\n *\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n */\n language?: string | null;\n /**\n * Site currency used to bill customers.\n *\n * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n */\n paymentCurrency?: string | null;\n /** Site time zone in IANA time zone database format. For example, `America/New_York`. */\n timeZone?: string | null;\n /** Email address. */\n email?: string | null;\n /** Phone number. */\n phone?: string | null;\n /** Fax number. */\n fax?: string | null;\n /** Address. */\n address?: Address;\n /** Site display name. */\n siteDisplayName?: string | null;\n /** Business name. */\n businessName?: string | null;\n /** Path to the site's logo in Wix Media (without Wix Media base URL). */\n logo?: string | null;\n /** Site description. */\n description?: string | null;\n /**\n * Business schedule. Regular and exceptional time periods when the business is open or the service is available.\n *\n * __Note:__ Not supported by Wix Bookings.\n */\n businessSchedule?: BusinessSchedule;\n /** Supported languages of a site and the primary language. */\n multilingual?: Multilingual;\n /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */\n consentPolicy?: ConsentPolicy;\n /**\n * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.\n *\n * Site business type.\n */\n businessConfig?: string | null;\n /** External site URL that uses Wix as its headless business solution. */\n externalSiteUrl?: string | null;\n /** Track clicks analytics. */\n trackClicksAnalytics?: boolean;\n /**\n * Company ID issued to the business by local authorities. Appears on invoices and price quotes.\n * @maxLength 50\n */\n companyId?: string | null;\n}\n\nexport interface Categories {\n /** Primary site category. */\n primary?: string;\n /**\n * Secondary site category.\n * @maxSize 50\n */\n secondary?: string[];\n /** Business Term Id */\n businessTermId?: string | null;\n}\n\nexport interface Locale {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */\n country?: string;\n}\n\nexport interface Address {\n /** Street name. */\n street?: string;\n /** City name. */\n city?: string;\n /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */\n country?: string;\n /** State. */\n state?: string;\n /**\n * Zip or postal code.\n * @maxLength 20\n */\n zip?: string;\n /** Extra information to be displayed in the address. */\n hint?: AddressHint;\n /** Whether this address represents a physical location. */\n isPhysical?: boolean;\n /** Google-formatted version of this address. */\n googleFormattedAddress?: string;\n /** Street number. */\n streetNumber?: string;\n /** Apartment number. */\n apartmentNumber?: string;\n /** Geographic coordinates of location. */\n coordinates?: GeoCoordinates;\n}\n\n/**\n * Extra information on displayed addresses.\n * This is used for display purposes. Used to add additional data about the address, such as \"In the passage\".\n * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.\n */\nexport interface AddressHint {\n /** Extra text displayed next to, or instead of, the actual address. */\n text?: string;\n /** Where the extra text should be displayed. */\n placement?: PlacementTypeWithLiterals;\n}\n\n/** Where the extra text should be displayed: before, after or instead of the actual address. */\nexport enum PlacementType {\n BEFORE = 'BEFORE',\n AFTER = 'AFTER',\n REPLACE = 'REPLACE',\n}\n\n/** @enumType */\nexport type PlacementTypeWithLiterals =\n | PlacementType\n | 'BEFORE'\n | 'AFTER'\n | 'REPLACE';\n\n/** Geocoordinates for a particular address. */\nexport interface GeoCoordinates {\n /** Latitude of the location. Must be between -90 and 90. */\n latitude?: number;\n /** Longitude of the location. Must be between -180 and 180. */\n longitude?: number;\n}\n\n/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */\nexport interface BusinessSchedule {\n /**\n * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.\n * @maxSize 100\n */\n periods?: TimePeriod[];\n /**\n * Exceptions to the business's regular hours. The business can be open or closed during the exception.\n * @maxSize 100\n */\n specialHourPeriod?: SpecialHourPeriod[];\n}\n\n/** Weekly recurring time periods when the business is regularly open or the service is available. */\nexport interface TimePeriod {\n /** Day of the week the period starts on. */\n openDay?: DayOfWeekWithLiterals;\n /**\n * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n * midnight at the end of the specified day.\n */\n openTime?: string;\n /** Day of the week the period ends on. */\n closeDay?: DayOfWeekWithLiterals;\n /**\n * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n * midnight at the end of the specified day.\n *\n * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.\n */\n closeTime?: string;\n}\n\n/** Enumerates the days of the week. */\nexport enum DayOfWeek {\n MONDAY = 'MONDAY',\n TUESDAY = 'TUESDAY',\n WEDNESDAY = 'WEDNESDAY',\n THURSDAY = 'THURSDAY',\n FRIDAY = 'FRIDAY',\n SATURDAY = 'SATURDAY',\n SUNDAY = 'SUNDAY',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n | DayOfWeek\n | 'MONDAY'\n | 'TUESDAY'\n | 'WEDNESDAY'\n | 'THURSDAY'\n | 'FRIDAY'\n | 'SATURDAY'\n | 'SUNDAY';\n\n/** Exception to the business's regular hours. The business can be open or closed during the exception. */\nexport interface SpecialHourPeriod {\n /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n startDate?: string;\n /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n endDate?: string;\n /**\n * Whether the business is closed (or the service is not available) during the exception.\n *\n * Default: `true`.\n */\n isClosed?: boolean;\n /** Additional info about the exception. For example, \"We close earlier on New Year's Eve.\" */\n comment?: string;\n}\n\nexport interface Multilingual {\n /**\n * Supported languages list.\n * @maxSize 200\n */\n supportedLanguages?: SupportedLanguage[];\n /** Whether to redirect to user language. */\n autoRedirect?: boolean;\n}\n\nexport interface SupportedLanguage {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Locale. */\n locale?: Locale;\n /** Whether the supported language is the primary language for the site. */\n isPrimary?: boolean;\n /** Language icon. */\n countryCode?: string;\n /** How the language will be resolved. For internal use. */\n resolutionMethod?: ResolutionMethodWithLiterals;\n /** Whether the supported language is the primary language for site visitors. */\n isVisitorPrimary?: boolean | null;\n}\n\nexport enum ResolutionMethod {\n QUERY_PARAM = 'QUERY_PARAM',\n SUBDOMAIN = 'SUBDOMAIN',\n SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ResolutionMethodWithLiterals =\n | ResolutionMethod\n | 'QUERY_PARAM'\n | 'SUBDOMAIN'\n | 'SUBDIRECTORY';\n\nexport interface ConsentPolicy {\n /** Whether the site uses cookies that are essential to site operation. Always `true`. */\n essential?: boolean | null;\n /** Whether the site uses cookies that affect site performance and other functional measurements. */\n functional?: boolean | null;\n /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */\n analytics?: boolean | null;\n /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */\n advertising?: boolean | null;\n /** CCPA compliance flag. */\n dataToThirdParty?: boolean | null;\n}\n\n/** A single mapping from the MetaSite ID to a particular service. */\nexport interface Translation {\n /** The service type. */\n serviceType?: string;\n /** The application definition ID; this only applies to services of type ThirdPartyApps. */\n appDefId?: string;\n /** The instance ID of the service. */\n instanceId?: string;\n}\n\nexport interface ChangeContext extends ChangeContextPayloadOneOf {\n /** Properties were updated. */\n propertiesChange?: PropertiesChange;\n /** Default properties were created on site creation. */\n siteCreated?: V4SiteCreated;\n /** Properties were cloned on site cloning. */\n siteCloned?: SiteCloned;\n}\n\n/** @oneof */\nexport interface ChangeContextPayloadOneOf {\n /** Properties were updated. */\n propertiesChange?: PropertiesChange;\n /** Default properties were created on site creation. */\n siteCreated?: V4SiteCreated;\n /** Properties were cloned on site cloning. */\n siteCloned?: SiteCloned;\n}\n\nexport interface PropertiesChange {}\n\nexport interface V4SiteCreated {\n /** Origin template site id. */\n originTemplateId?: string | null;\n}\n\nexport interface SiteCloned {\n /** Origin site id. */\n originMetaSiteId?: string;\n}\n\nexport interface Empty {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface 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 /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /** Emitted when Editorless is attached. */\n editorlessAssigned?: EditorlessAssigned;\n /** Emitted when Editorless is detached. */\n editorlessUnassigned?: EditorlessUnassigned;\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 /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /** Emitted when Editorless is attached. */\n editorlessAssigned?: EditorlessAssigned;\n /** Emitted when Editorless is detached. */\n editorlessUnassigned?: EditorlessUnassigned;\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 /**\n * AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default.\n * Not the dev-center dev site (see Flag.DEV_CENTER_DEV_SITE_FLAG).\n */\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 /** Wix Channels Sites */\n CHANNELS = 'CHANNELS',\n /** Nautilus platform. */\n NAUTILUS = 'NAUTILUS',\n /**\n * Symphony — a siteless site representing a project within Symphony (the evolution of Orion).\n * Holds project data, conversations, assets, and manages collaborators / shared team members for the project.\n */\n SYMPHONY = 'SYMPHONY',\n /** Nautilus platform app. */\n NAUTILUS_APPS = 'NAUTILUS_APPS',\n /**\n * Vibu — a siteless site representing a project built with Vibu (the AI app builder).\n * Holds the project's generated code, conversations, assets, and manages collaborators for the project.\n */\n VIBU = 'VIBU',\n /**\n * Ghost site for the BrandKit multi-site platform. Each ghost backs a single BrandKit\n * (an Enterprise account may have several), holding that BrandKit's brand definition\n * (theme, typography, assets) which is rolled out to the BrandKit's connected sites.\n * MetaSites with this namespace will *not* be shown in a user's site list by default.\n */\n ENTERPRISE_BRAND_KIT = 'ENTERPRISE_BRAND_KIT',\n /**\n * Dev-center development sites (com.wixpress.devcenter.dsm).\n * DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.\n */\n DEV_CENTER_DEV_SITE = 'DEV_CENTER_DEV_SITE',\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 | 'CHANNELS'\n | 'NAUTILUS'\n | 'SYMPHONY'\n | 'NAUTILUS_APPS'\n | 'VIBU'\n | 'ENTERPRISE_BRAND_KIT'\n | 'DEV_CENTER_DEV_SITE';\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\n/** Media from user domain is enabled. */\nexport interface UserDomainMediaEnabled {}\n\n/** Media from user domain is disabled. */\nexport interface UserDomainMediaDisabled {}\n\n/** Assigned Editorless */\nexport interface EditorlessAssigned {}\n\n/** Unassigned Editorless */\nexport interface EditorlessUnassigned {}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateStandaloneFormApplicationErrors = {\n code?: 'FAILED_PRECONDITION';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type GetSitePropertiesApplicationErrors = {\n code?: 'SITE_PROPERTIES_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixFormsV1StandaloneForm from './forms-v1-standalone-form-standalone-forms.http.js';\nimport * as ambassadorWixFormsV1StandaloneFormTypes from './forms-v1-standalone-form-standalone-forms.types.js';\nimport * as ambassadorWixFormsV1StandaloneFormUniversalTypes from './forms-v1-standalone-form-standalone-forms.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 createStandaloneForm(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFormsV1StandaloneFormUniversalTypes.CreateStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormTypes.CreateStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.CreateStandaloneFormResponse,\n ambassadorWixFormsV1StandaloneFormTypes.CreateStandaloneFormResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.createStandaloneForm(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: '/v4/standalone-forms',\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 getStandaloneForm(): __PublicMethodMetaInfo<\n 'GET',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormTypes.GetStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetStandaloneFormResponse,\n ambassadorWixFormsV1StandaloneFormTypes.GetStandaloneFormResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.getStandaloneForm(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: '/v4/standalone-forms/{standaloneFormId}',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 deleteStandaloneForm(): __PublicMethodMetaInfo<\n 'DELETE',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.DeleteStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormTypes.DeleteStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.DeleteStandaloneFormResponse,\n ambassadorWixFormsV1StandaloneFormTypes.DeleteStandaloneFormResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.deleteStandaloneForm(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: '/v4/standalone-forms/{standaloneFormId}',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 removeStandaloneFormFromTrashBin(): __PublicMethodMetaInfo<\n 'DELETE',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.RemoveStandaloneFormFromTrashBinRequest,\n ambassadorWixFormsV1StandaloneFormTypes.RemoveStandaloneFormFromTrashBinRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.RemoveStandaloneFormFromTrashBinResponse,\n ambassadorWixFormsV1StandaloneFormTypes.RemoveStandaloneFormFromTrashBinResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.removeStandaloneFormFromTrashBin(\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: 'DELETE',\n path: '/v4/standalone-forms/trash-bin/{standaloneFormId}',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 restoreStandaloneFormFromTrashBin(): __PublicMethodMetaInfo<\n 'POST',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.RestoreStandaloneFormFromTrashBinRequest,\n ambassadorWixFormsV1StandaloneFormTypes.RestoreStandaloneFormFromTrashBinRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.RestoreStandaloneFormFromTrashBinResponse,\n ambassadorWixFormsV1StandaloneFormTypes.RestoreStandaloneFormFromTrashBinResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.restoreStandaloneFormFromTrashBin(\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: '/v4/standalone-forms/trash-bin/{standaloneFormId}/restore',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 getDeletedStandaloneForm(): __PublicMethodMetaInfo<\n 'GET',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetDeletedStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormTypes.GetDeletedStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetDeletedStandaloneFormResponse,\n ambassadorWixFormsV1StandaloneFormTypes.GetDeletedStandaloneFormResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.getDeletedStandaloneForm(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: '/v4/standalone-forms/trash-bin/{standaloneFormId}',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 listDeletedStandaloneForms(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixFormsV1StandaloneFormUniversalTypes.ListDeletedStandaloneFormsRequest,\n ambassadorWixFormsV1StandaloneFormTypes.ListDeletedStandaloneFormsRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.ListDeletedStandaloneFormsResponse,\n ambassadorWixFormsV1StandaloneFormTypes.ListDeletedStandaloneFormsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.listDeletedStandaloneForms(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: '/v4/standalone-forms/trash-bin',\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 queryStandaloneForms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFormsV1StandaloneFormUniversalTypes.QueryStandaloneFormsRequest,\n ambassadorWixFormsV1StandaloneFormTypes.QueryStandaloneFormsRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.QueryStandaloneFormsResponse,\n ambassadorWixFormsV1StandaloneFormTypes.QueryStandaloneFormsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.queryStandaloneForms(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: '/v4/standalone-forms/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 getSiteProperties(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetSitePropertiesRequest,\n ambassadorWixFormsV1StandaloneFormTypes.GetSitePropertiesRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetSitePropertiesResponse,\n ambassadorWixFormsV1StandaloneFormTypes.GetSitePropertiesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.getSiteProperties(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: '/v4/standalone-forms/site-properties',\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 StandaloneForm as StandaloneFormOriginal,\n GetOrCreateFormStandaloneMetaSiteRequest as GetOrCreateFormStandaloneMetaSiteRequestOriginal,\n GetOrCreateFormStandaloneMetaSiteResponse as GetOrCreateFormStandaloneMetaSiteResponseOriginal,\n CreateStandaloneFormRequest as CreateStandaloneFormRequestOriginal,\n CreateStandaloneFormResponse as CreateStandaloneFormResponseOriginal,\n GetStandaloneFormRequest as GetStandaloneFormRequestOriginal,\n GetStandaloneFormResponse as GetStandaloneFormResponseOriginal,\n DeleteStandaloneFormRequest as DeleteStandaloneFormRequestOriginal,\n DeleteStandaloneFormResponse as DeleteStandaloneFormResponseOriginal,\n RemoveStandaloneFormFromTrashBinRequest as RemoveStandaloneFormFromTrashBinRequestOriginal,\n RemoveStandaloneFormFromTrashBinResponse as RemoveStandaloneFormFromTrashBinResponseOriginal,\n RestoreStandaloneFormFromTrashBinRequest as RestoreStandaloneFormFromTrashBinRequestOriginal,\n RestoreStandaloneFormFromTrashBinResponse as RestoreStandaloneFormFromTrashBinResponseOriginal,\n GetDeletedStandaloneFormRequest as GetDeletedStandaloneFormRequestOriginal,\n GetDeletedStandaloneFormResponse as GetDeletedStandaloneFormResponseOriginal,\n ListDeletedStandaloneFormsRequest as ListDeletedStandaloneFormsRequestOriginal,\n CursorPaging as CursorPagingOriginal,\n ListDeletedStandaloneFormsResponse as ListDeletedStandaloneFormsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n QueryStandaloneFormsRequest as QueryStandaloneFormsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n QueryStandaloneFormsResponse as QueryStandaloneFormsResponseOriginal,\n GetSitePropertiesRequest as GetSitePropertiesRequestOriginal,\n GetSitePropertiesResponse as GetSitePropertiesResponseOriginal,\n StandaloneMetaSiteProperties as StandaloneMetaSitePropertiesOriginal,\n SitePropertiesNotification as SitePropertiesNotificationOriginal,\n SitePropertiesEvent as SitePropertiesEventOriginal,\n Properties as PropertiesOriginal,\n Categories as CategoriesOriginal,\n Locale as LocaleOriginal,\n Address as AddressOriginal,\n AddressHint as AddressHintOriginal,\n PlacementType as PlacementTypeOriginal,\n PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal,\n GeoCoordinates as GeoCoordinatesOriginal,\n BusinessSchedule as BusinessScheduleOriginal,\n TimePeriod as TimePeriodOriginal,\n DayOfWeek as DayOfWeekOriginal,\n DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n SpecialHourPeriod as SpecialHourPeriodOriginal,\n Multilingual as MultilingualOriginal,\n SupportedLanguage as SupportedLanguageOriginal,\n ResolutionMethod as ResolutionMethodOriginal,\n ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal,\n ConsentPolicy as ConsentPolicyOriginal,\n Translation as TranslationOriginal,\n ChangeContext as ChangeContextOriginal,\n ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal,\n PropertiesChange as PropertiesChangeOriginal,\n V4SiteCreated as V4SiteCreatedOriginal,\n SiteCloned as SiteClonedOriginal,\n Empty as EmptyOriginal,\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 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 UserDomainMediaEnabled as UserDomainMediaEnabledOriginal,\n UserDomainMediaDisabled as UserDomainMediaDisabledOriginal,\n EditorlessAssigned as EditorlessAssignedOriginal,\n EditorlessUnassigned as EditorlessUnassignedOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n CreateStandaloneFormApplicationErrors as CreateStandaloneFormApplicationErrorsOriginal,\n GetSitePropertiesApplicationErrors as GetSitePropertiesApplicationErrorsOriginal,\n} from './forms-v1-standalone-form-standalone-forms.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,6BAA6B;AAAA,EACrC,EAAE,MAAM,6BAA6B;AACvC;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,8BAA8B;AAAA,EACtC,EAAE,MAAM,8BAA8B;AACxC;AAEA,SAAS,0CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AA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BAAmB;AAAA,IACnD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,8BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,2BAA2B,OAAO;AAEvE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,qBAAqB,OAAO;AAEjE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,qBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,kBAAkB,OAAO;AAE9D,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","SortOrder","PlacementType","DayOfWeek","ResolutionMethod","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createStandaloneForm","getStandaloneForm","deleteStandaloneForm","removeStandaloneFormFromTrashBin","restoreStandaloneFormFromTrashBin","getDeletedStandaloneForm","listDeletedStandaloneForms","queryStandaloneForms","getSiteProperties"]}
|
|
1
|
+
{"version":3,"sources":["../../src/forms-v1-standalone-form-standalone-forms.http.ts","../../src/forms-v1-standalone-form-standalone-forms.types.ts","../../src/forms-v1-standalone-form-standalone-forms.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'standaloneForm.createdDate' },\n { path: 'standaloneForm.updatedDate' },\n];\nconst TRANSFORM_PATHS_1 = [\n { path: 'standaloneForms.createdDate' },\n { path: 'standaloneForms.updatedDate' },\n];\n\nfunction resolveWixFormsV1FormStandaloneServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/form-standalone-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n {\n srcPath: '/forms/v4/standalone-forms',\n destPath: '/v4/standalone-forms',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/forms/v4/standalone-forms',\n destPath: '/v4/standalone-forms',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/forms/v4/standalone-forms',\n destPath: '/v4/standalone-forms',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/form-standalone-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_standalone-forms_standalone-forms';\n\n/**\n * Creates a standalone form, which marks a form as standalone so responders can reach it at its own public URL.\n *\n * The form must already exist. Create it with [Create Form](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/create-form) first. The standalone form is owned by\n * the site your request is authorized for. Each form can be marked standalone once per site.\n *\n * The response includes the `id` and `accountSlug` that make up the standalone form's public URL.\n *\n * To stop hosting the form as standalone, call [Delete Standalone Form](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/delete-standalone-form).\n */\nexport function createStandaloneForm(\n payload: object\n): RequestOptionsFactory<any> {\n function __createStandaloneForm({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'POST' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.CreateStandaloneForm',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createStandaloneForm;\n}\n\n/**\n * Retrieves a standalone form.\n *\n * To retrieve the form's fields and settings, pass the returned `formId` to [Get Form](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/get-form).\n */\nexport function getStandaloneForm(payload: object): RequestOptionsFactory<any> {\n function __getStandaloneForm({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'GET' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.GetStandaloneForm',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/{standaloneFormId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getStandaloneForm;\n}\n\n/**\n * Deletes a standalone form.\n *\n * Deleting a standalone form means the form is no longer standalone. The form itself isn't deleted.\n *\n * By default, the standalone form is moved to the trash bin. From there, you can restore it with\n * [Restore Standalone Form From Trash Bin](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/restore-standalone-form-from-trash-bin) or permanently delete it with\n * [Remove Standalone Form From Trash Bin](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/remove-standalone-form-from-trash-bin). To permanently delete the standalone form right away, set\n * `permanent` to `true`.\n */\nexport function deleteStandaloneForm(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteStandaloneForm({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'DELETE' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.DeleteStandaloneForm',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/{standaloneFormId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteStandaloneForm;\n}\n\n/**\n * Permanently deletes a standalone form from the trash bin.\n *\n * To move a standalone form to the trash bin, call [Delete Standalone Form](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/delete-standalone-form).\n */\nexport function removeStandaloneFormFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeStandaloneFormFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.forms.v1.FormStandaloneService.RemoveStandaloneFormFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/trash-bin/{standaloneFormId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __removeStandaloneFormFromTrashBin;\n}\n\n/**\n * Restores a standalone form from the trash bin.\n *\n * The restored standalone form keeps its `id` and `accountSlug`, so its public URL works again.\n */\nexport function restoreStandaloneFormFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __restoreStandaloneFormFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'POST' as any,\n methodFqn:\n 'wix.forms.v1.FormStandaloneService.RestoreStandaloneFormFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/trash-bin/{standaloneFormId}/restore',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __restoreStandaloneFormFromTrashBin;\n}\n\n/** Retrieves a standalone form from the trash bin. */\nexport function getDeletedStandaloneForm(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeletedStandaloneForm({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'GET' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.GetDeletedStandaloneForm',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/trash-bin/{standaloneFormId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeletedStandaloneForm;\n}\n\n/**\n * Retrieves a list of standalone forms in the trash bin.\n *\n * To retrieve specific standalone forms, specify their IDs in `standaloneFormIds`.\n */\nexport function listDeletedStandaloneForms(\n payload: object\n): RequestOptionsFactory<any> {\n function __listDeletedStandaloneForms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'GET' as any,\n methodFqn:\n 'wix.forms.v1.FormStandaloneService.ListDeletedStandaloneForms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/trash-bin',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDeletedStandaloneForms;\n}\n\n/**\n * Retrieves a list of up to 100 standalone forms, given the provided paging, filtering, and sorting.\n *\n * Query Standalone Forms runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `cursorPaging.limit` is `50`\n *\n * Supported properties for filtering and sorting: `id`, `formId`, `metaSiteId`, `createdDate`, `updatedDate`.\n *\n * To learn about working with Query methods, see\n * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),\n * [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging),\n * and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).\n */\nexport function queryStandaloneForms(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryStandaloneForms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'POST' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.QueryStandaloneForms',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryStandaloneForms;\n}\n\n/**\n * Retrieves the currency and locale of the site your request is authorized for.\n *\n * Use these values to display prices and labels correctly when you render a standalone form. Results may be cached,\n * so recent changes to the site's settings might not appear right away.\n */\nexport function getSiteProperties(payload: object): RequestOptionsFactory<any> {\n function __getSiteProperties({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.forms.v1.standalone_form',\n method: 'GET' as any,\n methodFqn: 'wix.forms.v1.FormStandaloneService.GetSiteProperties',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFormsV1FormStandaloneServiceUrl({\n protoPath: '/v4/standalone-forms/site-properties',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getSiteProperties;\n}\n","/**\n * A standalone form marks a [form](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/introduction) as standalone, so responders can reach it at its own public URL\n * instead of on a Wix site.\n *\n * A form doesn't indicate whether it's standalone. A standalone form that references the form is what makes it\n * standalone.\n */\nexport interface StandaloneForm {\n /**\n * Standalone form ID.\n *\n * Used in the standalone form's public URL. See `accountSlug` for the URL format.\n * @maxLength 36\n * @readonly\n */\n id?: string | null;\n /**\n * ID of the [form](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/introduction) that the standalone form marks as standalone.\n *\n * The form must exist before you create the standalone form.\n * @format GUID\n */\n formId?: string | null;\n /**\n * ID of the site that owns the standalone form.\n *\n * Set to the site your request is authorized for when the standalone form is created.\n * @format GUID\n * @readonly\n */\n metaSiteId?: string | null;\n /**\n * Date and time the standalone form was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the standalone form was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Account slug of the site owner, used in the standalone form's public URL.\n *\n * The standalone form's public URL is:\n * - `https://{accountSlug}.wixforms.com/f/{id}` when `accountSlug` is set.\n * - `https://www.wixforms.com/f/{id}` when `accountSlug` is empty.\n *\n * Set when the standalone form is created and doesn't change afterward.\n * @maxLength 50\n * @readonly\n */\n accountSlug?: string | null;\n}\n\nexport interface GetOrCreateFormStandaloneMetaSiteRequest {}\n\nexport interface GetOrCreateFormStandaloneMetaSiteResponse {\n /**\n * Meta site ID.\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface CreateStandaloneFormRequest {\n /** Standalone form to create. */\n standaloneForm: StandaloneForm;\n}\n\nexport interface CreateStandaloneFormResponse {\n /** Created standalone form. */\n standaloneForm?: StandaloneForm;\n}\n\nexport interface GetStandaloneFormRequest {\n /**\n * ID of the standalone form to retrieve.\n * @maxLength 36\n */\n standaloneFormId: string;\n}\n\nexport interface GetStandaloneFormResponse {\n /** Retrieved standalone form. */\n standaloneForm?: StandaloneForm;\n}\n\nexport interface DeleteStandaloneFormRequest {\n /**\n * ID of the standalone form to delete.\n * @maxLength 36\n */\n standaloneFormId: string;\n /**\n * Whether to permanently delete the standalone form instead of moving it to the trash bin.\n *\n * Default: `false`\n */\n permanent?: boolean;\n}\n\nexport interface DeleteStandaloneFormResponse {}\n\nexport interface RemoveStandaloneFormFromTrashBinRequest {\n /**\n * ID of the standalone form to permanently delete.\n * @maxLength 36\n */\n standaloneFormId: string;\n}\n\nexport interface RemoveStandaloneFormFromTrashBinResponse {}\n\nexport interface RestoreStandaloneFormFromTrashBinRequest {\n /**\n * ID of the standalone form to restore.\n * @maxLength 36\n */\n standaloneFormId: string;\n}\n\nexport interface RestoreStandaloneFormFromTrashBinResponse {\n /** Restored standalone form. */\n standaloneForm?: StandaloneForm;\n}\n\nexport interface GetDeletedStandaloneFormRequest {\n /**\n * ID of the standalone form to retrieve from the trash bin.\n * @maxLength 36\n */\n standaloneFormId: string;\n}\n\nexport interface GetDeletedStandaloneFormResponse {\n /** Retrieved standalone form. */\n standaloneForm?: StandaloneForm;\n}\n\nexport interface ListDeletedStandaloneFormsRequest {\n /**\n * IDs of the standalone forms to retrieve from the trash bin.\n *\n * Default: All standalone forms in the trash bin.\n * @maxSize 100\n * @maxLength 36\n */\n standaloneFormIds?: string[];\n /** Cursor paging options. */\n paging?: CursorPaging;\n}\n\nexport interface CursorPaging {\n /**\n * Number of items to load.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * You can get the relevant cursor token\n * 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 ListDeletedStandaloneFormsResponse {\n /**\n * Retrieved standalone forms.\n * @maxSize 100\n */\n standaloneForms?: StandaloneForm[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor pointing to next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface QueryStandaloneFormsRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) for more information. */\n query: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\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 in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 3\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\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 QueryStandaloneFormsResponse {\n /**\n * Retrieved standalone forms.\n * @maxSize 100\n */\n standaloneForms?: StandaloneForm[];\n /** Paging metadata. */\n metadata?: CursorPagingMetadata;\n}\n\nexport interface GetSitePropertiesRequest {}\n\nexport interface GetSitePropertiesResponse {\n /** Site's currency and locale. */\n siteProperties?: StandaloneMetaSiteProperties;\n}\n\n/** Currency and locale settings of a site. */\nexport interface StandaloneMetaSiteProperties {\n /**\n * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n *\n * Empty if the site's payment currency isn't set.\n */\n paymentCurrency?: string | null;\n /**\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n *\n * Empty if the site's locale isn't set.\n * @maxLength 2\n */\n localeLanguageCode?: string;\n /**\n * Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.\n *\n * Empty if the site's locale isn't set.\n * @maxLength 2\n */\n localeCountry?: string;\n}\n\n/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */\nexport interface SitePropertiesNotification {\n /** The site ID for which this update notification applies. */\n metasiteId?: string;\n /** The actual update event. */\n event?: SitePropertiesEvent;\n /**\n * A convenience set of mappings from the MetaSite ID to its constituent services.\n * @maxSize 500\n */\n translations?: Translation[];\n /** Context of the notification */\n changeContext?: ChangeContext;\n}\n\n/** The actual update event for a particular notification. */\nexport interface SitePropertiesEvent {\n /** Version of the site's properties represented by this update. */\n version?: number;\n /** Set of properties that were updated - corresponds to the fields in \"properties\". */\n fields?: string[];\n /** Updated properties. */\n properties?: Properties;\n}\n\nexport interface Properties {\n /** Site categories. */\n categories?: Categories;\n /** Site locale. */\n locale?: Locale;\n /**\n * Site language.\n *\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n */\n language?: string | null;\n /**\n * Site currency used to bill customers.\n *\n * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n */\n paymentCurrency?: string | null;\n /** Site time zone in IANA time zone database format. For example, `America/New_York`. */\n timeZone?: string | null;\n /** Email address. */\n email?: string | null;\n /** Phone number. */\n phone?: string | null;\n /** Fax number. */\n fax?: string | null;\n /** Address. */\n address?: Address;\n /** Site display name. */\n siteDisplayName?: string | null;\n /** Business name. */\n businessName?: string | null;\n /** Path to the site's logo in Wix Media (without Wix Media base URL). */\n logo?: string | null;\n /** Site description. */\n description?: string | null;\n /**\n * Business schedule. Regular and exceptional time periods when the business is open or the service is available.\n *\n * __Note:__ Not supported by Wix Bookings.\n */\n businessSchedule?: BusinessSchedule;\n /** Supported languages of a site and the primary language. */\n multilingual?: Multilingual;\n /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */\n consentPolicy?: ConsentPolicy;\n /**\n * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.\n *\n * Site business type.\n */\n businessConfig?: string | null;\n /** External site URL that uses Wix as its headless business solution. */\n externalSiteUrl?: string | null;\n /** Track clicks analytics. */\n trackClicksAnalytics?: boolean;\n /**\n * Company ID issued to the business by local authorities. Appears on invoices and price quotes.\n * @maxLength 50\n */\n companyId?: string | null;\n}\n\nexport interface Categories {\n /** Primary site category. */\n primary?: string;\n /**\n * Secondary site category.\n * @maxSize 50\n */\n secondary?: string[];\n /** Business Term Id */\n businessTermId?: string | null;\n}\n\nexport interface Locale {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */\n country?: string;\n}\n\nexport interface Address {\n /** Street name. */\n street?: string;\n /** City name. */\n city?: string;\n /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */\n country?: string;\n /** State. */\n state?: string;\n /**\n * Zip or postal code.\n * @maxLength 20\n */\n zip?: string;\n /** Extra information to be displayed in the address. */\n hint?: AddressHint;\n /** Whether this address represents a physical location. */\n isPhysical?: boolean;\n /** Google-formatted version of this address. */\n googleFormattedAddress?: string;\n /** Street number. */\n streetNumber?: string;\n /** Apartment number. */\n apartmentNumber?: string;\n /** Geographic coordinates of location. */\n coordinates?: GeoCoordinates;\n}\n\n/**\n * Extra information on displayed addresses.\n * This is used for display purposes. Used to add additional data about the address, such as \"In the passage\".\n * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.\n */\nexport interface AddressHint {\n /** Extra text displayed next to, or instead of, the actual address. */\n text?: string;\n /** Where the extra text should be displayed. */\n placement?: PlacementTypeWithLiterals;\n}\n\n/** Where the extra text should be displayed: before, after or instead of the actual address. */\nexport enum PlacementType {\n BEFORE = 'BEFORE',\n AFTER = 'AFTER',\n REPLACE = 'REPLACE',\n}\n\n/** @enumType */\nexport type PlacementTypeWithLiterals =\n | PlacementType\n | 'BEFORE'\n | 'AFTER'\n | 'REPLACE';\n\n/** Geocoordinates for a particular address. */\nexport interface GeoCoordinates {\n /** Latitude of the location. Must be between -90 and 90. */\n latitude?: number;\n /** Longitude of the location. Must be between -180 and 180. */\n longitude?: number;\n}\n\n/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */\nexport interface BusinessSchedule {\n /**\n * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.\n * @maxSize 100\n */\n periods?: TimePeriod[];\n /**\n * Exceptions to the business's regular hours. The business can be open or closed during the exception.\n * @maxSize 100\n */\n specialHourPeriod?: SpecialHourPeriod[];\n}\n\n/** Weekly recurring time periods when the business is regularly open or the service is available. */\nexport interface TimePeriod {\n /** Day of the week the period starts on. */\n openDay?: DayOfWeekWithLiterals;\n /**\n * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n * midnight at the end of the specified day.\n */\n openTime?: string;\n /** Day of the week the period ends on. */\n closeDay?: DayOfWeekWithLiterals;\n /**\n * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n * midnight at the end of the specified day.\n *\n * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.\n */\n closeTime?: string;\n}\n\n/** Enumerates the days of the week. */\nexport enum DayOfWeek {\n MONDAY = 'MONDAY',\n TUESDAY = 'TUESDAY',\n WEDNESDAY = 'WEDNESDAY',\n THURSDAY = 'THURSDAY',\n FRIDAY = 'FRIDAY',\n SATURDAY = 'SATURDAY',\n SUNDAY = 'SUNDAY',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n | DayOfWeek\n | 'MONDAY'\n | 'TUESDAY'\n | 'WEDNESDAY'\n | 'THURSDAY'\n | 'FRIDAY'\n | 'SATURDAY'\n | 'SUNDAY';\n\n/** Exception to the business's regular hours. The business can be open or closed during the exception. */\nexport interface SpecialHourPeriod {\n /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n startDate?: string;\n /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n endDate?: string;\n /**\n * Whether the business is closed (or the service is not available) during the exception.\n *\n * Default: `true`.\n */\n isClosed?: boolean;\n /** Additional info about the exception. For example, \"We close earlier on New Year's Eve.\" */\n comment?: string;\n}\n\nexport interface Multilingual {\n /**\n * Supported languages list.\n * @maxSize 200\n */\n supportedLanguages?: SupportedLanguage[];\n /** Whether to redirect to user language. */\n autoRedirect?: boolean;\n}\n\nexport interface SupportedLanguage {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Locale. */\n locale?: Locale;\n /** Whether the supported language is the primary language for the site. */\n isPrimary?: boolean;\n /** Language icon. */\n countryCode?: string;\n /** How the language will be resolved. For internal use. */\n resolutionMethod?: ResolutionMethodWithLiterals;\n /** Whether the supported language is the primary language for site visitors. */\n isVisitorPrimary?: boolean | null;\n}\n\nexport enum ResolutionMethod {\n QUERY_PARAM = 'QUERY_PARAM',\n SUBDOMAIN = 'SUBDOMAIN',\n SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ResolutionMethodWithLiterals =\n | ResolutionMethod\n | 'QUERY_PARAM'\n | 'SUBDOMAIN'\n | 'SUBDIRECTORY';\n\nexport interface ConsentPolicy {\n /** Whether the site uses cookies that are essential to site operation. Always `true`. */\n essential?: boolean | null;\n /** Whether the site uses cookies that affect site performance and other functional measurements. */\n functional?: boolean | null;\n /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */\n analytics?: boolean | null;\n /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */\n advertising?: boolean | null;\n /** CCPA compliance flag. */\n dataToThirdParty?: boolean | null;\n}\n\n/** A single mapping from the MetaSite ID to a particular service. */\nexport interface Translation {\n /** The service type. */\n serviceType?: string;\n /** The application definition ID; this only applies to services of type ThirdPartyApps. */\n appDefId?: string;\n /** The instance ID of the service. */\n instanceId?: string;\n}\n\nexport interface ChangeContext extends ChangeContextPayloadOneOf {\n /** Properties were updated. */\n propertiesChange?: PropertiesChange;\n /** Default properties were created on site creation. */\n siteCreated?: V4SiteCreated;\n /** Properties were cloned on site cloning. */\n siteCloned?: SiteCloned;\n}\n\n/** @oneof */\nexport interface ChangeContextPayloadOneOf {\n /** Properties were updated. */\n propertiesChange?: PropertiesChange;\n /** Default properties were created on site creation. */\n siteCreated?: V4SiteCreated;\n /** Properties were cloned on site cloning. */\n siteCloned?: SiteCloned;\n}\n\nexport interface PropertiesChange {}\n\nexport interface V4SiteCreated {\n /** Origin template site id. */\n originTemplateId?: string | null;\n}\n\nexport interface SiteCloned {\n /** Origin site id. */\n originMetaSiteId?: string;\n}\n\nexport interface Empty {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface 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 /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /** Emitted when Editorless is attached. */\n editorlessAssigned?: EditorlessAssigned;\n /** Emitted when Editorless is detached. */\n editorlessUnassigned?: EditorlessUnassigned;\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 /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /** Emitted when Editorless is attached. */\n editorlessAssigned?: EditorlessAssigned;\n /** Emitted when Editorless is detached. */\n editorlessUnassigned?: EditorlessUnassigned;\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 /**\n * AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default.\n * Not the dev-center dev site (see Flag.DEV_CENTER_DEV_SITE_FLAG).\n */\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 /** Wix Channels Sites */\n CHANNELS = 'CHANNELS',\n /** Nautilus platform. */\n NAUTILUS = 'NAUTILUS',\n /**\n * Symphony — a siteless site representing a project within Symphony (the evolution of Orion).\n * Holds project data, conversations, assets, and manages collaborators / shared team members for the project.\n */\n SYMPHONY = 'SYMPHONY',\n /** Nautilus platform app. */\n NAUTILUS_APPS = 'NAUTILUS_APPS',\n /**\n * Vibu — a siteless site representing a project built with Vibu (the AI app builder).\n * Holds the project's generated code, conversations, assets, and manages collaborators for the project.\n */\n VIBU = 'VIBU',\n /**\n * Ghost site for the BrandKit multi-site platform. Each ghost backs a single BrandKit\n * (an Enterprise account may have several), holding that BrandKit's brand definition\n * (theme, typography, assets) which is rolled out to the BrandKit's connected sites.\n * MetaSites with this namespace will *not* be shown in a user's site list by default.\n */\n ENTERPRISE_BRAND_KIT = 'ENTERPRISE_BRAND_KIT',\n /**\n * Dev-center development sites (com.wixpress.devcenter.dsm).\n * DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.\n */\n DEV_CENTER_DEV_SITE = 'DEV_CENTER_DEV_SITE',\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 | 'CHANNELS'\n | 'NAUTILUS'\n | 'SYMPHONY'\n | 'NAUTILUS_APPS'\n | 'VIBU'\n | 'ENTERPRISE_BRAND_KIT'\n | 'DEV_CENTER_DEV_SITE';\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\n/** Media from user domain is enabled. */\nexport interface UserDomainMediaEnabled {}\n\n/** Media from user domain is disabled. */\nexport interface UserDomainMediaDisabled {}\n\n/** Assigned Editorless */\nexport interface EditorlessAssigned {}\n\n/** Unassigned Editorless */\nexport interface EditorlessUnassigned {}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateStandaloneFormApplicationErrors = {\n code?: 'FAILED_PRECONDITION';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type GetSitePropertiesApplicationErrors = {\n code?: 'SITE_PROPERTIES_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixFormsV1StandaloneForm from './forms-v1-standalone-form-standalone-forms.http.js';\nimport * as ambassadorWixFormsV1StandaloneFormTypes from './forms-v1-standalone-form-standalone-forms.types.js';\nimport * as ambassadorWixFormsV1StandaloneFormUniversalTypes from './forms-v1-standalone-form-standalone-forms.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 createStandaloneForm(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFormsV1StandaloneFormUniversalTypes.CreateStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormTypes.CreateStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.CreateStandaloneFormResponse,\n ambassadorWixFormsV1StandaloneFormTypes.CreateStandaloneFormResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.createStandaloneForm(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: '/v4/standalone-forms',\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 getStandaloneForm(): __PublicMethodMetaInfo<\n 'GET',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormTypes.GetStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetStandaloneFormResponse,\n ambassadorWixFormsV1StandaloneFormTypes.GetStandaloneFormResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.getStandaloneForm(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: '/v4/standalone-forms/{standaloneFormId}',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 deleteStandaloneForm(): __PublicMethodMetaInfo<\n 'DELETE',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.DeleteStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormTypes.DeleteStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.DeleteStandaloneFormResponse,\n ambassadorWixFormsV1StandaloneFormTypes.DeleteStandaloneFormResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.deleteStandaloneForm(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: '/v4/standalone-forms/{standaloneFormId}',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 removeStandaloneFormFromTrashBin(): __PublicMethodMetaInfo<\n 'DELETE',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.RemoveStandaloneFormFromTrashBinRequest,\n ambassadorWixFormsV1StandaloneFormTypes.RemoveStandaloneFormFromTrashBinRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.RemoveStandaloneFormFromTrashBinResponse,\n ambassadorWixFormsV1StandaloneFormTypes.RemoveStandaloneFormFromTrashBinResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.removeStandaloneFormFromTrashBin(\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: 'DELETE',\n path: '/v4/standalone-forms/trash-bin/{standaloneFormId}',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 restoreStandaloneFormFromTrashBin(): __PublicMethodMetaInfo<\n 'POST',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.RestoreStandaloneFormFromTrashBinRequest,\n ambassadorWixFormsV1StandaloneFormTypes.RestoreStandaloneFormFromTrashBinRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.RestoreStandaloneFormFromTrashBinResponse,\n ambassadorWixFormsV1StandaloneFormTypes.RestoreStandaloneFormFromTrashBinResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.restoreStandaloneFormFromTrashBin(\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: '/v4/standalone-forms/trash-bin/{standaloneFormId}/restore',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 getDeletedStandaloneForm(): __PublicMethodMetaInfo<\n 'GET',\n { standaloneFormId: string },\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetDeletedStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormTypes.GetDeletedStandaloneFormRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetDeletedStandaloneFormResponse,\n ambassadorWixFormsV1StandaloneFormTypes.GetDeletedStandaloneFormResponse\n> {\n const payload = { standaloneFormId: ':standaloneFormId' } as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.getDeletedStandaloneForm(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: '/v4/standalone-forms/trash-bin/{standaloneFormId}',\n pathParams: { standaloneFormId: 'standaloneFormId' },\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 listDeletedStandaloneForms(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixFormsV1StandaloneFormUniversalTypes.ListDeletedStandaloneFormsRequest,\n ambassadorWixFormsV1StandaloneFormTypes.ListDeletedStandaloneFormsRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.ListDeletedStandaloneFormsResponse,\n ambassadorWixFormsV1StandaloneFormTypes.ListDeletedStandaloneFormsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.listDeletedStandaloneForms(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: '/v4/standalone-forms/trash-bin',\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 queryStandaloneForms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFormsV1StandaloneFormUniversalTypes.QueryStandaloneFormsRequest,\n ambassadorWixFormsV1StandaloneFormTypes.QueryStandaloneFormsRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.QueryStandaloneFormsResponse,\n ambassadorWixFormsV1StandaloneFormTypes.QueryStandaloneFormsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.queryStandaloneForms(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: '/v4/standalone-forms/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 getSiteProperties(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetSitePropertiesRequest,\n ambassadorWixFormsV1StandaloneFormTypes.GetSitePropertiesRequest,\n ambassadorWixFormsV1StandaloneFormUniversalTypes.GetSitePropertiesResponse,\n ambassadorWixFormsV1StandaloneFormTypes.GetSitePropertiesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFormsV1StandaloneForm.getSiteProperties(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: '/v4/standalone-forms/site-properties',\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 StandaloneForm as StandaloneFormOriginal,\n GetOrCreateFormStandaloneMetaSiteRequest as GetOrCreateFormStandaloneMetaSiteRequestOriginal,\n GetOrCreateFormStandaloneMetaSiteResponse as GetOrCreateFormStandaloneMetaSiteResponseOriginal,\n CreateStandaloneFormRequest as CreateStandaloneFormRequestOriginal,\n CreateStandaloneFormResponse as CreateStandaloneFormResponseOriginal,\n GetStandaloneFormRequest as GetStandaloneFormRequestOriginal,\n GetStandaloneFormResponse as GetStandaloneFormResponseOriginal,\n DeleteStandaloneFormRequest as DeleteStandaloneFormRequestOriginal,\n DeleteStandaloneFormResponse as DeleteStandaloneFormResponseOriginal,\n RemoveStandaloneFormFromTrashBinRequest as RemoveStandaloneFormFromTrashBinRequestOriginal,\n RemoveStandaloneFormFromTrashBinResponse as RemoveStandaloneFormFromTrashBinResponseOriginal,\n RestoreStandaloneFormFromTrashBinRequest as RestoreStandaloneFormFromTrashBinRequestOriginal,\n RestoreStandaloneFormFromTrashBinResponse as RestoreStandaloneFormFromTrashBinResponseOriginal,\n GetDeletedStandaloneFormRequest as GetDeletedStandaloneFormRequestOriginal,\n GetDeletedStandaloneFormResponse as GetDeletedStandaloneFormResponseOriginal,\n ListDeletedStandaloneFormsRequest as ListDeletedStandaloneFormsRequestOriginal,\n CursorPaging as CursorPagingOriginal,\n ListDeletedStandaloneFormsResponse as ListDeletedStandaloneFormsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n QueryStandaloneFormsRequest as QueryStandaloneFormsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n QueryStandaloneFormsResponse as QueryStandaloneFormsResponseOriginal,\n GetSitePropertiesRequest as GetSitePropertiesRequestOriginal,\n GetSitePropertiesResponse as GetSitePropertiesResponseOriginal,\n StandaloneMetaSiteProperties as StandaloneMetaSitePropertiesOriginal,\n SitePropertiesNotification as SitePropertiesNotificationOriginal,\n SitePropertiesEvent as SitePropertiesEventOriginal,\n Properties as PropertiesOriginal,\n Categories as CategoriesOriginal,\n Locale as LocaleOriginal,\n Address as AddressOriginal,\n AddressHint as AddressHintOriginal,\n PlacementType as PlacementTypeOriginal,\n PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal,\n GeoCoordinates as GeoCoordinatesOriginal,\n BusinessSchedule as BusinessScheduleOriginal,\n TimePeriod as TimePeriodOriginal,\n DayOfWeek as DayOfWeekOriginal,\n DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n SpecialHourPeriod as SpecialHourPeriodOriginal,\n Multilingual as MultilingualOriginal,\n SupportedLanguage as SupportedLanguageOriginal,\n ResolutionMethod as ResolutionMethodOriginal,\n ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal,\n ConsentPolicy as ConsentPolicyOriginal,\n Translation as TranslationOriginal,\n ChangeContext as ChangeContextOriginal,\n ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal,\n PropertiesChange as PropertiesChangeOriginal,\n V4SiteCreated as V4SiteCreatedOriginal,\n SiteCloned as SiteClonedOriginal,\n Empty as EmptyOriginal,\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 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 UserDomainMediaEnabled as UserDomainMediaEnabledOriginal,\n UserDomainMediaDisabled as UserDomainMediaDisabledOriginal,\n EditorlessAssigned as EditorlessAssignedOriginal,\n EditorlessUnassigned as EditorlessUnassignedOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n CreateStandaloneFormApplicationErrors as CreateStandaloneFormApplicationErrorsOriginal,\n GetSitePropertiesApplicationErrors as GetSitePropertiesApplicationErrorsOriginal,\n} from './forms-v1-standalone-form-standalone-forms.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,6BAA6B;AAAA,EACrC,EAAE,MAAM,6BAA6B;AACvC;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,8BAA8B;AAAA,EACtC,EAAE,MAAM,8BAA8B;AACxC;AAEA,SAAS,0CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAA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A,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,qBAAqB,OAAO;AAEjE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,qBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,kBAAkB,OAAO;AAE9D,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","SortOrder","PlacementType","DayOfWeek","ResolutionMethod","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createStandaloneForm","getStandaloneForm","deleteStandaloneForm","removeStandaloneFormFromTrashBin","restoreStandaloneFormFromTrashBin","getDeletedStandaloneForm","listDeletedStandaloneForms","queryStandaloneForms","getSiteProperties"]}
|
|
@@ -5,13 +5,16 @@ export { AccountInfo, ActionEvent, Address, AddressHint, Asset, BusinessSchedule
|
|
|
5
5
|
declare function createStandaloneForm$1(httpClient: HttpClient): CreateStandaloneFormSignature;
|
|
6
6
|
interface CreateStandaloneFormSignature {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* to the meta site that owns it.
|
|
8
|
+
* Creates a standalone form, which marks a form as standalone so responders can reach it at its own public URL.
|
|
10
9
|
*
|
|
11
|
-
* The form
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
10
|
+
* The form must already exist. Create it with [Create Form](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/create-form) first. The standalone form is owned by
|
|
11
|
+
* the site your request is authorized for. Each form can be marked standalone once per site.
|
|
12
|
+
*
|
|
13
|
+
* The response includes the `id` and `accountSlug` that make up the standalone form's public URL.
|
|
14
|
+
*
|
|
15
|
+
* To stop hosting the form as standalone, call [Delete Standalone Form](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/delete-standalone-form).
|
|
16
|
+
* @param - Standalone form to create.
|
|
17
|
+
* @returns Created standalone form.
|
|
15
18
|
*/
|
|
16
19
|
(standaloneForm: NonNullablePaths<StandaloneForm, `formId`, 0>): Promise<StandaloneForm & {
|
|
17
20
|
__applicationErrorsType?: CreateStandaloneFormApplicationErrors;
|
|
@@ -20,69 +23,93 @@ interface CreateStandaloneFormSignature {
|
|
|
20
23
|
declare function getStandaloneForm$1(httpClient: HttpClient): GetStandaloneFormSignature;
|
|
21
24
|
interface GetStandaloneFormSignature {
|
|
22
25
|
/**
|
|
23
|
-
* Retrieves a standalone form
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
+
* Retrieves a standalone form.
|
|
27
|
+
*
|
|
28
|
+
* To retrieve the form's fields and settings, pass the returned `formId` to [Get Form](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/get-form).
|
|
29
|
+
* @param - ID of the standalone form to retrieve.
|
|
30
|
+
* @returns Retrieved standalone form.
|
|
26
31
|
*/
|
|
27
32
|
(standaloneFormId: string): Promise<StandaloneForm>;
|
|
28
33
|
}
|
|
29
34
|
declare function deleteStandaloneForm$1(httpClient: HttpClient): DeleteStandaloneFormSignature;
|
|
30
35
|
interface DeleteStandaloneFormSignature {
|
|
31
36
|
/**
|
|
32
|
-
* Deletes a standalone form
|
|
37
|
+
* Deletes a standalone form.
|
|
33
38
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
39
|
+
* Deleting a standalone form means the form is no longer standalone. The form itself isn't deleted.
|
|
40
|
+
*
|
|
41
|
+
* By default, the standalone form is moved to the trash bin. From there, you can restore it with
|
|
42
|
+
* [Restore Standalone Form From Trash Bin](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/restore-standalone-form-from-trash-bin) or permanently delete it with
|
|
43
|
+
* [Remove Standalone Form From Trash Bin](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/remove-standalone-form-from-trash-bin). To permanently delete the standalone form right away, set
|
|
44
|
+
* `permanent` to `true`.
|
|
45
|
+
* @param - ID of the standalone form to delete.
|
|
36
46
|
*/
|
|
37
47
|
(standaloneFormId: string, options?: DeleteStandaloneFormOptions): Promise<void>;
|
|
38
48
|
}
|
|
39
49
|
declare function removeStandaloneFormFromTrashBin$1(httpClient: HttpClient): RemoveStandaloneFormFromTrashBinSignature;
|
|
40
50
|
interface RemoveStandaloneFormFromTrashBinSignature {
|
|
41
51
|
/**
|
|
42
|
-
* Permanently deletes a standalone form
|
|
43
|
-
*
|
|
52
|
+
* Permanently deletes a standalone form from the trash bin.
|
|
53
|
+
*
|
|
54
|
+
* To move a standalone form to the trash bin, call [Delete Standalone Form](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/delete-standalone-form).
|
|
55
|
+
* @param - ID of the standalone form to permanently delete.
|
|
44
56
|
*/
|
|
45
57
|
(standaloneFormId: string): Promise<void>;
|
|
46
58
|
}
|
|
47
59
|
declare function restoreStandaloneFormFromTrashBin$1(httpClient: HttpClient): RestoreStandaloneFormFromTrashBinSignature;
|
|
48
60
|
interface RestoreStandaloneFormFromTrashBinSignature {
|
|
49
61
|
/**
|
|
50
|
-
* Restores a standalone form
|
|
51
|
-
*
|
|
62
|
+
* Restores a standalone form from the trash bin.
|
|
63
|
+
*
|
|
64
|
+
* The restored standalone form keeps its `id` and `accountSlug`, so its public URL works again.
|
|
65
|
+
* @param - ID of the standalone form to restore.
|
|
52
66
|
*/
|
|
53
67
|
(standaloneFormId: string): Promise<RestoreStandaloneFormFromTrashBinResponse>;
|
|
54
68
|
}
|
|
55
69
|
declare function getDeletedStandaloneForm$1(httpClient: HttpClient): GetDeletedStandaloneFormSignature;
|
|
56
70
|
interface GetDeletedStandaloneFormSignature {
|
|
57
71
|
/**
|
|
58
|
-
* Retrieves a standalone form
|
|
59
|
-
* @param -
|
|
72
|
+
* Retrieves a standalone form from the trash bin.
|
|
73
|
+
* @param - ID of the standalone form to retrieve from the trash bin.
|
|
60
74
|
*/
|
|
61
75
|
(standaloneFormId: string): Promise<GetDeletedStandaloneFormResponse>;
|
|
62
76
|
}
|
|
63
77
|
declare function listDeletedStandaloneForms$1(httpClient: HttpClient): ListDeletedStandaloneFormsSignature;
|
|
64
78
|
interface ListDeletedStandaloneFormsSignature {
|
|
65
79
|
/**
|
|
66
|
-
* Retrieves a list of standalone
|
|
80
|
+
* Retrieves a list of standalone forms in the trash bin.
|
|
81
|
+
*
|
|
82
|
+
* To retrieve specific standalone forms, specify their IDs in `standaloneFormIds`.
|
|
67
83
|
*/
|
|
68
84
|
(options?: ListDeletedStandaloneFormsOptions): Promise<NonNullablePaths<ListDeletedStandaloneFormsResponse, `standaloneForms`, 0>>;
|
|
69
85
|
}
|
|
70
86
|
declare function queryStandaloneForms$1(httpClient: HttpClient): QueryStandaloneFormsSignature;
|
|
71
87
|
interface QueryStandaloneFormsSignature {
|
|
72
88
|
/**
|
|
73
|
-
* Retrieves a list of standalone forms, given the provided
|
|
89
|
+
* Retrieves a list of up to 100 standalone forms, given the provided paging, filtering, and sorting.
|
|
90
|
+
*
|
|
91
|
+
* Query Standalone Forms runs with these defaults, which you can override:
|
|
92
|
+
*
|
|
93
|
+
* - `createdDate` is sorted in `DESC` order
|
|
94
|
+
* - `cursorPaging.limit` is `50`
|
|
95
|
+
*
|
|
96
|
+
* Supported properties for filtering and sorting: `id`, `formId`, `metaSiteId`, `createdDate`, `updatedDate`.
|
|
74
97
|
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
98
|
+
* To learn about working with Query methods, see
|
|
99
|
+
* [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),
|
|
100
|
+
* [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging),
|
|
101
|
+
* and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).
|
|
102
|
+
* @param - Query options. See [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) for more information.
|
|
77
103
|
*/
|
|
78
104
|
(query: CursorQuery): Promise<NonNullablePaths<QueryStandaloneFormsResponse, `standaloneForms`, 0>>;
|
|
79
105
|
}
|
|
80
106
|
declare function getSiteProperties$1(httpClient: HttpClient): GetSitePropertiesSignature;
|
|
81
107
|
interface GetSitePropertiesSignature {
|
|
82
108
|
/**
|
|
83
|
-
*
|
|
109
|
+
* Retrieves the currency and locale of the site your request is authorized for.
|
|
84
110
|
*
|
|
85
|
-
*
|
|
111
|
+
* Use these values to display prices and labels correctly when you render a standalone form. Results may be cached,
|
|
112
|
+
* so recent changes to the site's settings might not appear right away.
|
|
86
113
|
*/
|
|
87
114
|
(): Promise<NonNullablePaths<GetSitePropertiesResponse, `siteProperties.localeLanguageCode` | `siteProperties.localeCountry`, 1> & {
|
|
88
115
|
__applicationErrorsType?: GetSitePropertiesApplicationErrors;
|