@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.29 → 1.0.30
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 +1075 -214
- package/build/cjs/index.js +152 -17
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +152 -17
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1075 -214
- package/build/es/index.mjs +139 -17
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +139 -17
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +152 -17
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1075 -214
- package/build/internal/cjs/index.typings.js +152 -17
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +139 -17
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1075 -214
- package/build/internal/es/index.typings.mjs +139 -17
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../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":["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,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,4FACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,oBAAoB;AAAA,MAClB;AAA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A;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,SAAS,wBAAwB;AAI1B,IAAMC,wCAGK,iCAAiBA,qCAA0C;AAEtE,IAAMC,qCAGK,iCAAiBA,kCAAuC;AAEnE,IAAMC,wCAGK,iCAAiBA,qCAA0C;AAEtE,IAAMC,wCAGK,iCAAiBA,qCAA0C;AAEtE,IAAMC,wCAGK,iCAAiBA,qCAA0C;AAEtE,IAAMC,gDAGK;AAAA,EAChBA;AACF;AAEO,IAAMC,wDAKK;AAAA,EAChBA;AACF;","names":["payload","transformPaths","SortOrder","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter"]}
|
|
1
|
+
{"version":3,"sources":["../../../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":["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 MetaSiteFullEvent {\n /** The entire DTO, describing MetaSite. */\n metaSite?: MetaSite;\n /** The context of this event (create, update, delete). */\n context?: ContextWithLiterals;\n /**\n * Events that triggered this event.\n * @maxSize 1000\n */\n events?: MetaSiteEvent[];\n}\n\nexport interface MetaSite {\n /**\n * A meta site id.\n * @format GUID\n */\n _id?: string;\n /** A version. */\n version?: string;\n /**\n * TBD.\n * @format GUID\n */\n originTemplateId?: string | null;\n /**\n * An owner id.\n * @format GUID\n */\n ownerId?: string;\n /** A document type. */\n documentType?: DocumentTypeWithLiterals;\n /**\n * A site name (free URL slug). TODO(meta-site): Our actual limit is 20, but we have 1M+ meta sites with longer site name (44034 published).\n * @maxLength 255\n */\n name?: string;\n /** A date of creation. */\n dateCreated?: string;\n /** The last update date. */\n dateUpdated?: string;\n /**\n * Legacy.\n * @maxLength 255\n */\n description?: string | null;\n /**\n * Legacy.\n * @maxSize 10\n */\n premiumFeatures?: PremiumFeatureWithLiterals[];\n /**\n * A favicon file name.\n * @maxLength 255\n */\n favicon?: string | null;\n /**\n * A list of domains.\n * @maxSize 1000\n */\n domains?: Domain[];\n /**\n * A list of renderers.\n * @maxSize 100\n */\n applications?: Application[];\n /**\n * A list of apps.\n * @maxSize 500\n */\n embeddedServices?: EmbeddedService[];\n /** A default SEO data. */\n defaultSeoData?: SeoData;\n /** google.protobuf.StringValue published_base_uri = 16; */\n wixSiteProperties?: WixSiteProperties;\n /**\n * A list of entry points.\n * @maxSize 10000\n */\n entryPoints?: EntryPoint[];\n /**\n * A list of aliases.\n * @maxSize 10000\n */\n aliases?: EntryPoint[];\n /**\n * A namespace (empty or 1 element always).\n * @maxSize 1\n */\n namespaces?: NamespaceWithLiterals[];\n /**\n * A list of flags.\n * @maxSize 100\n */\n flags?: FlagWithLiterals[];\n /**\n * Deprecated.\n * @maxSize 10000\n * @deprecated\n * @replacedBy redirector-server\n * @targetRemovalDate 2024-12-31\n */\n externalUriMappings?: ExternalUriMapping[];\n /** Indicates whether a meta site is published (accessible from router-server). */\n published?: boolean;\n /**\n * bool dirty_routes = 24;\n * bool dirty_meta_data = 25;\n */\n pendingApps?: PendingApps;\n /**\n * TBD.\n * @readonly\n * @format GUID\n */\n devSiteAppDefId?: string | null;\n /** ML. */\n languages?: SiteLanguages;\n /** A delete context. */\n deleteContext?: DeleteContext;\n /** TBD. */\n publishedHtmlSiteRevision?: string;\n /** A cached data from Routes API. */\n routesApiData?: RoutesApiData;\n /**\n * A date of creation of the account that owns this meta site.\n * @readonly\n */\n accountCreatedDate?: Date | null;\n}\n\nexport enum DocumentType {\n UNKNOWN_DOCUMENT_TYPE = 'UNKNOWN_DOCUMENT_TYPE',\n /** User Generated Content - user site */\n UGC = 'UGC',\n /** Sites used for template */\n TEMPLATE = 'TEMPLATE',\n /** Wix's Landing Pages, marketing pages, Wix Home Page etc. */\n WIX_SITE = 'WIX_SITE',\n}\n\n/** @enumType */\nexport type DocumentTypeWithLiterals =\n | DocumentType\n | 'UNKNOWN_DOCUMENT_TYPE'\n | 'UGC'\n | 'TEMPLATE'\n | 'WIX_SITE';\n\nexport enum PremiumFeature {\n UNKNOWN_PREMIUM_FEATURE = 'UNKNOWN_PREMIUM_FEATURE',\n SHOW_WIX_WHILE_LOADING = 'SHOW_WIX_WHILE_LOADING',\n ADS_FREE = 'ADS_FREE',\n HAS_ECOMMERCE = 'HAS_ECOMMERCE',\n HAS_DOMAIN = 'HAS_DOMAIN',\n ALWAYS_SHOW_FOOTER = 'ALWAYS_SHOW_FOOTER',\n NO_ADS_IN_SOCIAL_SITES = 'NO_ADS_IN_SOCIAL_SITES',\n}\n\n/** @enumType */\nexport type PremiumFeatureWithLiterals =\n | PremiumFeature\n | 'UNKNOWN_PREMIUM_FEATURE'\n | 'SHOW_WIX_WHILE_LOADING'\n | 'ADS_FREE'\n | 'HAS_ECOMMERCE'\n | 'HAS_DOMAIN'\n | 'ALWAYS_SHOW_FOOTER'\n | 'NO_ADS_IN_SOCIAL_SITES';\n\nexport interface Domain {\n /**\n * A domain name.\n * @maxLength 253\n */\n name?: string;\n /** Indicates whether the domain is primary. */\n primary?: boolean;\n /** Indicates whether the domain should have \"www.\" prefix. */\n hasWwwPrefix?: boolean;\n /** An SEO data. */\n trackingData?: TrackingData;\n /**\n * A registrar.\n * @maxLength 255\n */\n registrar?: string;\n}\n\nexport interface TrackingData {\n /**\n * Google Analytics ID.\n * @maxLength 255\n */\n googleAnalyticsId?: string | null;\n /**\n * Google Site verification code.\n * @maxLength 255\n */\n googleSiteVerificationCode?: string | null;\n /**\n * Google Remarketing ID.\n * @maxLength 255\n */\n googleRemarketingId?: string | null;\n /**\n * Facebook Remarketing ID.\n * @maxLength 255\n */\n facebookRemarketingId?: string | null;\n /**\n * Yandex Metrica ID.\n * @maxLength 255\n */\n yandexMetrikaId?: string | null;\n /**\n * TBD.\n * @maxLength 255\n */\n ipAnonymization?: string | null;\n}\n\n/** Renderer representation in meta site model (determines to which renderer to call when the request comes to public) */\nexport interface Application {\n /** Deprecated. */\n intId?: number;\n /**\n * An instance id. TODO(meta-site): Remove WixLists!!!\n * @maxLength 160\n */\n instanceId?: string;\n /**\n * An instance id of a template from which this instance was cloned.\n * @maxLength 36\n */\n templateIdInApp?: string | null;\n /**\n * A language code.\n * @maxLength 5\n */\n languageCode?: string;\n /** An application (renderer) type. */\n applicationType?: ApplicationTypeWithLiterals;\n /** TDB. */\n compatibility?: CompatibilityWithLiterals;\n /**\n * TDB.\n * @maxLength 255\n */\n supportedView?: string;\n /** An SEO data. */\n seoData?: SeoData;\n /** A date of creation. */\n dateCreated?: string;\n /** A date of the last update. */\n dateUpdated?: string;\n /** Indicates whether this instance was published (WixApplication SPI is called). */\n published?: boolean;\n /** An application state. Effectively unused. */\n state?: ApiStateWithLiterals;\n /**\n * TDB.\n * @maxLength 255\n */\n thumbnail?: string | null;\n /**\n * A list of mappings.\n * @maxSize 100\n */\n urlMappings?: UrlMapping[];\n}\n\nexport enum ApplicationType {\n UNKNOWN_APPLICATION_TYPE = 'UNKNOWN_APPLICATION_TYPE',\n FLASH = 'FLASH',\n FLASH_FACEBOOK = 'FLASH_FACEBOOK',\n FLASH_WIDGET = 'FLASH_WIDGET',\n FLASH_BANNER = 'FLASH_BANNER',\n HTML_MOBILE = 'HTML_MOBILE',\n HTML_WEB = 'HTML_WEB',\n HTML_FACEBOOK = 'HTML_FACEBOOK',\n BLOG = 'BLOG',\n WIX_LISTS = 'WIX_LISTS',\n /** Used only for wix sites used only. Basically proxy the request to the source outside of Wix. */\n STATIC_MOUNT = 'STATIC_MOUNT',\n /** Used only for wix sites used only. Basically redirects the request to the source outside of Wix */\n STATIC_MOUNT_REDIRECT = 'STATIC_MOUNT_REDIRECT',\n AMP_BLOG = 'AMP_BLOG',\n COMMUNITIES_AMP_BLOG = 'COMMUNITIES_AMP_BLOG',\n HTML_ANYWHERE = 'HTML_ANYWHERE',\n HOPP = 'HOPP',\n}\n\n/** @enumType */\nexport type ApplicationTypeWithLiterals =\n | ApplicationType\n | 'UNKNOWN_APPLICATION_TYPE'\n | 'FLASH'\n | 'FLASH_FACEBOOK'\n | 'FLASH_WIDGET'\n | 'FLASH_BANNER'\n | 'HTML_MOBILE'\n | 'HTML_WEB'\n | 'HTML_FACEBOOK'\n | 'BLOG'\n | 'WIX_LISTS'\n | 'STATIC_MOUNT'\n | 'STATIC_MOUNT_REDIRECT'\n | 'AMP_BLOG'\n | 'COMMUNITIES_AMP_BLOG'\n | 'HTML_ANYWHERE'\n | 'HOPP';\n\nexport enum Compatibility {\n UNKNOWN_COMPATIBILITY = 'UNKNOWN_COMPATIBILITY',\n WEB = 'WEB',\n MOBILE = 'MOBILE',\n ALL = 'ALL',\n}\n\n/** @enumType */\nexport type CompatibilityWithLiterals =\n | Compatibility\n | 'UNKNOWN_COMPATIBILITY'\n | 'WEB'\n | 'MOBILE'\n | 'ALL';\n\nexport interface SeoData {\n /**\n * A title.\n * @maxLength 255\n */\n title?: string | null;\n /** Indicates whether the site should be indexable by bots. */\n indexable?: boolean;\n /** TDB. */\n suppressTrackingCookies?: boolean;\n /**\n * TDB.\n * @maxLength 300\n */\n ogImage?: string | null;\n /**\n * A list of meta tags.\n * @maxSize 100\n */\n metaTags?: MetaTag[];\n /**\n * A canonical URL for a site.\n * @maxLength 4000\n */\n canonicalUrl?: string | null;\n}\n\nexport interface MetaTag {\n /**\n * A name.\n * @maxLength 50\n */\n name?: string;\n /**\n * A value.\n * @maxLength 500\n */\n value?: string;\n /** Indicates whether should be rendered as property. */\n property?: boolean;\n}\n\nexport enum ApiState {\n UNKNOWN_STATE = 'UNKNOWN_STATE',\n TEMPLATE = 'TEMPLATE',\n STUB = 'STUB',\n INITIALIZED = 'INITIALIZED',\n}\n\n/** @enumType */\nexport type ApiStateWithLiterals =\n | ApiState\n | 'UNKNOWN_STATE'\n | 'TEMPLATE'\n | 'STUB'\n | 'INITIALIZED';\n\nexport interface UrlMapping {\n /**\n * A host.\n * @maxLength 253\n */\n host?: string | null;\n /**\n * An URI.\n * @maxLength 4000\n */\n uri?: string;\n}\n\nexport interface EmbeddedService extends EmbeddedServiceAttributesOneOf {\n /** Deprecated. */\n appBuilder?: AppBuilderAttributes;\n /** Site members (wix-sm-webapp). */\n siteMembers?: SiteMembersAttributes;\n /** Deprecated. */\n listsApps?: ListsAppsAttributes;\n /** ECommerceAttributes ecommerce = 13 [deprecated = true]; */\n thirdParty?: ThirdPartyAppsAttributes;\n /** Wix code (data). */\n wixCode?: WixCodeAttributes;\n /** Deprecated. */\n mobileApp?: MobileAppAttributes;\n /** ADI/Onboarding. */\n onboarding?: OnboardingAttributes;\n /** Clubs. */\n clubs?: ClubsAttributes;\n /** Contacts. */\n contacts?: ContactsAttributes;\n /** Deprecated? */\n providedMailingService?: ProvidedMailingServiceAttributes;\n /** Deprecated. */\n intId?: number;\n /**\n * An instance id.\n * @maxLength 36\n */\n instanceId?: string;\n /** A date of creation. */\n dateCreated?: string;\n /** A date of the last update. */\n dateUpdated?: string;\n /** A state. */\n state?: ApiStateWithLiterals;\n /**\n * for data sharing will hold the original instance id of the child site\n * @maxLength 36\n */\n nonSharedInstanceId?: string | null;\n}\n\n/** @oneof */\nexport interface EmbeddedServiceAttributesOneOf {\n /** Deprecated. */\n appBuilder?: AppBuilderAttributes;\n /** Site members (wix-sm-webapp). */\n siteMembers?: SiteMembersAttributes;\n /** Deprecated. */\n listsApps?: ListsAppsAttributes;\n /** ECommerceAttributes ecommerce = 13 [deprecated = true]; */\n thirdParty?: ThirdPartyAppsAttributes;\n /** Wix code (data). */\n wixCode?: WixCodeAttributes;\n /** Deprecated. */\n mobileApp?: MobileAppAttributes;\n /** ADI/Onboarding. */\n onboarding?: OnboardingAttributes;\n /** Clubs. */\n clubs?: ClubsAttributes;\n /** Contacts. */\n contacts?: ContactsAttributes;\n /** Deprecated? */\n providedMailingService?: ProvidedMailingServiceAttributes;\n}\n\nexport enum Kind {\n OPEN = 'OPEN',\n CLOSED = 'CLOSED',\n APPLY_FOR_MEMBERSHIP = 'APPLY_FOR_MEMBERSHIP',\n}\n\n/** @enumType */\nexport type KindWithLiterals =\n | Kind\n | 'OPEN'\n | 'CLOSED'\n | 'APPLY_FOR_MEMBERSHIP';\n\nexport enum FormFace {\n REGISTER = 'REGISTER',\n LOGIN = 'LOGIN',\n}\n\n/** @enumType */\nexport type FormFaceWithLiterals = FormFace | 'REGISTER' | 'LOGIN';\n\nexport enum CollectionExposure {\n PUBLIC = 'PUBLIC',\n WIX_INTERNAL = 'WIX_INTERNAL',\n}\n\n/** @enumType */\nexport type CollectionExposureWithLiterals =\n | CollectionExposure\n | 'PUBLIC'\n | 'WIX_INTERNAL';\n\nexport interface MobileAppBannerInfo {\n /**\n * Deprecated.\n * @maxLength 255\n */\n name?: string;\n /**\n * Deprecated.\n * @maxLength 4000\n */\n iconUrl?: string;\n}\n\nexport interface AppBuilderAttributes {}\n\nexport interface SiteMembersAttributes {\n /** TDB. */\n kind?: KindWithLiterals;\n /** TDB. */\n formFace?: FormFaceWithLiterals;\n /** TDB. */\n collectionExposure?: CollectionExposureWithLiterals;\n}\n\nexport interface ListsAppsAttributes {\n /**\n * Deprecated.\n * @maxLength 36\n */\n appId?: string;\n /** Deprecated. */\n addedInEditor?: boolean | null;\n /** Deprecated. */\n visibleAtDashboard?: boolean | null;\n /**\n * Deprecated.\n * @maxLength 36\n */\n originInstanceId?: string | null;\n}\n\nexport interface ThirdPartyAppsAttributes {\n /**\n * An application definition id (app_id in dev-center).\n * @maxLength 36\n */\n appId?: string;\n /** Indicates whether a component was added in the editor. */\n addedInEditor?: boolean | null;\n /** Indicates whether an app should be hidden from the dashboard. */\n visibleAtDashboard?: boolean | null;\n /**\n * Identifier of the originating application.\n * @maxLength 36\n */\n originInstanceId?: string | null;\n /**\n * If set -- indicates that it's premium.\n * @maxLength 255\n */\n vendorProductId?: string | null;\n /** TBD. */\n editorDismissed?: boolean | null;\n /** If true - uninstalled. */\n revoked?: boolean | null;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * A version for rendering.\n * @maxLength 500\n */\n publishedVersion?: string | null;\n}\n\nexport interface WixCodeAttributes {}\n\nexport interface MobileAppAttributes {\n /** Deprecated. */\n banner?: MobileAppBannerInfo;\n}\n\nexport interface OnboardingAttributes {\n /** Indicates whether Onboarding editor is in use. */\n inUse?: boolean;\n}\n\nexport interface ClubsAttributes {}\n\nexport interface ContactsAttributes {}\n\nexport interface ProvidedMailingServiceAttributes {}\n\nexport interface WixSiteProperties {\n /** TBD. */\n userNameInHost?: boolean;\n /** TBD. */\n footerId?: number;\n /**\n * used to add html embeds to a site. eg: header footer\n * @maxLength 255\n * @maxSize 100\n */\n embedTags?: string[];\n /** TBD. */\n iframeRenderAllowed?: boolean;\n /** TBD. */\n httpsPolicy?: HttpsPolicyWithLiterals;\n}\n\nexport enum HttpsPolicy {\n UNKNOWN_HTTPS_POLICY = 'UNKNOWN_HTTPS_POLICY',\n DISALLOW = 'DISALLOW',\n ALLOW = 'ALLOW',\n ENFORCE = 'ENFORCE',\n}\n\n/** @enumType */\nexport type HttpsPolicyWithLiterals =\n | HttpsPolicy\n | 'UNKNOWN_HTTPS_POLICY'\n | 'DISALLOW'\n | 'ALLOW'\n | 'ENFORCE';\n\nexport interface EntryPoint extends EntryPointDataOneOf {\n /** TBD. */\n userInHost?: UserInHost;\n /** TBD. */\n userInPath?: UserInPath;\n /** TBD. */\n domain?: EntryPointDomain;\n /** TBD. */\n singlePath?: SinglePath;\n /** TBD. */\n multilingualDomain?: MultilingualDomain;\n /** Indicates whether an entry point is primary. */\n primary?: boolean;\n}\n\n/** @oneof */\nexport interface EntryPointDataOneOf {\n /** TBD. */\n userInHost?: UserInHost;\n /** TBD. */\n userInPath?: UserInPath;\n /** TBD. */\n domain?: EntryPointDomain;\n /** TBD. */\n singlePath?: SinglePath;\n /** TBD. */\n multilingualDomain?: MultilingualDomain;\n}\n\nexport interface UserInHost {\n /**\n * A user name.\n * @maxLength 100\n */\n userName?: string;\n /**\n * A site name. TODO(meta-site): the limit is 20, but we have meta sites with longer site name.\n * @maxLength 255\n */\n siteName?: string;\n}\n\nexport interface UserInPath {\n /**\n * A user name.\n * @maxLength 100\n */\n userName?: string;\n /**\n * A site name. TODO(meta-site): the limit is 20, but we have meta sites with longer site name.\n * @maxLength 255\n */\n siteName?: string;\n}\n\nexport interface EntryPointDomain {\n /**\n * A domain name.\n * @maxLength 253\n */\n name?: string;\n}\n\nexport interface SinglePath {\n /**\n * A full URL.\n * @maxLength 4000\n */\n path?: string;\n}\n\nexport interface MultilingualDomain {\n /**\n * this is the full domain including language code e.g. fr.domain.com\n * @maxLength 253\n */\n name?: string;\n /**\n * A language code.\n * @maxLength 5\n */\n languageCode?: string;\n}\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\nexport enum Flag {\n /** Unknown flag. */\n UNKNOWN_FLAG = 'UNKNOWN_FLAG',\n /**\n * ECOM_TEST_DRIVE = 1 [deprecated = true];\n * ECOM_MIGRATED = 2 [deprecated = true];\n * If present, forces usage of wixsite.com/editorx.io for free site + no usage of #!.\n */\n URL_MIGRATED = 'URL_MIGRATED',\n /** Indicates whether HTTPS is used for accessing site. */\n USE_HTTPS = 'USE_HTTPS',\n /** Indicates that the site is managed by Editor X. Implications: different domain (editorx.com and editorx.io). */\n EDITOR_X = 'EDITOR_X',\n /** Indicates metasite blocked from publishing and added additional filtering in listing API (MSS). READ_ONLY. */\n BLOCKED = 'BLOCKED',\n /**\n * Indicates that default routing won't be used for this meta site. Additionally it means that this meta site\n * doesn't have viewer url based on meta site data.\n *\n * Default routing is based on domains, free url, ML etc. None of it will be used. This feature is needed\n * when routing is defined completely in Routes API (routes-writer or meta-site-routes).\n */\n DONT_USE_DEFAULT_ROUTING = 'DONT_USE_DEFAULT_ROUTING',\n /** Indicates the site is managed bv Wix Studio. Implications: different domain */\n STUDIO = 'STUDIO',\n /** Indicates the site is used as critical asset and as such is protected. You would be only able to provision applications to this meta site. */\n CRITICAL_ASSET = 'CRITICAL_ASSET',\n /** Indicates that site is managed by Odeditor */\n ODEDITOR = 'ODEDITOR',\n /** Indicates that site is managed by Picasso */\n PICASSO = 'PICASSO',\n}\n\n/** @enumType */\nexport type FlagWithLiterals =\n | Flag\n | 'UNKNOWN_FLAG'\n | 'URL_MIGRATED'\n | 'USE_HTTPS'\n | 'EDITOR_X'\n | 'BLOCKED'\n | 'DONT_USE_DEFAULT_ROUTING'\n | 'STUDIO'\n | 'CRITICAL_ASSET'\n | 'ODEDITOR'\n | 'PICASSO';\n\nexport interface ExternalUriMapping {\n /**\n * Deprecated.\n * @maxLength 255\n */\n fromExternalUri?: string;\n /**\n * Deprecated.\n * @maxLength 255\n */\n toWixUri?: string;\n /**\n * Deprecated.\n * @maxLength 255\n */\n oldToWixUri?: string | null;\n /** Deprecated. */\n requireDomain?: boolean | null;\n}\n\nexport interface PendingApps {\n /**\n * A list of pending apps.\n * @maxSize 100\n */\n apps?: PendingApp[];\n}\n\nexport enum PendingReason {\n UNKNOWN = 'UNKNOWN',\n PREMIUM = 'PREMIUM',\n APP_MARKET = 'APP_MARKET',\n}\n\n/** @enumType */\nexport type PendingReasonWithLiterals =\n | PendingReason\n | 'UNKNOWN'\n | 'PREMIUM'\n | 'APP_MARKET';\n\nexport interface PendingApp {\n /**\n * App definition id.\n * @maxLength 36\n */\n appId?: string;\n /**\n * A reason.\n * @maxSize 2\n */\n reasons?: PendingReasonWithLiterals[];\n}\n\n/** Determined by Multilingual via SiteProperties */\nexport interface SiteLanguages {\n /** A primary language. */\n primary?: SiteLanguage;\n /**\n * All secondaries.\n * @maxSize 1000\n */\n secondaries?: SiteLanguage[];\n}\n\nexport interface SiteLanguage {\n /**\n * A language code.\n * @maxLength 5\n */\n languageCode?: string;\n /** A resolution method. */\n resolutionMethod?: ResolutionMethodWithLiterals;\n}\n\nexport enum ResolutionMethod {\n /** Render site for language using query param. eg: https://www.alonkochba.com/?lang=fr */\n QUERY_PARAM = 'QUERY_PARAM',\n /** Render site for language using subdomain. eg: https://fr.alonkochba.com/ */\n SUBDOMAIN = 'SUBDOMAIN',\n /** Render site for language using subdirectory. eg: https://www.alonkochba.com/fr */\n SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ResolutionMethodWithLiterals =\n | ResolutionMethod\n | 'QUERY_PARAM'\n | 'SUBDOMAIN'\n | 'SUBDIRECTORY';\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/** Contains data related to Routes API (routes-writer service). */\nexport interface RoutesApiData {\n /** A primary URL selected in Routes API. */\n primaryUrl?: PrimaryUrl;\n}\n\nexport interface PrimaryUrl {\n /**\n * A route id of the primary URL.\n * @maxLength 36\n */\n routeId?: string;\n /**\n * A URL.\n * @maxLength 4000\n */\n url?: string;\n}\n\nexport enum Context {\n UNKNOWN = 'UNKNOWN',\n /** Creation of the site (might be from template, clone, blank site, etc). */\n CREATE = 'CREATE',\n /** Update of the existing site. */\n UPDATE = 'UPDATE',\n /** Deletion of the site FOREVER (shouldn't present in db anymore). */\n HARD_DELETE = 'HARD_DELETE',\n /** Soft deletion of the site (could be restored). */\n ARCHIVE = 'ARCHIVE',\n /** Restoration of a soft deleted site. */\n RESTORE = 'RESTORE',\n /** Update of deleted meta site. Happens rarely, only because of data migrations. */\n UPDATE_DELETED = 'UPDATE_DELETED',\n /** notify about deleted site. */\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type ContextWithLiterals =\n | Context\n | 'UNKNOWN'\n | 'CREATE'\n | 'UPDATE'\n | 'HARD_DELETE'\n | 'ARCHIVE'\n | 'RESTORE'\n | 'UPDATE_DELETED'\n | 'PURGED_EXTERNALLY';\n\nexport interface MetaSiteEvent extends MetaSiteEventPayloadOneOf {\n /** Site is created. */\n created?: SiteCreated;\n /** Site is transferred. */\n transferred?: SiteTransferred;\n /** Site is deleted. */\n deleted?: SiteDeleted;\n /** Site is undeleted (restored)., */\n undeleted?: SiteUndeleted;\n /** Site is published. */\n published?: SitePublished;\n /** Site is unpublished. */\n unpublished?: SiteUnpublished;\n /** Marked as Template. */\n markedAsTemplate?: SiteMarkedAsTemplate;\n /** Marked as WixSite. */\n markedAsWixSite?: SiteMarkedAsWixSite;\n /** A service is provisioned. */\n serviceProvisioned?: ServiceProvisioned;\n /** A service is removed. */\n serviceRemoved?: ServiceRemoved;\n /** Site is renamed. */\n renamed?: SiteRenamed;\n /** Site is hard deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Site's namespace is changed. */\n namespaceChanged?: NamespaceChanged;\n /** Site's URLs are changed. */\n urlChanged?: SiteUrlChanged;\n /** Site is marked/created as Wix Studio site */\n studioAssigned?: StudioAssigned;\n /** Site is no longer WIx Studio site */\n studioUnassigned?: StudioUnassigned;\n /** A service mentioned in one of the payloads is a Virtual Tpa */\n virtualTpaMentioned?: VirtualTpaMentioned;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Site is marked/created as Odeditor site */\n odeditorAssigned?: OdeditorAssigned;\n /** Site is no longer Odeditor site */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Site is marked/created as Picasso site */\n picassoAssigned?: PicassoAssigned;\n /** Site is no longer Picasso site */\n picassoUnassigned?: PicassoUnassigned;\n}\n\n/** @oneof */\nexport interface MetaSiteEventPayloadOneOf {\n /** Site is created. */\n created?: SiteCreated;\n /** Site is transferred. */\n transferred?: SiteTransferred;\n /** Site is deleted. */\n deleted?: SiteDeleted;\n /** Site is undeleted (restored)., */\n undeleted?: SiteUndeleted;\n /** Site is published. */\n published?: SitePublished;\n /** Site is unpublished. */\n unpublished?: SiteUnpublished;\n /** Marked as Template. */\n markedAsTemplate?: SiteMarkedAsTemplate;\n /** Marked as WixSite. */\n markedAsWixSite?: SiteMarkedAsWixSite;\n /** A service is provisioned. */\n serviceProvisioned?: ServiceProvisioned;\n /** A service is removed. */\n serviceRemoved?: ServiceRemoved;\n /** Site is renamed. */\n renamed?: SiteRenamed;\n /** Site is hard deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Site's namespace is changed. */\n namespaceChanged?: NamespaceChanged;\n /** Site's URLs are changed. */\n urlChanged?: SiteUrlChanged;\n /** Site is marked/created as Wix Studio site */\n studioAssigned?: StudioAssigned;\n /** Site is no longer WIx Studio site */\n studioUnassigned?: StudioUnassigned;\n /** A service mentioned in one of the payloads is a Virtual Tpa */\n virtualTpaMentioned?: VirtualTpaMentioned;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Site is marked/created as Odeditor site */\n odeditorAssigned?: OdeditorAssigned;\n /** Site is no longer Odeditor site */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Site is marked/created as Picasso site */\n picassoAssigned?: PicassoAssigned;\n /** Site is no longer Picasso site */\n picassoUnassigned?: PicassoUnassigned;\n}\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\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\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/**\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/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Used in case a Virtual Tpa is one of the apps mentioned in one of the payloads.\n * A Virtual Tpa represents an embedded service that is in the process of migrating to a ThirdPartyApp.\n * It is not persisted on the MetaSite, or in app-container, but it is treated by consumers outside of MetaSite as if it is a provisioned app.\n */\nexport interface VirtualTpaMentioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n}\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 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 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 ApiState,\n AppBuilderAttributes,\n Application,\n ApplicationError,\n ApplicationType,\n Asset,\n BulkActionMetadata,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n BulkUpdatePaymentAcceptanceConfigurationTagsOptions,\n BulkUpdatePaymentAcceptanceConfigurationTagsRequest,\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n BulkUpdatePaymentAcceptanceConfigurationTagsResult,\n ClubsAttributes,\n CollectionExposure,\n Compatibility,\n ContactsAttributes,\n Context,\n CreatePaymentAcceptanceConfigurationRequest,\n CreatePaymentAcceptanceConfigurationResponse,\n CursorPaging,\n CursorPagingMetadata,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Cursors,\n DeleteContext,\n DeletePaymentAcceptanceConfigurationRequest,\n DeletePaymentAcceptanceConfigurationResponse,\n DeleteStatus,\n DocumentType,\n Domain,\n DomainEvent,\n DomainEventBodyOneOf,\n EmbeddedService,\n EmbeddedServiceAttributesOneOf,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EntryPoint,\n EntryPointDataOneOf,\n EntryPointDomain,\n ExtendedFields,\n ExternalUriMapping,\n Flag,\n FormFace,\n GetPaymentAcceptanceConfigurationRequest,\n GetPaymentAcceptanceConfigurationResponse,\n HttpsPolicy,\n IdentificationData,\n IdentificationDataIdOneOf,\n ItemMetadata,\n Kind,\n ListsAppsAttributes,\n MessageEnvelope,\n MetaSite,\n MetaSiteEvent,\n MetaSiteEventPayloadOneOf,\n MetaSiteFullEvent,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n MetaTag,\n MobileAppAttributes,\n MobileAppBannerInfo,\n MultilingualDomain,\n Namespace,\n NamespaceChanged,\n OdeditorAssigned,\n OdeditorUnassigned,\n OnboardingAttributes,\n PaymentAcceptanceConfiguration,\n PaymentAcceptanceConfigurationsQueryBuilder,\n PaymentAcceptanceConfigurationsQueryResult,\n PaymentAcceptanceRule,\n PendingApp,\n PendingApps,\n PendingReason,\n PicassoAssigned,\n PicassoUnassigned,\n PremiumFeature,\n PrimaryUrl,\n ProvidedMailingServiceAttributes,\n QueryPaymentAcceptanceConfigurationsRequest,\n QueryPaymentAcceptanceConfigurationsResponse,\n ResolutionMethod,\n RestoreInfo,\n RoutesApiData,\n SeoData,\n ServiceProvisioned,\n ServiceRemoved,\n SinglePath,\n SiteCreated,\n SiteCreatedContext,\n SiteDeleted,\n SiteHardDeleted,\n SiteLanguage,\n SiteLanguages,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n SiteMembersAttributes,\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 ThirdPartyAppsAttributes,\n TrackingData,\n UpdatePaymentAcceptanceConfiguration,\n UpdatePaymentAcceptanceConfigurationRequest,\n UpdatePaymentAcceptanceConfigurationResponse,\n UrlMapping,\n UserInHost,\n UserInPath,\n VirtualTpaMentioned,\n WebhookIdentityType,\n WixCodeAttributes,\n WixSiteProperties,\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 DocumentType,\n PremiumFeature,\n ApplicationType,\n Compatibility,\n ApiState,\n Kind,\n FormFace,\n CollectionExposure,\n HttpsPolicy,\n Namespace,\n Flag,\n PendingReason,\n ResolutionMethod,\n DeleteStatus,\n Context,\n SiteCreatedContext,\n State,\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 MetaSiteFullEvent,\n MetaSite,\n Domain,\n TrackingData,\n Application,\n SeoData,\n MetaTag,\n UrlMapping,\n EmbeddedService,\n EmbeddedServiceAttributesOneOf,\n MobileAppBannerInfo,\n AppBuilderAttributes,\n SiteMembersAttributes,\n ListsAppsAttributes,\n ThirdPartyAppsAttributes,\n WixCodeAttributes,\n MobileAppAttributes,\n OnboardingAttributes,\n ClubsAttributes,\n ContactsAttributes,\n ProvidedMailingServiceAttributes,\n WixSiteProperties,\n EntryPoint,\n EntryPointDataOneOf,\n UserInHost,\n UserInPath,\n EntryPointDomain,\n SinglePath,\n MultilingualDomain,\n ExternalUriMapping,\n PendingApps,\n PendingApp,\n SiteLanguages,\n SiteLanguage,\n DeleteContext,\n RoutesApiData,\n PrimaryUrl,\n MetaSiteEvent,\n MetaSiteEventPayloadOneOf,\n SiteCreated,\n SiteTransferred,\n SiteDeleted,\n SiteUndeleted,\n SitePublished,\n SiteUnpublished,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n ServiceProvisioned,\n ServiceRemoved,\n SiteRenamed,\n SiteHardDeleted,\n NamespaceChanged,\n SiteUrlChanged,\n StudioAssigned,\n StudioUnassigned,\n VirtualTpaMentioned,\n SitePurgedExternally,\n OdeditorAssigned,\n OdeditorUnassigned,\n PicassoAssigned,\n PicassoUnassigned,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n Asset,\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 DocumentTypeWithLiterals,\n PremiumFeatureWithLiterals,\n ApplicationTypeWithLiterals,\n CompatibilityWithLiterals,\n ApiStateWithLiterals,\n KindWithLiterals,\n FormFaceWithLiterals,\n CollectionExposureWithLiterals,\n HttpsPolicyWithLiterals,\n NamespaceWithLiterals,\n FlagWithLiterals,\n PendingReasonWithLiterals,\n ResolutionMethodWithLiterals,\n DeleteStatusWithLiterals,\n ContextWithLiterals,\n SiteCreatedContextWithLiterals,\n StateWithLiterals,\n WebhookIdentityTypeWithLiterals,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;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;AAAA,MACZ;AAAA,IACF;AAAA,IACA,cAAc;AAAA,MACZ;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAA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L,QACA,YAEAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;AClOA,SAAS,wBAAwB;AAI1B,IAAMC,wCAGK,iCAAiBA,qCAA0C;AAEtE,IAAMC,qCAGK,iCAAiBA,kCAAuC;AAEnE,IAAMC,wCAGK,iCAAiBA,qCAA0C;AAEtE,IAAMC,wCAGK,iCAAiBA,qCAA0C;AAEtE,IAAMC,wCAGK,iCAAiBA,qCAA0C;AAEtE,IAAMC,gDAGK;AAAA,EAChBA;AACF;AAEO,IAAMC,wDAKK;AAAA,EAChBA;AACF;","names":["payload","transformPaths","SortOrder","DocumentType","PremiumFeature","ApplicationType","Compatibility","ApiState","Kind","FormFace","CollectionExposure","HttpsPolicy","Namespace","Flag","PendingReason","ResolutionMethod","DeleteStatus","Context","SiteCreatedContext","State","WebhookIdentityType","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter"]}
|