{"version":3,"sources":["../../src/cloud-data-usage-v1-site-data-usage-data.http.ts","../../src/cloud-data-usage-v1-site-data-usage-data.types.ts","../../src/cloud-data-usage-v1-site-data-usage-data.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixCloudDataUsageV1SiteDataUsageServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {};\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_data-site-usage-service_data';\n\n/** Get current site data usage */\nexport function getSiteDataUsage(payload: object): RequestOptionsFactory<any> {\n  function __getSiteDataUsage({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.cloud.data_usage.v1.site_data_usage',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.cloud.data_usage.v1.SiteDataUsageService.GetSiteDataUsage',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCloudDataUsageV1SiteDataUsageServiceUrl({\n        protoPath: '/v1/site-data-usage',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getSiteDataUsage;\n}\n","/** SiteDataUsage describes site-wide resource limits and usage */\nexport interface SiteDataUsage {\n  /**\n   * Storage limit in bytes. Used storage for LIVE and SANDBOX is counted together towards the limit. For example given\n   * 1 GB limit LIVE environment could contain 700 MB and SANDBOX 300 MB before limit is reached.\n   */\n  storageLimitInBytes?: string | null;\n  /**\n   * Max number of items allowed. Limit is applied separately to LIVE and SANDBOX environments, that is if limit is 1000 items,\n   * both LIVE and SANDBOX environments are allowed to contain 1000 items each.\n   */\n  itemCountLimit?: string | null;\n  /** Max number of native collections allowed */\n  collectionCountLimit?: number | null;\n  /** Total number of native collections created */\n  collectionCount?: number | null;\n  /** Current usage of all collections in LIVE environment */\n  totalUsedLive?: Usage;\n  /** Current usage of all collections in SANDBOX environment */\n  totalUsedSandbox?: Usage;\n  /**\n   * Usages per data collection\n   * @maxSize 1000\n   */\n  dataCollectionUsages?: DataCollectionUsage[];\n}\n\nexport interface Usage {\n  /** Number of bytes */\n  bytes?: string;\n  /** Number of items */\n  items?: string;\n}\n\nexport interface DataCollectionUsage {\n  /**\n   * Data Collection ID\n   * @maxLength 256\n   */\n  dataCollectionId?: string;\n  /**\n   * Data Collection display name\n   * @maxLength 1024\n   */\n  displayName?: string | null;\n  /** Type of data collection, currently only NATIVE are returned in this API */\n  dataCollectionType?: CollectionTypeWithLiterals;\n  /** Current usage in LIVE environment */\n  totalUsedLive?: Usage;\n  /** Current usage in SANDBOX environment */\n  totalUsedSandbox?: Usage;\n}\n\nexport enum CollectionType {\n  /** User-created collection. */\n  NATIVE = 'NATIVE',\n  /** [Collection](https://support.wix.com/en/article/velo-working-with-wix-app-collections-and-code#what-are-wix-app-collections) created by a Wix app when it is installed. This type of collection can be modified dynamically by that app (for example, Wix Forms). */\n  WIX_APP = 'WIX_APP',\n  /** Collection created by a Wix Blocks app. */\n  BLOCKS_APP = 'BLOCKS_APP',\n  /** Collection located in externally connected storage. */\n  EXTERNAL = 'EXTERNAL',\n}\n\n/** @enumType */\nexport type CollectionTypeWithLiterals =\n  | CollectionType\n  | 'NATIVE'\n  | 'WIX_APP'\n  | 'BLOCKS_APP'\n  | 'EXTERNAL';\n\nexport interface GetSiteDataUsageRequest {\n  /**\n   * SiteDataUsage fields to return, if empty all are returned\n   * @maxLength 1000\n   * @maxSize 1000\n   */\n  fields?: string[];\n  /** If true, operation queries collections for up-to-date values (rather than using cached values) */\n  consistentRead?: boolean;\n}\n\nexport interface GetSiteDataUsageResponse {\n  /** The retrieved SiteDataUsage */\n  siteDataUsage?: SiteDataUsage;\n}\n\nexport interface BulkUpdateUsagesRequest {\n  /**\n   * Usages to update\n   * @maxSize 10000\n   */\n  updates?: InstanceUsageUpdate[];\n}\n\nexport interface DataCollectionUsageUpdate {\n  /**\n   * Data Collection ID\n   * @maxLength 256\n   */\n  dataCollectionId?: string;\n  /** if true present values are added to existing, otherwise values are replaced */\n  relative?: boolean;\n  /** Data Collection item count in the live environment */\n  liveItemCount?: string | null;\n  /** Data Collection item count in the sandbox environment */\n  sandboxItemCount?: string | null;\n  /** Data Collection used storage in bytes in the live environment */\n  liveUsedStorageInBytes?: string | null;\n  /** Data Collection used storage in bytes in the sandbox environment */\n  sandboxUsedStorageInBytes?: string | null;\n}\n\nexport enum Segment {\n  BOTH = 'BOTH',\n  LIVE = 'LIVE',\n  SANDBOX = 'SANDBOX',\n}\n\n/** @enumType */\nexport type SegmentWithLiterals = Segment | 'BOTH' | 'LIVE' | 'SANDBOX';\n\nexport interface InstanceUsageUpdate {\n  /**\n   * Data Instance ID\n   * @format GUID\n   */\n  instanceId?: string;\n  /**\n   * Usage updates per collection\n   * @maxSize 10000\n   */\n  collections?: DataCollectionUsageUpdate[];\n  /** if true all collections not in the list assumed to have 0 usage */\n  allCollectionsPresent?: boolean;\n  /** Indicates which segment is being updated */\n  segment?: SegmentWithLiterals;\n}\n\nexport interface BulkUpdateUsagesResponse {}\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 Empty {}\n\nexport interface DataChangeEvent extends DataChangeEventEventOneOf {\n  dataChanged?: DataChanged;\n  /** resume point is lost so some changes may be lost */\n  changesLost?: ChangesLost;\n  referenceChanged?: ReferenceChanged;\n  /** segment access or mapping changed */\n  segmentChanged?: SegmentChanged;\n  /** segment migration started to new physical location */\n  segmentMigrationStarted?: SegmentMigrationStarted;\n  /** source should be added or removed from ignore list */\n  ignoredSource?: IgnoredSourceEvent;\n  /** @maxLength 1024 */\n  idempotenceKey?: string;\n}\n\n/** @oneof */\nexport interface DataChangeEventEventOneOf {\n  dataChanged?: DataChanged;\n  /** resume point is lost so some changes may be lost */\n  changesLost?: ChangesLost;\n  referenceChanged?: ReferenceChanged;\n  /** segment access or mapping changed */\n  segmentChanged?: SegmentChanged;\n  /** segment migration started to new physical location */\n  segmentMigrationStarted?: SegmentMigrationStarted;\n  /** source should be added or removed from ignore list */\n  ignoredSource?: IgnoredSourceEvent;\n}\n\nexport interface DataChanged extends DataChangedChangeOneOf {\n  /** inserted document */\n  inserted?: Record<string, any> | null;\n  /** full replaced document */\n  replaced?: Record<string, any> | null;\n  /** partial update, removed fields are set to Empty */\n  partial?: Record<string, any> | null;\n  /**\n   * deleted document ID\n   * @maxLength 256\n   */\n  removedId?: string;\n  /**\n   * physical cluster ID\n   * @maxLength 1024\n   */\n  clusterId?: string;\n  /**\n   * physical source\n   * db.collection for MongoDB\n   * @maxLength 1024\n   */\n  source?: string;\n  /**\n   * instance ID\n   * @format GUID\n   */\n  tenantId?: string;\n  /**\n   * logical collection name\n   * @maxLength 256\n   */\n  collectionName?: string;\n  dataStore?: DataStoreWithLiterals;\n  /** @maxLength 256 */\n  documentId?: string;\n  clusterTime?: Date | null;\n  /** Initiator of the request */\n  initiator?: Initiator;\n  /** Identity of the user who initiated the request */\n  writer?: Identity;\n  /**\n   * Contains changes that, when applied to raw item, will result in the item as it would look like\n   * when returned from the data-items API.\n   * This includes\n   * * fully prefixed page link paths\n   * * calculated draft-published status\n   * * decrypted PII fields\n   * * deleted schema fields (removed_fields)\n   */\n  enrichment?: Enrichment;\n  /**\n   * Sequence number. Event with higher sequence number happened after the event with lower sequence number in the same cluster.\n   * Two or more events can have same sequence number if they happened in the same transaction.\n   * Events in different clusters have independent sequence numbers and should not be compared.\n   */\n  seqNumber?: string;\n}\n\n/** @oneof */\nexport interface DataChangedChangeOneOf {\n  /** inserted document */\n  inserted?: Record<string, any> | null;\n  /** full replaced document */\n  replaced?: Record<string, any> | null;\n  /** partial update, removed fields are set to Empty */\n  partial?: Record<string, any> | null;\n  /**\n   * deleted document ID\n   * @maxLength 256\n   */\n  removedId?: string;\n}\n\nexport enum Type {\n  /** Initiator is unknown */\n  Unknown = 'Unknown',\n  /** Indicated that write has been initiated by SSR indexer */\n  SsrIndexer = 'SsrIndexer',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'Unknown' | 'SsrIndexer';\n\nexport enum DataStore {\n  Dev = 'Dev',\n  Public = 'Public',\n}\n\n/** @enumType */\nexport type DataStoreWithLiterals = DataStore | 'Dev' | 'Public';\n\nexport interface Initiator {\n  type?: TypeWithLiterals;\n}\n\nexport interface Identity {\n  /**\n   * User ID, when the request is initiated by a user\n   * @maxLength 36\n   */\n  userId?: string | null;\n  /**\n   * Member ID, when the request is initiated by a member\n   * @maxLength 36\n   */\n  memberId?: string | null;\n  /**\n   * Visitor ID, when the request is initiated by a visitor\n   * @maxLength 36\n   */\n  visitorId?: string | null;\n  /**\n   * External App ID, when the request is initiated by an external app\n   * @maxLength 36\n   */\n  externalAppId?: string | null;\n  /**\n   * Service ID, when the request is initiated by a service\n   * @maxLength 36\n   */\n  serviceId?: string | null;\n}\n\nexport interface Enrichment {\n  /** Struct that should be merged into the raw item. */\n  replace?: Record<string, any> | null;\n  /**\n   * Fields that should be removed from the raw item.\n   * @maxSize 1000\n   * @maxLength 1000\n   */\n  removeFields?: string[];\n}\n\nexport interface ChangesLost {\n  /** @maxLength 1024 */\n  clusterId?: string;\n}\n\nexport interface ReferenceChanged {\n  /**\n   * physical cluster ID\n   * @maxLength 1024\n   */\n  clusterId?: string;\n  /**\n   * physical source\n   * db.collection for MongoDB\n   * @maxLength 1024\n   */\n  source?: string;\n  /**\n   * instance ID\n   * @format GUID\n   */\n  tenantId?: string;\n  dataStore?: DataStoreWithLiterals;\n  /** @maxLength 1024 */\n  relationshipName?: string;\n  /** @maxLength 10000 */\n  leftId?: string;\n  /** @maxLength 10000 */\n  rightId?: string;\n  /** if reference is set or unset */\n  isRemoved?: boolean;\n  clusterTime?: Date | null;\n  /** ref created date */\n  createdAt?: Date | null;\n  /**\n   * Sequence number. Event with higher sequence number happened after the event with lower sequence number in the same cluster.\n   * Two or more events can have same sequence number if they happened in the same transaction.\n   * Events in different clusters have independent sequence numbers and should not be compared.\n   */\n  seqNumber?: string;\n}\n\nexport interface SegmentChanged {\n  /**\n   * physical cluster ID\n   * @maxLength 1024\n   */\n  clusterId?: string;\n  /**\n   * physical source\n   * db.collection for MongoDB\n   * @maxLength 1024\n   */\n  source?: string;\n  /**\n   * instance ID\n   * @format GUID\n   */\n  tenantId?: string;\n  /** segment */\n  dataStore?: DataStoreWithLiterals;\n  /**\n   * new db name if changed\n   * @maxLength 1024\n   */\n  newDatabase?: string | null;\n  /**\n   * new cluster if changed\n   * @maxLength 1024\n   */\n  newClusterId?: string | null;\n  /** read permissions if changed */\n  readsEnabled?: boolean | null;\n  /** write permissions if changed */\n  writesEnabled?: boolean | null;\n  /** event time */\n  clusterTime?: Date | null;\n  /**\n   * Sequence number. Event with higher sequence number happened after the event with lower sequence number in the same cluster.\n   * Two or more events can have same sequence number if they happened in the same transaction.\n   * Events in different clusters have independent sequence numbers and should not be compared.\n   */\n  seqNumber?: string;\n}\n\nexport interface SegmentMigrationStarted {\n  /**\n   * physical cluster ID\n   * @maxLength 1024\n   */\n  clusterId?: string;\n  /**\n   * physical source\n   * db.collection for MongoDB\n   * @maxLength 1024\n   */\n  source?: string;\n  /**\n   * instance ID\n   * @format GUID\n   */\n  tenantId?: string;\n  /** segment */\n  dataStore?: DataStoreWithLiterals;\n  /**\n   * new db name if changed\n   * @maxLength 1024\n   */\n  newDatabase?: string;\n  /**\n   * new cluster if changed\n   * @maxLength 1024\n   */\n  newClusterId?: string;\n  /** event time */\n  clusterTime?: Date | null;\n  /**\n   * Sequence number. Event with higher sequence number happened after the event with lower sequence number in the same cluster.\n   * Two or more events can have same sequence number if they happened in the same transaction.\n   * Events in different clusters have independent sequence numbers and should not be compared.\n   */\n  seqNumber?: string;\n}\n\nexport interface IgnoredSourceEvent {\n  /**\n   * physical cluster ID\n   * @maxLength 1024\n   */\n  clusterId?: string;\n  /**\n   * physical database name\n   * @minLength 1\n   * @maxLength 100\n   */\n  database?: string;\n  /**\n   * instance ID\n   * @format GUID\n   */\n  tenantId?: string;\n  /** segment */\n  dataStore?: DataStoreWithLiterals;\n  /** event action if ignored source should be added or removed */\n  action?: ActionWithLiterals;\n}\n\nexport enum Action {\n  Unknown = 'Unknown',\n  AddIgnoredSource = 'AddIgnoredSource',\n  RemoveIgnoredSource = 'RemoveIgnoredSource',\n}\n\n/** @enumType */\nexport type ActionWithLiterals =\n  | Action\n  | 'Unknown'\n  | 'AddIgnoredSource'\n  | 'RemoveIgnoredSource';\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","import * as ambassadorWixCloudDataUsageV1SiteDataUsage from './cloud-data-usage-v1-site-data-usage-data.http.js';\nimport * as ambassadorWixCloudDataUsageV1SiteDataUsageTypes from './cloud-data-usage-v1-site-data-usage-data.types.js';\nimport * as ambassadorWixCloudDataUsageV1SiteDataUsageUniversalTypes from './cloud-data-usage-v1-site-data-usage-data.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 getSiteDataUsage(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixCloudDataUsageV1SiteDataUsageUniversalTypes.GetSiteDataUsageRequest,\n  ambassadorWixCloudDataUsageV1SiteDataUsageTypes.GetSiteDataUsageRequest,\n  ambassadorWixCloudDataUsageV1SiteDataUsageUniversalTypes.GetSiteDataUsageResponse,\n  ambassadorWixCloudDataUsageV1SiteDataUsageTypes.GetSiteDataUsageResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixCloudDataUsageV1SiteDataUsage.getSiteDataUsage(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/site-data-usage',\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  SiteDataUsage as SiteDataUsageOriginal,\n  Usage as UsageOriginal,\n  DataCollectionUsage as DataCollectionUsageOriginal,\n  CollectionType as CollectionTypeOriginal,\n  CollectionTypeWithLiterals as CollectionTypeWithLiteralsOriginal,\n  GetSiteDataUsageRequest as GetSiteDataUsageRequestOriginal,\n  GetSiteDataUsageResponse as GetSiteDataUsageResponseOriginal,\n  BulkUpdateUsagesRequest as BulkUpdateUsagesRequestOriginal,\n  DataCollectionUsageUpdate as DataCollectionUsageUpdateOriginal,\n  Segment as SegmentOriginal,\n  SegmentWithLiterals as SegmentWithLiteralsOriginal,\n  InstanceUsageUpdate as InstanceUsageUpdateOriginal,\n  BulkUpdateUsagesResponse as BulkUpdateUsagesResponseOriginal,\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  Empty as EmptyOriginal,\n  DataChangeEvent as DataChangeEventOriginal,\n  DataChangeEventEventOneOf as DataChangeEventEventOneOfOriginal,\n  DataChanged as DataChangedOriginal,\n  DataChangedChangeOneOf as DataChangedChangeOneOfOriginal,\n  Type as TypeOriginal,\n  TypeWithLiterals as TypeWithLiteralsOriginal,\n  DataStore as DataStoreOriginal,\n  DataStoreWithLiterals as DataStoreWithLiteralsOriginal,\n  Initiator as InitiatorOriginal,\n  Identity as IdentityOriginal,\n  Enrichment as EnrichmentOriginal,\n  ChangesLost as ChangesLostOriginal,\n  ReferenceChanged as ReferenceChangedOriginal,\n  SegmentChanged as SegmentChangedOriginal,\n  SegmentMigrationStarted as SegmentMigrationStartedOriginal,\n  IgnoredSourceEvent as IgnoredSourceEventOriginal,\n  Action as ActionOriginal,\n  ActionWithLiterals as ActionWithLiteralsOriginal,\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} from './cloud-data-usage-v1-site-data-usage-data.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAI3B,SAAS,kDACP,MACA;AACA,QAAM,mBAAmB,CAAC;AAE1B,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,iBAAiB,SAA6C;AAC5E,WAAS,mBAAmB,EAAE,KAAK,GAAQ;AACzC,UAAM,WAAW;AAAA,MACf,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,kBAAkB;AAAA,QAChB,wBAAwB;AAAA,MAC1B;AAAA,MACA,KAAK,kDAAkD;AAAA,QACrD,WAAW;AAAA,QACX,MAAM;AAAA,QACN;AAAA,MACF,CAAC;AAAA,MACD,QAAQ,kBAAkB,OAAO;AAAA,IACnC;AAEA,WAAO;AAAA,EACT;AAEA,SAAO;AACT;;;ACcO,IAAK,iBAAL,kBAAKA,oBAAL;AAEL,EAAAA,gBAAA,YAAS;AAET,EAAAA,gBAAA,aAAU;AAEV,EAAAA,gBAAA,gBAAa;AAEb,EAAAA,gBAAA,cAAW;AARD,SAAAA;AAAA,GAAA;AA6DL,IAAK,UAAL,kBAAKC,aAAL;AACL,EAAAA,SAAA,UAAO;AACP,EAAAA,SAAA,UAAO;AACP,EAAAA,SAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;AA4ML,IAAK,OAAL,kBAAKC,UAAL;AAEL,EAAAA,MAAA,aAAU;AAEV,EAAAA,MAAA,gBAAa;AAJH,SAAAA;AAAA,GAAA;AAUL,IAAK,YAAL,kBAAKC,eAAL;AACL,EAAAA,WAAA,SAAM;AACN,EAAAA,WAAA,YAAS;AAFC,SAAAA;AAAA,GAAA;AAsML,IAAK,SAAL,kBAAKC,YAAL;AACL,EAAAA,QAAA,aAAU;AACV,EAAAA,QAAA,sBAAmB;AACnB,EAAAA,QAAA,yBAAsB;AAHZ,SAAAA;AAAA,GAAA;AAiFL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,aAAU;AACV,EAAAA,qBAAA,uBAAoB;AACpB,EAAAA,qBAAA,YAAS;AACT,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,SAAM;AALI,SAAAA;AAAA,GAAA;;;ACzkBL,SAASC,oBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACuC,iBAAiB,OAAO;AAErE,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":["CollectionType","Segment","Type","DataStore","Action","WebhookIdentityType","getSiteDataUsage"]}