{"version":3,"sources":["../../src/members-v1-custom-field-custom-fields.http.ts","../../src/members-v1-custom-field-custom-fields.types.ts","../../src/members-v1-custom-field-custom-fields.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\nfunction resolveComWixpressMembersCustomfieldsCustomFieldsUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/members/v1/custom-fields',\n        destPath: '/v1/custom-fields',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/members/v1/custom-fields',\n        destPath: '/v1/custom-fields',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/members/v1/custom-fields',\n        destPath: '/v1/custom-fields',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/members/v1/custom-fields',\n        destPath: '/v1/custom-fields',\n      },\n    ],\n    'editor-flow.wixapps.net': [\n      {\n        srcPath: '/_api/members/v1/custom-fields',\n        destPath: '/v1/custom-fields',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/members/v1/custom-fields',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/members/v1/custom-fields',\n        destPath: '/v1/custom-fields',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/members/v1/custom-fields',\n        destPath: '/v1/custom-fields',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_members_custom-fields';\n\n/** Creates a custom field. */\nexport function createCustomField(payload: object): RequestOptionsFactory<any> {\n  function __createCustomField({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'field.createdDate' }, { path: 'field.updatedDate' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.members.v1.custom_field',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.members.customfields.CustomFields.CreateCustomField',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressMembersCustomfieldsCustomFieldsUrl({\n        protoPath: '/v1/custom-fields',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'field.createdDate' },\n              { path: 'field.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createCustomField;\n}\n\n/** Retrieves a custom field by ID. */\nexport function getCustomField(payload: object): RequestOptionsFactory<any> {\n  function __getCustomField({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.members.v1.custom_field',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.members.customfields.CustomFields.GetCustomField',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressMembersCustomfieldsCustomFieldsUrl({\n        protoPath: '/v1/custom-fields/{id}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'field.createdDate' },\n              { path: 'field.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getCustomField;\n}\n\n/**\n * Retrieves a list of custom fields and fields provided by Members Area, given the provided paging.\n *\n * The fields are ordered by section in the following sequence:\n * - `GENERAL`\n * - `DISPLAY_INFO`\n * - `SOCIAL`\n *\n * The fields in the same section are ordered by the field creation date.\n *\n * To change the order of fields in sections, call Update Custom Fields Order.\n */\nexport function listCustomFields(payload: object): RequestOptionsFactory<any> {\n  function __listCustomFields({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.members.v1.custom_field',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.members.customfields.CustomFields.ListCustomFields',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressMembersCustomfieldsCustomFieldsUrl({\n        protoPath: '/v1/custom-fields',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'fields.createdDate' },\n              { path: 'fields.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listCustomFields;\n}\n\n/**\n * Updates a custom field.\n *\n * For custom fields you can update the following fields: `name`, `defaultPrivacy`, and `socialType`.\n *\n * For system fields you can only update the `defaultPrivacy` field.\n */\nexport function updateCustomField(payload: object): RequestOptionsFactory<any> {\n  function __updateCustomField({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'field.createdDate' }, { path: 'field.updatedDate' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.members.v1.custom_field',\n      method: 'PATCH' as any,\n      methodFqn:\n        'com.wixpress.members.customfields.CustomFields.UpdateCustomField',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressMembersCustomfieldsCustomFieldsUrl({\n        protoPath: '/v1/custom-fields/{field.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'field.createdDate' },\n              { path: 'field.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateCustomField;\n}\n\n/**\n * Deletes a custom field and removes the corresponding column from the [Contact List](https://support.wix.com/en/article/wix-contacts-managing-your-contact-list)\n * display. The custom field is no longer suggested when adding custom fields.\n */\nexport function deleteCustomField(payload: object): RequestOptionsFactory<any> {\n  function __deleteCustomField({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.members.v1.custom_field',\n      method: 'DELETE' as any,\n      methodFqn:\n        'com.wixpress.members.customfields.CustomFields.DeleteCustomField',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressMembersCustomfieldsCustomFieldsUrl({\n        protoPath: '/v1/custom-fields/{id}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteCustomField;\n}\n\n/**\n * Hides a custom field from the custom fields list, yet it's still available as a [suggested field](https://dev.wix.com/docs/rest/crm/members-contacts/members/custom-fields/custom-field-suggestions/introduction)\n * to add later.\n *\n * The related contacts custom field will still be available in the [Contact List](https://support.wix.com/en/article/wix-contacts-managing-your-contact-list).\n */\nexport function hideCustomField(payload: object): RequestOptionsFactory<any> {\n  function __hideCustomField({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.members.v1.custom_field',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.members.customfields.CustomFields.HideCustomField',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressMembersCustomfieldsCustomFieldsUrl({\n        protoPath: '/v1/custom-fields/{id}/hide',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __hideCustomField;\n}\n\n/** Updates the order of custom fields in a section. */\nexport function updateCustomFieldsOrder(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateCustomFieldsOrder({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.members.v1.custom_field',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.members.customfields.CustomFields.UpdateCustomFieldsOrder',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressMembersCustomfieldsCustomFieldsUrl({\n        protoPath: '/v1/custom-fields/order',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'fields.createdDate' },\n              { path: 'fields.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateCustomFieldsOrder;\n}\n","/**\n * A custom field extends the default member profile with additional information fields.\n * Custom fields allow Wix users to collect and display specific information from members, beyond the standard profile fields.\n */\nexport interface CustomField {\n  /**\n   * Custom field ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Custom field title.\n   * @minLength 1\n   * @maxLength 150\n   */\n  name?: string | null;\n  /**\n   * Custom field key.\n   * @readonly\n   */\n  key?: string | null;\n  /** Privacy level of the custom field. */\n  defaultPrivacy?: PrivacyWithLiterals;\n  /** Type of information to provide for members. */\n  fieldType?: TypeWithLiterals;\n  /** Social network type. */\n  socialType?: SocialTypeTypeWithLiterals;\n  /**\n   * Field origin.\n   * @readonly\n   */\n  fieldOrigin?: OriginWithLiterals;\n  /**\n   * Which members will have the custom field in their profile.\n   * @readonly\n   */\n  appliesTo?: AppliesToWithLiterals;\n  /**\n   * A section which the field belongs to.\n   * @readonly\n   */\n  section?: SectionWithLiterals;\n  /**\n   * Date and time when the field was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time when the field was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /** Revision number, which increments by 1 each time the custom field is updated. To prevent conflicting changes, the existing revision must be used when updating a custom field. */\n  revision?: string | null;\n}\n\nexport enum Privacy {\n  /** Unknown privacy. This value isn't used. */\n  UNKNOWN = 'UNKNOWN',\n  /** The information appears on the members' public profile pages. */\n  PUBLIC = 'PUBLIC',\n  /** Only the member can see this information. */\n  PRIVATE = 'PRIVATE',\n}\n\n/** @enumType */\nexport type PrivacyWithLiterals = Privacy | 'UNKNOWN' | 'PUBLIC' | 'PRIVATE';\n\nexport enum Type {\n  /** Unknown field type. This value isn't used. */\n  UNKNOWN = 'UNKNOWN',\n  /** A text box to write text. */\n  TEXT = 'TEXT',\n  /** Only a number can be entered into the field. */\n  NUMBER = 'NUMBER',\n  /** Only a date can be entered into the field. */\n  DATE = 'DATE',\n  /** Only a URL can be entered into the field. */\n  URL = 'URL',\n  /** Only a link from the selected social media platform can be entered into the field. */\n  SOCIAL = 'SOCIAL',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n  | Type\n  | 'UNKNOWN'\n  | 'TEXT'\n  | 'NUMBER'\n  | 'DATE'\n  | 'URL'\n  | 'SOCIAL';\n\nexport enum SocialTypeType {\n  /** Unknown social type. This value isn't used. */\n  UNKNOWN = 'UNKNOWN',\n  /** Facebook social media platform. */\n  FACEBOOK = 'FACEBOOK',\n  /** Instagram social media platform. */\n  INSTAGRAM = 'INSTAGRAM',\n  /** LinkedIn social media platform. */\n  LINKEDIN = 'LINKEDIN',\n  /** X (formerly Twitter) social media platform. */\n  TWITTER = 'TWITTER',\n  /** Youtube social media platform. */\n  YOUTUBE = 'YOUTUBE',\n  /** Pinterest social media platform. */\n  PINTEREST = 'PINTEREST',\n  /** TikTok social media platform. */\n  TIKTOK = 'TIKTOK',\n  /** DeviantArt social media platform. */\n  DEVIANTART = 'DEVIANTART',\n  /** SoundCloud social media platform. */\n  SOUNDCLOUD = 'SOUNDCLOUD',\n  /** Tumblr social media platform. */\n  TUMBLR = 'TUMBLR',\n  /** Vimeo social media platform. */\n  VIMEO = 'VIMEO',\n  /** VKontakte social media platform. */\n  VKONTAKTE = 'VKONTAKTE',\n  /** Odnoklassniki social media platform. */\n  ODNOKLASSNIKI = 'ODNOKLASSNIKI',\n  /** Other social media platform. */\n  OTHER = 'OTHER',\n}\n\n/** @enumType */\nexport type SocialTypeTypeWithLiterals =\n  | SocialTypeType\n  | 'UNKNOWN'\n  | 'FACEBOOK'\n  | 'INSTAGRAM'\n  | 'LINKEDIN'\n  | 'TWITTER'\n  | 'YOUTUBE'\n  | 'PINTEREST'\n  | 'TIKTOK'\n  | 'DEVIANTART'\n  | 'SOUNDCLOUD'\n  | 'TUMBLR'\n  | 'VIMEO'\n  | 'VKONTAKTE'\n  | 'ODNOKLASSNIKI'\n  | 'OTHER';\n\nexport enum Origin {\n  /** Unknown field origin. This value isn't used. */\n  UNKNOWN = 'UNKNOWN',\n  /** Custom field created by a Wix user. */\n  CUSTOM = 'CUSTOM',\n  /** Contact type of field. These are default fields that are already provided by Members Area, such as: \"birth date\", \"position\", \"company\". */\n  CONTACT = 'CONTACT',\n  /** System fields, such as: \"first name\", \"last name\", \"email\", \"phone\", \"address\", and  \"title\". Some system fields are only available from the dashboard. */\n  SYSTEM = 'SYSTEM',\n}\n\n/** @enumType */\nexport type OriginWithLiterals =\n  | Origin\n  | 'UNKNOWN'\n  | 'CUSTOM'\n  | 'CONTACT'\n  | 'SYSTEM';\n\nexport enum AppliesTo {\n  /** Everyone will have this field. */\n  ALL_MEMBERS = 'ALL_MEMBERS',\n  /** Only selected members will have this field. See the [Custom Field Application API](https://dev.wix.com/docs/rest/crm/members-contacts/members/custom-fields/custom-field-applications/introduction) for more information. */\n  SELECTED_MEMBERS = 'SELECTED_MEMBERS',\n}\n\n/** @enumType */\nexport type AppliesToWithLiterals =\n  | AppliesTo\n  | 'ALL_MEMBERS'\n  | 'SELECTED_MEMBERS';\n\nexport enum Section {\n  /** General section. All custom fields and the following default fields are assigned to this section: \"first name\", \"last name\", \"email\", \"phone\", \"birth date\", \"position\", \"company\". */\n  GENERAL = 'GENERAL',\n  /** Social media section. The \"social media\" field is assigned to this section. */\n  SOCIAL = 'SOCIAL',\n  /** Display info section. The default \"title\" field is assigned to this section. */\n  DISPLAY_INFO = 'DISPLAY_INFO',\n  /** Address section. The default \"address\" field is assigned to this section. */\n  ADDRESS = 'ADDRESS',\n}\n\n/** @enumType */\nexport type SectionWithLiterals =\n  | Section\n  | 'GENERAL'\n  | 'SOCIAL'\n  | 'DISPLAY_INFO'\n  | 'ADDRESS';\n\nexport interface CreateCustomFieldRequest {\n  /** Custom field to create. */\n  field: CustomField;\n}\n\nexport interface CreateCustomFieldResponse {\n  /** Created custom field. */\n  field?: CustomField;\n}\n\nexport interface IncorrectFieldTypeData {\n  incorrectType?: TypeWithLiterals;\n  correctType?: TypeWithLiterals;\n}\n\nexport interface IncorrectPrivacyData {\n  incorrectPrivacy?: PrivacyWithLiterals;\n  correctPrivacy?: PrivacyWithLiterals;\n}\n\nexport interface InvalidSocialTypeData {\n  invalidSocialType?: SocialTypeTypeWithLiterals;\n}\n\nexport interface GetCustomFieldRequest {\n  /**\n   * Custom field ID.\n   * @format GUID\n   */\n  id: string | null;\n}\n\nexport interface GetCustomFieldResponse {\n  /** The retrieved custom field. */\n  field?: CustomField;\n}\n\nexport interface ListCustomFieldsRequest {\n  paging?: Paging;\n}\n\nexport interface Paging {\n  /** Number of items to load. */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\nexport interface ListCustomFieldsResponse {\n  /** Retrieved fields. */\n  fields?: CustomField[];\n  /** Metadata for the paginated results. */\n  metadata?: PagingMetadata;\n}\n\nexport interface PagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. */\n  total?: number | null;\n  /** Flag that indicates the server failed to calculate the `total` field. */\n  tooManyToCount?: boolean | null;\n}\n\nexport interface UpdateCustomFieldRequest {\n  /** Custom field details to update. */\n  field: CustomField;\n}\n\nexport interface UpdateCustomFieldResponse {\n  /** Updated custom field. */\n  field?: CustomField;\n}\n\nexport interface DefaultPrivacyChanged {\n  fromPrivacy?: PrivacyWithLiterals;\n  toPrivacy?: PrivacyWithLiterals;\n}\n\nexport interface ReservedFieldNameNonEditable {\n  newName?: string;\n  currentName?: string;\n}\n\nexport interface DeleteCustomFieldRequest {\n  /**\n   * ID of the custom field to delete.\n   * @format GUID\n   */\n  id: string | null;\n  /** Revision number. */\n  revision: string | null;\n}\n\nexport interface DeleteCustomFieldResponse {}\n\nexport interface HideCustomFieldRequest {\n  /**\n   * ID of the custom field to hide.\n   * @format GUID\n   */\n  id: string | null;\n  /** Revision number. */\n  revision: string | null;\n}\n\nexport interface HideCustomFieldResponse {}\n\nexport interface UpdateCustomFieldsOrderRequest {\n  /**\n   * IDs of the custom fields to be reordered.\n   * @minSize 1\n   * @maxSize 100\n   */\n  fieldIds: string[];\n  /** The section which the fields belong to. */\n  section?: SectionWithLiterals;\n}\n\nexport interface UpdateCustomFieldsOrderResponse {\n  /** Reordered custom fields. */\n  fields?: CustomField[];\n  /** The section which the fields belong to. */\n  section?: SectionWithLiterals;\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  /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  DEV_SITE = 'DEV_SITE',\n  /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  LOGOS = 'LOGOS',\n  /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  VIDEO_MAKER = 'VIDEO_MAKER',\n  /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n  /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n  /**\n   * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n   *\n   * Meta site with this namespace will *not* be shown in a user's site list by default.\n   */\n  HTML_DRAFT = 'HTML_DRAFT',\n  /**\n   * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n   * Will be accessible from Site List and will not have a website app.\n   * Once the user attaches a site, the site will become a regular wixsite.\n   */\n  SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n  /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n  CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n  /** It is to be used in the Business First efforts. */\n  DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n  /** Bookings business flow with no site. */\n  ANYWHERE = 'ANYWHERE',\n  /** Namespace for Headless Backoffice with no editor */\n  HEADLESS = 'HEADLESS',\n  /**\n   * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n   * The site will be used for account level CSM feature for enterprise\n   */\n  ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n  /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n  RISE = 'RISE',\n  /**\n   * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n   * There's a blank site behind the scene but it's blank).\n   * The Mobile company will be the owner of this namespace.\n   */\n  BRANDED_FIRST = 'BRANDED_FIRST',\n  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n  NOWNIA = 'NOWNIA',\n  /**\n   * UGC Templates are templates that are created by users for personal use and to sale to other users.\n   * The Partners company owns this namespace.\n   */\n  UGC_TEMPLATE = 'UGC_TEMPLATE',\n  /** Codux Headless Sites */\n  CODUX = 'CODUX',\n  /** Bobb - AI Design Creator. */\n  MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n  /**\n   * Shared Blog Site is a unique single site across Enterprise account,\n   * This site will hold all Blog posts related to the Marketing product.\n   */\n  SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n  /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  STANDALONE_FORMS = 'STANDALONE_FORMS',\n  /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n  /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n  MIMIR = 'MIMIR',\n  /** Wix Twins platform. */\n  TWINS = 'TWINS',\n  /** Wix Nano. */\n  NANO = 'NANO',\n  /** Base44 headless sites. */\n  BASE44 = 'BASE44',\n  /** Wix Channels Sites */\n  CHANNELS = 'CHANNELS',\n  /** Nautilus platform. */\n  NAUTILUS = 'NAUTILUS',\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\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 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  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface 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 CreateCustomFieldApplicationErrors =\n  | {\n      code?: 'INCORRECT_FIELD_TYPE';\n      description?: string;\n      data?: IncorrectFieldTypeData;\n    }\n  | {\n      code?: 'INCORRECT_FIELD_PRIVACY';\n      description?: string;\n      data?: IncorrectPrivacyData;\n    }\n  | {\n      code?: 'INVALID_FIELD_SOCIAL_TYPE';\n      description?: string;\n      data?: InvalidSocialTypeData;\n    };\n/** @docsIgnore */\nexport type UpdateCustomFieldApplicationErrors =\n  | {\n      code?: 'INCORRECT_FIELD_PRIVACY';\n      description?: string;\n      data?: IncorrectPrivacyData;\n    }\n  | {\n      code?: 'INVALID_FIELD_SOCIAL_TYPE';\n      description?: string;\n      data?: InvalidSocialTypeData;\n    }\n  | {\n      code?: 'RESERVED_FIELD_NAME_NON_EDITABLE';\n      description?: string;\n      data?: ReservedFieldNameNonEditable;\n    };\n","import * as ambassadorWixMembersV1CustomField from './members-v1-custom-field-custom-fields.http.js';\nimport * as ambassadorWixMembersV1CustomFieldTypes from './members-v1-custom-field-custom-fields.types.js';\nimport * as ambassadorWixMembersV1CustomFieldUniversalTypes from './members-v1-custom-field-custom-fields.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 createCustomField(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMembersV1CustomFieldUniversalTypes.CreateCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldTypes.CreateCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldUniversalTypes.CreateCustomFieldResponse,\n  ambassadorWixMembersV1CustomFieldTypes.CreateCustomFieldResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMembersV1CustomField.createCustomField(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/custom-fields',\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 getCustomField(): __PublicMethodMetaInfo<\n  'GET',\n  { id: string },\n  ambassadorWixMembersV1CustomFieldUniversalTypes.GetCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldTypes.GetCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldUniversalTypes.GetCustomFieldResponse,\n  ambassadorWixMembersV1CustomFieldTypes.GetCustomFieldResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixMembersV1CustomField.getCustomField(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/custom-fields/{id}',\n    pathParams: { id: 'id' },\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 listCustomFields(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixMembersV1CustomFieldUniversalTypes.ListCustomFieldsRequest,\n  ambassadorWixMembersV1CustomFieldTypes.ListCustomFieldsRequest,\n  ambassadorWixMembersV1CustomFieldUniversalTypes.ListCustomFieldsResponse,\n  ambassadorWixMembersV1CustomFieldTypes.ListCustomFieldsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMembersV1CustomField.listCustomFields(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/custom-fields',\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 updateCustomField(): __PublicMethodMetaInfo<\n  'PATCH',\n  { fieldId: string },\n  ambassadorWixMembersV1CustomFieldUniversalTypes.UpdateCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldTypes.UpdateCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldUniversalTypes.UpdateCustomFieldResponse,\n  ambassadorWixMembersV1CustomFieldTypes.UpdateCustomFieldResponse\n> {\n  const payload = { field: { id: ':fieldId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixMembersV1CustomField.updateCustomField(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v1/custom-fields/{field.id}',\n    pathParams: { fieldId: 'fieldId' },\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 deleteCustomField(): __PublicMethodMetaInfo<\n  'DELETE',\n  { id: string },\n  ambassadorWixMembersV1CustomFieldUniversalTypes.DeleteCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldTypes.DeleteCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldUniversalTypes.DeleteCustomFieldResponse,\n  ambassadorWixMembersV1CustomFieldTypes.DeleteCustomFieldResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixMembersV1CustomField.deleteCustomField(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v1/custom-fields/{id}',\n    pathParams: { id: 'id' },\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 hideCustomField(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixMembersV1CustomFieldUniversalTypes.HideCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldTypes.HideCustomFieldRequest,\n  ambassadorWixMembersV1CustomFieldUniversalTypes.HideCustomFieldResponse,\n  ambassadorWixMembersV1CustomFieldTypes.HideCustomFieldResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixMembersV1CustomField.hideCustomField(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/custom-fields/{id}/hide',\n    pathParams: { id: 'id' },\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 updateCustomFieldsOrder(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMembersV1CustomFieldUniversalTypes.UpdateCustomFieldsOrderRequest,\n  ambassadorWixMembersV1CustomFieldTypes.UpdateCustomFieldsOrderRequest,\n  ambassadorWixMembersV1CustomFieldUniversalTypes.UpdateCustomFieldsOrderResponse,\n  ambassadorWixMembersV1CustomFieldTypes.UpdateCustomFieldsOrderResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMembersV1CustomField.updateCustomFieldsOrder(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/custom-fields/order',\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  CustomField as CustomFieldOriginal,\n  Privacy as PrivacyOriginal,\n  PrivacyWithLiterals as PrivacyWithLiteralsOriginal,\n  Type as TypeOriginal,\n  TypeWithLiterals as TypeWithLiteralsOriginal,\n  SocialTypeType as SocialTypeTypeOriginal,\n  SocialTypeTypeWithLiterals as SocialTypeTypeWithLiteralsOriginal,\n  Origin as OriginOriginal,\n  OriginWithLiterals as OriginWithLiteralsOriginal,\n  AppliesTo as AppliesToOriginal,\n  AppliesToWithLiterals as AppliesToWithLiteralsOriginal,\n  Section as SectionOriginal,\n  SectionWithLiterals as SectionWithLiteralsOriginal,\n  CreateCustomFieldRequest as CreateCustomFieldRequestOriginal,\n  CreateCustomFieldResponse as CreateCustomFieldResponseOriginal,\n  IncorrectFieldTypeData as IncorrectFieldTypeDataOriginal,\n  IncorrectPrivacyData as IncorrectPrivacyDataOriginal,\n  InvalidSocialTypeData as InvalidSocialTypeDataOriginal,\n  GetCustomFieldRequest as GetCustomFieldRequestOriginal,\n  GetCustomFieldResponse as GetCustomFieldResponseOriginal,\n  ListCustomFieldsRequest as ListCustomFieldsRequestOriginal,\n  Paging as PagingOriginal,\n  ListCustomFieldsResponse as ListCustomFieldsResponseOriginal,\n  PagingMetadata as PagingMetadataOriginal,\n  UpdateCustomFieldRequest as UpdateCustomFieldRequestOriginal,\n  UpdateCustomFieldResponse as UpdateCustomFieldResponseOriginal,\n  DefaultPrivacyChanged as DefaultPrivacyChangedOriginal,\n  ReservedFieldNameNonEditable as ReservedFieldNameNonEditableOriginal,\n  DeleteCustomFieldRequest as DeleteCustomFieldRequestOriginal,\n  DeleteCustomFieldResponse as DeleteCustomFieldResponseOriginal,\n  HideCustomFieldRequest as HideCustomFieldRequestOriginal,\n  HideCustomFieldResponse as HideCustomFieldResponseOriginal,\n  UpdateCustomFieldsOrderRequest as UpdateCustomFieldsOrderRequestOriginal,\n  UpdateCustomFieldsOrderResponse as UpdateCustomFieldsOrderResponseOriginal,\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  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  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  CreateCustomFieldApplicationErrors as CreateCustomFieldApplicationErrorsOriginal,\n  UpdateCustomFieldApplicationErrors as UpdateCustomFieldApplicationErrorsOriginal,\n} from './members-v1-custom-field-custom-fields.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,qDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAA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A,EAC1B;AACF;AAEO,SAASC,2BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC8B,wBAAwB,OAAO;AAEnE,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","Privacy","Type","SocialTypeType","Origin","AppliesTo","Section","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createCustomField","getCustomField","listCustomFields","updateCustomField","deleteCustomField","hideCustomField","updateCustomFieldsOrder"]}