{"version":3,"sources":["../../src/billable-items-v1-billable-item-billable-items.http.ts","../../src/billable-items-v1-billable-item-billable-items.types.ts","../../src/billable-items-v1-billable-item-billable-items.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixBillableItemsV1BillableItemsUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/billable-items',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/billable-items/v1/billable-items',\n        destPath: '/v1/billable-items',\n      },\n      {\n        srcPath: '/billable-items/v1/bulk/billable-items',\n        destPath: '/v1/bulk/billable-items',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/billable-items',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/billable-items',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_get-paid_billable-items';\n\n/** Creates a billable item. */\nexport function createBillableItem(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __createBillableItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'billableItem.createdDate' },\n          { path: 'billableItem.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'POST' as any,\n      methodFqn: 'wix.billable_items.v1.BillableItems.CreateBillableItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/billable-items',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'billableItem.createdDate' },\n              { path: 'billableItem.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createBillableItem;\n}\n\n/** Retrieves a billable item. */\nexport function getBillableItem(payload: object): RequestOptionsFactory<any> {\n  function __getBillableItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'GET' as any,\n      methodFqn: 'wix.billable_items.v1.BillableItems.GetBillableItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/billable-items/{billableItemId}',\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: 'billableItem.createdDate' },\n              { path: 'billableItem.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getBillableItem;\n}\n\n/**\n * Updates a billable item.\n *\n *\n * Each time the BillableItem is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the billable item.\n * This ensures you're working with the latest billable item\n * and prevents unintended overwrites.\n */\nexport function updateBillableItem(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateBillableItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'billableItem.createdDate' },\n          { path: 'billableItem.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.billable_items.v1.BillableItems.UpdateBillableItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/billable-items/{billableItem.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: 'billableItem.createdDate' },\n              { path: 'billableItem.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateBillableItem;\n}\n\n/** Permanently deletes a billable item. */\nexport function deleteBillableItem(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __deleteBillableItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.billable_items.v1.BillableItems.DeleteBillableItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/billable-items/{billableItemId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteBillableItem;\n}\n\n/**\n * Retrieves a list of BillableItems, given the provided [paging, filtering, and sorting](https://dev.wix.com/api/rest/getting-started/sorting-and-paging).\n *\n * Up to 1,000 BillableItems can be returned per request.\n *\n * To learn how to query BillableItems, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).\n */\nexport function queryBillableItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryBillableItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'GET' as any,\n      methodFqn: 'wix.billable_items.v1.BillableItems.QueryBillableItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/billable-items/query',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload, true),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'billableItems.createdDate' },\n              { path: 'billableItems.updatedDate' },\n            ],\n          },\n        ]),\n      fallback: [\n        {\n          method: 'POST' as any,\n          url: resolveWixBillableItemsV1BillableItemsUrl({\n            protoPath: '/v1/billable-items/query',\n            data: payload,\n            host,\n          }),\n          data: payload,\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __queryBillableItems;\n}\n\n/** Create multiple billable items. */\nexport function bulkCreateBillableItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreateBillableItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'billableItems.createdDate' },\n          { path: 'billableItems.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'POST' as any,\n      methodFqn: 'wix.billable_items.v1.BillableItems.BulkCreateBillableItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/bulk/billable-items/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateBillableItems;\n}\n\n/** Updates multiple billable items. */\nexport function bulkUpdateBillableItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateBillableItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'billableItems.fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'billableItems.billableItem.createdDate' },\n          { path: 'billableItems.billableItem.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'POST' as any,\n      methodFqn: 'wix.billable_items.v1.BillableItems.BulkUpdateBillableItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/bulk/billable-items/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateBillableItems;\n}\n\n/** Delete multiple billable items. */\nexport function bulkDeleteBillableItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkDeleteBillableItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'POST' as any,\n      methodFqn: 'wix.billable_items.v1.BillableItems.BulkDeleteBillableItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/bulk/billable-items/delete',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkDeleteBillableItems;\n}\n\n/**\n * Updates tags for multiple billable items.\n * A tag that appears both in the list of assign and unassign tags, will be assigned.\n */\nexport function bulkUpdateBillableItemTags(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateBillableItemTags({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.billable_items.v1.BillableItems.BulkUpdateBillableItemTags',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/bulk/billable-items/update-tags',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateBillableItemTags;\n}\n\n/**\n * Updates tags on multiple billable items by filter. Works asynchronously, and returns a job ID.\n *\n * An empty filter will update all billable items.\n *\n * A tag that is specified both in the list of assign and unassign tags, will be assigned.\n *\n * Specify the returned jobId in Get Async Job ([SDK](https://dev.wix.com/docs/sdk/backend-modules/async-jobs/get-async-job) | [REST](https://dev.wix.com/docs/rest/business-management/async-job/get-async-job)) to track the job's status.\n */\nexport function bulkUpdateBillableItemTagsByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateBillableItemTagsByFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.billable_items.v1.BillableItems.BulkUpdateBillableItemTagsByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/bulk/billable-items/update-tags-by-filter',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateBillableItemTagsByFilter;\n}\n\n/**\n * Retrieves a list of up to 100 billable items, given the specified filtering, search expression, sorting, and cursor paging.\n *\n * Learn more about [API query language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).\n */\nexport function searchBillableItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __searchBillableItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'search.aggregations.range.buckets.from' },\n          { path: 'search.aggregations.range.buckets.to' },\n          {\n            path: 'search.aggregations.nested.nestedAggregations.range.buckets.from',\n          },\n          {\n            path: 'search.aggregations.nested.nestedAggregations.range.buckets.to',\n          },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.billable_items.v1.billable_item',\n      method: 'POST' as any,\n      methodFqn: 'wix.billable_items.v1.BillableItems.SearchBillableItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBillableItemsV1BillableItemsUrl({\n        protoPath: '/v1/billable-items/search',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'billableItems.createdDate' },\n              { path: 'billableItems.updatedDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'aggregationData.results.ranges.results.from' },\n              { path: 'aggregationData.results.ranges.results.to' },\n              {\n                path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from',\n              },\n              {\n                path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to',\n              },\n              {\n                path: 'aggregationData.results.nested.results.results.*.range.from',\n              },\n              {\n                path: 'aggregationData.results.nested.results.results.*.range.to',\n              },\n              { path: 'aggregationData.results.scalar.value' },\n              {\n                path: 'aggregationData.results.groupedByValue.results.nestedResults.scalar.value',\n              },\n              {\n                path: 'aggregationData.results.nested.results.results.*.scalar.value',\n              },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __searchBillableItems;\n}\n","/**\n * A billable item represents a billable product or service that can be added to invoices.\n * You can create, manage, and organize these items to streamline your billing process.\n * Billable items include details like name, description, price, and tax information.\n */\nexport interface BillableItem {\n  /**\n   * Billable item ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the billable item is updated.\n   * To prevent conflicting changes,\n   * the current revision must be passed when updating the billable item.\n   *\n   * Ignored when creating a billable item.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the billable item was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the billable item was last updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Billable item name, for display on invoices.\n   * @minLength 1\n   * @maxLength 200\n   */\n  name?: string;\n  /**\n   * Detailed description of the billable item. Provides additional information about the product or service.\n   * @minLength 1\n   * @maxLength 600\n   */\n  description?: string | null;\n  /**\n   * Price of the billable item in decimal format with up to 4 decimal places.\n   * Represents the base cost before taxes are applied. This is a required field when creating a new billable item.\n   * @format DECIMAL_VALUE\n   * @decimalValue options { gte:-1000000000000000, lte:1000000000000000, maxScale:4 }\n   */\n  price?: string;\n  /**\n   * Reference to a tax group that defines the tax rules applicable to this billable item.\n   * Use the Tax Groups API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/billing/tax-groups/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tax/tax-groups/introduction)) to retrieve available tax groups for the business.\n   * The tax group determines how taxes are calculated when this item is added to an invoice.\n   * If not specified, the default tax rules for the business will apply.\n   * @format GUID\n   */\n  taxGroupId?: string | null;\n  /**\n   * Billable item image, stored in the Wix Media Manager.\n   * Upload an image with the Media Manager API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/introduction) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction)) or the site dashboard before associating it to a billable item.\n   */\n  image?: Image;\n  /**\n   * Custom field data for the billable item.\n   * Extended fields must be configured in the app dashboard before they can be accessed with API calls.\n   */\n  extendedFields?: ExtendedFields;\n  /** Tags. */\n  tags?: Tags;\n}\n\nexport interface Image {\n  /** WixMedia image ID. */\n  id?: string;\n  /** Image URL. */\n  url?: string;\n  /**\n   * Original image height.\n   * @readonly\n   */\n  height?: number;\n  /**\n   * Original image width.\n   * @readonly\n   */\n  width?: number;\n  /** Image alt text. */\n  altText?: string | null;\n}\n\nexport interface ExtendedFields {\n  /**\n   * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n   * The value of each key is structured according to the schema defined when the extended fields were configured.\n   *\n   * You can only access fields for which you have the appropriate permissions.\n   *\n   * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n   */\n  namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n  /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */\n  privateTags?: TagList;\n  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n  tags?: TagList;\n}\n\nexport interface TagList {\n  /**\n   * List of tag IDs\n   * @maxSize 100\n   * @maxLength 5\n   */\n  tagIds?: string[];\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface 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 CreateBillableItemRequest {\n  /** Billable item to create. */\n  billableItem: BillableItem;\n}\n\nexport interface CreateBillableItemResponse {\n  /** Created billable item. */\n  billableItem?: BillableItem;\n}\n\nexport interface GetBillableItemRequest {\n  /**\n   * Billable item ID.\n   * @format GUID\n   */\n  billableItemId: string;\n}\n\nexport interface GetBillableItemResponse {\n  /** Requested billable item. */\n  billableItem?: BillableItem;\n}\n\nexport interface UpdateBillableItemRequest {\n  /** Billable item to update. May be partial. */\n  billableItem: BillableItem;\n}\n\nexport interface UpdateBillableItemResponse {\n  /** Updated billable item. */\n  billableItem?: BillableItem;\n}\n\nexport interface DeleteBillableItemRequest {\n  /**\n   * Billable item ID to delete.\n   * @format GUID\n   */\n  billableItemId: string;\n}\n\nexport interface DeleteBillableItemResponse {}\n\nexport interface QueryBillableItemsRequest {\n  /** Query options. */\n  query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   * @maxSize 5\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n  /**\n   * Maximum number of items to return in the results.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 16000\n   */\n  cursor?: string | null;\n}\n\nexport interface QueryBillableItemsResponse {\n  /** Requested billable items. */\n  billableItems?: BillableItem[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Cursor strings that point to the next page, previous page, or both. */\n  cursors?: Cursors;\n  /**\n   * Whether there are more pages to retrieve following the current page.\n   *\n   * + `true`: Another page of results can be retrieved.\n   * + `false`: This is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor string pointing to the next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to the previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\nexport interface InternalQueryBillableItemsRequest {\n  /** Query options. */\n  query?: InternalCursorQuery;\n}\n\nexport interface InternalCursorQuery\n  extends InternalCursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: InternalCursorPaging;\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   * @maxSize 5\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface InternalCursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: InternalCursorPaging;\n}\n\nexport interface InternalCursorPaging {\n  /**\n   * Maximum number of items to return in the results.\n   * @max 10000\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 16000\n   */\n  cursor?: string | null;\n}\n\nexport interface InternalQueryBillableItemsResponse {\n  /** Requested billable items. */\n  billableItems?: BillableItem[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface BulkCreateBillableItemsRequest {\n  /**\n   * List of billable items to create.\n   * @minSize 1\n   * @maxSize 100\n   */\n  billableItems: BillableItem[];\n  /** Whether to return the created billable items in the response. */\n  returnEntity?: boolean;\n}\n\nexport interface BulkCreateBillableItemsResponse {\n  /**\n   * List of billable items create operation results including metadata.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkBillableItemResult[];\n  /** Metadata regarding the bulk create operation. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n  /**\n   * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n   * @format GUID\n   */\n  id?: string | null;\n  /** Index of the item within the request array. Allows for correlation between request and response items. */\n  originalIndex?: number;\n  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n  success?: boolean;\n  /** Details about the error in case of failure. */\n  error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n  /** Error code. */\n  code?: string;\n  /** Description of the error. */\n  description?: string;\n  /** Data related to the error. */\n  data?: Record<string, any> | null;\n}\n\nexport interface BulkBillableItemResult {\n  /** Billable item's create operation metadata. */\n  itemMetadata?: ItemMetadata;\n  /** Created billable item if `returnEntity` was set `true` in the request. */\n  item?: BillableItem;\n}\n\nexport interface BulkActionMetadata {\n  /** Number of items that were successfully processed. */\n  totalSuccesses?: number;\n  /** Number of items that couldn't be processed. */\n  totalFailures?: number;\n  /** Number of failures without details because detailed failure threshold was exceeded. */\n  undetailedFailures?: number;\n}\n\nexport interface BulkUpdateBillableItemsRequest {\n  /**\n   * Billable items to update.\n   * @minSize 1\n   * @maxSize 100\n   */\n  billableItems: MaskedBillableItem[];\n  /** Return updated billable items in the response. */\n  returnEntity?: boolean;\n}\n\nexport interface MaskedBillableItem {\n  /** Billable items to update. May be partial. */\n  billableItem?: BillableItem;\n}\n\nexport interface BulkUpdateBillableItemsResponse {\n  /**\n   * Billable items update operation results including metadata.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateBillableItemsResponseBulkBillableItemResult[];\n  /** Metadata regarding the bulk update operation. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateBillableItemsResponseBulkBillableItemResult {\n  /** Billable item's update operation metadata. */\n  itemMetadata?: ItemMetadata;\n  /** Updated billable item if `returnEntity` was set `true` in the request. */\n  item?: BillableItem;\n}\n\nexport interface BulkDeleteBillableItemsRequest {\n  /**\n   * Billable item IDs to delete.\n   * @minSize 1\n   * @maxSize 100\n   * @format GUID\n   */\n  billableItemIds: string[];\n}\n\nexport interface BulkDeleteBillableItemsResponse {\n  /**\n   * Billable items delete operation results including metadata.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkDeleteBillableItemsResponseBulkBillableItemResult[];\n  /** Metadata regarding the bulk delete operation. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteBillableItemsResponseBulkBillableItemResult {\n  /** Billable item's delete operation metadata. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateBillableItemTagsRequest {\n  /**\n   * IDs of billable items which tags will be updated.\n   * @minSize 1\n   * @maxSize 100\n   * @format GUID\n   */\n  billableItemIds: string[];\n  /** List of tags to assign. */\n  assignTags?: Tags;\n  /** List of tags to unassign. */\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateBillableItemTagsResponse {\n  /**\n   * Billable items update tags results including metadata.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateBillableItemTagsResult[];\n  /** Bulk update tags metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateBillableItemTagsResult {\n  /** Billable item's update tags operation metadata. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateBillableItemTagsByFilterRequest {\n  /** Filter to select relevant billable items. */\n  filter: Record<string, any> | null;\n  /** List of tags to assign. */\n  assignTags?: Tags;\n  /** List of tags to unassign. */\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateBillableItemTagsByFilterResponse {\n  /**\n   * Job ID. Pass this ID to Get Async Job ([SDK](https://dev.wix.com/docs/sdk/backend-modules/async-jobs/get-async-job) | [REST](https://dev.wix.com/docs/rest/business-management/async-job/get-async-job)) to track the job's status.\n   * @format GUID\n   */\n  jobId?: string;\n}\n\nexport interface SearchBillableItemsRequest {\n  /** Search options. */\n  search?: CursorSearch;\n}\n\nexport interface CursorSearch extends CursorSearchPagingMethodOneOf {\n  /**\n   * Cursor pointing to page of results.\n   * When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.\n   */\n  cursorPaging?: CursorPaging;\n  /** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the form [{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]\n   * @maxSize 10\n   */\n  sort?: Sorting[];\n  /**\n   * Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.\n   * @maxSize 10\n   */\n  aggregations?: Aggregation[];\n  /** Free text to match in searchable fields */\n  search?: SearchDetails;\n  /**\n   * UTC offset or IANA time zone. Valid values are\n   * ISO 8601 UTC offsets, such as +02:00 or -06:00,\n   * and IANA time zone IDs, such as Europe/Rome\n   *\n   * Affects all filters and aggregations returned values.\n   * You may override this behavior in a specific filter by providing\n   * timestamps including time zone. e.g. `\"2023-12-20T10:52:34.795Z\"`\n   * @maxLength 50\n   */\n  timeZone?: string | null;\n}\n\n/** @oneof */\nexport interface CursorSearchPagingMethodOneOf {\n  /**\n   * Cursor pointing to page of results.\n   * When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.\n   */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Aggregation extends AggregationKindOneOf {\n  /** Value aggregation */\n  value?: ValueAggregation;\n  /** Range aggregation */\n  range?: RangeAggregation;\n  /** Scalar aggregation */\n  scalar?: ScalarAggregation;\n  /** Date histogram aggregation */\n  dateHistogram?: DateHistogramAggregation;\n  /** Nested aggregation */\n  nested?: NestedAggregation;\n  /**\n   * User-defined name of aggregation, should be unique, will appear in aggregation results\n   * @maxLength 100\n   */\n  name?: string | null;\n  /** Type of aggregation, client must provide matching aggregation field below */\n  type?: AggregationTypeWithLiterals;\n  /**\n   * Field to aggregate by, use dot notation to specify json path\n   * @maxLength 200\n   */\n  fieldPath?: string;\n}\n\n/** @oneof */\nexport interface AggregationKindOneOf {\n  /** Value aggregation */\n  value?: ValueAggregation;\n  /** Range aggregation */\n  range?: RangeAggregation;\n  /** Scalar aggregation */\n  scalar?: ScalarAggregation;\n  /** Date histogram aggregation */\n  dateHistogram?: DateHistogramAggregation;\n  /** Nested aggregation */\n  nested?: NestedAggregation;\n}\n\nexport interface RangeBucket {\n  /** Inclusive lower bound of the range. Required if to is not given */\n  from?: number | null;\n  /** Exclusive upper bound of the range. Required if from is not given */\n  to?: number | null;\n}\n\nexport enum SortType {\n  /** Should sort by number of matches */\n  COUNT = 'COUNT',\n  /** Should sort by value of the field alphabetically */\n  VALUE = 'VALUE',\n}\n\n/** @enumType */\nexport type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';\n\nexport enum SortDirection {\n  /** Should sort in descending order */\n  DESC = 'DESC',\n  /** Should sort in ascending order */\n  ASC = 'ASC',\n}\n\n/** @enumType */\nexport type SortDirectionWithLiterals = SortDirection | 'DESC' | 'ASC';\n\nexport enum MissingValues {\n  /** Should missing values be excluded from the aggregation results */\n  EXCLUDE = 'EXCLUDE',\n  /** Should missing values be included in the aggregation results */\n  INCLUDE = 'INCLUDE',\n}\n\n/** @enumType */\nexport type MissingValuesWithLiterals = MissingValues | 'EXCLUDE' | 'INCLUDE';\n\nexport interface IncludeMissingValuesOptions {\n  /**\n   * Can specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...\n   * @maxLength 20\n   */\n  addToBucket?: string;\n}\n\nexport enum ScalarType {\n  /** Count of distinct values */\n  COUNT_DISTINCT = 'COUNT_DISTINCT',\n  /** Minimum value */\n  MIN = 'MIN',\n  /** Maximum value */\n  MAX = 'MAX',\n}\n\n/** @enumType */\nexport type ScalarTypeWithLiterals =\n  | ScalarType\n  | 'COUNT_DISTINCT'\n  | 'MIN'\n  | 'MAX';\n\nexport interface ValueAggregation extends ValueAggregationOptionsOneOf {\n  /** Options for including missing values */\n  includeOptions?: IncludeMissingValuesOptions;\n  /** Should sort by number of matches or value of the field */\n  sortType?: SortTypeWithLiterals;\n  /** Should sort in ascending or descending order */\n  sortDirection?: SortDirectionWithLiterals;\n  /** How many aggregations would you like to return? Can be between 1 and 250. 10 is the default. */\n  limit?: number | null;\n  /** Should missing values be included or excluded from the aggregation results. Default is EXCLUDE */\n  missingValues?: MissingValuesWithLiterals;\n}\n\n/** @oneof */\nexport interface ValueAggregationOptionsOneOf {\n  /** Options for including missing values */\n  includeOptions?: IncludeMissingValuesOptions;\n}\n\nexport enum NestedAggregationType {\n  /** An aggregation where result buckets are dynamically built - one per unique value */\n  VALUE = 'VALUE',\n  /** An aggregation, where user can define set of ranges - each representing a bucket */\n  RANGE = 'RANGE',\n  /** A single-value metric aggregation - e.g. min, max, sum, avg */\n  SCALAR = 'SCALAR',\n  /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */\n  DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n}\n\n/** @enumType */\nexport type NestedAggregationTypeWithLiterals =\n  | NestedAggregationType\n  | 'VALUE'\n  | 'RANGE'\n  | 'SCALAR'\n  | 'DATE_HISTOGRAM';\n\nexport interface RangeAggregation {\n  /**\n   * List of range buckets, where during aggregation each entity will be placed in the first bucket where its value falls into based on provided range bounds\n   * @maxSize 50\n   */\n  buckets?: RangeBucket[];\n}\n\nexport interface ScalarAggregation {\n  /** Define the operator for the scalar aggregation */\n  type?: ScalarTypeWithLiterals;\n}\n\nexport interface DateHistogramAggregation {\n  /** Interval for date histogram aggregation */\n  interval?: IntervalWithLiterals;\n}\n\nexport enum Interval {\n  /** Yearly interval */\n  YEAR = 'YEAR',\n  /** Monthly interval */\n  MONTH = 'MONTH',\n  /** Weekly interval */\n  WEEK = 'WEEK',\n  /** Daily interval */\n  DAY = 'DAY',\n  /** Hourly interval */\n  HOUR = 'HOUR',\n  /** Minute interval */\n  MINUTE = 'MINUTE',\n  /** Second interval */\n  SECOND = 'SECOND',\n}\n\n/** @enumType */\nexport type IntervalWithLiterals =\n  | Interval\n  | 'YEAR'\n  | 'MONTH'\n  | 'WEEK'\n  | 'DAY'\n  | 'HOUR'\n  | 'MINUTE'\n  | 'SECOND';\n\nexport interface NestedAggregationItem extends NestedAggregationItemKindOneOf {\n  /** Value aggregation */\n  value?: ValueAggregation;\n  /** Range aggregation */\n  range?: RangeAggregation;\n  /** Scalar aggregation */\n  scalar?: ScalarAggregation;\n  /** Date histogram aggregation */\n  dateHistogram?: DateHistogramAggregation;\n  /**\n   * User-defined name of aggregation, should be unique, will appear in aggregation results\n   * @maxLength 100\n   */\n  name?: string | null;\n  /** Type of aggregation, client must provide matching aggregation field below */\n  type?: NestedAggregationTypeWithLiterals;\n  /**\n   * Field to aggregate by, use dont notation to specify json path\n   * @maxLength 200\n   */\n  fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationItemKindOneOf {\n  /** Value aggregation */\n  value?: ValueAggregation;\n  /** Range aggregation */\n  range?: RangeAggregation;\n  /** Scalar aggregation */\n  scalar?: ScalarAggregation;\n  /** Date histogram aggregation */\n  dateHistogram?: DateHistogramAggregation;\n}\n\nexport enum AggregationType {\n  /** An aggregation where result buckets are dynamically built - one per unique value */\n  VALUE = 'VALUE',\n  /** An aggregation, where user can define set of ranges - each representing a bucket */\n  RANGE = 'RANGE',\n  /** A single-value metric aggregation - e.g. min, max, sum, avg */\n  SCALAR = 'SCALAR',\n  /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */\n  DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n  /** Multi-level aggregation, where each next aggregation is nested within previous one */\n  NESTED = 'NESTED',\n}\n\n/** @enumType */\nexport type AggregationTypeWithLiterals =\n  | AggregationType\n  | 'VALUE'\n  | 'RANGE'\n  | 'SCALAR'\n  | 'DATE_HISTOGRAM'\n  | 'NESTED';\n\n/** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */\nexport interface NestedAggregation {\n  /**\n   * Flattened list of aggregations, where each next aggregation is nested within previous one\n   * @minSize 2\n   * @maxSize 3\n   */\n  nestedAggregations?: NestedAggregationItem[];\n}\n\nexport interface SearchDetails {\n  /** Defines how separate search terms in `expression` are combined */\n  mode?: ModeWithLiterals;\n  /**\n   * Search term or expression\n   * @maxLength 100\n   */\n  expression?: string | null;\n  /**\n   * Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path\n   * @maxLength 200\n   * @maxSize 20\n   */\n  fields?: string[];\n  /** Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */\n  fuzzy?: boolean;\n}\n\nexport enum Mode {\n  /** Any of the search terms must be present */\n  OR = 'OR',\n  /** All search terms must be present */\n  AND = 'AND',\n}\n\n/** @enumType */\nexport type ModeWithLiterals = Mode | 'OR' | 'AND';\n\nexport interface SearchBillableItemsResponse {\n  /** Requested billable items. */\n  billableItems?: BillableItem[];\n  /** Paging metadata. */\n  pagingMetadata?: PagingMetadataV2;\n  /** Response aggregation data. */\n  aggregationData?: AggregationData;\n}\n\nexport interface PagingMetadataV2 {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n  total?: number | null;\n  /** Flag that indicates the server failed to calculate the `total` field. */\n  tooManyToCount?: boolean | null;\n  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n  cursors?: Cursors;\n}\n\nexport interface AggregationData {\n  /**\n   * key = aggregation name (as derived from search request)\n   * @maxSize 10000\n   */\n  results?: AggregationResults[];\n}\n\nexport interface ValueAggregationResult {\n  /**\n   * Value of the field\n   * @maxLength 100\n   */\n  value?: string;\n  /** Count of entities with this value */\n  count?: number;\n}\n\nexport interface RangeAggregationResult {\n  /** Inclusive lower bound of the range */\n  from?: number | null;\n  /** Exclusive upper bound of the range */\n  to?: number | null;\n  /** Count of entities in this range */\n  count?: number;\n}\n\nexport interface NestedAggregationResults\n  extends NestedAggregationResultsResultOneOf {\n  /** Value aggregation results */\n  values?: ValueResults;\n  /** Range aggregation results */\n  ranges?: RangeResults;\n  /** Scalar aggregation results */\n  scalar?: AggregationResultsScalarResult;\n  /**\n   * User-defined name of aggregation, matches the one provided in request\n   * @maxLength 100\n   */\n  name?: string;\n  /** Type of aggregation that matches result */\n  type?: AggregationTypeWithLiterals;\n  /**\n   * Field to aggregate by, matches the one provided in request\n   * @maxLength 200\n   */\n  fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationResultsResultOneOf {\n  /** Value aggregation results */\n  values?: ValueResults;\n  /** Range aggregation results */\n  ranges?: RangeResults;\n  /** Scalar aggregation results */\n  scalar?: AggregationResultsScalarResult;\n}\n\nexport interface ValueResults {\n  /**\n   * List of value aggregations\n   * @maxSize 250\n   */\n  results?: ValueAggregationResult[];\n}\n\nexport interface RangeResults {\n  /**\n   * List of ranges returned in same order as requested\n   * @maxSize 50\n   */\n  results?: RangeAggregationResult[];\n}\n\nexport interface AggregationResultsScalarResult {\n  /** Type of scalar aggregation */\n  type?: ScalarTypeWithLiterals;\n  /** Value of the scalar aggregation */\n  value?: number;\n}\n\nexport interface NestedValueAggregationResult {\n  /**\n   * Value of the field\n   * @maxLength 1000\n   */\n  value?: string;\n  /** Nested aggregations */\n  nestedResults?: NestedAggregationResults;\n}\n\nexport interface ValueResult {\n  /**\n   * Value of the field\n   * @maxLength 1000\n   */\n  value?: string;\n  /** Count of entities with this value */\n  count?: number | null;\n}\n\nexport interface RangeResult {\n  /** Inclusive lower bound of the range */\n  from?: number | null;\n  /** Exclusive upper bound of the range */\n  to?: number | null;\n  /** Count of entities in this range */\n  count?: number | null;\n}\n\nexport interface ScalarResult {\n  /** Value of the scalar aggregation */\n  value?: number;\n}\n\nexport interface NestedResultValue extends NestedResultValueResultOneOf {\n  /** Value aggregation result */\n  value?: ValueResult;\n  /** Range aggregation result */\n  range?: RangeResult;\n  /** Scalar aggregation result */\n  scalar?: ScalarResult;\n  /** Date histogram aggregation result */\n  dateHistogram?: ValueResult;\n}\n\n/** @oneof */\nexport interface NestedResultValueResultOneOf {\n  /** Value aggregation result */\n  value?: ValueResult;\n  /** Range aggregation result */\n  range?: RangeResult;\n  /** Scalar aggregation result */\n  scalar?: ScalarResult;\n  /** Date histogram aggregation result */\n  dateHistogram?: ValueResult;\n}\n\nexport interface Results {\n  /** List of nested aggregations */\n  results?: Record<string, NestedResultValue>;\n}\n\nexport interface DateHistogramResult {\n  /**\n   * Date in ISO 8601 format\n   * @maxLength 100\n   */\n  value?: string;\n  /** Count of documents in the bucket */\n  count?: number;\n}\n\nexport interface GroupByValueResults {\n  /**\n   * List of value aggregations\n   * @maxSize 1000\n   */\n  results?: NestedValueAggregationResult[];\n}\n\nexport interface DateHistogramResults {\n  /**\n   * List of date histogram aggregations\n   * @maxSize 200\n   */\n  results?: DateHistogramResult[];\n}\n\n/**\n * Results of `NESTED` aggregation type in a flattened form\n * aggregations in resulting array are keyed by requested aggregation `name`.\n */\nexport interface NestedResults {\n  /**\n   * List of nested aggregations\n   * @maxSize 1000\n   */\n  results?: Results[];\n}\n\nexport interface AggregationResults extends AggregationResultsResultOneOf {\n  /** Value aggregation results */\n  values?: ValueResults;\n  /** Range aggregation results */\n  ranges?: RangeResults;\n  /** Scalar aggregation results */\n  scalar?: AggregationResultsScalarResult;\n  /** Group by value aggregation results */\n  groupedByValue?: GroupByValueResults;\n  /** Date histogram aggregation results */\n  dateHistogram?: DateHistogramResults;\n  /** Nested aggregation results */\n  nested?: NestedResults;\n  /**\n   * User-defined name of aggregation as derived from search request\n   * @maxLength 100\n   */\n  name?: string;\n  /** Type of aggregation that must match provided kind as derived from search request */\n  type?: AggregationTypeWithLiterals;\n  /**\n   * Field to aggregate by as derived from search request\n   * @maxLength 200\n   */\n  fieldPath?: string;\n}\n\n/** @oneof */\nexport interface AggregationResultsResultOneOf {\n  /** Value aggregation results */\n  values?: ValueResults;\n  /** Range aggregation results */\n  ranges?: RangeResults;\n  /** Scalar aggregation results */\n  scalar?: AggregationResultsScalarResult;\n  /** Group by value aggregation results */\n  groupedByValue?: GroupByValueResults;\n  /** Date histogram aggregation results */\n  dateHistogram?: DateHistogramResults;\n  /** Nested aggregation results */\n  nested?: NestedResults;\n}\n\n/** @docsIgnore */\nexport type CreateBillableItemApplicationErrors =\n  | {\n      code?: 'APP_INSTALLATION_FAILED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'NO_META_SITE';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'TAX_GROUP_ID_NOT_FOUND';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkUpdateBillableItemTagsApplicationErrors = {\n  code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateBillableItemTagsByFilterApplicationErrors = {\n  code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n  description?: string;\n  data?: Record<string, any>;\n};\n","import * as ambassadorWixBillableItemsV1BillableItem from './billable-items-v1-billable-item-billable-items.http.js';\nimport * as ambassadorWixBillableItemsV1BillableItemTypes from './billable-items-v1-billable-item-billable-items.types.js';\nimport * as ambassadorWixBillableItemsV1BillableItemUniversalTypes from './billable-items-v1-billable-item-billable-items.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 createBillableItem(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.CreateBillableItemRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.CreateBillableItemRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.CreateBillableItemResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.CreateBillableItemResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.createBillableItem(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/billable-items',\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 getBillableItem(): __PublicMethodMetaInfo<\n  'GET',\n  { billableItemId: string },\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.GetBillableItemRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.GetBillableItemRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.GetBillableItemResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.GetBillableItemResponse\n> {\n  const payload = { billableItemId: ':billableItemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.getBillableItem(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/billable-items/{billableItemId}',\n    pathParams: { billableItemId: 'billableItemId' },\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 updateBillableItem(): __PublicMethodMetaInfo<\n  'PATCH',\n  { billableItemId: string },\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.UpdateBillableItemRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.UpdateBillableItemRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.UpdateBillableItemResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.UpdateBillableItemResponse\n> {\n  const payload = { billableItem: { id: ':billableItemId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.updateBillableItem(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/billable-items/{billableItem.id}',\n    pathParams: { billableItemId: 'billableItemId' },\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 deleteBillableItem(): __PublicMethodMetaInfo<\n  'DELETE',\n  { billableItemId: string },\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.DeleteBillableItemRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.DeleteBillableItemRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.DeleteBillableItemResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.DeleteBillableItemResponse\n> {\n  const payload = { billableItemId: ':billableItemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.deleteBillableItem(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/billable-items/{billableItemId}',\n    pathParams: { billableItemId: 'billableItemId' },\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 queryBillableItems(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.QueryBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.QueryBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.QueryBillableItemsResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.QueryBillableItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.queryBillableItems(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/billable-items/query',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkCreateBillableItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkCreateBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkCreateBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkCreateBillableItemsResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkCreateBillableItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.bulkCreateBillableItems(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/bulk/billable-items/create',\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 bulkUpdateBillableItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkUpdateBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkUpdateBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkUpdateBillableItemsResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkUpdateBillableItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.bulkUpdateBillableItems(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/bulk/billable-items/update',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkDeleteBillableItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkDeleteBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkDeleteBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkDeleteBillableItemsResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkDeleteBillableItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.bulkDeleteBillableItems(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/bulk/billable-items/delete',\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 bulkUpdateBillableItemTags(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkUpdateBillableItemTagsRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkUpdateBillableItemTagsRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkUpdateBillableItemTagsResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkUpdateBillableItemTagsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.bulkUpdateBillableItemTags(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/bulk/billable-items/update-tags',\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 bulkUpdateBillableItemTagsByFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkUpdateBillableItemTagsByFilterRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkUpdateBillableItemTagsByFilterRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.BulkUpdateBillableItemTagsByFilterResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.BulkUpdateBillableItemTagsByFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.bulkUpdateBillableItemTagsByFilter(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/bulk/billable-items/update-tags-by-filter',\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 searchBillableItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.SearchBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemTypes.SearchBillableItemsRequest,\n  ambassadorWixBillableItemsV1BillableItemUniversalTypes.SearchBillableItemsResponse,\n  ambassadorWixBillableItemsV1BillableItemTypes.SearchBillableItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBillableItemsV1BillableItem.searchBillableItems(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/billable-items/search',\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  BillableItem as BillableItemOriginal,\n  Image as ImageOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  Tags as TagsOriginal,\n  TagList as TagListOriginal,\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  CreateBillableItemRequest as CreateBillableItemRequestOriginal,\n  CreateBillableItemResponse as CreateBillableItemResponseOriginal,\n  GetBillableItemRequest as GetBillableItemRequestOriginal,\n  GetBillableItemResponse as GetBillableItemResponseOriginal,\n  UpdateBillableItemRequest as UpdateBillableItemRequestOriginal,\n  UpdateBillableItemResponse as UpdateBillableItemResponseOriginal,\n  DeleteBillableItemRequest as DeleteBillableItemRequestOriginal,\n  DeleteBillableItemResponse as DeleteBillableItemResponseOriginal,\n  QueryBillableItemsRequest as QueryBillableItemsRequestOriginal,\n  CursorQuery as CursorQueryOriginal,\n  CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryBillableItemsResponse as QueryBillableItemsResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  InternalQueryBillableItemsRequest as InternalQueryBillableItemsRequestOriginal,\n  InternalCursorQuery as InternalCursorQueryOriginal,\n  InternalCursorQueryPagingMethodOneOf as InternalCursorQueryPagingMethodOneOfOriginal,\n  InternalCursorPaging as InternalCursorPagingOriginal,\n  InternalQueryBillableItemsResponse as InternalQueryBillableItemsResponseOriginal,\n  BulkCreateBillableItemsRequest as BulkCreateBillableItemsRequestOriginal,\n  BulkCreateBillableItemsResponse as BulkCreateBillableItemsResponseOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkBillableItemResult as BulkBillableItemResultOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkUpdateBillableItemsRequest as BulkUpdateBillableItemsRequestOriginal,\n  MaskedBillableItem as MaskedBillableItemOriginal,\n  BulkUpdateBillableItemsResponse as BulkUpdateBillableItemsResponseOriginal,\n  BulkUpdateBillableItemsResponseBulkBillableItemResult as BulkUpdateBillableItemsResponseBulkBillableItemResultOriginal,\n  BulkDeleteBillableItemsRequest as BulkDeleteBillableItemsRequestOriginal,\n  BulkDeleteBillableItemsResponse as BulkDeleteBillableItemsResponseOriginal,\n  BulkDeleteBillableItemsResponseBulkBillableItemResult as BulkDeleteBillableItemsResponseBulkBillableItemResultOriginal,\n  BulkUpdateBillableItemTagsRequest as BulkUpdateBillableItemTagsRequestOriginal,\n  BulkUpdateBillableItemTagsResponse as BulkUpdateBillableItemTagsResponseOriginal,\n  BulkUpdateBillableItemTagsResult as BulkUpdateBillableItemTagsResultOriginal,\n  BulkUpdateBillableItemTagsByFilterRequest as BulkUpdateBillableItemTagsByFilterRequestOriginal,\n  BulkUpdateBillableItemTagsByFilterResponse as BulkUpdateBillableItemTagsByFilterResponseOriginal,\n  SearchBillableItemsRequest as SearchBillableItemsRequestOriginal,\n  CursorSearch as CursorSearchOriginal,\n  CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal,\n  Aggregation as AggregationOriginal,\n  AggregationKindOneOf as AggregationKindOneOfOriginal,\n  RangeBucket as RangeBucketOriginal,\n  SortType as SortTypeOriginal,\n  SortTypeWithLiterals as SortTypeWithLiteralsOriginal,\n  SortDirection as SortDirectionOriginal,\n  SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal,\n  MissingValues as MissingValuesOriginal,\n  MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal,\n  IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal,\n  ScalarType as ScalarTypeOriginal,\n  ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal,\n  ValueAggregation as ValueAggregationOriginal,\n  ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal,\n  NestedAggregationType as NestedAggregationTypeOriginal,\n  NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal,\n  RangeAggregation as RangeAggregationOriginal,\n  ScalarAggregation as ScalarAggregationOriginal,\n  DateHistogramAggregation as DateHistogramAggregationOriginal,\n  Interval as IntervalOriginal,\n  IntervalWithLiterals as IntervalWithLiteralsOriginal,\n  NestedAggregationItem as NestedAggregationItemOriginal,\n  NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal,\n  AggregationType as AggregationTypeOriginal,\n  AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal,\n  NestedAggregation as NestedAggregationOriginal,\n  SearchDetails as SearchDetailsOriginal,\n  Mode as ModeOriginal,\n  ModeWithLiterals as ModeWithLiteralsOriginal,\n  SearchBillableItemsResponse as SearchBillableItemsResponseOriginal,\n  PagingMetadataV2 as PagingMetadataV2Original,\n  AggregationData as AggregationDataOriginal,\n  ValueAggregationResult as ValueAggregationResultOriginal,\n  RangeAggregationResult as RangeAggregationResultOriginal,\n  NestedAggregationResults as NestedAggregationResultsOriginal,\n  NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal,\n  ValueResults as ValueResultsOriginal,\n  RangeResults as RangeResultsOriginal,\n  AggregationResultsScalarResult as AggregationResultsScalarResultOriginal,\n  NestedValueAggregationResult as NestedValueAggregationResultOriginal,\n  ValueResult as ValueResultOriginal,\n  RangeResult as RangeResultOriginal,\n  ScalarResult as ScalarResultOriginal,\n  NestedResultValue as NestedResultValueOriginal,\n  NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal,\n  Results as ResultsOriginal,\n  DateHistogramResult as DateHistogramResultOriginal,\n  GroupByValueResults as GroupByValueResultsOriginal,\n  DateHistogramResults as DateHistogramResultsOriginal,\n  NestedResults as NestedResultsOriginal,\n  AggregationResults as AggregationResultsOriginal,\n  AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal,\n  CreateBillableItemApplicationErrors as CreateBillableItemApplicationErrorsOriginal,\n  BulkUpdateBillableItemTagsApplicationErrors as BulkUpdateBillableItemTagsApplicationErrorsOriginal,\n  BulkUpdateBillableItemTagsByFilterApplicationErrors as BulkUpdateBillableItemTagsByFilterApplicationErrorsOriginal,\n} from './billable-items-v1-billable-item-billable-items.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,0CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;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,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,mBACd,SAC4B;AAC5B,WAAS,qBAAqB,EAAE,KAAK,GAAQ;AAC3C,UAAM,iBAAiB,eAAe,SAAS;AAAA,MAC7C;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,UACL,EAAE,MAAM,2BAA2B;AAAA,UACnC,EAAE,MAAM,2BAA2B;AAAA,QACrC;AAAA,MACF;AAAA,IACF,CAAC;AACD,UAAM,WAAW;AAAA,MACf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AgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","WebhookIdentityType","SortOrder","SortType","SortDirection","MissingValues","ScalarType","NestedAggregationType","Interval","AggregationType","Mode","createBillableItem","getBillableItem","updateBillableItem","deleteBillableItem","queryBillableItems","bulkCreateBillableItems","bulkUpdateBillableItems","bulkDeleteBillableItems","bulkUpdateBillableItemTags","bulkUpdateBillableItemTagsByFilter","searchBillableItems"]}