import { aX as CreatePaymentLinkRequest$1, aY as CreatePaymentLinkResponse$1, aZ as BulkCreatePaymentLinksRequest$1, a_ as BulkCreatePaymentLinksResponse$1, b6 as GetPaymentLinkRequest$1, b7 as GetPaymentLinkResponse$1, b8 as DeletePaymentLinkRequest$1, b9 as DeletePaymentLinkResponse$1, ba as QueryPaymentLinksRequest$1, bh as QueryPaymentLinksResponse$1, bk as SearchPaymentLinksRequest$1, S as SearchPaymentLinksResponse$1, bB as DeactivatePaymentLinkRequest$1, d as DeactivatePaymentLinkResponse$1, bC as ActivatePaymentLinkRequest$1, A as ActivatePaymentLinkResponse$1, bD as InitiatePaymentRequest$1, I as InitiatePaymentResponse$1, bI as GetCheckoutPayWhatYouWantOptionsRequest$1, bJ as GetCheckoutPayWhatYouWantOptionsResponse$1, bL as UpdateCheckoutItemPriceRequest$1, bM as UpdateCheckoutItemPriceResponse$1, bN as SendPaymentLinkRequest$1, i as SendPaymentLinkResponse$1, bQ as BulkSendPaymentLinksRequest$1, bS as BulkSendPaymentLinksResponse$1, bV as BulkDeactivatePaymentLinksRequest$1, bW as BulkDeactivatePaymentLinksResponse$1, c1 as SetNoteRequest$1, m as SetNoteResponse$1, c2 as UpdateExtendedFieldsRequest$1, n as UpdateExtendedFieldsResponse$1, c3 as BulkUpdatePaymentLinkTagsRequest$1, o as BulkUpdatePaymentLinkTagsResponse$1, c5 as BulkUpdatePaymentLinkTagsByFilterRequest$1, q as BulkUpdatePaymentLinkTagsByFilterResponse$1 } from './paymentlinks-v1-payment-link-payment-links.universal-D74W8o6v.mjs'; import '@wix/sdk-types'; /** * Payment links are unique URLs that Wix users can send to customers, allowing them to make convenient online payments for goods and services. * Learn more about [payment links](https://support.wix.com/en/article/wix-pay-links-creating-and-managing-pay-links). */ interface PaymentLink extends PaymentLinkTypeDetailsOneOf { /** Details about the items being paid for. */ ecomPaymentLink?: Ecom; /** Details about the existing Wix eCommerce order being paid for. */ ecomOrderPaymentLink?: PaymentLinkEcomOrder; /** * Payment link ID. * @format GUID * @readonly * @immutable */ id?: string | null; /** * Revision number, which increments by 1 each time the payment link is updated. To prevent conflicting changes, the existing revision must be specified when updating a payment link. * @readonly */ revision?: string | null; /** * Date and time the payment link was created. * @readonly * @immutable */ createdDate?: Date | null; /** * Date and time the payment link was updated. * @readonly */ updatedDate?: Date | null; /** * Title of the payment link. Non-visible characters will be trimmed upon creation. * @minLength 1 * @maxLength 200 */ title?: string; /** * Description of the payment link. * @maxLength 600 */ description?: string | null; /** * Currency code in [ISO-4217 alphabetic](https://www.iso.org/iso-4217-currency-codes.html) format. * @format CURRENCY */ currency?: string; /** * Recipients of the payment link. * @maxSize 50 */ recipients?: Recipient[]; /** * Total payments received. * @readonly */ totalReceived?: TotalReceived; /** * Payment link status. * @readonly */ status?: PaymentLinkStatusWithLiterals; /** * Links generated for payment link, to enable sharing. * @readonly */ links?: Links; /** * Payment link expiration date. * @immutable */ expirationDate?: Date | null; /** * Limit on the total number of payments that can be processed using this payment link. * @immutable * @min 1 * @max 1000000 */ paymentsLimit?: number | null; /** * Available actions for this payment link. * @readonly */ availableActions?: ActionWithLiterals[]; /** Payment link source. */ source?: Source; /** Display data for payment link checkout. */ displayData?: DisplayData; /** * Last payment date. * @readonly */ lastPaymentDate?: Date | null; /** Free text note attached to the payment link. */ note?: Note; /** * Payment link type. Must be passed in accordance with either ecomPaymentLink, ecomOrderPaymentLink or ecomPayWhatYouWantPaymentLink. * If ecomPaymentLink is selected, then payment link type must be 'ECOM', if ecomOrderPaymentLink is selected, then payment link type must be 'ECOM_ORDER', * if ecomPayWhatYouWantPaymentLink is selected, then payment link type must be 'ECOM_PAY_WHAT_YOU_WANT'. */ type?: PayLinkTypeWithLiterals; /** * Custom field data for the payment link. * * [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls. */ extendedFields?: ExtendedFields; /** Tags. */ tags?: Tags; } /** @oneof */ interface PaymentLinkTypeDetailsOneOf { /** Details about the items being paid for. */ ecomPaymentLink?: Ecom; /** Details about the existing Wix eCommerce order being paid for. */ ecomOrderPaymentLink?: PaymentLinkEcomOrder; } interface LineItem extends LineItemOptionsOneOf { /** Catalog line item details. */ catalogItem?: Catalog; /** Custom line item details. */ customItem?: Custom; /** Line item type. */ type?: LineItemTypeWithLiterals; } /** @oneof */ interface LineItemOptionsOneOf { /** Catalog line item details. */ catalogItem?: Catalog; /** Custom line item details. */ customItem?: Custom; } /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */ interface CatalogReference { /** * ID of the item within the catalog it belongs to. * @minLength 1 * @maxLength 36 */ catalogItemId?: string; /** * ID of the app providing the catalog. * * You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/). * * For items from Wix catalogs, the following values always apply: * + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"` * + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"` * + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"` * @minLength 1 */ appId?: string; /** * Additional item details in `key:value` pairs. * * Use this optional field for more specificity with item selection. The values of the `options` field differ depending on which catalog is providing the items. * * For Wix Stores products, learn more about integrating with [Catalog V3](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration) * or [Catalog V1](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/e-commerce-integration), depending on [the version the site uses](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-versioning/introduction). */ options?: Record | null; } interface CatalogOverrideFields { /** Item name. */ productName?: ProductName; /** * Item price **after** discounts. * @decimalValue options { gte:0, lte:999999999, maxScale:3 } */ price?: string | null; /** * Item price **before** discounts. * @decimalValue options { gte:0, lte:999999999, maxScale:3 } */ fullPrice?: string | null; /** * Item description lines. Used when displaying the line item to customers. * @maxSize 20 */ descriptionLines?: DescriptionLine[]; /** Physical properties of the item. */ physicalProperties?: PhysicalProperties; /** Item image. */ image?: Image; /** Payment method selected for the item. */ paymentOption?: PaymentOption; /** * Only eligible for catalog items with `lineItem.paymentOption.value` type of `DEPOSIT_ONLINE`. * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:999999999, maxScale:3 } */ depositAmount?: string | null; /** * Whether to save the payment method on the order. * * Default: `false` */ savePaymentMethod?: boolean | null; /** * ID of the app managing the inventory. * @format GUID */ inventoryAppId?: string | null; /** * Whether the line item quantity is fixed and can't be changed. * When not set, falls back to the value from the catalog. */ fixedQuantity?: boolean | null; } interface ProductName { /** * __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). * * Min: 1 character. * Max: 200 characters. * @minLength 1 * @maxLength 200 */ original?: string; /** * Item name translated into the buyer's language. * * Min: 1 character. * Max: 400 characters. * Default: Same as `original`. * @minLength 1 * @maxLength 400 */ translated?: string | null; } interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf { /** Description line plain text value. */ plainText?: PlainTextValue; /** Description line color value. */ colorInfo?: Color; /** Description line name. */ name?: DescriptionLineName; } /** @oneof */ interface DescriptionLineValueOneOf { /** Description line plain text value. */ plainText?: PlainTextValue; /** Description line color value. */ colorInfo?: Color; } /** @oneof */ interface DescriptionLineDescriptionLineValueOneOf { } interface DescriptionLineName { /** * Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). * @maxLength 100 */ original?: string; /** * Description line name translated into the buyer's language. * * Default: Same as `original`. * @maxLength 200 */ translated?: string | null; } interface PlainTextValue { /** * Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). * @maxLength 600 */ original?: string; /** * Description line plain text value translated into the buyer's language. * * Default: Same as `original`. * @maxLength 600 */ translated?: string | null; } interface Color { /** * Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). * @maxLength 500 */ original?: string; /** * Description line color name translated into the buyer's language. * * Default: Same as `original`. * @maxLength 500 */ translated?: string | null; /** HEX or RGB color code for display. */ code?: string | null; } declare enum DescriptionLineType { /** Unrecognized type. */ UNRECOGNISED = "UNRECOGNISED", /** Plain text type. */ PLAIN_TEXT = "PLAIN_TEXT", /** Color type. */ COLOR = "COLOR" } /** @enumType */ type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR'; interface PhysicalProperties { /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */ weight?: number | null; /** * Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). * @maxLength 40 */ sku?: string | null; /** Whether this line item is shippable. */ shippable?: boolean; /** Product dimensions (length, width, height of the physical product). */ productDimensions?: Dimensions; /** Package dimensions (length, width, height of the shipping package). */ packageDimensions?: Dimensions; } interface Dimensions { /** * Length. Measurement unit is handled at the system level (metric/imperial). * @decimalValue options { gte:0, lte:999999999, maxScale:6 } */ length?: string | null; /** * Width. Measurement unit is handled at the system level (metric/imperial). * @decimalValue options { gte:0, lte:999999999, maxScale:6 } */ width?: string | null; /** * Height. Measurement unit is handled at the system level (metric/imperial). * @decimalValue options { gte:0, lte:999999999, maxScale:6 } */ height?: string | null; /** Unit of measurement for dimensions (length, width, height). */ unit?: DimensionsUnitWithLiterals; } declare enum DimensionsUnit { UNKNOWN_DIMENSIONS_UNIT = "UNKNOWN_DIMENSIONS_UNIT", /** Millimeters. */ MM = "MM", /** Centimeters. */ CM = "CM", /** Meters. */ M = "M", /** Inches. */ IN = "IN", /** Feet. */ FT = "FT", /** Yards. */ YD = "YD" } /** @enumType */ type DimensionsUnitWithLiterals = DimensionsUnit | 'UNKNOWN_DIMENSIONS_UNIT' | 'MM' | 'CM' | 'M' | 'IN' | 'FT' | 'YD'; interface Image { /** WixMedia image ID. */ id?: string; /** Original image height. */ height?: number; /** Original image width. */ width?: number; /** Image alt text. Optional. */ altText?: string | null; /** Image filename. Optional. */ filename?: string | null; } interface PaymentOption { /** * Type of selected payment option for current item. * * Default: `FULL_PAYMENT_ONLINE` */ value?: PaymentOptionTypeWithLiterals; } /** Type of selected payment option for catalog item */ declare enum PaymentOptionType { /** The entire payment for this item happens as part of the checkout. */ FULL_PAYMENT_ONLINE = "FULL_PAYMENT_ONLINE", /** The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods. */ FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE", /** Payment for this item is done by charging a membership. Any remaining amount not covered by the membership, such as item modifiers, is paid online. */ MEMBERSHIP = "MEMBERSHIP", /** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */ DEPOSIT_ONLINE = "DEPOSIT_ONLINE", /** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */ MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE", /** * Item price is charged to online membership. Any remaining amount not covered by the membership, such as item modifiers, is paid offline. * @documentationMaturity preview */ MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER" } /** @enumType */ type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE' | 'MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER'; interface CommonImage { /** WixMedia image ID. */ id?: string; /** * Image URL. * @format WEB_URL */ url?: string; /** * Original image height. * @readonly */ height?: number; /** * Original image width. * @readonly */ width?: number; /** Image alt text. */ altText?: string | null; /** * Image filename. * @readonly */ filename?: string | null; } declare enum LineItemType { UNKNOWN_LINE_ITEM_TYPE = "UNKNOWN_LINE_ITEM_TYPE", /** Custom line item type. */ CUSTOM = "CUSTOM", /** Catalog line item type. */ CATALOG = "CATALOG" } /** @enumType */ type LineItemTypeWithLiterals = LineItemType | 'UNKNOWN_LINE_ITEM_TYPE' | 'CUSTOM' | 'CATALOG'; interface Catalog { /** * Line item ID. * @readonly * @format GUID */ id?: string | null; /** * Quantity. * @min 1 * @max 100000 */ quantity?: number; /** * Reference to the line item's origin catalog. * See [Catalog SPI](https://bo.wix.com/wix-docs/rest/ecommerce/catalog-spi/introduction) for more details. */ catalogReference?: CatalogReference; /** Fields to override the catalog's predefined values. */ catalogOverrideFields?: CatalogOverrideFields; } interface Custom { /** * Line item ID. * @readonly * @format GUID */ id?: string | null; /** * Quantity. * @min 1 * @max 100000 */ quantity?: number; /** * Item name. * @minLength 1 * @maxLength 200 */ name?: string; /** * Description. * @maxLength 600 */ description?: string | null; /** * Price. For line items from eCommerce catalog, price is after catalog discount and automatic discounts. * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:1000000000000000, maxScale:3 } */ price?: string; /** Physical properties required for shipping. */ physicalProperties?: PhysicalProperties; /** Custom line item image. */ image?: CommonImage; /** * Custom line item tax group ID. * @format GUID */ taxGroupId?: string | null; } /** Payment link recipient. */ interface Recipient { /** * Recipient contact ID. * @format GUID */ contactId?: string; /** * Date of last attempt to send payment link to the recipient. * @readonly */ lastSendDate?: Date | null; /** * Status of the last attempt to send payment link to the recipient. * @readonly */ sendSuccessful?: boolean | null; /** * Methods that should be used to send the payment link to the recipient. * @maxSize 1 */ sendMethods?: SendMethodWithLiterals[]; } /** Channel values for sending Payment Link. */ declare enum Channel { /** Email channel. */ EMAIL = "EMAIL" } /** @enumType */ type ChannelWithLiterals = Channel | 'EMAIL'; /** Send method values for sending Payment Link. */ declare enum SendMethod { /** Email method. */ EMAIL_METHOD = "EMAIL_METHOD" } /** @enumType */ type SendMethodWithLiterals = SendMethod | 'EMAIL_METHOD'; /** Totals of received payments on Payment Link */ interface Totals { /** * Balance, calculated from the payments recorded on the Payment Link. * @readonly * @format DECIMAL_VALUE * @decimalValue options { gte:0, lte:1000000000000000 } */ balance?: string; /** * Number of received payments. * @readonly */ paymentCount?: number; } /** Totals of received payments on Payment Link */ interface TotalReceived { /** * Amount collected from all payments processed through this payment link. * @readonly * @format DECIMAL_VALUE * @decimalValue options { gte:0, lte:1000000000000000, maxScale:3 } */ amount?: string; /** * Number of payments received. * @readonly */ paymentCount?: number; } declare enum PaymentLinkStatus { /** Payment link is active and can receive new payments. */ ACTIVE = "ACTIVE", /** Payment link is disabled and can't receive new payments. */ INACTIVE = "INACTIVE", /** Payment link has reached it's payment limit and can't accept more payments. */ PAID = "PAID", /** Payment link is expired and no longer valid for payments. */ EXPIRED = "EXPIRED" } /** @enumType */ type PaymentLinkStatusWithLiterals = PaymentLinkStatus | 'ACTIVE' | 'INACTIVE' | 'PAID' | 'EXPIRED'; /** Links generated for payment link. */ interface Links { /** Payment link URL. */ url?: PageUrlV2; } interface PageUrlV2 { /** Relative path of the URL. E.g. `/mylink/123` */ relativePath?: string; /** URL. */ url?: string | null; } declare enum Action { /** Payment link has no associated payments, and can be deleted. */ DELETE = "DELETE", /** Payment link is currently active, and can be deactivated. */ DEACTIVATE = "DEACTIVATE", /** Payment link is currently inactive, and can be reactivated. */ ACTIVATE = "ACTIVATE", /** Payment limit has not been reached, and payment can be initiated. */ INITIATE_PAYMENT = "INITIATE_PAYMENT", /** Payment link can be sent to potential buyers. */ SEND = "SEND" } /** @enumType */ type ActionWithLiterals = Action | 'DELETE' | 'DEACTIVATE' | 'ACTIVATE' | 'INITIATE_PAYMENT' | 'SEND'; /** Source of Payment link */ interface Source { /** * App ID. * @format GUID * @immutable */ appId?: string | null; /** * ID of the original source entity. For example, a booking ID if payment link is created for a booking. * @maxLength 50 * @immutable */ entityId?: string | null; } interface EcomReference extends EcomReferenceValueOneOf { /** * Ecom order ID, when payment link is used to pay for an eCommerce order. * Included even if order is an intermediate step, i.e. when paying for a booking. * @format GUID * @immutable */ orderId?: string; } /** @oneof */ interface EcomReferenceValueOneOf { /** * Ecom order ID, when payment link is used to pay for an eCommerce order. * Included even if order is an intermediate step, i.e. when paying for a booking. * @format GUID * @immutable */ orderId?: string; } interface DisplayData { /** * Primary color to be used when displaying payment link. * @format COLOR_HEX */ primaryColor?: string | null; /** * Secondary color to be used when displaying payment link. * @format COLOR_HEX */ secondaryColor?: string | null; /** * Text to be used as CTA for payment link. For example, "Pay", "Donate". * CTA text will be trimmed upon payment link creation. Minimum length validation applies to trimmed CTA text. * @minLength 1 * @maxLength 50 */ ctaText?: string | null; /** Image to be used when displaying payment link. */ image?: CommonImage; } interface Note { /** * Date and time the note was updated. * @readonly */ updatedDate?: Date | null; /** * Note text. * @maxLength 300 */ text?: string; } declare enum PayLinkType { /** Unknown payment link type. */ UNKNOWN_PAYMENT_LINK_TYPE = "UNKNOWN_PAYMENT_LINK_TYPE", /** Payment link for payment for custom or catalog line items. */ ECOM = "ECOM", /** Payment link for payment of an existing Wix eCommerce order. */ ECOM_ORDER = "ECOM_ORDER" } /** @enumType */ type PayLinkTypeWithLiterals = PayLinkType | 'UNKNOWN_PAYMENT_LINK_TYPE' | 'ECOM' | 'ECOM_ORDER'; interface Ecom { /** * Line items for payment link. * @minSize 1 * @maxSize 100 */ lineItems?: LineItem[]; } interface PaymentLinkEcomOrder { /** * Order ID. * @format GUID * @immutable */ orderId?: string; /** * Amount to charge. * @format DECIMAL_VALUE * @decimalValue options { gte:1, lte:1000000000000000, maxScale:3 } */ amount?: string; } interface EcomPayWhatYouWant { /** * Custom item the buyer pays for. Item's `price` is the amount the checkout starts with and must be between `minimumAmount` and * `maximumAmount`. Item's `quantity` must be set to 1. */ item?: Custom; /** * Lowest total amount the buyer can pay for the payment link. * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:1000000000000000, maxScale:3 } */ minimumAmount?: string; /** * Total amounts suggested to the buyer, for example as quick-select options. Up to 4, each unique and between `minimumAmount` and `maximumAmount`. * @maxSize 4 * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:1000000000000000, maxScale:3 } */ suggestedAmounts?: string[]; /** * Highest total amount the buyer can pay for the payment link. Must be greater than or equal to `minimumAmount`. When not set, there's no upper limit. * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:1000000000000000, maxScale:3 } */ maximumAmount?: string | null; } interface ExtendedFields { /** * Extended field data. Each key corresponds to the namespace of the app that created the extended fields. * The value of each key is structured according to the schema defined when the extended fields were configured. * * You can only access fields for which you have the appropriate permissions. * * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields). */ namespaces?: Record>; } /** * Common object for tags. * Should be use as in this example: * message Foo { * string id = 1; * ... * Tags tags = 5 * } * * Example of taggable entity: * { * id: "123" * tags: { * tags: { * tag_ids:["11","22"] * }, * private_tags: { * tag_ids: ["33", "44"] * } * } * } */ interface Tags { /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */ privateTags?: TagList; /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */ tags?: TagList; } interface TagList { /** * List of tag IDs. * @maxSize 100 * @maxLength 25 */ tagIds?: string[]; } interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf { /** insert/update documents */ update?: InternalDocumentUpdateOperation; /** delete by document ids */ deleteByIds?: DeleteByIdsOperation; /** delete documents matching filter */ deleteByFilter?: DeleteByFilterOperation; /** update internal documents matching filter */ updateByFilter?: InternalDocumentUpdateByFilterOperation; /** update only existing documents */ updateExisting?: InternalUpdateExistingOperation; /** insert/update documents with versioning */ versionedUpdate?: VersionedDocumentUpdateOperation; /** delete by document ids with versioning */ versionedDeleteByIds?: VersionedDeleteByIdsOperation; /** * type of the documents * @minLength 2 */ documentType?: string; /** * language of the documents (mandatory) * @minLength 2 */ language?: string | null; /** * one or more search documents * @deprecated */ addDocuments?: InternalDocument[]; /** * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided) * @deprecated */ removeDocumentIds?: string[]; /** id to pass to processing notification */ correlationId?: string | null; /** when event was created / issued */ issuedAt?: Date | null; } /** @oneof */ interface UpdateInternalDocumentsEventOperationOneOf { /** insert/update documents */ update?: InternalDocumentUpdateOperation; /** delete by document ids */ deleteByIds?: DeleteByIdsOperation; /** delete documents matching filter */ deleteByFilter?: DeleteByFilterOperation; /** update internal documents matching filter */ updateByFilter?: InternalDocumentUpdateByFilterOperation; /** update only existing documents */ updateExisting?: InternalUpdateExistingOperation; /** insert/update documents with versioning */ versionedUpdate?: VersionedDocumentUpdateOperation; /** delete by document ids with versioning */ versionedDeleteByIds?: VersionedDeleteByIdsOperation; } interface InternalDocument { /** document with mandatory fields (id) and with fields specific to the type of the document */ document?: Record | null; } interface InternalDocumentUpdateOperation { /** documents to index or update */ documents?: InternalDocument[]; } interface DeleteByIdsOperation { /** ids of the documents to delete */ documentIds?: string[]; /** * tenant id for custom tenancy strategy * @minLength 2 * @maxLength 300 */ tenantId?: string | null; } interface DeleteByFilterOperation { /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */ filter?: Record | null; /** * tenant id for custom tenancy strategy * @minLength 2 * @maxLength 300 */ tenantId?: string | null; } interface InternalDocumentUpdateByFilterOperation { /** documents matching this filter will be updated */ filter?: Record | null; /** partial document to apply */ document?: InternalDocument; /** * tenant id for custom tenancy strategy * @minLength 2 * @maxLength 300 */ tenantId?: string | null; } interface InternalUpdateExistingOperation { /** documents to update */ documents?: InternalDocument[]; } interface VersionedDocumentUpdateOperation { /** documents to create or overwrite */ documents?: InternalDocument[]; /** versioning mode to use instead of default */ versioningMode?: VersioningModeWithLiterals; } declare enum VersioningMode { /** use default versioning mode agreed with search team */ DEFAULT = "DEFAULT", /** execute only if version is greater than existing */ GREATER_THAN = "GREATER_THAN", /** execute only if version is greater or equal to existing */ GREATER_OR_EQUAL = "GREATER_OR_EQUAL" } /** @enumType */ type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL'; interface VersionedDeleteByIdsOperation { /** ids with version of the documents to delete */ documentIds?: VersionedDocumentId[]; /** * tenant id for custom tenancy strategy * @minLength 2 * @maxLength 300 */ tenantId?: string | null; } interface VersionedDocumentId { /** document id */ documentId?: string; /** document version */ version?: string; /** versioning mode to use instead of default */ versioningMode?: VersioningModeWithLiterals; } /** Payment Link has been activated. */ interface PaymentLinkActivated { /** * Payment link ID. * @format GUID */ id?: string; } /** Payment Link has been deactivated. */ interface PaymentLinkDeactivated { /** * Payment link ID. * @format GUID */ id?: string; } /** Payment for Payment Link has been initiated. */ interface PaymentLinkPaymentInitiated { /** * Payment link ID. * @format GUID */ id?: string; } /** Payment link has been sent to recipients */ interface PaymentLinkSent { /** * Payment link ID. * @format GUID */ id?: string; /** Recipients to whom Payment Link was sent. */ recipients?: Recipient[]; } /** Note for Payment Link has been set. */ interface PaymentLinkNoteSet { /** * Payment link ID. * @format GUID */ id?: string; } interface CreatePaymentLinkRequest { /** Payment link to create. */ paymentLink: PaymentLink; } interface CreatePaymentLinkResponse { /** Created payment link. */ paymentLink?: PaymentLink; } interface BulkCreatePaymentLinksRequest { /** * Payment links to create. * @minSize 1 * @maxSize 100 */ paymentLinks: PaymentLink[]; /** Whether to return the created entities in the response. */ returnEntity?: boolean; } interface BulkCreatePaymentLinksResponse { /** * Results of the bulk create operation. * @minSize 1 * @maxSize 100 */ results?: BulkPaymentLinkResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkPaymentLinkItemMetadata { /** Common item metadata. */ metadata?: ItemMetadata; /** Validation error details. Returned if `metadata.success=false` and validation error occurred. */ validationError?: ValidationError; } interface ItemMetadata { /** * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). * @maxLength 200 */ id?: string | null; /** Index of the item within the request array. Allows for correlation between request and response items. */ originalIndex?: number; /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */ success?: boolean; /** Details about the error in case of failure. */ error?: ApplicationError; } interface ApplicationError { /** Error code. */ code?: string; /** Description of the error. */ description?: string; /** Data related to the error. */ data?: Record | null; } /** * example result: * { * "fieldViolations": [ * { * "field": "fieldA", * "description": "invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]", * "violatedRule": "OTHER", * "ruleName": "INVALID_NOTE", * "data": { * "value": "FI" * } * }, * { * "field": "fieldB", * "description": "field value out of range. supported range: [0-20]", * "violatedRule": "MAX", * "data": { * "threshold": 20 * } * }, * { * "field": "fieldC", * "description": "invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]", * "violatedRule": "FORMAT", * "data": { * "type": "PHONE" * } * } * ] * } */ interface ValidationError { fieldViolations?: FieldViolation[]; } declare enum RuleType { VALIDATION = "VALIDATION", OTHER = "OTHER", MAX = "MAX", MIN = "MIN", MAX_LENGTH = "MAX_LENGTH", MIN_LENGTH = "MIN_LENGTH", MAX_SIZE = "MAX_SIZE", MIN_SIZE = "MIN_SIZE", FORMAT = "FORMAT", DECIMAL_LTE = "DECIMAL_LTE", DECIMAL_GTE = "DECIMAL_GTE", DECIMAL_LT = "DECIMAL_LT", DECIMAL_GT = "DECIMAL_GT", DECIMAL_MAX_SCALE = "DECIMAL_MAX_SCALE", INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE", REQUIRED_FIELD = "REQUIRED_FIELD", FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED", ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT", EXACT_LENGTH = "EXACT_LENGTH", EXACT_SIZE = "EXACT_SIZE", REQUIRED_ONE_OF_FIELD = "REQUIRED_ONE_OF_FIELD" } /** @enumType */ type RuleTypeWithLiterals = RuleType | 'VALIDATION' | 'OTHER' | 'MAX' | 'MIN' | 'MAX_LENGTH' | 'MIN_LENGTH' | 'MAX_SIZE' | 'MIN_SIZE' | 'FORMAT' | 'DECIMAL_LTE' | 'DECIMAL_GTE' | 'DECIMAL_LT' | 'DECIMAL_GT' | 'DECIMAL_MAX_SCALE' | 'INVALID_ENUM_VALUE' | 'REQUIRED_FIELD' | 'FIELD_NOT_ALLOWED' | 'ONE_OF_ALIGNMENT' | 'EXACT_LENGTH' | 'EXACT_SIZE' | 'REQUIRED_ONE_OF_FIELD'; interface FieldViolation { field?: string; description?: string; violatedRule?: RuleTypeWithLiterals; /** applicable when violated_rule=OTHER */ ruleName?: string | null; data?: Record | null; } interface BulkPaymentLinkResult { /** Item metadata. */ itemMetadata?: BulkPaymentLinkItemMetadata; /** Created payment link. Only returned if `returnEntity` was set to `true` in the request. */ item?: PaymentLink; } interface BulkActionMetadata { /** Number of items that were successfully processed. */ totalSuccesses?: number; /** Number of items that couldn't be processed. */ totalFailures?: number; /** Number of failures without details because detailed failure threshold was exceeded. */ undetailedFailures?: number; } interface GetPaymentLinkRequest { /** * ID of the payment link to retrieve. * @format GUID */ paymentLinkId: string; } interface GetPaymentLinkResponse { /** Retrieved payment link. */ paymentLink?: PaymentLink; } interface DeletePaymentLinkRequest { /** * ID of the payment link to delete. * @format GUID */ paymentLinkId: string; } interface DeletePaymentLinkResponse { } interface QueryPaymentLinksRequest { /** Query options. */ query: QueryV2; } interface QueryV2 extends QueryV2PagingMethodOneOf { /** Paging options to limit and offset the number of items. */ paging?: Paging; /** 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`. */ cursorPaging?: CursorPaging; /** * Filter object. * * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters). */ filter?: Record | null; /** * Sort object. * * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting). */ sort?: Sorting[]; /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */ fields?: string[]; /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */ fieldsets?: string[]; } /** @oneof */ interface QueryV2PagingMethodOneOf { /** Paging options to limit and offset the number of items. */ paging?: Paging; /** 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`. */ cursorPaging?: CursorPaging; } interface Sorting { /** * Name of the field to sort by. * @maxLength 512 */ fieldName?: string; /** Sort order. */ order?: SortOrderWithLiterals; /** * Origin point for geo-distance sorting on a GEO field * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first). */ origin?: AddressLocation; } declare enum SortOrder { ASC = "ASC", DESC = "DESC" } /** @enumType */ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC'; interface AddressLocation { /** Address latitude. */ latitude?: number | null; /** Address longitude. */ longitude?: number | null; } interface Paging { /** Number of items to load. */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } interface CursorPaging { /** * Maximum number of items to return in the results. * @max 100 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. * @maxLength 16000 */ cursor?: string | null; } interface QueryPaymentLinksResponse { /** Retrieved payment links. */ paymentLinks?: PaymentLink[]; /** Cursor paging metadata. */ pagingMetadata?: CursorPagingMetadata; } interface CursorPagingMetadata { /** Number of items returned in current page. */ count?: number | null; /** Cursor strings that point to the next page, previous page, or both. */ cursors?: Cursors; /** * Whether there are more pages to retrieve following the current page. * * + `true`: Another page of results can be retrieved. * + `false`: This is the last page. */ hasNext?: boolean | null; } interface Cursors { /** * Cursor string pointing to the next page in the list of results. * @maxLength 16000 */ next?: string | null; /** * Cursor pointing to the previous page in the list of results. * @maxLength 16000 */ prev?: string | null; } interface SearchPaymentLinksRequest { /** Search options. */ search: CursorSearch; } interface CursorSearch { /** Filter object for narrowing search results. */ filter?: Record | null; /** Array of sort objects specifying result order. For example, to sort by creation date in descending order: "sort": [{"fieldName": "createdDate", "order": "DESC"}]. */ sort?: CommonSorting[]; /** Aggregations for grouping data into categories (facets) and providing summaries for each category. */ aggregations?: Aggregation[]; /** Free text to match in searchable fields. */ search?: SearchDetails; /** Cursor-based paging for result navigation. When requesting `cursor_paging.cursor`, `filter`, `sort`, or `search` can't be specified. */ cursorPaging?: CommonCursorPaging; } interface CommonSorting { /** Name of the field to sort by. */ fieldName?: string; /** Sort order. */ order?: CommonSortOrderWithLiterals; } declare enum CommonSortOrder { /** Ascending order. */ ASC = "ASC", /** Descending order. */ DESC = "DESC" } /** @enumType */ type CommonSortOrderWithLiterals = CommonSortOrder | 'ASC' | 'DESC'; interface Aggregation extends AggregationKindOneOf { value?: ValueAggregation; scalar?: ScalarAggregation; name?: string | null; type?: AggregationTypeWithLiterals; fieldPath?: string; } /** @oneof */ interface AggregationKindOneOf { value?: ValueAggregation; scalar?: ScalarAggregation; } declare enum SortType { /** Number of matches in the results. */ COUNT = "COUNT", /** Alphabetically by the field value. */ VALUE = "VALUE" } /** @enumType */ type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE'; declare enum SortDirection { /** Descending order. */ DESC = "DESC", /** Ascending order. */ ASC = "ASC" } /** @enumType */ type SortDirectionWithLiterals = SortDirection | 'DESC' | 'ASC'; declare enum ScalarType { /** Unknown type. */ UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE", /** Total number of distinct values. */ COUNT_DISTINCT = "COUNT_DISTINCT", /** Minimum value. */ MIN = "MIN", /** Maximum value. */ MAX = "MAX" } /** @enumType */ type ScalarTypeWithLiterals = ScalarType | 'UNKNOWN_SCALAR_TYPE' | 'COUNT_DISTINCT' | 'MIN' | 'MAX'; declare enum AggregationType { UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE", /** Calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. */ VALUE = "VALUE", /** Calculates a single numerical value from a dataset, summarizing the dataset into 1 key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */ SCALAR = "SCALAR" } /** @enumType */ type AggregationTypeWithLiterals = AggregationType | 'UNKNOWN_AGGREGATION_TYPE' | 'VALUE' | 'SCALAR'; interface ValueAggregation { sortType?: SortTypeWithLiterals; sortDirection?: SortDirectionWithLiterals; limit?: number | null; } interface ScalarAggregation { /** Operator type for the scalar aggregation. */ type?: ScalarTypeWithLiterals; } interface SearchDetails { /** Search mode. Defines the search logic for combining multiple terms in the `expression`. */ mode?: ModeWithLiterals; /** Search term or expression. */ expression?: string | null; /** Fields to search in. If the array is empty, all searchable fields are searched. Use dot notation to specify a JSON path. For example, `order.address.streetName`. */ fields?: string[]; /** Whether to enable the search function to use an algorithm to automatically find results that are close to the search expression, such as typos and declensions. */ fuzzy?: boolean; } declare enum Mode { /** At least 1 of the search terms must be present. */ OR = "OR", /** All search terms must be present. */ AND = "AND" } /** @enumType */ type ModeWithLiterals = Mode | 'OR' | 'AND'; interface CommonCursorPaging { /** * Number of items to load. * @max 100 */ limit?: number | null; /** 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`. */ cursor?: string | null; } interface SearchPaymentLinksResponse { /** Retrieved payment links. */ paymentLinks?: PaymentLink[]; /** Paging metadata. */ pagingMetadata?: PagingMetadataV2; /** Response aggregation data. */ aggregationData?: AggregationData; } interface PagingMetadataV2 { /** Number of items returned in the response. */ count?: number | null; /** Total number of items that match the query. */ total?: number | null; /** Cursors to navigate through the result pages using next and prev. Returned if cursor paging is used. */ cursors?: CommonCursors; /** Indicates if there are more results after the current page. If true, another page of results can be retrieved. If false, this is the last page. */ hasNext?: boolean | null; } interface CommonCursors { /** Cursor pointing to next page in the list of results. */ next?: string | null; /** Cursor pointing to previous page in the list of results. */ prev?: string | null; } interface AggregationData { /** List of the aggregated data results. */ results?: AggregationResults[]; } interface ValueAggregationResult { value?: string; count?: number; } interface ValueResults { /** List of value aggregations. */ results?: ValueAggregationResult[]; } interface ScalarResult { /** Type of scalar aggregation. */ type?: ScalarTypeWithLiterals; /** Value of the scalar aggregation. */ value?: number; } interface AggregationResults extends AggregationResultsResultOneOf { /** Value aggregation results. */ values?: ValueResults; /** Scalar aggregation results. */ scalar?: ScalarResult; /** Unique, caller-defined aggregation name, identifiable by the requested aggregation `name`. */ name?: string; /** Aggregation type. */ type?: AggregationTypeWithLiterals; } /** @oneof */ interface AggregationResultsResultOneOf { /** Value aggregation results. */ values?: ValueResults; /** Scalar aggregation results. */ scalar?: ScalarResult; } interface DeactivatePaymentLinkRequest { /** * ID of the payment link to deactivate. * @format GUID */ paymentLinkId: string; } interface DeactivatePaymentLinkResponse { /** Updated payment link. */ paymentLink?: PaymentLink; } interface ActivatePaymentLinkRequest { /** * ID of the payment link to activate. * @format GUID */ paymentLinkId: string; } interface ActivatePaymentLinkResponse { /** Updated payment link. */ paymentLink?: PaymentLink; } interface InitiatePaymentRequest { /** * ID of the payment link to initiate payment for. * @format GUID */ paymentLinkId: string; } interface InitiatePaymentResponse extends InitiatePaymentResponsePaymentOrderOneOf { /** Wix eCommerce checkout. */ ecomCheckout?: EcomCheckout; /** * @deprecated * @targetRemovalDate 2025-05-01 */ cashierOrder?: CashierOrder; /** Wix eCommerce order. */ ecomOrder?: EcomOrder; } /** @oneof */ interface InitiatePaymentResponsePaymentOrderOneOf { /** Wix eCommerce checkout. */ ecomCheckout?: EcomCheckout; /** * @deprecated * @targetRemovalDate 2025-05-01 */ cashierOrder?: CashierOrder; /** Wix eCommerce order. */ ecomOrder?: EcomOrder; } interface EcomCheckout { /** * Wix eCommerce checkout ID. * @format GUID */ checkoutId?: string; /** * Wix eCommerce checkout URL. * @format WEB_URL */ checkoutUrl?: string; } interface CashierOrder { /** * Wix Cashier order ID. * @format GUID */ orderId?: string; } interface EcomOrder { /** * Wix eCommerce order URL. * @format WEB_URL */ orderUrl?: string; /** * Payment request ID for Wix eCommerce Order. * @format GUID */ orderPaymentRequestId?: string; } interface GetCheckoutPayWhatYouWantOptionsRequest { /** * Wix eCommerce checkout ID (same as the Cart V2 cart ID). The checkout widget receives it from the checkout slot. * @format GUID */ checkoutId: string; } interface GetCheckoutPayWhatYouWantOptionsResponse { /** "Pay what you want" options of the checkout's payment link. */ options?: PayWhatYouWantOptions; } interface PayWhatYouWantOptions { /** * Currency of the amounts, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format. * @format CURRENCY */ currency?: string; /** * Lowest amount the buyer can pay. * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:1000000000000000, maxScale:3 } */ minimumAmount?: string; /** * Amounts suggested to the buyer, for example as quick-select options. * @maxSize 4 * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:1000000000000000, maxScale:3 } */ suggestedAmounts?: string[]; /** * Highest amount the buyer can pay. When not set, there's no upper limit. * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:1000000000000000, maxScale:3 } */ maximumAmount?: string | null; } interface UpdateCheckoutItemPriceRequest { /** * Wix eCommerce checkout ID to update (same as the Cart V2 cart ID). The checkout widget receives it from the checkout slot. * @format GUID */ checkoutId: string; /** * Price the buyer chose to pay for the item. Must be between the payment link `minimumAmount` and `maximumAmount`, * and have no more decimal places than the payment link currency supports. * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:1000000000000000, maxScale:3 } */ requestedPrice: string; } interface UpdateCheckoutItemPriceResponse { /** * Updated checkout ID. * @format GUID */ checkoutId?: string; /** * ID of the checkout line item that now carries the requested price. * @format GUID */ lineItemId?: string; /** * Item price now set in the checkout. * @format DECIMAL_VALUE * @decimalValue options { gt:0, lte:1000000000000000, maxScale:3 } */ price?: string; } interface SendPaymentLinkRequest { /** * Payment link ID. * @format GUID */ paymentLinkId: string; /** * Recipients who will receive the payment link. * @maxSize 50 */ recipients?: Recipient[]; } interface SendPaymentLinkResponse { /** Statuses of payment links sent. */ statuses?: RecipientSendStatus[]; /** Send metadata. */ sendMetadata?: SendMetadata; } /** Send status of the recipient. */ interface RecipientSendStatus { /** * Recipient contact ID. * @format GUID */ contactId?: string; /** Methods through which the payment link was sent successfully. */ successSendMethods?: SendMethodWithLiterals[]; /** Methods in which errors occurred. */ failedSendMethods?: SendMethodWithLiterals[]; } /** Send metadata. */ interface SendMetadata { /** Number of recipients where send was successful. */ totalSuccesses?: number; /** Number of recipients in which sending failed. */ totalFailures?: number; } interface BulkSendPaymentLinksRequest { /** * Payment links to send. * @minSize 1 * @maxSize 100 */ paymentLinks: BulkSendPaymentLink[]; } interface BulkSendPaymentLink { /** * Payment link ID. * @format GUID */ paymentLinkId?: string; /** * Recipient who will receive the payment link. * @minSize 1 * @maxSize 1 */ recipients?: Recipient[]; } interface BulkSendPaymentLinksResponse { /** * Results of the bulk send operation. * @minSize 1 * @maxSize 100 */ results?: BulkPaymentLinkSendResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkPaymentLinkSendItemMetadata { /** Common item metadata. */ metadata?: ItemMetadata; /** Validation error details. Returned if `metadata.success=false` and validation error occurred. */ validationError?: ValidationError; } interface BulkPaymentLinkSendResult { /** Item metadata. */ itemMetadata?: BulkPaymentLinkSendItemMetadata; /** Statuses of payment link sends. */ statuses?: RecipientSendStatus[]; /** Send metadata. */ sendMetadata?: SendMetadata; } interface BulkDeactivatePaymentLinksRequest { /** * IDs of the payment links to deactivate. * @minSize 1 * @maxSize 100 * @format GUID */ paymentLinkIds: string[]; /** Whether to return the deactivated payment links in the response. */ returnEntity?: boolean; } interface BulkDeactivatePaymentLinksResponse { /** * Results of the bulk deactivate operation. * @minSize 1 * @maxSize 100 */ results?: BulkPaymentLinkDeactivateResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkPaymentLinkDeactivateItemMetadata { /** Item metadata. */ metadata?: ItemMetadata; /** Validation error details. Returned if `metadata.success=false` and validation error occurred. */ validationError?: ValidationError; } interface BulkPaymentLinkDeactivateResult { /** Item metadata. */ itemMetadata?: BulkPaymentLinkDeactivateItemMetadata; /** Deactivated payment link. Only returned if `returnEntity` was set to `true` in the request. */ item?: PaymentLink; } interface ExpireOrderRequest { /** * Payment link ID. * @format GUID */ paymentLinkId?: string; /** * Payment order ID. * @format GUID */ orderId?: string; } interface ExpireOrderResponse { /** Payment link ID. */ paymentLinkId?: string; /** Expired payment order ID. */ orderId?: string; } interface GetOriginalUrlRequest { /** Id of the short URL. */ shortUrlId?: string; } interface GetOriginalUrlResponse { /** Payment Link share URL. */ url?: string; } interface SetNoteRequest { /** * Payment link ID. * @format GUID */ paymentLinkId: string; /** * Note text. * @maxLength 300 */ text?: string; } interface SetNoteResponse { /** Updated payment link. */ paymentLink?: PaymentLink; } interface UpdateExtendedFieldsRequest { /** ID of the entity to update. */ id: string; /** Identifier for the app whose extended fields are being updated. */ namespace: string; /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */ namespaceData: Record | null; } interface UpdateExtendedFieldsResponse { /** Updated payment link. */ paymentLink?: PaymentLink; } interface BulkUpdatePaymentLinkTagsRequest { /** * Payment Link IDs to update. * @format GUID * @maxSize 100 */ ids: string[] | null; /** Tags to assign to the payment links. */ assignTags: Tags; /** Tags to unassign from the payment links. */ unassignTags?: Tags; } interface BulkUpdatePaymentLinkTagsResponse { /** * Bulk update operation results. * @minSize 1 * @maxSize 100 */ results?: BulkUpdatePaymentLinkTagsResult[]; /** Metadata for the bulk action. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkUpdatePaymentLinkTagsResult { /** Metadata for the item that was updated. */ itemMetadata?: ItemMetadata; } interface BulkUpdatePaymentLinkTagsByFilterRequest { /** Filter options. */ filter: Record | null; /** Tags to assign to the payment links. */ assignTags: Tags; /** Tags to unassign from the payment links. */ unassignTags?: Tags; } interface BulkUpdatePaymentLinkTagsByFilterResponse { /** * 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. * @format GUID */ jobId?: string; } /** This webhook is triggered whenever a payment transaction is updated (including refunds) via specific [Wix Apps](https://dev.wix.com/api/rest/wix-payments/about-wix-payments). */ interface PaymentEvent extends PaymentEventEventOneOf { /** `TRANSACTION_STATUS_CHANGED` event details. */ transactionStatusChangedEvent?: TransactionStatusChangedEvent; /** `REFUND_STATUS_CHANGED` event details. */ refundStatusChangedEvent?: RefundStatusChangedEvent; /** * `RECURRING_PAYMENT_STATUS_CHANGED` event details. * @deprecated `RECURRING_PAYMENT_STATUS_CHANGED` event details. * @targetRemovalDate 2026-06-30 */ recurringPaymentStatusChangedEvent?: RecurringPaymentStatusChangedEvent; /** `TRANSACTION_UPDATED` event details. */ transactionUpdatedEvent?: TransactionUpdatedEvent; /** `TRANSACTION_CREATED` event details. */ transactionCreatedEvent?: TransactionCreatedEvent; /** * Unique event ID. * @format GUID */ id?: string; /** Event timestamp */ eventTime?: Date | null; /** * ID of the [Wix app](https://dev.wix.com/docs/rest/articles/getting-started/wix-business-solutions) that triggered this event. * @maxLength 100 */ wixAppId?: string; /** * Unique ID assigned to each Wix app in each site. * @format GUID */ wixAppInstanceId?: string; /** Event type. */ eventType?: EventTypeWithLiterals; /** * ID of Wix app that mediated between Wix Payments and the Wix app that triggered the event (if relevant). * @maxLength 100 */ managingWixAppId?: string | null; } /** @oneof */ interface PaymentEventEventOneOf { /** `TRANSACTION_STATUS_CHANGED` event details. */ transactionStatusChangedEvent?: TransactionStatusChangedEvent; /** `REFUND_STATUS_CHANGED` event details. */ refundStatusChangedEvent?: RefundStatusChangedEvent; /** * `RECURRING_PAYMENT_STATUS_CHANGED` event details. * @deprecated `RECURRING_PAYMENT_STATUS_CHANGED` event details. * @targetRemovalDate 2026-06-30 */ recurringPaymentStatusChangedEvent?: RecurringPaymentStatusChangedEvent; /** `TRANSACTION_UPDATED` event details. */ transactionUpdatedEvent?: TransactionUpdatedEvent; /** `TRANSACTION_CREATED` event details. */ transactionCreatedEvent?: TransactionCreatedEvent; } declare enum EventType { /** Fired when a transaction's status changes. */ TRANSACTION_STATUS_CHANGED = "TRANSACTION_STATUS_CHANGED", /** Fired when a refund's status changes. */ REFUND_STATUS_CHANGED = "REFUND_STATUS_CHANGED", /** Fired when a legacy subscription's status changes. */ RECURRING_PAYMENT_STATUS_CHANGED = "RECURRING_PAYMENT_STATUS_CHANGED", /** Fired when a transaction is updated. */ TRANSACTION_UPDATED = "TRANSACTION_UPDATED", /** Fired when a transaction is created. */ TRANSACTION_CREATED = "TRANSACTION_CREATED" } /** @enumType */ type EventTypeWithLiterals = EventType | 'TRANSACTION_STATUS_CHANGED' | 'REFUND_STATUS_CHANGED' | 'RECURRING_PAYMENT_STATUS_CHANGED' | 'TRANSACTION_UPDATED' | 'TRANSACTION_CREATED'; interface TransactionStatusChangedEvent { /** Order details (limited to 30 items). */ order?: Order; /** New transaction details. */ transaction?: Transaction; /** Previous transaction status. */ previousStatus?: TransactionStatusWithLiterals; } interface Order { id?: string; /** Wix app order ID */ wixAppOrderId?: string; /** Wix app buyer ID */ wixAppBuyerId?: string | null; /** Items included in the order */ items?: OrderItem[]; /** * total number of items in order * items_total_count > `items`.size if `items` doesn't contain all items */ itemsTotalCount?: number; /** Additional charges to the order - e.g., tax, shipping or discount (optional) */ additionalCharges?: OrderAdditionalCharges; /** Customer's shipping address (optional) */ shippingAddress?: Address; /** Customer's shipping address details (optional) */ shippingAddressContacts?: FullAddressContactDetails; /** Order creation date */ createdAt?: Date | null; /** External data which is stored with the order */ externalData?: Record; /** * Vertical invoice ID * @maxLength 200 */ verticalInvoiceId?: string | null; /** the part of total amount taken by platform from the amount sent to merchant */ platformFee?: number | null; /** * ID of the buyer's contact record in the contacts system. * @format GUID */ contactId?: string | null; /** Indicates that this order is a test order. Test orders are simulated and do not move real money. */ test?: boolean | null; } /** Item included in order */ interface OrderItem { /** Order item ID (required) */ id?: string; /** Order item name (required) */ name?: string; /** Quantity (required) */ quantity?: number; /** Total price charged for this item in the order - quantity * price (required) */ price?: number; /** Order item description */ description?: string; /** Weight of one item */ weightInKg?: number; /** Whether the item is a physical a digital product */ category?: OrderItemCategoryWithLiterals; /** * UN/CEFACT unit of measure code for the order item, following the UNECE Recommendation 20 standard (e.g., "EA", "KG") * @minLength 2 * @maxLength 3 */ unitOfMeasureCode?: string | null; /** * UNSPSC commodity code classifying the type of product or service * @minLength 8 * @maxLength 8 */ commodityCode?: string | null; /** * Merchant-defined product code or SKU identifier for the order item * @minLength 1 * @maxLength 127 */ productCode?: string | null; /** Per-item tax amount */ tax?: number | null; /** Per-item discount amount */ discount?: number | null; /** Whether the item is a donation. When true, PayPal's category will be emitted as "DONATION". */ donation?: boolean; } /** Order item type */ declare enum OrderItemCategory { UNDEFINED = "UNDEFINED", /** Physical product */ PHYSICAL = "PHYSICAL", /** Digital product */ DIGITAL = "DIGITAL" } /** @enumType */ type OrderItemCategoryWithLiterals = OrderItemCategory | 'UNDEFINED' | 'PHYSICAL' | 'DIGITAL'; /** Describing any additional charges in the order. They are not required, but can't be added later. */ interface OrderAdditionalCharges { /** Absolute taxes charged to the order */ tax?: number; /** Shipping cost charged to the order */ shipping?: number; /** Discount amount applied to the order */ discount?: number; /** * Application fee * @deprecated Application fee * @replacedBy order.platform_fee * @targetRemovalDate 2025-12-01 */ applicationFee?: number; } /** Physical address */ interface Address extends AddressStreetOneOf { /** Street name and number. */ streetAddress?: StreetAddress; /** Main address line, usually street and number as free text. */ addressLine?: string | null; /** * Country code. * @format COUNTRY */ country?: string | null; /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */ subdivision?: string | null; /** City name. */ city?: string | null; /** Zip/postal code. */ postalCode?: string | null; /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */ addressLine2?: string | null; } /** @oneof */ interface AddressStreetOneOf { /** Street name and number. */ streetAddress?: StreetAddress; /** Main address line, usually street and number as free text. */ addressLine?: string | null; } interface StreetAddress { /** Street number. */ number?: string; /** Street name. */ name?: string; } interface Subdivision { /** Short subdivision code. */ code?: string; /** Subdivision full name. */ name?: string; } declare enum SubdivisionType { UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE", /** State */ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1", /** County */ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2", /** City/town */ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3", /** Neighborhood/quarter */ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4", /** Street/block */ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5", /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */ COUNTRY = "COUNTRY" } /** @enumType */ type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY'; /** Subdivision Concordance values */ interface StandardDetails { /** * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30 * @maxLength 20 */ iso31662?: string | null; } /** Full contact details for an address */ interface FullAddressContactDetails { /** Contact's first name. */ firstName?: string | null; /** Contact's last name. */ lastName?: string | null; /** * Contact's phone number. * @format PHONE */ phone?: string | null; /** Contact's company name. */ company?: string | null; /** * Email associated with the address. * @format EMAIL */ email?: string | null; /** Tax info. Currently usable only in Brazil. */ vatId?: VatId; } interface VatId { /** Customer's tax ID. */ id?: string; /** * Tax type. * * Supported values: * + `CPF`: for individual tax payers * + `CNPJ`: for corporations */ type?: VatTypeWithLiterals; } /** tax info types */ declare enum VatType { UNSPECIFIED = "UNSPECIFIED", /** CPF - for individual tax payers. */ CPF = "CPF", /** CNPJ - for corporations */ CNPJ = "CNPJ" } /** @enumType */ type VatTypeWithLiterals = VatType | 'UNSPECIFIED' | 'CPF' | 'CNPJ'; interface Transaction extends TransactionPaymentMethodDataOneOf { creditCardPaymentMethodData?: CreditCardPaymentMethodData; /** Transaction ID */ id?: string; /** Provider transaction ID */ providerTransactionId?: string | null; /** Amount and currency of transaction */ amount?: CurrencyAmount; /** Refunded amount and currency of transaction */ refundedAmount?: CurrencyAmount; /** Updated transaction status */ status?: TransactionStatusWithLiterals; /** Reason provided for status change */ reasonCode?: string | null; /** Payment method */ paymentMethod?: string; /** Payment service provider */ paymentProvider?: string; /** Customer's billing address (optional) */ billingAddress?: Address; /** Customer's billing address - contact details (optional) */ billingAddressContacts?: FullAddressContactDetails; /** Details of subscription, which (if) the transaction is a part of */ recurringPaymentDetails?: RecurringPaymentDetails; /** The details of a payment method account. */ paymentMethodAccountInfo?: V3AccountInfo; /** Transaction creation date */ createdAt?: Date | null; /** Total number of installments */ installments?: number; /** Scheduled action for this transaction */ scheduledAction?: ScheduledAction; /** * order id associated with the transaction on the vertical side * @minLength 1 * @maxLength 100 */ verticalOrderId?: string | null; appliedPlatformFee?: number | null; /** * Whether the transaction is from a sandbox (test) environment or production (live) environment. * @readonly */ sandbox?: boolean | null; } /** @oneof */ interface TransactionPaymentMethodDataOneOf { creditCardPaymentMethodData?: CreditCardPaymentMethodData; } interface CurrencyAmount { /** Amount */ amount?: number; currency?: string; } declare enum TransactionStatus { UNDEFINED = "UNDEFINED", APPROVED = "APPROVED", PENDING = "PENDING", PENDING_MERCHANT = "PENDING_MERCHANT", CANCELED = "CANCELED", DECLINED = "DECLINED", REFUNDED = "REFUNDED", PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED", AUTHORIZED = "AUTHORIZED", VOIDED = "VOIDED" } /** @enumType */ type TransactionStatusWithLiterals = TransactionStatus | 'UNDEFINED' | 'APPROVED' | 'PENDING' | 'PENDING_MERCHANT' | 'CANCELED' | 'DECLINED' | 'REFUNDED' | 'PARTIALLY_REFUNDED' | 'AUTHORIZED' | 'VOIDED'; interface RecurringPaymentDetails { /** Current cycle number (Recurring payments only) */ cycleNumber?: number; } interface CreditCardPaymentMethodData { /** Card issuing network */ network?: string; /** Card number with only bin and last4 positions showed (non-PCI data) */ maskedCreditCard?: string; /** Card holder's full name specified on the card. */ holderName?: string; /** Card expiration month. */ expiryMonth?: string; /** * Card expiration year. * @minLength 4 * @maxLength 4 */ expiryYear?: string | null; /** * Card last 4 digits. * @minLength 4 * @maxLength 4 */ lastFourDigits?: string | null; /** * Card BIN (Bank Identification Number). It's the first 4-8 digits of a card number. * @minLength 4 * @maxLength 8 */ bin?: string | null; } interface V3AccountInfo { /** * The email of an Account used by Payment Method * @format EMAIL */ email?: string | null; } interface ScheduledAction { /** type of the action */ type?: ScheduledActionTypeWithLiterals; /** the date and time of the action */ executionDate?: Date | null; } declare enum ScheduledActionType { VOID = "VOID", CAPTURE = "CAPTURE" } /** @enumType */ type ScheduledActionTypeWithLiterals = ScheduledActionType | 'VOID' | 'CAPTURE'; interface RefundStatusChangedEvent { /** Order details (limited to 30 items). */ order?: Order; /** Updated transaction details. */ transaction?: Transaction; /** Updated refund details. */ refund?: Refund; /** Previous refund status. */ previousStatus?: RefundStatusWithLiterals; } interface Refund { id?: string; /** Amount and currency of refund */ amount?: CurrencyAmount; /** Updated refund status */ status?: RefundStatusWithLiterals; /** Reason provided for status change */ reasonCode?: string | null; /** Refund creation date */ createdAt?: Date | null; } declare enum RefundStatus { UNDEFINED = "UNDEFINED", APPROVED = "APPROVED", PENDING = "PENDING", DECLINED = "DECLINED" } /** @enumType */ type RefundStatusWithLiterals = RefundStatus | 'UNDEFINED' | 'APPROVED' | 'PENDING' | 'DECLINED'; interface RecurringPaymentStatusChangedEvent { /** Order details(limited to 30 items). */ order?: Order; /** Recurring payment status. */ status?: StatusWithLiterals; /** Previous recurring payment status. */ previousStatus?: StatusWithLiterals; /** Details of RecurringPayment cancellation (empty if `status` is not CANCELLED). */ cancellationDetails?: RecurringPaymentCancellationDetails; } declare enum Status { UNDEFINED = "UNDEFINED", PENDING = "PENDING", ACTIVE = "ACTIVE", CANCELLED = "CANCELLED", FINISHED = "FINISHED", SUSPENDED = "SUSPENDED" } /** @enumType */ type StatusWithLiterals = Status | 'UNDEFINED' | 'PENDING' | 'ACTIVE' | 'CANCELLED' | 'FINISHED' | 'SUSPENDED'; interface RecurringPaymentCancellationDetails { /** Initiator of cancellation */ initiator?: InitiatorWithLiterals; /** Successfully paid recurring cycles count before the cancellation */ paidRegularCycleCount?: number; } declare enum Initiator { UNDEFINED = "UNDEFINED", BUYER = "BUYER", MERCHANT = "MERCHANT", PAYMENT = "PAYMENT", SETUP = "SETUP" } /** @enumType */ type InitiatorWithLiterals = Initiator | 'UNDEFINED' | 'BUYER' | 'MERCHANT' | 'PAYMENT' | 'SETUP'; interface TransactionUpdatedEvent { /** Order details (limited to 30 items). */ order?: Order; /** Updated transaction details. */ transaction?: Transaction; /** Is event triggered by request to clean user data */ triggeredByAnonymizeRequest?: boolean | null; } interface TransactionCreatedEvent { /** Order details (limited to 30 items). */ order?: Order; /** Updated transaction details. */ transaction?: Transaction; } interface Empty { } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** Event ID. With this ID you can easily spot duplicated events and ignore them. */ id?: string; /** * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. */ entityFqdn?: string; /** * Event action name, placed at the top level to make it easier for users to dispatch messages. * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * 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. * 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. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; } interface EntityDeletedEvent { /** Entity that was deleted. */ deletedEntityAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface SearchServicesProcessingNotification { /** the document type that processing was done for */ documentType?: string; /** the correlation id passed in by client to original request */ correlationId?: string; /** the result of the processing */ result?: ProcessingResultWithLiterals; } declare enum ProcessingResult { /** execution without and errors */ SUCCESS = "SUCCESS", /** execution failed for at least one item */ FAILURE = "FAILURE" } /** @enumType */ type ProcessingResultWithLiterals = ProcessingResult | 'SUCCESS' | 'FAILURE'; interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } /** @docsIgnore */ type CreatePaymentLinkApplicationErrors = { code?: 'NO_META_SITE'; description?: string; data?: Record; } | { code?: 'CHECKOUT_TEMPLATE_MISSING_ITEMS'; description?: string; data?: Record; } | { code?: 'NOT_ENABLED_FOR_PARTNERS'; description?: string; data?: Record; } | { code?: 'UNPUBLISHED_SITE'; description?: string; data?: Record; } | { code?: 'SITELESS_NOT_SUPPORTED'; description?: string; data?: Record; } | { code?: 'FAILED_TO_INSTALL_ECOM'; description?: string; data?: Record; } | { code?: 'MISSING_ACCEPT_PAYMENTS'; description?: string; data?: Record; } | { code?: 'NO_EMAIL_FOR_RECIPIENT'; description?: string; data?: Record; } | { code?: 'ECOM_ORDER_ALREADY_PAID'; description?: string; data?: Record; } | { code?: 'ECOM_ORDER_INVALID_STATE'; description?: string; data?: Record; }; /** @docsIgnore */ type CreatePaymentLinkValidationErrors = { ruleName?: 'MISSING_RECIPIENT_SEND_METHOD'; } | { ruleName?: 'RECIPIENT_NOT_FOUND'; } | { ruleName?: 'INVALID_RECIPIENT_SEND_METHOD'; } | { ruleName?: 'INVALID_TITLE_MIN_LENGTH'; } | { ruleName?: 'INVALID_EXPIRATION_DATE'; } | { ruleName?: 'DIFFERENT_CURRENCIES_IN_PAYMENT_LINK_AND_ECOM_ORDER'; } | { ruleName?: 'ECOM_ORDER_PASSED_PAYMENT_STATE'; } | { ruleName?: 'ECOM_ORDER_BALANCE_IS_SMALLER_THAN_PAYMENT_LINK_AMOUNT'; } | { ruleName?: 'ORDER_NOT_FOUND'; } | { ruleName?: 'INVALID_PAYMENTS_LIMIT_FOR_ECOM_ORDER_PAYMENT_LINK'; } | { ruleName?: 'INVARIANT_VIOLATION'; }; /** @docsIgnore */ type BulkCreatePaymentLinksApplicationErrors = { code?: 'NO_META_SITE'; description?: string; data?: Record; } | { code?: 'NOT_ENABLED_FOR_PARTNERS'; description?: string; data?: Record; } | { code?: 'UNPUBLISHED_SITE'; description?: string; data?: Record; } | { code?: 'SITELESS_NOT_SUPPORTED'; description?: string; data?: Record; } | { code?: 'FAILED_TO_INSTALL_ECOM'; description?: string; data?: Record; } | { code?: 'MISSING_ACCEPT_PAYMENTS'; description?: string; data?: Record; }; /** @docsIgnore */ type BulkCreatePaymentLinksValidationErrors = { ruleName?: 'PAYMENT_LINK_IDS_MUST_BE_UNIQUE'; }; /** @docsIgnore */ type DeletePaymentLinkApplicationErrors = { code?: 'HAS_PAYMENTS'; description?: string; data?: Record; }; /** @docsIgnore */ type SearchPaymentLinksValidationErrors = { ruleName?: 'INVALID_AGGREGATION'; }; /** @docsIgnore */ type DeactivatePaymentLinkApplicationErrors = { code?: 'INVALID_ACTION_NOT_ACTIVE'; description?: string; data?: Record; }; /** @docsIgnore */ type ActivatePaymentLinkApplicationErrors = { code?: 'INVALID_ACTION_NOT_INACTIVE'; description?: string; data?: Record; }; /** @docsIgnore */ type InitiatePaymentApplicationErrors = { code?: 'MISSING_ACCEPT_PAYMENTS'; description?: string; data?: Record; } | { code?: 'APP_NOT_ENABLED'; description?: string; data?: Record; } | { code?: 'APP_NOT_INSTALLED'; description?: string; data?: Record; } | { code?: 'EXPIRED'; description?: string; data?: Record; } | { code?: 'INVALID_ACTION_NOT_ACTIVE'; description?: string; data?: Record; } | { code?: 'LIMIT_EXCEEDED'; description?: string; data?: Record; } | { code?: 'INACTIVE_CHECKOUT_TEMPLATE'; description?: string; data?: Record; } | { code?: 'ALREADY_PAID'; description?: string; data?: Record; } | { code?: 'ITEM_NOT_FOUND_IN_CATALOG'; description?: string; data?: Record; } | { code?: 'INSUFFICIENT_INVENTORY'; description?: string; data?: Record; } | { code?: 'NO_META_SITE'; description?: string; data?: Record; }; /** @docsIgnore */ type GetCheckoutPayWhatYouWantOptionsApplicationErrors = { code?: 'CHECKOUT_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'CHECKOUT_NOT_LINKED_TO_PAYMENT_LINK'; description?: string; data?: Record; } | { code?: 'CHECKOUT_ALREADY_COMPLETED'; description?: string; data?: Record; } | { code?: 'PAYMENT_LINK_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'INVALID_ACTION_NOT_ACTIVE'; description?: string; data?: Record; } | { code?: 'ALREADY_PAID'; description?: string; data?: Record; } | { code?: 'EXPIRED'; description?: string; data?: Record; } | { code?: 'NOT_A_PAY_WHAT_YOU_WANT_PAYMENT_LINK'; description?: string; data?: Record; }; /** @docsIgnore */ type UpdateCheckoutItemPriceApplicationErrors = { code?: 'CHECKOUT_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'CHECKOUT_NOT_LINKED_TO_PAYMENT_LINK'; description?: string; data?: Record; } | { code?: 'PAYMENT_LINK_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'INVALID_ACTION_NOT_ACTIVE'; description?: string; data?: Record; } | { code?: 'ALREADY_PAID'; description?: string; data?: Record; } | { code?: 'EXPIRED'; description?: string; data?: Record; } | { code?: 'CHECKOUT_ALREADY_COMPLETED'; description?: string; data?: Record; } | { code?: 'NOT_A_PAY_WHAT_YOU_WANT_PAYMENT_LINK'; description?: string; data?: Record; } | { code?: 'REQUESTED_PRICE_BELOW_MINIMUM'; description?: string; data?: Record; } | { code?: 'REQUESTED_PRICE_ABOVE_MAXIMUM'; description?: string; data?: Record; } | { code?: 'INVALID_REQUESTED_PRICE_PRECISION'; description?: string; data?: Record; } | { code?: 'CHECKOUT_ITEM_PRICE_UPDATE_FAILED'; description?: string; data?: Record; }; /** @docsIgnore */ type SendPaymentLinkApplicationErrors = { code?: 'NO_EMAIL_FOR_RECIPIENT'; description?: string; data?: Record; } | { code?: 'MISSING_ACCEPT_PAYMENTS'; description?: string; data?: Record; }; /** @docsIgnore */ type SendPaymentLinkValidationErrors = { ruleName?: 'MISSING_RECIPIENT_SEND_METHOD'; } | { ruleName?: 'RECIPIENT_NOT_FOUND'; } | { ruleName?: 'INVALID_RECIPIENT_SEND_METHOD'; } | { ruleName?: 'TOO_MANY_RECIPIENTS'; }; /** @docsIgnore */ type BulkSendPaymentLinksApplicationErrors = { code?: 'MISSING_ACCEPT_PAYMENTS'; description?: string; data?: Record; }; /** @docsIgnore */ type BulkSendPaymentLinksValidationErrors = { ruleName?: 'PAYMENT_LINK_IDS_MUST_BE_UNIQUE'; }; /** @docsIgnore */ type BulkDeactivatePaymentLinksValidationErrors = { ruleName?: 'PAYMENT_LINK_IDS_MUST_BE_UNIQUE'; }; type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function createPaymentLink(): __PublicMethodMetaInfo<'POST', {}, CreatePaymentLinkRequest$1, CreatePaymentLinkRequest, CreatePaymentLinkResponse$1, CreatePaymentLinkResponse>; declare function bulkCreatePaymentLinks(): __PublicMethodMetaInfo<'POST', {}, BulkCreatePaymentLinksRequest$1, BulkCreatePaymentLinksRequest, BulkCreatePaymentLinksResponse$1, BulkCreatePaymentLinksResponse>; declare function getPaymentLink(): __PublicMethodMetaInfo<'GET', { paymentLinkId: string; }, GetPaymentLinkRequest$1, GetPaymentLinkRequest, GetPaymentLinkResponse$1, GetPaymentLinkResponse>; declare function deletePaymentLink(): __PublicMethodMetaInfo<'DELETE', { paymentLinkId: string; }, DeletePaymentLinkRequest$1, DeletePaymentLinkRequest, DeletePaymentLinkResponse$1, DeletePaymentLinkResponse>; declare function queryPaymentLinks(): __PublicMethodMetaInfo<'POST', {}, QueryPaymentLinksRequest$1, QueryPaymentLinksRequest, QueryPaymentLinksResponse$1, QueryPaymentLinksResponse>; declare function searchPaymentLinks(): __PublicMethodMetaInfo<'POST', {}, SearchPaymentLinksRequest$1, SearchPaymentLinksRequest, SearchPaymentLinksResponse$1, SearchPaymentLinksResponse>; declare function deactivatePaymentLink(): __PublicMethodMetaInfo<'POST', { paymentLinkId: string; }, DeactivatePaymentLinkRequest$1, DeactivatePaymentLinkRequest, DeactivatePaymentLinkResponse$1, DeactivatePaymentLinkResponse>; declare function activatePaymentLink(): __PublicMethodMetaInfo<'POST', { paymentLinkId: string; }, ActivatePaymentLinkRequest$1, ActivatePaymentLinkRequest, ActivatePaymentLinkResponse$1, ActivatePaymentLinkResponse>; declare function initiatePayment(): __PublicMethodMetaInfo<'POST', { paymentLinkId: string; }, InitiatePaymentRequest$1, InitiatePaymentRequest, InitiatePaymentResponse$1, InitiatePaymentResponse>; declare function getCheckoutPayWhatYouWantOptions(): __PublicMethodMetaInfo<'GET', { checkoutId: string; }, GetCheckoutPayWhatYouWantOptionsRequest$1, GetCheckoutPayWhatYouWantOptionsRequest, GetCheckoutPayWhatYouWantOptionsResponse$1, GetCheckoutPayWhatYouWantOptionsResponse>; declare function updateCheckoutItemPrice(): __PublicMethodMetaInfo<'POST', { checkoutId: string; }, UpdateCheckoutItemPriceRequest$1, UpdateCheckoutItemPriceRequest, UpdateCheckoutItemPriceResponse$1, UpdateCheckoutItemPriceResponse>; declare function sendPaymentLink(): __PublicMethodMetaInfo<'POST', { paymentLinkId: string; }, SendPaymentLinkRequest$1, SendPaymentLinkRequest, SendPaymentLinkResponse$1, SendPaymentLinkResponse>; declare function bulkSendPaymentLinks(): __PublicMethodMetaInfo<'POST', {}, BulkSendPaymentLinksRequest$1, BulkSendPaymentLinksRequest, BulkSendPaymentLinksResponse$1, BulkSendPaymentLinksResponse>; declare function bulkDeactivatePaymentLinks(): __PublicMethodMetaInfo<'POST', {}, BulkDeactivatePaymentLinksRequest$1, BulkDeactivatePaymentLinksRequest, BulkDeactivatePaymentLinksResponse$1, BulkDeactivatePaymentLinksResponse>; declare function setNote(): __PublicMethodMetaInfo<'POST', { paymentLinkId: string; }, SetNoteRequest$1, SetNoteRequest, SetNoteResponse$1, SetNoteResponse>; declare function updateExtendedFields(): __PublicMethodMetaInfo<'POST', { id: string; }, UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse$1, UpdateExtendedFieldsResponse>; declare function bulkUpdatePaymentLinkTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdatePaymentLinkTagsRequest$1, BulkUpdatePaymentLinkTagsRequest, BulkUpdatePaymentLinkTagsResponse$1, BulkUpdatePaymentLinkTagsResponse>; declare function bulkUpdatePaymentLinkTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdatePaymentLinkTagsByFilterRequest$1, BulkUpdatePaymentLinkTagsByFilterRequest, BulkUpdatePaymentLinkTagsByFilterResponse$1, BulkUpdatePaymentLinkTagsByFilterResponse>; export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, type ActivatePaymentLinkApplicationErrors as ActivatePaymentLinkApplicationErrorsOriginal, type ActivatePaymentLinkRequest as ActivatePaymentLinkRequestOriginal, type ActivatePaymentLinkResponse as ActivatePaymentLinkResponseOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type AggregationData as AggregationDataOriginal, type AggregationKindOneOf as AggregationKindOneOfOriginal, type Aggregation as AggregationOriginal, type AggregationResults as AggregationResultsOriginal, type AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal, AggregationType as AggregationTypeOriginal, type AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreatePaymentLinksApplicationErrors as BulkCreatePaymentLinksApplicationErrorsOriginal, type BulkCreatePaymentLinksRequest as BulkCreatePaymentLinksRequestOriginal, type BulkCreatePaymentLinksResponse as BulkCreatePaymentLinksResponseOriginal, type BulkCreatePaymentLinksValidationErrors as BulkCreatePaymentLinksValidationErrorsOriginal, type BulkDeactivatePaymentLinksRequest as BulkDeactivatePaymentLinksRequestOriginal, type BulkDeactivatePaymentLinksResponse as BulkDeactivatePaymentLinksResponseOriginal, type BulkDeactivatePaymentLinksValidationErrors as BulkDeactivatePaymentLinksValidationErrorsOriginal, type BulkPaymentLinkDeactivateItemMetadata as BulkPaymentLinkDeactivateItemMetadataOriginal, type BulkPaymentLinkDeactivateResult as BulkPaymentLinkDeactivateResultOriginal, type BulkPaymentLinkItemMetadata as BulkPaymentLinkItemMetadataOriginal, type BulkPaymentLinkResult as BulkPaymentLinkResultOriginal, type BulkPaymentLinkSendItemMetadata as BulkPaymentLinkSendItemMetadataOriginal, type BulkPaymentLinkSendResult as BulkPaymentLinkSendResultOriginal, type BulkSendPaymentLink as BulkSendPaymentLinkOriginal, type BulkSendPaymentLinksApplicationErrors as BulkSendPaymentLinksApplicationErrorsOriginal, type BulkSendPaymentLinksRequest as BulkSendPaymentLinksRequestOriginal, type BulkSendPaymentLinksResponse as BulkSendPaymentLinksResponseOriginal, type BulkSendPaymentLinksValidationErrors as BulkSendPaymentLinksValidationErrorsOriginal, type BulkUpdatePaymentLinkTagsByFilterRequest as BulkUpdatePaymentLinkTagsByFilterRequestOriginal, type BulkUpdatePaymentLinkTagsByFilterResponse as BulkUpdatePaymentLinkTagsByFilterResponseOriginal, type BulkUpdatePaymentLinkTagsRequest as BulkUpdatePaymentLinkTagsRequestOriginal, type BulkUpdatePaymentLinkTagsResponse as BulkUpdatePaymentLinkTagsResponseOriginal, type BulkUpdatePaymentLinkTagsResult as BulkUpdatePaymentLinkTagsResultOriginal, type CashierOrder as CashierOrderOriginal, type Catalog as CatalogOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, Channel as ChannelOriginal, type ChannelWithLiterals as ChannelWithLiteralsOriginal, type Color as ColorOriginal, type CommonCursorPaging as CommonCursorPagingOriginal, type CommonCursors as CommonCursorsOriginal, type CommonImage as CommonImageOriginal, CommonSortOrder as CommonSortOrderOriginal, type CommonSortOrderWithLiterals as CommonSortOrderWithLiteralsOriginal, type CommonSorting as CommonSortingOriginal, type CreatePaymentLinkApplicationErrors as CreatePaymentLinkApplicationErrorsOriginal, type CreatePaymentLinkRequest as CreatePaymentLinkRequestOriginal, type CreatePaymentLinkResponse as CreatePaymentLinkResponseOriginal, type CreatePaymentLinkValidationErrors as CreatePaymentLinkValidationErrorsOriginal, type CreditCardPaymentMethodData as CreditCardPaymentMethodDataOriginal, type CurrencyAmount as CurrencyAmountOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorSearch as CursorSearchOriginal, type Cursors as CursorsOriginal, type Custom as CustomOriginal, type DeactivatePaymentLinkApplicationErrors as DeactivatePaymentLinkApplicationErrorsOriginal, type DeactivatePaymentLinkRequest as DeactivatePaymentLinkRequestOriginal, type DeactivatePaymentLinkResponse as DeactivatePaymentLinkResponseOriginal, type DeleteByFilterOperation as DeleteByFilterOperationOriginal, type DeleteByIdsOperation as DeleteByIdsOperationOriginal, type DeletePaymentLinkApplicationErrors as DeletePaymentLinkApplicationErrorsOriginal, type DeletePaymentLinkRequest as DeletePaymentLinkRequestOriginal, type DeletePaymentLinkResponse as DeletePaymentLinkResponseOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DisplayData as DisplayDataOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EcomCheckout as EcomCheckoutOriginal, type EcomOrder as EcomOrderOriginal, type Ecom as EcomOriginal, type EcomPayWhatYouWant as EcomPayWhatYouWantOriginal, type EcomReference as EcomReferenceOriginal, type EcomReferenceValueOneOf as EcomReferenceValueOneOfOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, EventType as EventTypeOriginal, type EventTypeWithLiterals as EventTypeWithLiteralsOriginal, type ExpireOrderRequest as ExpireOrderRequestOriginal, type ExpireOrderResponse as ExpireOrderResponseOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FieldViolation as FieldViolationOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCheckoutPayWhatYouWantOptionsApplicationErrors as GetCheckoutPayWhatYouWantOptionsApplicationErrorsOriginal, type GetCheckoutPayWhatYouWantOptionsRequest as GetCheckoutPayWhatYouWantOptionsRequestOriginal, type GetCheckoutPayWhatYouWantOptionsResponse as GetCheckoutPayWhatYouWantOptionsResponseOriginal, type GetOriginalUrlRequest as GetOriginalUrlRequestOriginal, type GetOriginalUrlResponse as GetOriginalUrlResponseOriginal, type GetPaymentLinkRequest as GetPaymentLinkRequestOriginal, type GetPaymentLinkResponse as GetPaymentLinkResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InitiatePaymentApplicationErrors as InitiatePaymentApplicationErrorsOriginal, type InitiatePaymentRequest as InitiatePaymentRequestOriginal, type InitiatePaymentResponse as InitiatePaymentResponseOriginal, type InitiatePaymentResponsePaymentOrderOneOf as InitiatePaymentResponsePaymentOrderOneOfOriginal, Initiator as InitiatorOriginal, type InitiatorWithLiterals as InitiatorWithLiteralsOriginal, type InternalDocument as InternalDocumentOriginal, type InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperationOriginal, type InternalDocumentUpdateOperation as InternalDocumentUpdateOperationOriginal, type InternalUpdateExistingOperation as InternalUpdateExistingOperationOriginal, type ItemMetadata as ItemMetadataOriginal, type LineItemOptionsOneOf as LineItemOptionsOneOfOriginal, type LineItem as LineItemOriginal, LineItemType as LineItemTypeOriginal, type LineItemTypeWithLiterals as LineItemTypeWithLiteralsOriginal, type Links as LinksOriginal, type MessageEnvelope as MessageEnvelopeOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type Note as NoteOriginal, type OrderAdditionalCharges as OrderAdditionalChargesOriginal, OrderItemCategory as OrderItemCategoryOriginal, type OrderItemCategoryWithLiterals as OrderItemCategoryWithLiteralsOriginal, type OrderItem as OrderItemOriginal, type Order as OrderOriginal, type PageUrlV2 as PageUrlV2Original, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, PayLinkType as PayLinkTypeOriginal, type PayLinkTypeWithLiterals as PayLinkTypeWithLiteralsOriginal, type PayWhatYouWantOptions as PayWhatYouWantOptionsOriginal, type PaymentEventEventOneOf as PaymentEventEventOneOfOriginal, type PaymentEvent as PaymentEventOriginal, type PaymentLinkActivated as PaymentLinkActivatedOriginal, type PaymentLinkDeactivated as PaymentLinkDeactivatedOriginal, type PaymentLinkEcomOrder as PaymentLinkEcomOrderOriginal, type PaymentLinkNoteSet as PaymentLinkNoteSetOriginal, type PaymentLink as PaymentLinkOriginal, type PaymentLinkPaymentInitiated as PaymentLinkPaymentInitiatedOriginal, type PaymentLinkSent as PaymentLinkSentOriginal, PaymentLinkStatus as PaymentLinkStatusOriginal, type PaymentLinkStatusWithLiterals as PaymentLinkStatusWithLiteralsOriginal, type PaymentLinkTypeDetailsOneOf as PaymentLinkTypeDetailsOneOfOriginal, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PlainTextValue as PlainTextValueOriginal, ProcessingResult as ProcessingResultOriginal, type ProcessingResultWithLiterals as ProcessingResultWithLiteralsOriginal, type ProductName as ProductNameOriginal, type QueryPaymentLinksRequest as QueryPaymentLinksRequestOriginal, type QueryPaymentLinksResponse as QueryPaymentLinksResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type Recipient as RecipientOriginal, type RecipientSendStatus as RecipientSendStatusOriginal, type RecurringPaymentCancellationDetails as RecurringPaymentCancellationDetailsOriginal, type RecurringPaymentDetails as RecurringPaymentDetailsOriginal, type RecurringPaymentStatusChangedEvent as RecurringPaymentStatusChangedEventOriginal, type Refund as RefundOriginal, type RefundStatusChangedEvent as RefundStatusChangedEventOriginal, RefundStatus as RefundStatusOriginal, type RefundStatusWithLiterals as RefundStatusWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type ScheduledAction as ScheduledActionOriginal, ScheduledActionType as ScheduledActionTypeOriginal, type ScheduledActionTypeWithLiterals as ScheduledActionTypeWithLiteralsOriginal, type SearchDetails as SearchDetailsOriginal, type SearchPaymentLinksRequest as SearchPaymentLinksRequestOriginal, type SearchPaymentLinksResponse as SearchPaymentLinksResponseOriginal, type SearchPaymentLinksValidationErrors as SearchPaymentLinksValidationErrorsOriginal, type SearchServicesProcessingNotification as SearchServicesProcessingNotificationOriginal, type SendMetadata as SendMetadataOriginal, SendMethod as SendMethodOriginal, type SendMethodWithLiterals as SendMethodWithLiteralsOriginal, type SendPaymentLinkApplicationErrors as SendPaymentLinkApplicationErrorsOriginal, type SendPaymentLinkRequest as SendPaymentLinkRequestOriginal, type SendPaymentLinkResponse as SendPaymentLinkResponseOriginal, type SendPaymentLinkValidationErrors as SendPaymentLinkValidationErrorsOriginal, type SetNoteRequest as SetNoteRequestOriginal, type SetNoteResponse as SetNoteResponseOriginal, SortDirection as SortDirectionOriginal, type SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortType as SortTypeOriginal, type SortTypeWithLiterals as SortTypeWithLiteralsOriginal, type Sorting as SortingOriginal, type Source as SourceOriginal, type StandardDetails as StandardDetailsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type TagList as TagListOriginal, type Tags as TagsOriginal, type TotalReceived as TotalReceivedOriginal, type Totals as TotalsOriginal, type TransactionCreatedEvent as TransactionCreatedEventOriginal, type Transaction as TransactionOriginal, type TransactionPaymentMethodDataOneOf as TransactionPaymentMethodDataOneOfOriginal, type TransactionStatusChangedEvent as TransactionStatusChangedEventOriginal, TransactionStatus as TransactionStatusOriginal, type TransactionStatusWithLiterals as TransactionStatusWithLiteralsOriginal, type TransactionUpdatedEvent as TransactionUpdatedEventOriginal, type UpdateCheckoutItemPriceApplicationErrors as UpdateCheckoutItemPriceApplicationErrorsOriginal, type UpdateCheckoutItemPriceRequest as UpdateCheckoutItemPriceRequestOriginal, type UpdateCheckoutItemPriceResponse as UpdateCheckoutItemPriceResponseOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOfOriginal, type UpdateInternalDocumentsEvent as UpdateInternalDocumentsEventOriginal, type V3AccountInfo as V3AccountInfoOriginal, type ValidationError as ValidationErrorOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResults as ValueResultsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperationOriginal, type VersionedDocumentId as VersionedDocumentIdOriginal, type VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperationOriginal, VersioningMode as VersioningModeOriginal, type VersioningModeWithLiterals as VersioningModeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, activatePaymentLink, bulkCreatePaymentLinks, bulkDeactivatePaymentLinks, bulkSendPaymentLinks, bulkUpdatePaymentLinkTags, bulkUpdatePaymentLinkTagsByFilter, createPaymentLink, deactivatePaymentLink, deletePaymentLink, getCheckoutPayWhatYouWantOptions, getPaymentLink, initiatePayment, queryPaymentLinks, searchPaymentLinks, sendPaymentLink, setNote, updateCheckoutItemPrice, updateExtendedFields };