@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.31 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +71 -12
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +7 -7
- package/build/es/index.d.mts +71 -12
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +7 -7
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +72 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +7 -7
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +72 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +7 -7
- package/package.json +2 -2
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../index.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.ts"],"sourcesContent":["export * from './src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, HttpResponse, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\n/** PaymentAcceptanceConfiguration */\nexport interface PaymentAcceptanceConfiguration {\n /**\n * id\n * @format GUID\n * @readonly\n * @immutable\n */\n _id?: string | null;\n /**\n * app_id\n * @format GUID\n * @immutable\n */\n appId?: string | null;\n /**\n * rules\n * @maxSize 1000\n */\n rules?: PaymentAcceptanceRule[];\n /**\n * revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Date when PaymentAcceptanceConfiguration was created\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date when PaymentAcceptanceConfiguration was updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n /** Tags */\n tags?: Tags;\n}\n\nexport interface PaymentAcceptanceRule {\n /**\n * payment_method_type_id\n * @format GUID\n */\n paymentMethodTypeId?: string;\n /**\n * account_connection_id\n * @format GUID\n */\n accountConnectionId?: string;\n /** merchant_enabled */\n merchantEnabled?: boolean;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n tags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\nexport interface CreatePaymentAcceptanceConfigurationRequest {\n /** PaymentAcceptanceConfiguration to be created. */\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;\n}\n\nexport interface CreatePaymentAcceptanceConfigurationResponse {\n /** The created PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface GetPaymentAcceptanceConfigurationRequest {\n /**\n * ID of the PaymentAcceptanceConfiguration to retrieve.\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n}\n\nexport interface GetPaymentAcceptanceConfigurationResponse {\n /** The requested PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface UpdatePaymentAcceptanceConfigurationRequest {\n /** PaymentAcceptanceConfiguration to be updated, may be partial. */\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;\n}\n\nexport interface UpdatePaymentAcceptanceConfigurationResponse {\n /** Updated PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface DeletePaymentAcceptanceConfigurationRequest {\n /**\n * Id of payment acceptance configuration to delete\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n}\n\nexport interface DeletePaymentAcceptanceConfigurationResponse {}\n\nexport interface QueryPaymentAcceptanceConfigurationsRequest {\n /** WQL expression. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryPaymentAcceptanceConfigurationsResponse {\n /** List of PaymentAcceptanceConfigurations. */\n paymentAcceptanceConfigurations?: PaymentAcceptanceConfiguration[];\n /** Paging metadata */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {\n /**\n * List of NileProtoTagsEntities that their tags will update.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n ids: string[];\n /** List of Tags to assign */\n assignTags?: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdatePaymentAcceptanceConfigurationTagsResult[];\n /** Metadata regarding the bulk update operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n _id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {\n /** Metadata regarding the specific single update operation */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {\n /** Filter */\n filter: Record<string, any> | null;\n /** List of Tags to assign */\n assignTags?: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {\n /**\n * Job ID\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface Empty {}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\n/**\n * Creates a PaymentAcceptanceConfiguration.\n * @param paymentAcceptanceConfiguration - PaymentAcceptanceConfiguration to be created.\n * @internal\n * @documentationMaturity preview\n * @requiredField paymentAcceptanceConfiguration\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_CREATE\n * @returns The created PaymentAcceptanceConfiguration.\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.CreatePaymentAcceptanceConfiguration\n */\nexport async function createPaymentAcceptanceConfiguration(\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration\n): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n paymentAcceptanceConfiguration: paymentAcceptanceConfiguration,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.createPaymentAcceptanceConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.paymentAcceptanceConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { paymentAcceptanceConfiguration: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['paymentAcceptanceConfiguration']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a PaymentAcceptanceConfiguration.\n * @param paymentAcceptanceConfigurationId - ID of the PaymentAcceptanceConfiguration to retrieve.\n * @internal\n * @documentationMaturity preview\n * @requiredField paymentAcceptanceConfigurationId\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ\n * @returns The requested PaymentAcceptanceConfiguration.\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.GetPaymentAcceptanceConfiguration\n */\nexport async function getPaymentAcceptanceConfiguration(\n paymentAcceptanceConfigurationId: string\n): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n paymentAcceptanceConfigurationId: paymentAcceptanceConfigurationId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.getPaymentAcceptanceConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.paymentAcceptanceConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { paymentAcceptanceConfigurationId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['paymentAcceptanceConfigurationId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates a PaymentAcceptanceConfiguration.\n *\n *\n * Each time the PaymentAcceptanceConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.\n * This ensures you're working with the latest PaymentAcceptanceConfiguration\n * and prevents unintended overwrites.\n * @param _id - id\n * @internal\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField paymentAcceptanceConfiguration\n * @requiredField paymentAcceptanceConfiguration.revision\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE\n * @returns Updated PaymentAcceptanceConfiguration.\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.UpdatePaymentAcceptanceConfiguration\n */\nexport async function updatePaymentAcceptanceConfiguration(\n _id: string,\n paymentAcceptanceConfiguration: NonNullablePaths<\n UpdatePaymentAcceptanceConfiguration,\n `revision`,\n 2\n >\n): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n paymentAcceptanceConfiguration: {\n ...paymentAcceptanceConfiguration,\n id: _id,\n },\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.updatePaymentAcceptanceConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.paymentAcceptanceConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { paymentAcceptanceConfiguration: '$[1]' },\n explicitPathsToArguments: {\n 'paymentAcceptanceConfiguration.id': '$[0]',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'paymentAcceptanceConfiguration']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdatePaymentAcceptanceConfiguration {\n /**\n * id\n * @format GUID\n * @readonly\n * @immutable\n */\n _id?: string | null;\n /**\n * app_id\n * @format GUID\n * @immutable\n */\n appId?: string | null;\n /**\n * rules\n * @maxSize 1000\n */\n rules?: PaymentAcceptanceRule[];\n /**\n * revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Date when PaymentAcceptanceConfiguration was created\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date when PaymentAcceptanceConfiguration was updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n /** Tags */\n tags?: Tags;\n}\n\n/**\n * Delete a PaymentAcceptanceConfiguration\n * @param paymentAcceptanceConfigurationId - Id of payment acceptance configuration to delete\n * @internal\n * @documentationMaturity preview\n * @requiredField paymentAcceptanceConfigurationId\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_DELETE\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.DeletePaymentAcceptanceConfiguration\n */\nexport async function deletePaymentAcceptanceConfiguration(\n paymentAcceptanceConfigurationId: string\n): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n paymentAcceptanceConfigurationId: paymentAcceptanceConfigurationId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.deletePaymentAcceptanceConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { paymentAcceptanceConfigurationId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['paymentAcceptanceConfigurationId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.\n *\n * To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n * @internal\n * @documentationMaturity preview\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.QueryPaymentAcceptanceConfigurations\n */\nexport function queryPaymentAcceptanceConfigurations(): PaymentAcceptanceConfigurationsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n PaymentAcceptanceConfiguration,\n 'CURSOR',\n QueryPaymentAcceptanceConfigurationsRequest,\n QueryPaymentAcceptanceConfigurationsResponse\n >({\n func: async (payload: QueryPaymentAcceptanceConfigurationsRequest) => {\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.queryPaymentAcceptanceConfigurations(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (\n query: QueryPaymentAcceptanceConfigurationsRequest['query']\n ) => {\n const args = [query, {}] as [\n QueryPaymentAcceptanceConfigurationsRequest['query'],\n {}\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QueryPaymentAcceptanceConfigurationsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.paymentAcceptanceConfigurations,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface PaymentAcceptanceConfigurationsQueryResult\n extends QueryCursorResult {\n items: PaymentAcceptanceConfiguration[];\n query: PaymentAcceptanceConfigurationsQueryBuilder;\n next: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;\n prev: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;\n}\n\nexport interface PaymentAcceptanceConfigurationsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n eq: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ne: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ge: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n gt: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n le: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n lt: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n * @documentationMaturity preview\n */\n startsWith: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: string\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasSome: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: any[]\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n in: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n exists: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: boolean\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate'\n >\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate'\n >\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;\n}\n\n/**\n * Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param ids - List of NileProtoTagsEntities that their tags will update.\n * @internal\n * @documentationMaturity preview\n * @requiredField ids\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTags\n */\nexport async function bulkUpdatePaymentAcceptanceConfigurationTags(\n ids: string[],\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsOptions\n): Promise<\n NonNullablePaths<\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n ids: ids,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.bulkUpdatePaymentAcceptanceConfigurationTags(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ids: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['ids', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsOptions {\n /** List of Tags to assign */\n assignTags?: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n\n/**\n * Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter\n * An empty filter will update all PaymentAcceptanceConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param filter - Filter\n * @internal\n * @documentationMaturity preview\n * @requiredField filter\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTagsByFilter\n */\nexport async function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n filter: Record<string, any>,\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions\n): Promise<\n NonNullablePaths<\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n `jobId`,\n 2\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n filter: filter,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n filter: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['filter', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {\n /** List of Tags to assign */\n assignTags?: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/_api/bo-payment-acceptance-configurations/v1',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n {\n srcPath: '/v1/bo-payment-acceptance-configurations',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/bo-payment-acceptance-configurations/v1',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n {\n srcPath: '/v1/bo-payment-acceptance-configurations',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/bo-payment-acceptance-configurations/v1',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n {\n srcPath: '/v1/bo-payment-acceptance-configurations',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_payment-acceptance-configurations';\n\n/** Creates a PaymentAcceptanceConfiguration. */\nexport function createPaymentAcceptanceConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __createPaymentAcceptanceConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.CreatePaymentAcceptanceConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath: '/v1/payment-acceptance-configurations',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createPaymentAcceptanceConfiguration;\n}\n\n/** Retrieves a PaymentAcceptanceConfiguration. */\nexport function getPaymentAcceptanceConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __getPaymentAcceptanceConfiguration({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.GetPaymentAcceptanceConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPaymentAcceptanceConfiguration;\n}\n\n/**\n * Updates a PaymentAcceptanceConfiguration.\n *\n *\n * Each time the PaymentAcceptanceConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.\n * This ensures you're working with the latest PaymentAcceptanceConfiguration\n * and prevents unintended overwrites.\n */\nexport function updatePaymentAcceptanceConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __updatePaymentAcceptanceConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.UpdatePaymentAcceptanceConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfiguration.id}',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePaymentAcceptanceConfiguration;\n}\n\n/** Delete a PaymentAcceptanceConfiguration */\nexport function deletePaymentAcceptanceConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __deletePaymentAcceptanceConfiguration({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.DeletePaymentAcceptanceConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deletePaymentAcceptanceConfiguration;\n}\n\n/**\n * Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.\n *\n * To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n */\nexport function queryPaymentAcceptanceConfigurations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryPaymentAcceptanceConfigurations({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.QueryPaymentAcceptanceConfigurations',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath: '/v1/payment-acceptance-configurations/query',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfigurations.createdDate' },\n { path: 'paymentAcceptanceConfigurations.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath: '/v1/payment-acceptance-configurations/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryPaymentAcceptanceConfigurations;\n}\n\n/**\n * Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdatePaymentAcceptanceConfigurationTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePaymentAcceptanceConfigurationTags({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTags',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath: '/v1/bulk/payment-acceptance-configurations/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePaymentAcceptanceConfigurationTags;\n}\n\n/**\n * Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter\n * An empty filter will update all PaymentAcceptanceConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePaymentAcceptanceConfigurationTagsByFilter({\n host,\n }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTagsByFilter',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/bulk/payment-acceptance-configurations/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePaymentAcceptanceConfigurationTagsByFilter;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n BulkUpdatePaymentAcceptanceConfigurationTagsOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n PaymentAcceptanceConfiguration,\n PaymentAcceptanceConfigurationsQueryBuilder,\n UpdatePaymentAcceptanceConfiguration,\n bulkUpdatePaymentAcceptanceConfigurationTags as universalBulkUpdatePaymentAcceptanceConfigurationTags,\n bulkUpdatePaymentAcceptanceConfigurationTagsByFilter as universalBulkUpdatePaymentAcceptanceConfigurationTagsByFilter,\n createPaymentAcceptanceConfiguration as universalCreatePaymentAcceptanceConfiguration,\n deletePaymentAcceptanceConfiguration as universalDeletePaymentAcceptanceConfiguration,\n getPaymentAcceptanceConfiguration as universalGetPaymentAcceptanceConfiguration,\n queryPaymentAcceptanceConfigurations as universalQueryPaymentAcceptanceConfigurations,\n updatePaymentAcceptanceConfiguration as universalUpdatePaymentAcceptanceConfiguration,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/payments' };\n\n/** @internal */\nexport function createPaymentAcceptanceConfiguration(\n httpClient: HttpClient\n): CreatePaymentAcceptanceConfigurationSignature {\n return (paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration) =>\n universalCreatePaymentAcceptanceConfiguration(\n paymentAcceptanceConfiguration,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreatePaymentAcceptanceConfigurationSignature {\n /**\n * Creates a PaymentAcceptanceConfiguration.\n * @param - PaymentAcceptanceConfiguration to be created.\n * @returns The created PaymentAcceptanceConfiguration.\n */\n (paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n >;\n}\n\n/** @internal */\nexport function getPaymentAcceptanceConfiguration(\n httpClient: HttpClient\n): GetPaymentAcceptanceConfigurationSignature {\n return (paymentAcceptanceConfigurationId: string) =>\n universalGetPaymentAcceptanceConfiguration(\n paymentAcceptanceConfigurationId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetPaymentAcceptanceConfigurationSignature {\n /**\n * Retrieves a PaymentAcceptanceConfiguration.\n * @param - ID of the PaymentAcceptanceConfiguration to retrieve.\n * @returns The requested PaymentAcceptanceConfiguration.\n */\n (paymentAcceptanceConfigurationId: string): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n >;\n}\n\n/** @internal */\nexport function updatePaymentAcceptanceConfiguration(\n httpClient: HttpClient\n): UpdatePaymentAcceptanceConfigurationSignature {\n return (\n _id: string,\n paymentAcceptanceConfiguration: NonNullablePaths<\n UpdatePaymentAcceptanceConfiguration,\n `revision`,\n 2\n >\n ) =>\n universalUpdatePaymentAcceptanceConfiguration(\n _id,\n paymentAcceptanceConfiguration,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdatePaymentAcceptanceConfigurationSignature {\n /**\n * Updates a PaymentAcceptanceConfiguration.\n *\n *\n * Each time the PaymentAcceptanceConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.\n * This ensures you're working with the latest PaymentAcceptanceConfiguration\n * and prevents unintended overwrites.\n * @param - id\n * @returns Updated PaymentAcceptanceConfiguration.\n */\n (\n _id: string,\n paymentAcceptanceConfiguration: NonNullablePaths<\n UpdatePaymentAcceptanceConfiguration,\n `revision`,\n 2\n >\n ): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n >;\n}\n\n/** @internal */\nexport function deletePaymentAcceptanceConfiguration(\n httpClient: HttpClient\n): DeletePaymentAcceptanceConfigurationSignature {\n return (paymentAcceptanceConfigurationId: string) =>\n universalDeletePaymentAcceptanceConfiguration(\n paymentAcceptanceConfigurationId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeletePaymentAcceptanceConfigurationSignature {\n /**\n * Delete a PaymentAcceptanceConfiguration\n * @param - Id of payment acceptance configuration to delete\n */\n (paymentAcceptanceConfigurationId: string): Promise<void>;\n}\n\n/** @internal */\nexport function queryPaymentAcceptanceConfigurations(\n httpClient: HttpClient\n): QueryPaymentAcceptanceConfigurationsSignature {\n return () =>\n universalQueryPaymentAcceptanceConfigurations(\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryPaymentAcceptanceConfigurationsSignature {\n /**\n * Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.\n *\n * To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n */\n (): PaymentAcceptanceConfigurationsQueryBuilder;\n}\n\n/** @internal */\nexport function bulkUpdatePaymentAcceptanceConfigurationTags(\n httpClient: HttpClient\n): BulkUpdatePaymentAcceptanceConfigurationTagsSignature {\n return (\n ids: string[],\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsOptions\n ) =>\n universalBulkUpdatePaymentAcceptanceConfigurationTags(\n ids,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePaymentAcceptanceConfigurationTagsSignature {\n /**\n * Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param - List of NileProtoTagsEntities that their tags will update.\n */\n (\n ids: string[],\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsOptions\n ): Promise<\n NonNullablePaths<\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\n/** @internal */\nexport function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n httpClient: HttpClient\n): BulkUpdatePaymentAcceptanceConfigurationTagsByFilterSignature {\n return (\n filter: Record<string, any>,\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions\n ) =>\n universalBulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n filter,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterSignature {\n /**\n * Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter\n * An empty filter will update all PaymentAcceptanceConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param - Filter\n */\n (\n filter: Record<string, any>,\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions\n ): Promise<\n NonNullablePaths<\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n `jobId`,\n 2\n >\n >;\n}\n\nexport {\n ActionEvent,\n ApplicationError,\n Asset,\n BulkActionMetadata,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n BulkUpdatePaymentAcceptanceConfigurationTagsOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n BulkUpdatePaymentAcceptanceConfigurationTagsResult,\n CreatePaymentAcceptanceConfigurationRequest,\n CreatePaymentAcceptanceConfigurationResponse,\n CursorPaging,\n CursorPagingMetadata,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Cursors,\n DeleteContext,\n DeletePaymentAcceptanceConfigurationRequest,\n DeletePaymentAcceptanceConfigurationResponse,\n DeleteStatus,\n DomainEvent,\n DomainEventBodyOneOf,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n ExtendedFields,\n GetPaymentAcceptanceConfigurationRequest,\n GetPaymentAcceptanceConfigurationResponse,\n IdentificationData,\n IdentificationDataIdOneOf,\n ItemMetadata,\n MessageEnvelope,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n Namespace,\n NamespaceChanged,\n OdeditorAssigned,\n OdeditorUnassigned,\n PaymentAcceptanceConfiguration,\n PaymentAcceptanceConfigurationsQueryBuilder,\n PaymentAcceptanceConfigurationsQueryResult,\n PaymentAcceptanceRule,\n PicassoAssigned,\n PicassoUnassigned,\n QueryPaymentAcceptanceConfigurationsRequest,\n QueryPaymentAcceptanceConfigurationsResponse,\n RestoreInfo,\n ServiceProvisioned,\n ServiceRemoved,\n SiteCreated,\n SiteCreatedContext,\n SiteDeleted,\n SiteHardDeleted,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n SitePublished,\n SitePurgedExternally,\n SiteRenamed,\n SiteTransferred,\n SiteUndeleted,\n SiteUnpublished,\n SiteUrlChanged,\n SortOrder,\n Sorting,\n State,\n StudioAssigned,\n StudioUnassigned,\n TagList,\n Tags,\n UpdatePaymentAcceptanceConfiguration,\n UpdatePaymentAcceptanceConfigurationRequest,\n UpdatePaymentAcceptanceConfigurationResponse,\n WebhookIdentityType,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\n","import {\n createPaymentAcceptanceConfiguration as publicCreatePaymentAcceptanceConfiguration,\n getPaymentAcceptanceConfiguration as publicGetPaymentAcceptanceConfiguration,\n updatePaymentAcceptanceConfiguration as publicUpdatePaymentAcceptanceConfiguration,\n deletePaymentAcceptanceConfiguration as publicDeletePaymentAcceptanceConfiguration,\n queryPaymentAcceptanceConfigurations as publicQueryPaymentAcceptanceConfigurations,\n bulkUpdatePaymentAcceptanceConfigurationTags as publicBulkUpdatePaymentAcceptanceConfigurationTags,\n bulkUpdatePaymentAcceptanceConfigurationTagsByFilter as publicBulkUpdatePaymentAcceptanceConfigurationTagsByFilter,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\n/** @internal */\nexport const createPaymentAcceptanceConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicCreatePaymentAcceptanceConfiguration> &\n typeof publicCreatePaymentAcceptanceConfiguration\n> = /*#__PURE__*/ createRESTModule(publicCreatePaymentAcceptanceConfiguration);\n/** @internal */\nexport const getPaymentAcceptanceConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicGetPaymentAcceptanceConfiguration> &\n typeof publicGetPaymentAcceptanceConfiguration\n> = /*#__PURE__*/ createRESTModule(publicGetPaymentAcceptanceConfiguration);\n/** @internal */\nexport const updatePaymentAcceptanceConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicUpdatePaymentAcceptanceConfiguration> &\n typeof publicUpdatePaymentAcceptanceConfiguration\n> = /*#__PURE__*/ createRESTModule(publicUpdatePaymentAcceptanceConfiguration);\n/** @internal */\nexport const deletePaymentAcceptanceConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicDeletePaymentAcceptanceConfiguration> &\n typeof publicDeletePaymentAcceptanceConfiguration\n> = /*#__PURE__*/ createRESTModule(publicDeletePaymentAcceptanceConfiguration);\n/** @internal */\nexport const queryPaymentAcceptanceConfigurations: MaybeContext<\n BuildRESTFunction<typeof publicQueryPaymentAcceptanceConfigurations> &\n typeof publicQueryPaymentAcceptanceConfigurations\n> = /*#__PURE__*/ createRESTModule(publicQueryPaymentAcceptanceConfigurations);\n/** @internal */\nexport const bulkUpdatePaymentAcceptanceConfigurationTags: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdatePaymentAcceptanceConfigurationTags> &\n typeof publicBulkUpdatePaymentAcceptanceConfigurationTags\n> = /*#__PURE__*/ createRESTModule(\n publicBulkUpdatePaymentAcceptanceConfigurationTags\n);\n/** @internal */\nexport const bulkUpdatePaymentAcceptanceConfigurationTagsByFilter: MaybeContext<\n BuildRESTFunction<\n typeof publicBulkUpdatePaymentAcceptanceConfigurationTagsByFilter\n > &\n typeof publicBulkUpdatePaymentAcceptanceConfigurationTagsByFilter\n> = /*#__PURE__*/ createRESTModule(\n publicBulkUpdatePaymentAcceptanceConfigurationTagsByFilter\n);\n\nexport {\n SortOrder,\n State,\n SiteCreatedContext,\n Namespace,\n DeleteStatus,\n WebhookIdentityType,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\nexport {\n PaymentAcceptanceConfiguration,\n PaymentAcceptanceRule,\n ExtendedFields,\n Tags,\n TagList,\n CreatePaymentAcceptanceConfigurationRequest,\n CreatePaymentAcceptanceConfigurationResponse,\n GetPaymentAcceptanceConfigurationRequest,\n GetPaymentAcceptanceConfigurationResponse,\n UpdatePaymentAcceptanceConfigurationRequest,\n UpdatePaymentAcceptanceConfigurationResponse,\n DeletePaymentAcceptanceConfigurationRequest,\n DeletePaymentAcceptanceConfigurationResponse,\n QueryPaymentAcceptanceConfigurationsRequest,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Sorting,\n CursorPaging,\n QueryPaymentAcceptanceConfigurationsResponse,\n CursorPagingMetadata,\n Cursors,\n BulkUpdatePaymentAcceptanceConfigurationTagsRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n ItemMetadata,\n ApplicationError,\n BulkUpdatePaymentAcceptanceConfigurationTagsResult,\n BulkActionMetadata,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n Empty,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n Asset,\n SiteCreated,\n SiteTransferred,\n SiteDeleted,\n DeleteContext,\n SiteUndeleted,\n SitePublished,\n SiteUnpublished,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n ServiceProvisioned,\n ServiceRemoved,\n SiteRenamed,\n SiteHardDeleted,\n NamespaceChanged,\n StudioAssigned,\n StudioUnassigned,\n SiteUrlChanged,\n SitePurgedExternally,\n OdeditorAssigned,\n OdeditorUnassigned,\n PicassoAssigned,\n PicassoUnassigned,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n UpdatePaymentAcceptanceConfiguration,\n PaymentAcceptanceConfigurationsQueryResult,\n PaymentAcceptanceConfigurationsQueryBuilder,\n BulkUpdatePaymentAcceptanceConfigurationTagsOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\nexport {\n SortOrderWithLiterals,\n StateWithLiterals,\n SiteCreatedContextWithLiterals,\n NamespaceWithLiterals,\n DeleteStatusWithLiterals,\n WebhookIdentityTypeWithLiterals,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sDAAAA;AAAA,EAAA,4DAAAC;AAAA,EAAA,4CAAAC;AAAA,EAAA,4CAAAC;AAAA,EAAA,yCAAAC;AAAA,EAAA,4CAAAC;AAAA,EAAA,4CAAAC;AAAA;AAAA;;;ACAA,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,uBAAqD;AAC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,WAAW;AAAA,EACf;AACJ;AAsBO,SAASC,sCACd,YAC+C;AAC/C,SAAO,CACL,KACA,mCAMAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAoCO,SAASC,sCACd,YAC+C;AAC/C,SAAO,CAAC,qCACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAWO,SAASC,sCACd,YAC+C;AAC/C,SAAO,MACLA;AAAA;AAAA,IAEE,EAAE,WAAW;AAAA,EACf;AACJ;AAiBO,SAASC,8CACd,YACuD;AACvD,SAAO,CACL,KACA,YAEAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AA4BO,SAASC,sDACd,YAC+D;AAC/D,SAAO,CACL,QACA,YAEAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;AClOA,IAAAC,uBAAiC;AAI1B,IAAMC,wCAGK,2DAAiBA,qCAA0C;AAEtE,IAAMC,qCAGK,2DAAiBA,kCAAuC;AAEnE,IAAMC,wCAGK,2DAAiBA,qCAA0C;AAEtE,IAAMC,wCAGK,2DAAiBA,qCAA0C;AAEtE,IAAMC,wCAGK,2DAAiBA,qCAA0C;AAEtE,IAAMC,gDAGK;AAAA,EAChBA;AACF;AAEO,IAAMC,wDAKK;AAAA,EAChBA;AACF;","names":["bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","createPaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","updatePaymentAcceptanceConfiguration","import_timestamp","import_rest_modules","payload","import_transform_paths","SortOrder","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createPaymentAcceptanceConfiguration","sdkTransformError","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","import_rest_modules","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter"]}
|
|
1
|
+
{"version":3,"sources":["../../index.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.ts"],"sourcesContent":["export * from './src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, HttpResponse, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\n/** PaymentAcceptanceConfiguration */\nexport interface PaymentAcceptanceConfiguration {\n /**\n * Id\n * @format GUID\n * @readonly\n * @immutable\n */\n _id?: string | null;\n /**\n * App id\n * @format GUID\n * @immutable\n */\n appId?: string | null;\n /**\n * Rules\n * @maxSize 1000\n */\n rules?: PaymentAcceptanceRule[];\n /**\n * Revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Date when PaymentAcceptanceConfiguration was created\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date when PaymentAcceptanceConfiguration was updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n /** Tags */\n tags?: Tags;\n}\n\nexport interface PaymentAcceptanceRule {\n /**\n * Payment method type id\n * @format GUID\n */\n paymentMethodTypeId?: string;\n /**\n * Account connection id\n * @format GUID\n */\n accountConnectionId?: string;\n /** Merchant enabled */\n merchantEnabled?: boolean;\n}\n\nexport interface PaymentBrands {\n /**\n * Payment brand ids\n * @maxSize 200\n * @format GUID\n */\n paymentBrandIds?: string[];\n}\n\nexport interface Countries {\n /**\n * Country codes\n * @maxSize 200\n * @format COUNTRY\n */\n countryCodes?: string[];\n}\n\nexport interface Currencies {\n /**\n * Currency codes\n * @maxSize 200\n * @format CURRENCY\n */\n currencyCodes?: string[];\n}\n\nexport interface Restrictions\n extends RestrictionsPaymentBrandsOneOf,\n RestrictionsCountriesOneOf,\n RestrictionsCurrenciesOneOf {\n /** Allowed payment brands */\n allowedPaymentBrands?: PaymentBrands;\n /** Prohibited payment brands */\n prohibitedPaymentBrands?: PaymentBrands;\n /** Allowed countries */\n allowedCountries?: Countries;\n /** Prohibited countries */\n prohibitedCountries?: Countries;\n /** Allowed currencies */\n allowedCurrencies?: Currencies;\n /** Prohibited currencies */\n prohibitedCurrencies?: Currencies;\n}\n\n/** @oneof */\nexport interface RestrictionsPaymentBrandsOneOf {\n /** Allowed payment brands */\n allowedPaymentBrands?: PaymentBrands;\n /** Prohibited payment brands */\n prohibitedPaymentBrands?: PaymentBrands;\n}\n\n/** @oneof */\nexport interface RestrictionsCountriesOneOf {\n /** Allowed countries */\n allowedCountries?: Countries;\n /** Prohibited countries */\n prohibitedCountries?: Countries;\n}\n\n/** @oneof */\nexport interface RestrictionsCurrenciesOneOf {\n /** Allowed currencies */\n allowedCurrencies?: Currencies;\n /** Prohibited currencies */\n prohibitedCurrencies?: Currencies;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n tags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\nexport interface CreatePaymentAcceptanceConfigurationRequest {\n /** PaymentAcceptanceConfiguration to be created. */\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;\n}\n\nexport interface CreatePaymentAcceptanceConfigurationResponse {\n /** The created PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface GetPaymentAcceptanceConfigurationRequest {\n /**\n * ID of the PaymentAcceptanceConfiguration to retrieve.\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n}\n\nexport interface GetPaymentAcceptanceConfigurationResponse {\n /** The requested PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface UpdatePaymentAcceptanceConfigurationRequest {\n /** PaymentAcceptanceConfiguration to be updated, may be partial. */\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;\n}\n\nexport interface UpdatePaymentAcceptanceConfigurationResponse {\n /** Updated PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface DeletePaymentAcceptanceConfigurationRequest {\n /**\n * Id of payment acceptance configuration to delete\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n}\n\nexport interface DeletePaymentAcceptanceConfigurationResponse {}\n\nexport interface QueryPaymentAcceptanceConfigurationsRequest {\n /** WQL expression. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryPaymentAcceptanceConfigurationsResponse {\n /** List of PaymentAcceptanceConfigurations. */\n paymentAcceptanceConfigurations?: PaymentAcceptanceConfiguration[];\n /** Paging metadata */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {\n /**\n * List of NileProtoTagsEntities that their tags will update.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n ids: string[];\n /** List of Tags to assign */\n assignTags?: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdatePaymentAcceptanceConfigurationTagsResult[];\n /** Metadata regarding the bulk update operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n _id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {\n /** Metadata regarding the specific single update operation */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {\n /** Filter */\n filter: Record<string, any> | null;\n /** List of Tags to assign */\n assignTags?: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {\n /**\n * Job ID\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface Empty {}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\n/**\n * Creates a PaymentAcceptanceConfiguration.\n * @param paymentAcceptanceConfiguration - PaymentAcceptanceConfiguration to be created.\n * @internal\n * @documentationMaturity preview\n * @requiredField paymentAcceptanceConfiguration\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_CREATE\n * @returns The created PaymentAcceptanceConfiguration.\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.CreatePaymentAcceptanceConfiguration\n */\nexport async function createPaymentAcceptanceConfiguration(\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration\n): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n paymentAcceptanceConfiguration: paymentAcceptanceConfiguration,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.createPaymentAcceptanceConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.paymentAcceptanceConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { paymentAcceptanceConfiguration: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['paymentAcceptanceConfiguration']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a PaymentAcceptanceConfiguration.\n * @param paymentAcceptanceConfigurationId - ID of the PaymentAcceptanceConfiguration to retrieve.\n * @internal\n * @documentationMaturity preview\n * @requiredField paymentAcceptanceConfigurationId\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ\n * @returns The requested PaymentAcceptanceConfiguration.\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.GetPaymentAcceptanceConfiguration\n */\nexport async function getPaymentAcceptanceConfiguration(\n paymentAcceptanceConfigurationId: string\n): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n paymentAcceptanceConfigurationId: paymentAcceptanceConfigurationId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.getPaymentAcceptanceConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.paymentAcceptanceConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { paymentAcceptanceConfigurationId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['paymentAcceptanceConfigurationId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates a PaymentAcceptanceConfiguration.\n *\n *\n * Each time the PaymentAcceptanceConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.\n * This ensures you're working with the latest PaymentAcceptanceConfiguration\n * and prevents unintended overwrites.\n * @param _id - Id\n * @internal\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField paymentAcceptanceConfiguration\n * @requiredField paymentAcceptanceConfiguration.revision\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE\n * @returns Updated PaymentAcceptanceConfiguration.\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.UpdatePaymentAcceptanceConfiguration\n */\nexport async function updatePaymentAcceptanceConfiguration(\n _id: string,\n paymentAcceptanceConfiguration: NonNullablePaths<\n UpdatePaymentAcceptanceConfiguration,\n `revision`,\n 2\n >\n): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n paymentAcceptanceConfiguration: {\n ...paymentAcceptanceConfiguration,\n id: _id,\n },\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.updatePaymentAcceptanceConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.paymentAcceptanceConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { paymentAcceptanceConfiguration: '$[1]' },\n explicitPathsToArguments: {\n 'paymentAcceptanceConfiguration.id': '$[0]',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'paymentAcceptanceConfiguration']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdatePaymentAcceptanceConfiguration {\n /**\n * Id\n * @format GUID\n * @readonly\n * @immutable\n */\n _id?: string | null;\n /**\n * App id\n * @format GUID\n * @immutable\n */\n appId?: string | null;\n /**\n * Rules\n * @maxSize 1000\n */\n rules?: PaymentAcceptanceRule[];\n /**\n * Revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Date when PaymentAcceptanceConfiguration was created\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date when PaymentAcceptanceConfiguration was updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n /** Tags */\n tags?: Tags;\n}\n\n/**\n * Delete a PaymentAcceptanceConfiguration\n * @param paymentAcceptanceConfigurationId - Id of payment acceptance configuration to delete\n * @internal\n * @documentationMaturity preview\n * @requiredField paymentAcceptanceConfigurationId\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_DELETE\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.DeletePaymentAcceptanceConfiguration\n */\nexport async function deletePaymentAcceptanceConfiguration(\n paymentAcceptanceConfigurationId: string\n): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n paymentAcceptanceConfigurationId: paymentAcceptanceConfigurationId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.deletePaymentAcceptanceConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { paymentAcceptanceConfigurationId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['paymentAcceptanceConfigurationId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.\n *\n * To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n * @internal\n * @documentationMaturity preview\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.QueryPaymentAcceptanceConfigurations\n */\nexport function queryPaymentAcceptanceConfigurations(): PaymentAcceptanceConfigurationsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n PaymentAcceptanceConfiguration,\n 'CURSOR',\n QueryPaymentAcceptanceConfigurationsRequest,\n QueryPaymentAcceptanceConfigurationsResponse\n >({\n func: async (payload: QueryPaymentAcceptanceConfigurationsRequest) => {\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.queryPaymentAcceptanceConfigurations(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (\n query: QueryPaymentAcceptanceConfigurationsRequest['query']\n ) => {\n const args = [query, {}] as [\n QueryPaymentAcceptanceConfigurationsRequest['query'],\n {}\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QueryPaymentAcceptanceConfigurationsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.paymentAcceptanceConfigurations,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface PaymentAcceptanceConfigurationsQueryResult\n extends QueryCursorResult {\n items: PaymentAcceptanceConfiguration[];\n query: PaymentAcceptanceConfigurationsQueryBuilder;\n next: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;\n prev: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;\n}\n\nexport interface PaymentAcceptanceConfigurationsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n eq: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ne: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ge: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n gt: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n le: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n lt: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n * @documentationMaturity preview\n */\n startsWith: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: string\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasSome: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: any[]\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n in: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n exists: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate',\n value: boolean\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate'\n >\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantEnabled'\n | '_createdDate'\n | '_updatedDate'\n >\n ) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => PaymentAcceptanceConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;\n}\n\n/**\n * Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param ids - List of NileProtoTagsEntities that their tags will update.\n * @internal\n * @documentationMaturity preview\n * @requiredField ids\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTags\n */\nexport async function bulkUpdatePaymentAcceptanceConfigurationTags(\n ids: string[],\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsOptions\n): Promise<\n NonNullablePaths<\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n ids: ids,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.bulkUpdatePaymentAcceptanceConfigurationTags(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ids: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['ids', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsOptions {\n /** List of Tags to assign */\n assignTags?: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n\n/**\n * Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter\n * An empty filter will update all PaymentAcceptanceConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param filter - Filter\n * @internal\n * @documentationMaturity preview\n * @requiredField filter\n * @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS\n * @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTagsByFilter\n */\nexport async function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n filter: Record<string, any>,\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions\n): Promise<\n NonNullablePaths<\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n `jobId`,\n 2\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n filter: filter,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n filter: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['filter', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {\n /** List of Tags to assign */\n assignTags?: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/_api/bo-payment-acceptance-configurations/v1',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n {\n srcPath: '/v1/bo-payment-acceptance-configurations',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/bo-payment-acceptance-configurations/v1',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n {\n srcPath: '/v1/bo-payment-acceptance-configurations',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/bo-payment-acceptance-configurations/v1',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n {\n srcPath: '/v1/bo-payment-acceptance-configurations',\n destPath: '/v1/bo-payment-acceptance-configurations',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_payment-acceptance-configurations';\n\n/** Creates a PaymentAcceptanceConfiguration. */\nexport function createPaymentAcceptanceConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __createPaymentAcceptanceConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.CreatePaymentAcceptanceConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath: '/v1/payment-acceptance-configurations',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createPaymentAcceptanceConfiguration;\n}\n\n/** Retrieves a PaymentAcceptanceConfiguration. */\nexport function getPaymentAcceptanceConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __getPaymentAcceptanceConfiguration({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.GetPaymentAcceptanceConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPaymentAcceptanceConfiguration;\n}\n\n/**\n * Updates a PaymentAcceptanceConfiguration.\n *\n *\n * Each time the PaymentAcceptanceConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.\n * This ensures you're working with the latest PaymentAcceptanceConfiguration\n * and prevents unintended overwrites.\n */\nexport function updatePaymentAcceptanceConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __updatePaymentAcceptanceConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.UpdatePaymentAcceptanceConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfiguration.id}',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfiguration.createdDate' },\n { path: 'paymentAcceptanceConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePaymentAcceptanceConfiguration;\n}\n\n/** Delete a PaymentAcceptanceConfiguration */\nexport function deletePaymentAcceptanceConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __deletePaymentAcceptanceConfiguration({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.DeletePaymentAcceptanceConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deletePaymentAcceptanceConfiguration;\n}\n\n/**\n * Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.\n *\n * To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n */\nexport function queryPaymentAcceptanceConfigurations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryPaymentAcceptanceConfigurations({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.QueryPaymentAcceptanceConfigurations',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath: '/v1/payment-acceptance-configurations/query',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'paymentAcceptanceConfigurations.createdDate' },\n { path: 'paymentAcceptanceConfigurations.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath: '/v1/payment-acceptance-configurations/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryPaymentAcceptanceConfigurations;\n}\n\n/**\n * Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdatePaymentAcceptanceConfigurationTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePaymentAcceptanceConfigurationTags({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTags',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath: '/v1/bulk/payment-acceptance-configurations/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePaymentAcceptanceConfigurationTags;\n}\n\n/**\n * Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter\n * An empty filter will update all PaymentAcceptanceConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePaymentAcceptanceConfigurationTagsByFilter({\n host,\n }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.payment_acceptance_configurations.v1.payment_acceptance_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTagsByFilter',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/bulk/payment-acceptance-configurations/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePaymentAcceptanceConfigurationTagsByFilter;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n BulkUpdatePaymentAcceptanceConfigurationTagsOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n PaymentAcceptanceConfiguration,\n PaymentAcceptanceConfigurationsQueryBuilder,\n UpdatePaymentAcceptanceConfiguration,\n bulkUpdatePaymentAcceptanceConfigurationTags as universalBulkUpdatePaymentAcceptanceConfigurationTags,\n bulkUpdatePaymentAcceptanceConfigurationTagsByFilter as universalBulkUpdatePaymentAcceptanceConfigurationTagsByFilter,\n createPaymentAcceptanceConfiguration as universalCreatePaymentAcceptanceConfiguration,\n deletePaymentAcceptanceConfiguration as universalDeletePaymentAcceptanceConfiguration,\n getPaymentAcceptanceConfiguration as universalGetPaymentAcceptanceConfiguration,\n queryPaymentAcceptanceConfigurations as universalQueryPaymentAcceptanceConfigurations,\n updatePaymentAcceptanceConfiguration as universalUpdatePaymentAcceptanceConfiguration,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/payments' };\n\n/** @internal */\nexport function createPaymentAcceptanceConfiguration(\n httpClient: HttpClient\n): CreatePaymentAcceptanceConfigurationSignature {\n return (paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration) =>\n universalCreatePaymentAcceptanceConfiguration(\n paymentAcceptanceConfiguration,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreatePaymentAcceptanceConfigurationSignature {\n /**\n * Creates a PaymentAcceptanceConfiguration.\n * @param - PaymentAcceptanceConfiguration to be created.\n * @returns The created PaymentAcceptanceConfiguration.\n */\n (paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n >;\n}\n\n/** @internal */\nexport function getPaymentAcceptanceConfiguration(\n httpClient: HttpClient\n): GetPaymentAcceptanceConfigurationSignature {\n return (paymentAcceptanceConfigurationId: string) =>\n universalGetPaymentAcceptanceConfiguration(\n paymentAcceptanceConfigurationId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetPaymentAcceptanceConfigurationSignature {\n /**\n * Retrieves a PaymentAcceptanceConfiguration.\n * @param - ID of the PaymentAcceptanceConfiguration to retrieve.\n * @returns The requested PaymentAcceptanceConfiguration.\n */\n (paymentAcceptanceConfigurationId: string): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n >;\n}\n\n/** @internal */\nexport function updatePaymentAcceptanceConfiguration(\n httpClient: HttpClient\n): UpdatePaymentAcceptanceConfigurationSignature {\n return (\n _id: string,\n paymentAcceptanceConfiguration: NonNullablePaths<\n UpdatePaymentAcceptanceConfiguration,\n `revision`,\n 2\n >\n ) =>\n universalUpdatePaymentAcceptanceConfiguration(\n _id,\n paymentAcceptanceConfiguration,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdatePaymentAcceptanceConfigurationSignature {\n /**\n * Updates a PaymentAcceptanceConfiguration.\n *\n *\n * Each time the PaymentAcceptanceConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.\n * This ensures you're working with the latest PaymentAcceptanceConfiguration\n * and prevents unintended overwrites.\n * @param - Id\n * @returns Updated PaymentAcceptanceConfiguration.\n */\n (\n _id: string,\n paymentAcceptanceConfiguration: NonNullablePaths<\n UpdatePaymentAcceptanceConfiguration,\n `revision`,\n 2\n >\n ): Promise<\n NonNullablePaths<\n PaymentAcceptanceConfiguration,\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantEnabled`\n | `tags.tags.tagIds`,\n 4\n >\n >;\n}\n\n/** @internal */\nexport function deletePaymentAcceptanceConfiguration(\n httpClient: HttpClient\n): DeletePaymentAcceptanceConfigurationSignature {\n return (paymentAcceptanceConfigurationId: string) =>\n universalDeletePaymentAcceptanceConfiguration(\n paymentAcceptanceConfigurationId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeletePaymentAcceptanceConfigurationSignature {\n /**\n * Delete a PaymentAcceptanceConfiguration\n * @param - Id of payment acceptance configuration to delete\n */\n (paymentAcceptanceConfigurationId: string): Promise<void>;\n}\n\n/** @internal */\nexport function queryPaymentAcceptanceConfigurations(\n httpClient: HttpClient\n): QueryPaymentAcceptanceConfigurationsSignature {\n return () =>\n universalQueryPaymentAcceptanceConfigurations(\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryPaymentAcceptanceConfigurationsSignature {\n /**\n * Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.\n *\n * To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n */\n (): PaymentAcceptanceConfigurationsQueryBuilder;\n}\n\n/** @internal */\nexport function bulkUpdatePaymentAcceptanceConfigurationTags(\n httpClient: HttpClient\n): BulkUpdatePaymentAcceptanceConfigurationTagsSignature {\n return (\n ids: string[],\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsOptions\n ) =>\n universalBulkUpdatePaymentAcceptanceConfigurationTags(\n ids,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePaymentAcceptanceConfigurationTagsSignature {\n /**\n * Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param - List of NileProtoTagsEntities that their tags will update.\n */\n (\n ids: string[],\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsOptions\n ): Promise<\n NonNullablePaths<\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\n/** @internal */\nexport function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n httpClient: HttpClient\n): BulkUpdatePaymentAcceptanceConfigurationTagsByFilterSignature {\n return (\n filter: Record<string, any>,\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions\n ) =>\n universalBulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n filter,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterSignature {\n /**\n * Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter\n * An empty filter will update all PaymentAcceptanceConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param - Filter\n */\n (\n filter: Record<string, any>,\n options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions\n ): Promise<\n NonNullablePaths<\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n `jobId`,\n 2\n >\n >;\n}\n\nexport {\n ActionEvent,\n ApplicationError,\n Asset,\n BulkActionMetadata,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n BulkUpdatePaymentAcceptanceConfigurationTagsOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n BulkUpdatePaymentAcceptanceConfigurationTagsResult,\n Countries,\n CreatePaymentAcceptanceConfigurationRequest,\n CreatePaymentAcceptanceConfigurationResponse,\n Currencies,\n CursorPaging,\n CursorPagingMetadata,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Cursors,\n DeleteContext,\n DeletePaymentAcceptanceConfigurationRequest,\n DeletePaymentAcceptanceConfigurationResponse,\n DeleteStatus,\n DomainEvent,\n DomainEventBodyOneOf,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n ExtendedFields,\n GetPaymentAcceptanceConfigurationRequest,\n GetPaymentAcceptanceConfigurationResponse,\n IdentificationData,\n IdentificationDataIdOneOf,\n ItemMetadata,\n MessageEnvelope,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n Namespace,\n NamespaceChanged,\n OdeditorAssigned,\n OdeditorUnassigned,\n PaymentAcceptanceConfiguration,\n PaymentAcceptanceConfigurationsQueryBuilder,\n PaymentAcceptanceConfigurationsQueryResult,\n PaymentAcceptanceRule,\n PaymentBrands,\n PicassoAssigned,\n PicassoUnassigned,\n QueryPaymentAcceptanceConfigurationsRequest,\n QueryPaymentAcceptanceConfigurationsResponse,\n RestoreInfo,\n Restrictions,\n RestrictionsCountriesOneOf,\n RestrictionsCurrenciesOneOf,\n RestrictionsPaymentBrandsOneOf,\n ServiceProvisioned,\n ServiceRemoved,\n SiteCreated,\n SiteCreatedContext,\n SiteDeleted,\n SiteHardDeleted,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n SitePublished,\n SitePurgedExternally,\n SiteRenamed,\n SiteTransferred,\n SiteUndeleted,\n SiteUnpublished,\n SiteUrlChanged,\n SortOrder,\n Sorting,\n State,\n StudioAssigned,\n StudioUnassigned,\n TagList,\n Tags,\n UpdatePaymentAcceptanceConfiguration,\n UpdatePaymentAcceptanceConfigurationRequest,\n UpdatePaymentAcceptanceConfigurationResponse,\n WebhookIdentityType,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\n","import {\n createPaymentAcceptanceConfiguration as publicCreatePaymentAcceptanceConfiguration,\n getPaymentAcceptanceConfiguration as publicGetPaymentAcceptanceConfiguration,\n updatePaymentAcceptanceConfiguration as publicUpdatePaymentAcceptanceConfiguration,\n deletePaymentAcceptanceConfiguration as publicDeletePaymentAcceptanceConfiguration,\n queryPaymentAcceptanceConfigurations as publicQueryPaymentAcceptanceConfigurations,\n bulkUpdatePaymentAcceptanceConfigurationTags as publicBulkUpdatePaymentAcceptanceConfigurationTags,\n bulkUpdatePaymentAcceptanceConfigurationTagsByFilter as publicBulkUpdatePaymentAcceptanceConfigurationTagsByFilter,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\n/** @internal */\nexport const createPaymentAcceptanceConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicCreatePaymentAcceptanceConfiguration> &\n typeof publicCreatePaymentAcceptanceConfiguration\n> = /*#__PURE__*/ createRESTModule(publicCreatePaymentAcceptanceConfiguration);\n/** @internal */\nexport const getPaymentAcceptanceConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicGetPaymentAcceptanceConfiguration> &\n typeof publicGetPaymentAcceptanceConfiguration\n> = /*#__PURE__*/ createRESTModule(publicGetPaymentAcceptanceConfiguration);\n/** @internal */\nexport const updatePaymentAcceptanceConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicUpdatePaymentAcceptanceConfiguration> &\n typeof publicUpdatePaymentAcceptanceConfiguration\n> = /*#__PURE__*/ createRESTModule(publicUpdatePaymentAcceptanceConfiguration);\n/** @internal */\nexport const deletePaymentAcceptanceConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicDeletePaymentAcceptanceConfiguration> &\n typeof publicDeletePaymentAcceptanceConfiguration\n> = /*#__PURE__*/ createRESTModule(publicDeletePaymentAcceptanceConfiguration);\n/** @internal */\nexport const queryPaymentAcceptanceConfigurations: MaybeContext<\n BuildRESTFunction<typeof publicQueryPaymentAcceptanceConfigurations> &\n typeof publicQueryPaymentAcceptanceConfigurations\n> = /*#__PURE__*/ createRESTModule(publicQueryPaymentAcceptanceConfigurations);\n/** @internal */\nexport const bulkUpdatePaymentAcceptanceConfigurationTags: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdatePaymentAcceptanceConfigurationTags> &\n typeof publicBulkUpdatePaymentAcceptanceConfigurationTags\n> = /*#__PURE__*/ createRESTModule(\n publicBulkUpdatePaymentAcceptanceConfigurationTags\n);\n/** @internal */\nexport const bulkUpdatePaymentAcceptanceConfigurationTagsByFilter: MaybeContext<\n BuildRESTFunction<\n typeof publicBulkUpdatePaymentAcceptanceConfigurationTagsByFilter\n > &\n typeof publicBulkUpdatePaymentAcceptanceConfigurationTagsByFilter\n> = /*#__PURE__*/ createRESTModule(\n publicBulkUpdatePaymentAcceptanceConfigurationTagsByFilter\n);\n\nexport {\n SortOrder,\n State,\n SiteCreatedContext,\n Namespace,\n DeleteStatus,\n WebhookIdentityType,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\nexport {\n PaymentAcceptanceConfiguration,\n PaymentAcceptanceRule,\n PaymentBrands,\n Countries,\n Currencies,\n Restrictions,\n RestrictionsPaymentBrandsOneOf,\n RestrictionsCountriesOneOf,\n RestrictionsCurrenciesOneOf,\n ExtendedFields,\n Tags,\n TagList,\n CreatePaymentAcceptanceConfigurationRequest,\n CreatePaymentAcceptanceConfigurationResponse,\n GetPaymentAcceptanceConfigurationRequest,\n GetPaymentAcceptanceConfigurationResponse,\n UpdatePaymentAcceptanceConfigurationRequest,\n UpdatePaymentAcceptanceConfigurationResponse,\n DeletePaymentAcceptanceConfigurationRequest,\n DeletePaymentAcceptanceConfigurationResponse,\n QueryPaymentAcceptanceConfigurationsRequest,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Sorting,\n CursorPaging,\n QueryPaymentAcceptanceConfigurationsResponse,\n CursorPagingMetadata,\n Cursors,\n BulkUpdatePaymentAcceptanceConfigurationTagsRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n ItemMetadata,\n ApplicationError,\n BulkUpdatePaymentAcceptanceConfigurationTagsResult,\n BulkActionMetadata,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n Empty,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n Asset,\n SiteCreated,\n SiteTransferred,\n SiteDeleted,\n DeleteContext,\n SiteUndeleted,\n SitePublished,\n SiteUnpublished,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n ServiceProvisioned,\n ServiceRemoved,\n SiteRenamed,\n SiteHardDeleted,\n NamespaceChanged,\n StudioAssigned,\n StudioUnassigned,\n SiteUrlChanged,\n SitePurgedExternally,\n OdeditorAssigned,\n OdeditorUnassigned,\n PicassoAssigned,\n PicassoUnassigned,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n UpdatePaymentAcceptanceConfiguration,\n PaymentAcceptanceConfigurationsQueryResult,\n PaymentAcceptanceConfigurationsQueryBuilder,\n BulkUpdatePaymentAcceptanceConfigurationTagsOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\nexport {\n SortOrderWithLiterals,\n StateWithLiterals,\n SiteCreatedContextWithLiterals,\n NamespaceWithLiterals,\n DeleteStatusWithLiterals,\n WebhookIdentityTypeWithLiterals,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sDAAAA;AAAA,EAAA,4DAAAC;AAAA,EAAA,4CAAAC;AAAA,EAAA,4CAAAC;AAAA,EAAA,yCAAAC;AAAA,EAAA,4CAAAC;AAAA,EAAA,4CAAAC;AAAA;AAAA;;;ACAA,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,4FACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAA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,SAAO,CACL,KACA,YAEAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AA4BO,SAASC,sDACd,YAC+D;AAC/D,SAAO,CACL,QACA,YAEAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;AClOA,IAAAC,uBAAiC;AAI1B,IAAMC,wCAGK,2DAAiBA,qCAA0C;AAEtE,IAAMC,qCAGK,2DAAiBA,kCAAuC;AAEnE,IAAMC,wCAGK,2DAAiBA,qCAA0C;AAEtE,IAAMC,wCAGK,2DAAiBA,qCAA0C;AAEtE,IAAMC,wCAGK,2DAAiBA,qCAA0C;AAEtE,IAAMC,gDAGK;AAAA,EAChBA;AACF;AAEO,IAAMC,wDAKK;AAAA,EAChBA;AACF;","names":["bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","createPaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","updatePaymentAcceptanceConfiguration","import_timestamp","import_rest_modules","payload","import_transform_paths","SortOrder","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createPaymentAcceptanceConfiguration","sdkTransformError","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","import_rest_modules","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ActionEvent, ApplicationError, Asset, BulkActionMetadata, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, BulkUpdatePaymentAcceptanceConfigurationTagsOptions, BulkUpdatePaymentAcceptanceConfigurationTagsRequest, BulkUpdatePaymentAcceptanceConfigurationTagsResponse, BulkUpdatePaymentAcceptanceConfigurationTagsResult, CreatePaymentAcceptanceConfigurationRequest, CreatePaymentAcceptanceConfigurationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteContext, DeletePaymentAcceptanceConfigurationRequest, DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetPaymentAcceptanceConfigurationRequest, GetPaymentAcceptanceConfigurationResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationsQueryBuilder, PaymentAcceptanceConfigurationsQueryResult, PaymentAcceptanceRule, PicassoAssigned, PicassoUnassigned, QueryPaymentAcceptanceConfigurationsRequest, QueryPaymentAcceptanceConfigurationsResponse, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioUnassigned, TagList, Tags, UpdatePaymentAcceptanceConfiguration, UpdatePaymentAcceptanceConfigurationRequest, UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.js';
|
|
1
|
+
export { ActionEvent, ApplicationError, Asset, BulkActionMetadata, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, BulkUpdatePaymentAcceptanceConfigurationTagsOptions, BulkUpdatePaymentAcceptanceConfigurationTagsRequest, BulkUpdatePaymentAcceptanceConfigurationTagsResponse, BulkUpdatePaymentAcceptanceConfigurationTagsResult, Countries, CreatePaymentAcceptanceConfigurationRequest, CreatePaymentAcceptanceConfigurationResponse, Currencies, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteContext, DeletePaymentAcceptanceConfigurationRequest, DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetPaymentAcceptanceConfigurationRequest, GetPaymentAcceptanceConfigurationResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationsQueryBuilder, PaymentAcceptanceConfigurationsQueryResult, PaymentAcceptanceRule, PaymentBrands, PicassoAssigned, PicassoUnassigned, QueryPaymentAcceptanceConfigurationsRequest, QueryPaymentAcceptanceConfigurationsResponse, RestoreInfo, Restrictions, RestrictionsCountriesOneOf, RestrictionsCurrenciesOneOf, RestrictionsPaymentBrandsOneOf, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioUnassigned, TagList, Tags, UpdatePaymentAcceptanceConfiguration, UpdatePaymentAcceptanceConfigurationRequest, UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.js';
|