{"version":3,"sources":["../../../src/data-v2-backup-backups.http.ts","../../../src/data-v2-backup-backups.types.ts","../../../src/data-v2-backup-backups.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveComWixpressDstoreApiBackupV2BackupServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/data/backups',\n        destPath: '/api/v1/backups',\n      },\n      {\n        srcPath: '/_api/data/v2/backups',\n        destPath: '/v2/backups',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/data/backups',\n        destPath: '/api/v1/backups',\n      },\n      {\n        srcPath: '/_api/data/v2/backups',\n        destPath: '/v2/backups',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/data/backups',\n        destPath: '/api/v1/backups',\n      },\n      {\n        srcPath: '/_api/data/v2/backups',\n        destPath: '/v2/backups',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/data/backups',\n        destPath: '/api/v1/backups',\n      },\n      {\n        srcPath: '/_api/data/v2/backups',\n        destPath: '/v2/backups',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/data/backups',\n        destPath: '/api/v1/backups',\n      },\n      {\n        srcPath: '/_api/data/v2/backups',\n        destPath: '/v2/backups',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/wix-data/v1/backups',\n        destPath: '/api/v1/backups',\n      },\n      {\n        srcPath: '/wix-data/v2/backups',\n        destPath: '/v2/backups',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/data/v2/backups',\n        destPath: '/v2/backups',\n      },\n      {\n        srcPath: '/_api/data/backups',\n        destPath: '/api/v1/backups',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/data/v2/backups',\n        destPath: '/v2/backups',\n      },\n      {\n        srcPath: '/_api/data/backups',\n        destPath: '/api/v1/backups',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_data_backups';\n\n/**\n * Creates an on-demand backup of live content in a site's collections.\n *\n *\n * By default, all of the site's collections are included in the backup. For a partial backup, specify which collections to include in the `backup.collections` parameter.\n *\n * The process of creating a backup takes time.\n * You can check whether a backup has completed successfully with List Backups.\n *\n * You can store up to 3 on-demand backups for each site.\n * If 3 on-demand backups already exist, the oldest existing on-demand backup for the site is deleted when a new one is created. Automated backups are not affected.\n */\nexport function createBackup(payload: object): RequestOptionsFactory<any> {\n  function __createBackup({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.data.v2.backup',\n      method: 'POST' as any,\n      methodFqn: 'com.wixpress.dstore.api.backup.v2.BackupService.CreateBackup',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressDstoreApiBackupV2BackupServiceUrl({\n        protoPath: '/v2/backups',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'backup.requestedDate' },\n              { path: 'backup.startedDate' },\n              { path: 'backup.finishedDate' },\n              { path: 'backup.deletedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createBackup;\n}\n\n/**\n * Retrieves a list of all backups for a site.\n *\n * Results are sorted by requested date, with the newest first.\n *\n * You can use this method to check whether a backup initiated with Create Backup has been completed successfully.\n */\nexport function listBackups(payload: object): RequestOptionsFactory<any> {\n  function __listBackups({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.data.v2.backup',\n      method: 'GET' as any,\n      methodFqn: 'com.wixpress.dstore.api.backup.v2.BackupService.ListBackups',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressDstoreApiBackupV2BackupServiceUrl({\n        protoPath: '/v2/backups',\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: 'backups.requestedDate' },\n              { path: 'backups.startedDate' },\n              { path: 'backups.finishedDate' },\n              { path: 'backups.deletedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listBackups;\n}\n\n/**\n * Restores all data from a backup.\n *\n * The process of restoring data from a backup takes time.\n * You can check whether your restoration has completed successfully with List Restorations.\n */\nexport function restoreBackup(payload: object): RequestOptionsFactory<any> {\n  function __restoreBackup({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.data.v2.backup',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.dstore.api.backup.v2.BackupService.RestoreBackup',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressDstoreApiBackupV2BackupServiceUrl({\n        protoPath: '/v2/backups/{backupId}/restore',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'restoration.requestedDate' },\n              { path: 'restoration.startedDate' },\n              { path: 'restoration.finishedDate' },\n              { path: 'restoration.backup.requestedDate' },\n              { path: 'restoration.backup.startedDate' },\n              { path: 'restoration.backup.finishedDate' },\n              { path: 'restoration.backup.deletedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __restoreBackup;\n}\n\n/**\n * Restores specific collections from a backup.\n *\n * The process of restoring data from a backup takes time.\n * You can check whether your restoration has completed successfully with List Restorations.\n */\nexport function restorePartialBackup(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __restorePartialBackup({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.data.v2.backup',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.dstore.api.backup.v2.BackupService.RestorePartialBackup',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressDstoreApiBackupV2BackupServiceUrl({\n        protoPath: '/v2/backups/{backupId}/partial-restore',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'restoration.requestedDate' },\n              { path: 'restoration.startedDate' },\n              { path: 'restoration.finishedDate' },\n              { path: 'restoration.backup.requestedDate' },\n              { path: 'restoration.backup.startedDate' },\n              { path: 'restoration.backup.finishedDate' },\n              { path: 'restoration.backup.deletedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __restorePartialBackup;\n}\n\n/**\n * Retrieves a list of all data restorations from backups.\n *\n * Results are sorted by requested date, with the newest first.\n *\n * You can use this method to check whether a restoration initiated with Restore Backup has been completed successfully.\n */\nexport function listRestorations(payload: object): RequestOptionsFactory<any> {\n  function __listRestorations({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.data.v2.backup',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.dstore.api.backup.v2.BackupService.ListRestorations',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressDstoreApiBackupV2BackupServiceUrl({\n        protoPath: '/v2/backups/restorations',\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: 'restorations.requestedDate' },\n              { path: 'restorations.startedDate' },\n              { path: 'restorations.finishedDate' },\n              { path: 'restorations.backup.requestedDate' },\n              { path: 'restorations.backup.startedDate' },\n              { path: 'restorations.backup.finishedDate' },\n              { path: 'restorations.backup.deletedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listRestorations;\n}\n\n/**\n * Deletes a backup.\n *\n * The process of deleting a backup takes time.\n * You can check whether a backup has been deleted successfully with List Backups.\n */\nexport function deleteBackup(payload: object): RequestOptionsFactory<any> {\n  function __deleteBackup({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.data.v2.backup',\n      method: 'DELETE' as any,\n      methodFqn: 'com.wixpress.dstore.api.backup.v2.BackupService.DeleteBackup',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressDstoreApiBackupV2BackupServiceUrl({\n        protoPath: '/v2/backups/{backupId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteBackup;\n}\n","export interface Backup {\n  /**\n   * Backup ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string;\n  /**\n   * Backup status.\n   * @readonly\n   */\n  status?: StatusWithLiterals;\n  /**\n   * Type of backup, based on how it was triggered.\n   * @readonly\n   */\n  type?: TypeWithLiterals;\n  /**\n   * Date and time the backup was requested.\n   * @readonly\n   */\n  requestedDate?: Date | null;\n  /**\n   * Date and time the backup commenced. Value is `null` until the backup process begins in the background.\n   * @readonly\n   */\n  startedDate?: Date | null;\n  /**\n   * Date and time the backup process finished. Value is `null` until the backup process is completed in the background.\n   * @readonly\n   */\n  finishedDate?: Date | null;\n  /**\n   * Date and time the backup was deleted. Value is `null` if that backup hasn't been deleted.\n   * @readonly\n   */\n  deletedDate?: Date | null;\n  /**\n   * Backup size in bytes. Value is `null` until the backup process is completed.\n   * @readonly\n   */\n  sizeInBytes?: string | null;\n  /**\n   * IDs and display names of collections the backup contains.\n   * @readonly\n   * @maxSize 1000\n   */\n  collections?: Collection[];\n}\n\nexport enum Status {\n  /** Backup creation is in progress. */\n  PENDING = 'PENDING',\n  /** Backup has been created successfully and can be used for data restoration. */\n  READY = 'READY',\n  /** Backup creation has failed. */\n  FAILED = 'FAILED',\n  /** Backup has been deleted. */\n  DELETED = 'DELETED',\n  /** Backup has been canceled. */\n  CANCELED = 'CANCELED',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n  | Status\n  | 'PENDING'\n  | 'READY'\n  | 'FAILED'\n  | 'DELETED'\n  | 'CANCELED';\n\nexport enum Type {\n  /** Backup taken on demand. */\n  ON_DEMAND = 'ON_DEMAND',\n  /** Backup taken automatically by the system on a regular schedule. */\n  AUTO = 'AUTO',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'ON_DEMAND' | 'AUTO';\n\nexport interface Collection {\n  /**\n   * Collection ID.\n   * @readonly\n   * @maxLength 255\n   */\n  id?: string;\n  /**\n   * Collection display name.\n   * @readonly\n   * @maxLength 1000\n   */\n  displayName?: string | null;\n}\n\n/** event triggered when backup state is changed (i.e. it was created, started, completed or failed) */\nexport interface BackupStateChanged {\n  /**\n   * current state of backup\n   * @readonly\n   */\n  backup?: Backup;\n}\n\n/** event triggered when backup restoration state is changed (i.e. it was created, started or completed) */\nexport interface RestorationStateChanged {\n  /**\n   * current state of restoration\n   * @readonly\n   */\n  restoration?: Restoration;\n}\n\nexport interface Restoration {\n  /**\n   * Restoration ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string;\n  /**\n   * Details of the backup used for the restoration.\n   * @readonly\n   */\n  backup?: Backup;\n  /**\n   * Status of restoration.\n   * @readonly\n   */\n  status?: RestorationStatusWithLiterals;\n  /**\n   * Date and time the restoration was requested.\n   * @readonly\n   */\n  requestedDate?: Date | null;\n  /**\n   * Date and time the restoration commenced. Value is `null` until the restoration process begins in the background.\n   * @readonly\n   */\n  startedDate?: Date | null;\n  /**\n   * Date and time the restoration finished. Value is `null` until the restoration process is completed in the background.\n   * @readonly\n   */\n  finishedDate?: Date | null;\n  /**\n   * Restored collections.\n   * @readonly\n   * @maxSize 1000\n   */\n  restorationCollections?: RestorationCollection[];\n}\n\nexport enum RestorationStatus {\n  /** Restoration from a backup is in progress. */\n  PENDING = 'PENDING',\n  /** Restoration from a backup has been successful. */\n  COMPLETED = 'COMPLETED',\n  /** Restoration from a backup has failed. */\n  FAILED = 'FAILED',\n}\n\n/** @enumType */\nexport type RestorationStatusWithLiterals =\n  | RestorationStatus\n  | 'PENDING'\n  | 'COMPLETED'\n  | 'FAILED';\n\nexport interface RestorationCollection {\n  /**\n   * Collections to be restored.\n   *\n   * Note: If collections have a multi-reference relationship,\n   * the preexisting references will be restored if at least one of those collections are restored.\n   * @minLength 1\n   * @maxLength 1000\n   */\n  dataCollectionId?: string;\n  /**\n   * Destination where to restore the collection.\n   * When not specified destination is taken from backup.\n   */\n  restoreDestination?: RestoreDestination;\n}\n\nexport interface RestoreDestination {\n  /**\n   * Collection ID.\n   * @minLength 1\n   * @maxLength 255\n   */\n  dataCollectionId?: string;\n  /**\n   * Collection's display name as shown in the CMS. If empty, `displayName` is taken from `backup.collections`.\n   * @maxLength 1000\n   */\n  displayName?: string | null;\n}\n\nexport interface CreateBackupRequest {}\n\nexport interface CreateBackupResponse {\n  /** Details of the requested backup. */\n  backup?: Backup;\n}\n\nexport interface ListBackupsRequest {\n  /**\n   * Statuses to filter by.\n   * If provided, only backups with the specified statuses are listed.\n   * For example, to list only completed backups, use `?status=READY`.\n   * To list completed and pending backups, use `?status=READY&status=PENDING`.\n   *\n   * Default: No filtering\n   * @maxSize 10\n   */\n  status?: StatusWithLiterals[];\n  /**\n   * Type to filter by. If provided, only backups of the specified type are listed.\n   *\n   * Default: No filtering\n   * @maxSize 10\n   */\n  type?: TypeWithLiterals[];\n  /** Paging preferences. */\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 ListBackupsResponse {\n  /**\n   * Retrieved backups.\n   * @maxSize 1000\n   */\n  backups?: Backup[];\n  /** Paging information. */\n  pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n  total?: number | null;\n  /** Flag that indicates the server failed to calculate the `total` field. */\n  tooManyToCount?: boolean | null;\n}\n\nexport interface RestoreBackupRequest {\n  /**\n   * ID of backup to be restored.\n   * @format GUID\n   */\n  backupId: string;\n}\n\nexport interface RestoreBackupResponse {\n  /** Details of data restoration from backup. */\n  restoration?: Restoration;\n}\n\nexport interface RestorePartialBackupRequest {\n  /**\n   * ID of backup to be restored.\n   * @format GUID\n   */\n  backupId: string;\n  /**\n   * **Required.** Collections to be restored.\n   *\n   * Note: If collections have a multi-reference relationship,\n   * the preexisting references will be restored if at least one of those collections are restored.\n   * @maxSize 1000\n   */\n  restorationCollections?: RestorationCollection[];\n}\n\nexport interface RestorePartialBackupResponse {\n  /** Details of data restoration from backup. */\n  restoration?: Restoration;\n}\n\nexport interface ListRestorationsRequest {\n  /**\n   * Statuses to filter by. If provided, only restorations with the specified statuses are listed.\n   * For example, to list only completed restorations, use `?status=COMPLETED`.\n   * To list completed and pending restorations, use `?status=COMPLETED&status=PENDING`.\n   *\n   * Default: No filtering\n   * @maxSize 10\n   */\n  status?: RestorationStatusWithLiterals[];\n  /** Offset and limit of items to retrieve. */\n  paging?: Paging;\n}\n\nexport interface ListRestorationsResponse {\n  /**\n   * Retrieved restorations.\n   * @maxSize 1000\n   */\n  restorations?: Restoration[];\n  /** Paging information. */\n  pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface DeleteBackupRequest {\n  /**\n   * ID of the backup to be deleted.\n   * @format GUID\n   */\n  backupId: string;\n}\n\nexport interface DeleteBackupResponse {}\n\nexport interface CancelBackupRequest {\n  /**\n   * ID of the backup to be cancelled.\n   * @format GUID\n   */\n  backupId?: string;\n}\n\nexport interface CancelBackupResponse {}\n\nexport interface MigrateNamespaceRequest {\n  /** @maxLength 255 */\n  newNamespace?: string;\n  /** @maxLength 255 */\n  existingNamespace?: string;\n}\n\nexport interface MigrateNamespaceResponse {}\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\nexport interface DisableInstanceRequest {\n  /** @format GUID */\n  instanceId?: string;\n}\n\nexport interface Empty {}\n\nexport interface EnableInstanceRequest {\n  /** @format GUID */\n  instanceId?: string;\n}\n\nexport interface DeleteAllRequest {\n  /** @format GUID */\n  instanceId?: string;\n}\n\nexport interface GetBackupMetadataRequest {\n  /** @format GUID */\n  backupId?: string;\n}\n\nexport interface GetBackupMetadataResponse {\n  metaData?: Record<string, any> | null;\n}\n\nexport interface RebuildRequest {\n  /** @format GUID */\n  backupId?: string;\n}\n\nexport interface MoveRequest {\n  /** @format GUID */\n  backupId?: string;\n}\n\nexport interface RemoveDeletedRequest {\n  limit?: number;\n}\n\nexport interface FailRestorationRequest {\n  /** @format GUID */\n  restorationId?: string;\n}\n\nexport interface TakeBackupRequest {\n  /** @format GUID */\n  instanceId?: string;\n  type?: TypeWithLiterals;\n}\n\nexport interface UpdateBackupMetadataRequest {\n  /** @format GUID */\n  backupId?: string;\n  s3Region?: string;\n  s3Bucket?: string;\n}\n","import * as ambassadorWixDataV2Backup from './data-v2-backup-backups.http.js';\nimport * as ambassadorWixDataV2BackupTypes from './data-v2-backup-backups.types.js';\nimport * as ambassadorWixDataV2BackupUniversalTypes from './data-v2-backup-backups.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 createBackup(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixDataV2BackupUniversalTypes.CreateBackupRequest,\n  ambassadorWixDataV2BackupTypes.CreateBackupRequest,\n  ambassadorWixDataV2BackupUniversalTypes.CreateBackupResponse,\n  ambassadorWixDataV2BackupTypes.CreateBackupResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions = ambassadorWixDataV2Backup.createBackup(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: '/v2/backups',\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 listBackups(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixDataV2BackupUniversalTypes.ListBackupsRequest,\n  ambassadorWixDataV2BackupTypes.ListBackupsRequest,\n  ambassadorWixDataV2BackupUniversalTypes.ListBackupsResponse,\n  ambassadorWixDataV2BackupTypes.ListBackupsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions = ambassadorWixDataV2Backup.listBackups(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: '/v2/backups',\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 restoreBackup(): __PublicMethodMetaInfo<\n  'POST',\n  { backupId: string },\n  ambassadorWixDataV2BackupUniversalTypes.RestoreBackupRequest,\n  ambassadorWixDataV2BackupTypes.RestoreBackupRequest,\n  ambassadorWixDataV2BackupUniversalTypes.RestoreBackupResponse,\n  ambassadorWixDataV2BackupTypes.RestoreBackupResponse\n> {\n  const payload = { backupId: ':backupId' } as any;\n\n  const getRequestOptions = ambassadorWixDataV2Backup.restoreBackup(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: '/v2/backups/{backupId}/restore',\n    pathParams: { backupId: 'backupId' },\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 restorePartialBackup(): __PublicMethodMetaInfo<\n  'POST',\n  { backupId: string },\n  ambassadorWixDataV2BackupUniversalTypes.RestorePartialBackupRequest,\n  ambassadorWixDataV2BackupTypes.RestorePartialBackupRequest,\n  ambassadorWixDataV2BackupUniversalTypes.RestorePartialBackupResponse,\n  ambassadorWixDataV2BackupTypes.RestorePartialBackupResponse\n> {\n  const payload = { backupId: ':backupId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixDataV2Backup.restorePartialBackup(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: '/v2/backups/{backupId}/partial-restore',\n    pathParams: { backupId: 'backupId' },\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 listRestorations(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixDataV2BackupUniversalTypes.ListRestorationsRequest,\n  ambassadorWixDataV2BackupTypes.ListRestorationsRequest,\n  ambassadorWixDataV2BackupUniversalTypes.ListRestorationsResponse,\n  ambassadorWixDataV2BackupTypes.ListRestorationsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions = ambassadorWixDataV2Backup.listRestorations(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: '/v2/backups/restorations',\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 deleteBackup(): __PublicMethodMetaInfo<\n  'DELETE',\n  { backupId: string },\n  ambassadorWixDataV2BackupUniversalTypes.DeleteBackupRequest,\n  ambassadorWixDataV2BackupTypes.DeleteBackupRequest,\n  ambassadorWixDataV2BackupUniversalTypes.DeleteBackupResponse,\n  ambassadorWixDataV2BackupTypes.DeleteBackupResponse\n> {\n  const payload = { backupId: ':backupId' } as any;\n\n  const getRequestOptions = ambassadorWixDataV2Backup.deleteBackup(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: '/v2/backups/{backupId}',\n    pathParams: { backupId: 'backupId' },\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  Backup as BackupOriginal,\n  Status as StatusOriginal,\n  StatusWithLiterals as StatusWithLiteralsOriginal,\n  Type as TypeOriginal,\n  TypeWithLiterals as TypeWithLiteralsOriginal,\n  Collection as CollectionOriginal,\n  BackupStateChanged as BackupStateChangedOriginal,\n  RestorationStateChanged as RestorationStateChangedOriginal,\n  Restoration as RestorationOriginal,\n  RestorationStatus as RestorationStatusOriginal,\n  RestorationStatusWithLiterals as RestorationStatusWithLiteralsOriginal,\n  RestorationCollection as RestorationCollectionOriginal,\n  RestoreDestination as RestoreDestinationOriginal,\n  CreateBackupRequest as CreateBackupRequestOriginal,\n  CreateBackupResponse as CreateBackupResponseOriginal,\n  ListBackupsRequest as ListBackupsRequestOriginal,\n  Paging as PagingOriginal,\n  ListBackupsResponse as ListBackupsResponseOriginal,\n  PagingMetadataV2 as PagingMetadataV2Original,\n  RestoreBackupRequest as RestoreBackupRequestOriginal,\n  RestoreBackupResponse as RestoreBackupResponseOriginal,\n  RestorePartialBackupRequest as RestorePartialBackupRequestOriginal,\n  RestorePartialBackupResponse as RestorePartialBackupResponseOriginal,\n  ListRestorationsRequest as ListRestorationsRequestOriginal,\n  ListRestorationsResponse as ListRestorationsResponseOriginal,\n  DeleteBackupRequest as DeleteBackupRequestOriginal,\n  DeleteBackupResponse as DeleteBackupResponseOriginal,\n  CancelBackupRequest as CancelBackupRequestOriginal,\n  CancelBackupResponse as CancelBackupResponseOriginal,\n  MigrateNamespaceRequest as MigrateNamespaceRequestOriginal,\n  MigrateNamespaceResponse as MigrateNamespaceResponseOriginal,\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  DisableInstanceRequest as DisableInstanceRequestOriginal,\n  Empty as EmptyOriginal,\n  EnableInstanceRequest as EnableInstanceRequestOriginal,\n  DeleteAllRequest as DeleteAllRequestOriginal,\n  GetBackupMetadataRequest as GetBackupMetadataRequestOriginal,\n  GetBackupMetadataResponse as GetBackupMetadataResponseOriginal,\n  RebuildRequest as RebuildRequestOriginal,\n  MoveRequest as MoveRequestOriginal,\n  RemoveDeletedRequest as RemoveDeletedRequestOriginal,\n  FailRestorationRequest as FailRestorationRequestOriginal,\n  TakeBackupRequest as TakeBackupRequestOriginal,\n  UpdateBackupMetadataRequest as UpdateBackupMetadataRequestOriginal,\n} from './data-v2-backup-backups.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,oDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;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AAW;AAAA,IACnC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,oBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAA8C,iBAAiB,OAAO;AAE5E,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,gBAOd;AACA,QAAM,UAAU,EAAE,UAAU,YAAY;AAExC,QAAM,oBAA8C,aAAa,OAAO;AAExE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,UAAU,WAAW;AAAA,IACnC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","Status","Type","RestorationStatus","WebhookIdentityType","createBackup","listBackups","restoreBackup","restorePartialBackup","listRestorations","deleteBackup"]}