@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.41 → 1.0.43
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 +4 -4
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +72 -5
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -2
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +72 -5
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +4 -2
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +72 -5
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +4 -2
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +72 -5
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +4 -2
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
package/build/es/meta.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../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.types.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.ts"],"sourcesContent":["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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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/**\n * Add PaymentAcceptanceConfiguration Rules\n * as result new rules wll be validated and added to existing ones\n * some extra rules may be added\n */\nexport function addPaymentAcceptanceConfigurationRules(\n payload: object\n): RequestOptionsFactory<any> {\n function __addPaymentAcceptanceConfigurationRules({ 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.AddPaymentAcceptanceConfigurationRules',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}/add-rules',\n data: payload,\n host,\n }\n ),\n data: 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 __addPaymentAcceptanceConfigurationRules;\n}\n\n/**\n * Remove PaymentAcceptanceConfiguration\n * as result existing rules will be removed from PaymentAcceptanceConfiguration\n * some extra rules may be deleted\n */\nexport function removePaymentAcceptanceConfigurationRules(\n payload: object\n): RequestOptionsFactory<any> {\n function __removePaymentAcceptanceConfigurationRules({ 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.RemovePaymentAcceptanceConfigurationRules',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}/remove-rules',\n data: payload,\n host,\n }\n ),\n data: 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 __removePaymentAcceptanceConfigurationRules;\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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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","/** 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 * Rule Id\n * @format GUID\n * @readonly\n * @immutable\n */\n id?: string | null;\n /**\n * Payment method type id\n * @format GUID\n */\n paymentMethodTypeId?: string;\n /**\n * Account connection id\n * @format GUID\n */\n accountConnectionId?: string;\n /** Merchant enabled */\n merchantEnabled?: boolean;\n}\n\nexport interface PaymentBrands {\n /**\n * Payment brand ids\n * @maxSize 200\n * @format GUID\n */\n paymentBrandIds?: string[];\n}\n\nexport interface Countries {\n /**\n * Country codes\n * @maxSize 200\n * @format COUNTRY\n */\n countryCodes?: string[];\n}\n\nexport interface Currencies {\n /**\n * Currency codes\n * @maxSize 200\n * @format CURRENCY\n */\n currencyCodes?: string[];\n}\n\nexport interface Restrictions\n extends RestrictionsPaymentBrandsOneOf,\n RestrictionsCountriesOneOf,\n RestrictionsCurrenciesOneOf {\n /** Allowed payment brands */\n allowedPaymentBrands?: PaymentBrands;\n /** Prohibited payment brands */\n prohibitedPaymentBrands?: PaymentBrands;\n /** Allowed countries */\n allowedCountries?: Countries;\n /** Prohibited countries */\n prohibitedCountries?: Countries;\n /** Allowed currencies */\n allowedCurrencies?: Currencies;\n /** Prohibited currencies */\n prohibitedCurrencies?: Currencies;\n}\n\n/** @oneof */\nexport interface RestrictionsPaymentBrandsOneOf {\n /** Allowed payment brands */\n allowedPaymentBrands?: PaymentBrands;\n /** Prohibited payment brands */\n prohibitedPaymentBrands?: PaymentBrands;\n}\n\n/** @oneof */\nexport interface RestrictionsCountriesOneOf {\n /** Allowed countries */\n allowedCountries?: Countries;\n /** Prohibited countries */\n prohibitedCountries?: Countries;\n}\n\n/** @oneof */\nexport interface RestrictionsCurrenciesOneOf {\n /** Allowed currencies */\n allowedCurrencies?: Currencies;\n /** Prohibited currencies */\n prohibitedCurrencies?: Currencies;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n tags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\nexport interface CreatePaymentAcceptanceConfigurationRequest {\n /** PaymentAcceptanceConfiguration to be created. */\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;\n}\n\nexport interface CreatePaymentAcceptanceConfigurationResponse {\n /** The created PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface GetPaymentAcceptanceConfigurationRequest {\n /**\n * ID of the PaymentAcceptanceConfiguration to retrieve.\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n}\n\nexport interface GetPaymentAcceptanceConfigurationResponse {\n /** The requested PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface UpdatePaymentAcceptanceConfigurationRequest {\n /** PaymentAcceptanceConfiguration to be updated, may be partial. */\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;\n}\n\nexport interface UpdatePaymentAcceptanceConfigurationResponse {\n /** Updated PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface AddPaymentAcceptanceConfigurationRulesRequest {\n /**\n * Id of payment acceptance configuration to update\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n /**\n * Payment acceptance configuration revision\n * @readonly\n */\n paymentAcceptanceConfigurationRevision?: string | null;\n /**\n * Rules to add\n * @minSize 1\n * @maxSize 1000\n */\n rules: PaymentAcceptanceRule[];\n}\n\nexport interface AddPaymentAcceptanceConfigurationRulesResponse {\n /** Updated PaymentAcceptanceConfiguration */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface RemovePaymentAcceptanceConfigurationRulesRequest {\n /**\n * Id of payment acceptance configuration to update\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n /**\n * Payment acceptance configuration revision\n * @readonly\n */\n paymentAcceptanceConfigurationRevision?: string | null;\n /**\n * IDs of the rules to remove\n * @format GUID\n * @minSize 1\n * @maxSize 1000\n */\n ruleIds: string[];\n}\n\nexport interface RemovePaymentAcceptanceConfigurationRulesResponse {\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 /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\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 /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\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\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\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","import * as ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js';\nimport * as ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js';\nimport * as ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createPaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.CreatePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.CreatePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.CreatePaymentAcceptanceConfigurationResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.CreatePaymentAcceptanceConfigurationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.createPaymentAcceptanceConfiguration(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/payment-acceptance-configurations',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<\n 'GET',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.GetPaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.GetPaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.GetPaymentAcceptanceConfigurationResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.GetPaymentAcceptanceConfigurationResponse\n> {\n const payload = {\n paymentAcceptanceConfigurationId: ':paymentAcceptanceConfigurationId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.getPaymentAcceptanceConfiguration(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updatePaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<\n 'PATCH',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.UpdatePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.UpdatePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.UpdatePaymentAcceptanceConfigurationResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.UpdatePaymentAcceptanceConfigurationResponse\n> {\n const payload = {\n paymentAcceptanceConfiguration: { id: ':paymentAcceptanceConfigurationId' },\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.updatePaymentAcceptanceConfiguration(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfiguration.id}',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function addPaymentAcceptanceConfigurationRules(): __PublicMethodMetaInfo<\n 'POST',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.AddPaymentAcceptanceConfigurationRulesRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.AddPaymentAcceptanceConfigurationRulesRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.AddPaymentAcceptanceConfigurationRulesResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.AddPaymentAcceptanceConfigurationRulesResponse\n> {\n const payload = {\n paymentAcceptanceConfigurationId: ':paymentAcceptanceConfigurationId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.addPaymentAcceptanceConfigurationRules(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}/add-rules',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function removePaymentAcceptanceConfigurationRules(): __PublicMethodMetaInfo<\n 'POST',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.RemovePaymentAcceptanceConfigurationRulesRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.RemovePaymentAcceptanceConfigurationRulesRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.RemovePaymentAcceptanceConfigurationRulesResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.RemovePaymentAcceptanceConfigurationRulesResponse\n> {\n const payload = {\n paymentAcceptanceConfigurationId: ':paymentAcceptanceConfigurationId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.removePaymentAcceptanceConfigurationRules(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}/remove-rules',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deletePaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<\n 'DELETE',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.DeletePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.DeletePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.DeletePaymentAcceptanceConfigurationResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.DeletePaymentAcceptanceConfigurationResponse\n> {\n const payload = {\n paymentAcceptanceConfigurationId: ':paymentAcceptanceConfigurationId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.deletePaymentAcceptanceConfiguration(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryPaymentAcceptanceConfigurations(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.QueryPaymentAcceptanceConfigurationsRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.QueryPaymentAcceptanceConfigurationsRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.QueryPaymentAcceptanceConfigurationsResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.QueryPaymentAcceptanceConfigurationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.queryPaymentAcceptanceConfigurations(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/payment-acceptance-configurations/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePaymentAcceptanceConfigurationTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.BulkUpdatePaymentAcceptanceConfigurationTagsRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.BulkUpdatePaymentAcceptanceConfigurationTagsRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.BulkUpdatePaymentAcceptanceConfigurationTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.bulkUpdatePaymentAcceptanceConfigurationTags(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/payment-acceptance-configurations/update-tags',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/payment-acceptance-configurations/update-tags-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n PaymentAcceptanceConfiguration as PaymentAcceptanceConfigurationOriginal,\n PaymentAcceptanceRule as PaymentAcceptanceRuleOriginal,\n PaymentBrands as PaymentBrandsOriginal,\n Countries as CountriesOriginal,\n Currencies as CurrenciesOriginal,\n Restrictions as RestrictionsOriginal,\n RestrictionsPaymentBrandsOneOf as RestrictionsPaymentBrandsOneOfOriginal,\n RestrictionsCountriesOneOf as RestrictionsCountriesOneOfOriginal,\n RestrictionsCurrenciesOneOf as RestrictionsCurrenciesOneOfOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n Tags as TagsOriginal,\n TagList as TagListOriginal,\n CreatePaymentAcceptanceConfigurationRequest as CreatePaymentAcceptanceConfigurationRequestOriginal,\n CreatePaymentAcceptanceConfigurationResponse as CreatePaymentAcceptanceConfigurationResponseOriginal,\n GetPaymentAcceptanceConfigurationRequest as GetPaymentAcceptanceConfigurationRequestOriginal,\n GetPaymentAcceptanceConfigurationResponse as GetPaymentAcceptanceConfigurationResponseOriginal,\n UpdatePaymentAcceptanceConfigurationRequest as UpdatePaymentAcceptanceConfigurationRequestOriginal,\n UpdatePaymentAcceptanceConfigurationResponse as UpdatePaymentAcceptanceConfigurationResponseOriginal,\n AddPaymentAcceptanceConfigurationRulesRequest as AddPaymentAcceptanceConfigurationRulesRequestOriginal,\n AddPaymentAcceptanceConfigurationRulesResponse as AddPaymentAcceptanceConfigurationRulesResponseOriginal,\n RemovePaymentAcceptanceConfigurationRulesRequest as RemovePaymentAcceptanceConfigurationRulesRequestOriginal,\n RemovePaymentAcceptanceConfigurationRulesResponse as RemovePaymentAcceptanceConfigurationRulesResponseOriginal,\n DeletePaymentAcceptanceConfigurationRequest as DeletePaymentAcceptanceConfigurationRequestOriginal,\n DeletePaymentAcceptanceConfigurationResponse as DeletePaymentAcceptanceConfigurationResponseOriginal,\n QueryPaymentAcceptanceConfigurationsRequest as QueryPaymentAcceptanceConfigurationsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryPaymentAcceptanceConfigurationsResponse as QueryPaymentAcceptanceConfigurationsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsRequest as BulkUpdatePaymentAcceptanceConfigurationTagsRequestOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse as BulkUpdatePaymentAcceptanceConfigurationTagsResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsResult as BulkUpdatePaymentAcceptanceConfigurationTagsResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest as BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequestOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse as BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponseOriginal,\n Empty as EmptyOriginal,\n MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n Asset as AssetOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCreatedContext as SiteCreatedContextOriginal,\n SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n Namespace as NamespaceOriginal,\n NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n SiteTransferred as SiteTransferredOriginal,\n SiteDeleted as SiteDeletedOriginal,\n DeleteContext as DeleteContextOriginal,\n DeleteStatus as DeleteStatusOriginal,\n DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n SiteUndeleted as SiteUndeletedOriginal,\n SitePublished as SitePublishedOriginal,\n SiteUnpublished as SiteUnpublishedOriginal,\n SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n ServiceProvisioned as ServiceProvisionedOriginal,\n ServiceRemoved as ServiceRemovedOriginal,\n SiteRenamed as SiteRenamedOriginal,\n SiteHardDeleted as SiteHardDeletedOriginal,\n NamespaceChanged as NamespaceChangedOriginal,\n StudioAssigned as StudioAssignedOriginal,\n StudioUnassigned as StudioUnassignedOriginal,\n SiteUrlChanged as SiteUrlChangedOriginal,\n SitePurgedExternally as SitePurgedExternallyOriginal,\n OdeditorAssigned as OdeditorAssignedOriginal,\n OdeditorUnassigned as OdeditorUnassignedOriginal,\n PicassoAssigned as PicassoAssignedOriginal,\n PicassoUnassigned as PicassoUnassignedOriginal,\n WixelAssigned as WixelAssignedOriginal,\n WixelUnassigned as WixelUnassignedOriginal,\n StudioTwoAssigned as StudioTwoAssignedOriginal,\n StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js';\n"],"mappings":";AAAA,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;AAA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oBACiF;AAAA,IACnF;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gDAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiF;AAAA,IACnF;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wDAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiF;AAAA,IACnF;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","SortOrder","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","addPaymentAcceptanceConfigurationRules","removePaymentAcceptanceConfigurationRules","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter"]}
|
|
1
|
+
{"version":3,"sources":["../../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.types.ts","../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.ts"],"sourcesContent":["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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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/**\n * Add PaymentAcceptanceConfiguration Rules\n * as result new rules wll be validated and added to existing ones\n * some extra rules may be added\n */\nexport function addPaymentAcceptanceConfigurationRules(\n payload: object\n): RequestOptionsFactory<any> {\n function __addPaymentAcceptanceConfigurationRules({ 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.AddPaymentAcceptanceConfigurationRules',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}/add-rules',\n data: payload,\n host,\n }\n ),\n data: 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 __addPaymentAcceptanceConfigurationRules;\n}\n\n/**\n * Remove PaymentAcceptanceConfiguration\n * as result existing rules will be removed from PaymentAcceptanceConfiguration\n * some extra rules may be deleted\n */\nexport function removePaymentAcceptanceConfigurationRules(\n payload: object\n): RequestOptionsFactory<any> {\n function __removePaymentAcceptanceConfigurationRules({ 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.RemovePaymentAcceptanceConfigurationRules',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(\n {\n protoPath:\n '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}/remove-rules',\n data: payload,\n host,\n }\n ),\n data: 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 __removePaymentAcceptanceConfigurationRules;\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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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 migrationOptions: {\n optInTransformResponse: true,\n },\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","/** 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 * Rule Id\n * @format GUID\n * @readonly\n * @immutable\n */\n id?: string | null;\n /**\n * Payment method type id\n * @format GUID\n */\n paymentMethodTypeId?: string;\n /**\n * Account connection id\n * @format GUID\n */\n accountConnectionId?: string;\n /** Merchant enabled */\n merchantEnabled?: boolean;\n}\n\nexport interface PaymentBrands {\n /**\n * Payment brand ids\n * @maxSize 200\n * @format GUID\n */\n paymentBrandIds?: string[];\n}\n\nexport interface Countries {\n /**\n * Country codes\n * @maxSize 200\n * @format COUNTRY\n */\n countryCodes?: string[];\n}\n\nexport interface Currencies {\n /**\n * Currency codes\n * @maxSize 200\n * @format CURRENCY\n */\n currencyCodes?: string[];\n}\n\nexport interface Restrictions\n extends RestrictionsPaymentBrandsOneOf,\n RestrictionsCountriesOneOf,\n RestrictionsCurrenciesOneOf {\n /** Allowed payment brands */\n allowedPaymentBrands?: PaymentBrands;\n /** Prohibited payment brands */\n prohibitedPaymentBrands?: PaymentBrands;\n /** Allowed countries */\n allowedCountries?: Countries;\n /** Prohibited countries */\n prohibitedCountries?: Countries;\n /** Allowed currencies */\n allowedCurrencies?: Currencies;\n /** Prohibited currencies */\n prohibitedCurrencies?: Currencies;\n}\n\n/** @oneof */\nexport interface RestrictionsPaymentBrandsOneOf {\n /** Allowed payment brands */\n allowedPaymentBrands?: PaymentBrands;\n /** Prohibited payment brands */\n prohibitedPaymentBrands?: PaymentBrands;\n}\n\n/** @oneof */\nexport interface RestrictionsCountriesOneOf {\n /** Allowed countries */\n allowedCountries?: Countries;\n /** Prohibited countries */\n prohibitedCountries?: Countries;\n}\n\n/** @oneof */\nexport interface RestrictionsCurrenciesOneOf {\n /** Allowed currencies */\n allowedCurrencies?: Currencies;\n /** Prohibited currencies */\n prohibitedCurrencies?: Currencies;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n tags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\nexport interface CreatePaymentAcceptanceConfigurationRequest {\n /** PaymentAcceptanceConfiguration to be created. */\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;\n}\n\nexport interface CreatePaymentAcceptanceConfigurationResponse {\n /** The created PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface GetPaymentAcceptanceConfigurationRequest {\n /**\n * ID of the PaymentAcceptanceConfiguration to retrieve.\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n}\n\nexport interface GetPaymentAcceptanceConfigurationResponse {\n /** The requested PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface UpdatePaymentAcceptanceConfigurationRequest {\n /** PaymentAcceptanceConfiguration to be updated, may be partial. */\n paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;\n}\n\nexport interface UpdatePaymentAcceptanceConfigurationResponse {\n /** Updated PaymentAcceptanceConfiguration. */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface AddPaymentAcceptanceConfigurationRulesRequest {\n /**\n * Id of payment acceptance configuration to update\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n /**\n * Payment acceptance configuration revision\n * @readonly\n */\n paymentAcceptanceConfigurationRevision?: string | null;\n /**\n * Rules to add\n * @minSize 1\n * @maxSize 1000\n */\n rules: PaymentAcceptanceRule[];\n}\n\nexport interface AddPaymentAcceptanceConfigurationRulesResponse {\n /** Updated PaymentAcceptanceConfiguration */\n paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;\n}\n\nexport interface RemovePaymentAcceptanceConfigurationRulesRequest {\n /**\n * Id of payment acceptance configuration to update\n * @format GUID\n */\n paymentAcceptanceConfigurationId: string;\n /**\n * Payment acceptance configuration revision\n * @readonly\n */\n paymentAcceptanceConfigurationRevision?: string | null;\n /**\n * IDs of the rules to remove\n * @format GUID\n * @minSize 1\n * @maxSize 1000\n */\n ruleIds: string[];\n}\n\nexport interface RemovePaymentAcceptanceConfigurationRulesResponse {\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 /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\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 /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\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 /** Base44 headless sites. */\n BASE44 = 'BASE44',\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 | 'BASE44';\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\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\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","import * as ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js';\nimport * as ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js';\nimport * as ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createPaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.CreatePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.CreatePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.CreatePaymentAcceptanceConfigurationResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.CreatePaymentAcceptanceConfigurationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.createPaymentAcceptanceConfiguration(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/payment-acceptance-configurations',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<\n 'GET',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.GetPaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.GetPaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.GetPaymentAcceptanceConfigurationResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.GetPaymentAcceptanceConfigurationResponse\n> {\n const payload = {\n paymentAcceptanceConfigurationId: ':paymentAcceptanceConfigurationId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.getPaymentAcceptanceConfiguration(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updatePaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<\n 'PATCH',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.UpdatePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.UpdatePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.UpdatePaymentAcceptanceConfigurationResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.UpdatePaymentAcceptanceConfigurationResponse\n> {\n const payload = {\n paymentAcceptanceConfiguration: { id: ':paymentAcceptanceConfigurationId' },\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.updatePaymentAcceptanceConfiguration(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfiguration.id}',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function addPaymentAcceptanceConfigurationRules(): __PublicMethodMetaInfo<\n 'POST',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.AddPaymentAcceptanceConfigurationRulesRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.AddPaymentAcceptanceConfigurationRulesRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.AddPaymentAcceptanceConfigurationRulesResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.AddPaymentAcceptanceConfigurationRulesResponse\n> {\n const payload = {\n paymentAcceptanceConfigurationId: ':paymentAcceptanceConfigurationId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.addPaymentAcceptanceConfigurationRules(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}/add-rules',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function removePaymentAcceptanceConfigurationRules(): __PublicMethodMetaInfo<\n 'POST',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.RemovePaymentAcceptanceConfigurationRulesRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.RemovePaymentAcceptanceConfigurationRulesRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.RemovePaymentAcceptanceConfigurationRulesResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.RemovePaymentAcceptanceConfigurationRulesResponse\n> {\n const payload = {\n paymentAcceptanceConfigurationId: ':paymentAcceptanceConfigurationId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.removePaymentAcceptanceConfigurationRules(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}/remove-rules',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deletePaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<\n 'DELETE',\n { paymentAcceptanceConfigurationId: string },\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.DeletePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.DeletePaymentAcceptanceConfigurationRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.DeletePaymentAcceptanceConfigurationResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.DeletePaymentAcceptanceConfigurationResponse\n> {\n const payload = {\n paymentAcceptanceConfigurationId: ':paymentAcceptanceConfigurationId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.deletePaymentAcceptanceConfiguration(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}',\n pathParams: {\n paymentAcceptanceConfigurationId: 'paymentAcceptanceConfigurationId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryPaymentAcceptanceConfigurations(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.QueryPaymentAcceptanceConfigurationsRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.QueryPaymentAcceptanceConfigurationsRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.QueryPaymentAcceptanceConfigurationsResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.QueryPaymentAcceptanceConfigurationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.queryPaymentAcceptanceConfigurations(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/payment-acceptance-configurations/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePaymentAcceptanceConfigurationTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.BulkUpdatePaymentAcceptanceConfigurationTagsRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.BulkUpdatePaymentAcceptanceConfigurationTagsRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.BulkUpdatePaymentAcceptanceConfigurationTagsResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.BulkUpdatePaymentAcceptanceConfigurationTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.bulkUpdatePaymentAcceptanceConfigurationTags(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/payment-acceptance-configurations/update-tags',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationUniversalTypes.BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse,\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationTypes.BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfiguration.bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/payment-acceptance-configurations/update-tags-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n PaymentAcceptanceConfiguration as PaymentAcceptanceConfigurationOriginal,\n PaymentAcceptanceRule as PaymentAcceptanceRuleOriginal,\n PaymentBrands as PaymentBrandsOriginal,\n Countries as CountriesOriginal,\n Currencies as CurrenciesOriginal,\n Restrictions as RestrictionsOriginal,\n RestrictionsPaymentBrandsOneOf as RestrictionsPaymentBrandsOneOfOriginal,\n RestrictionsCountriesOneOf as RestrictionsCountriesOneOfOriginal,\n RestrictionsCurrenciesOneOf as RestrictionsCurrenciesOneOfOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n Tags as TagsOriginal,\n TagList as TagListOriginal,\n CreatePaymentAcceptanceConfigurationRequest as CreatePaymentAcceptanceConfigurationRequestOriginal,\n CreatePaymentAcceptanceConfigurationResponse as CreatePaymentAcceptanceConfigurationResponseOriginal,\n GetPaymentAcceptanceConfigurationRequest as GetPaymentAcceptanceConfigurationRequestOriginal,\n GetPaymentAcceptanceConfigurationResponse as GetPaymentAcceptanceConfigurationResponseOriginal,\n UpdatePaymentAcceptanceConfigurationRequest as UpdatePaymentAcceptanceConfigurationRequestOriginal,\n UpdatePaymentAcceptanceConfigurationResponse as UpdatePaymentAcceptanceConfigurationResponseOriginal,\n AddPaymentAcceptanceConfigurationRulesRequest as AddPaymentAcceptanceConfigurationRulesRequestOriginal,\n AddPaymentAcceptanceConfigurationRulesResponse as AddPaymentAcceptanceConfigurationRulesResponseOriginal,\n RemovePaymentAcceptanceConfigurationRulesRequest as RemovePaymentAcceptanceConfigurationRulesRequestOriginal,\n RemovePaymentAcceptanceConfigurationRulesResponse as RemovePaymentAcceptanceConfigurationRulesResponseOriginal,\n DeletePaymentAcceptanceConfigurationRequest as DeletePaymentAcceptanceConfigurationRequestOriginal,\n DeletePaymentAcceptanceConfigurationResponse as DeletePaymentAcceptanceConfigurationResponseOriginal,\n QueryPaymentAcceptanceConfigurationsRequest as QueryPaymentAcceptanceConfigurationsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryPaymentAcceptanceConfigurationsResponse as QueryPaymentAcceptanceConfigurationsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsRequest as BulkUpdatePaymentAcceptanceConfigurationTagsRequestOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsResponse as BulkUpdatePaymentAcceptanceConfigurationTagsResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsResult as BulkUpdatePaymentAcceptanceConfigurationTagsResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest as BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequestOriginal,\n BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse as BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponseOriginal,\n Empty as EmptyOriginal,\n MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n Asset as AssetOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCreatedContext as SiteCreatedContextOriginal,\n SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n Namespace as NamespaceOriginal,\n NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n SiteTransferred as SiteTransferredOriginal,\n SiteDeleted as SiteDeletedOriginal,\n DeleteContext as DeleteContextOriginal,\n DeleteStatus as DeleteStatusOriginal,\n DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n SiteUndeleted as SiteUndeletedOriginal,\n SitePublished as SitePublishedOriginal,\n SiteUnpublished as SiteUnpublishedOriginal,\n SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n ServiceProvisioned as ServiceProvisionedOriginal,\n ServiceRemoved as ServiceRemovedOriginal,\n SiteRenamed as SiteRenamedOriginal,\n SiteHardDeleted as SiteHardDeletedOriginal,\n NamespaceChanged as NamespaceChangedOriginal,\n StudioAssigned as StudioAssignedOriginal,\n StudioUnassigned as StudioUnassignedOriginal,\n SiteUrlChanged as SiteUrlChangedOriginal,\n SitePurgedExternally as SitePurgedExternallyOriginal,\n OdeditorAssigned as OdeditorAssignedOriginal,\n OdeditorUnassigned as OdeditorUnassignedOriginal,\n PicassoAssigned as PicassoAssignedOriginal,\n PicassoUnassigned as PicassoUnassignedOriginal,\n WixelAssigned as WixelAssignedOriginal,\n WixelUnassigned as WixelUnassignedOriginal,\n StudioTwoAssigned as StudioTwoAssignedOriginal,\n StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n} from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CA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AAAA,EAC1B;AACF;","names":["payload","SortOrder","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createPaymentAcceptanceConfiguration","getPaymentAcceptanceConfiguration","updatePaymentAcceptanceConfiguration","addPaymentAcceptanceConfigurationRules","removePaymentAcceptanceConfigurationRules","deletePaymentAcceptanceConfiguration","queryPaymentAcceptanceConfigurations","bulkUpdatePaymentAcceptanceConfigurationTags","bulkUpdatePaymentAcceptanceConfigurationTagsByFilter"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { PaymentAcceptanceConfiguration, UpdatePaymentAcceptanceConfiguration, AddPaymentAcceptanceConfigurationRulesOptions, AddPaymentAcceptanceConfigurationRulesResponse, RemovePaymentAcceptanceConfigurationRulesOptions, RemovePaymentAcceptanceConfigurationRulesResponse, BulkUpdatePaymentAcceptanceConfigurationTagsOptions, BulkUpdatePaymentAcceptanceConfigurationTagsResponse, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, PaymentAcceptanceConfigurationsQueryBuilder,
|
|
3
|
-
export { ActionEvent, AddPaymentAcceptanceConfigurationRulesRequest, ApplicationError, Asset, BulkActionMetadata, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, BulkUpdatePaymentAcceptanceConfigurationTagsRequest, BulkUpdatePaymentAcceptanceConfigurationTagsResult, Countries, CreatePaymentAcceptanceConfigurationRequest, CreatePaymentAcceptanceConfigurationResponse, Currencies, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, DeleteContext, DeletePaymentAcceptanceConfigurationRequest, DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetPaymentAcceptanceConfigurationRequest, GetPaymentAcceptanceConfigurationResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, PaymentAcceptanceConfigurationsQueryResult, PaymentAcceptanceRule, PaymentBrands, PicassoAssigned, PicassoUnassigned, QueryPaymentAcceptanceConfigurationsRequest, QueryPaymentAcceptanceConfigurationsResponse, RemovePaymentAcceptanceConfigurationRulesRequest, RestoreInfo, Restrictions, RestrictionsCountriesOneOf, RestrictionsCurrenciesOneOf, RestrictionsPaymentBrandsOneOf, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, TagList, Tags, UpdatePaymentAcceptanceConfigurationRequest, UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
2
|
+
import { PaymentAcceptanceConfiguration, UpdatePaymentAcceptanceConfiguration, AddPaymentAcceptanceConfigurationRulesOptions, AddPaymentAcceptanceConfigurationRulesResponse, RemovePaymentAcceptanceConfigurationRulesOptions, RemovePaymentAcceptanceConfigurationRulesResponse, BulkUpdatePaymentAcceptanceConfigurationTagsOptions, BulkUpdatePaymentAcceptanceConfigurationTagsResponse, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, PaymentAcceptanceConfigurationsQueryBuilder, PaymentAcceptanceConfigurationQuery, typedQueryPaymentAcceptanceConfigurations } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, AddPaymentAcceptanceConfigurationRulesRequest, ApplicationError, Asset, BulkActionMetadata, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, BulkUpdatePaymentAcceptanceConfigurationTagsRequest, BulkUpdatePaymentAcceptanceConfigurationTagsResult, CommonQueryWithEntityContext, Countries, CreatePaymentAcceptanceConfigurationRequest, CreatePaymentAcceptanceConfigurationResponse, Currencies, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteContext, DeletePaymentAcceptanceConfigurationRequest, DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetPaymentAcceptanceConfigurationRequest, GetPaymentAcceptanceConfigurationResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, PaymentAcceptanceConfigurationQuerySpec, PaymentAcceptanceConfigurationsQueryResult, PaymentAcceptanceRule, PaymentBrands, PicassoAssigned, PicassoUnassigned, QueryPaymentAcceptanceConfigurationsRequest, QueryPaymentAcceptanceConfigurationsResponse, RemovePaymentAcceptanceConfigurationRulesRequest, RestoreInfo, Restrictions, RestrictionsCountriesOneOf, RestrictionsCurrenciesOneOf, RestrictionsPaymentBrandsOneOf, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, TagList, Tags, UpdatePaymentAcceptanceConfigurationRequest, UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
/** @internal */
|
|
6
6
|
declare function createPaymentAcceptanceConfiguration$1(httpClient: HttpClient): CreatePaymentAcceptanceConfigurationSignature;
|
|
@@ -94,7 +94,7 @@ interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterSignature {
|
|
|
94
94
|
|
|
95
95
|
declare function customQueryPaymentAcceptanceConfigurations(httpClient: HttpClient): {
|
|
96
96
|
(): PaymentAcceptanceConfigurationsQueryBuilder;
|
|
97
|
-
(query:
|
|
97
|
+
(query: PaymentAcceptanceConfigurationQuery): ReturnType<typeof typedQueryPaymentAcceptanceConfigurations>;
|
|
98
98
|
};
|
|
99
99
|
/** @internal */
|
|
100
100
|
declare const createPaymentAcceptanceConfiguration: MaybeContext<BuildRESTFunction<typeof createPaymentAcceptanceConfiguration$1> & typeof createPaymentAcceptanceConfiguration$1>;
|
|
@@ -114,4 +114,4 @@ declare const bulkUpdatePaymentAcceptanceConfigurationTags: MaybeContext<BuildRE
|
|
|
114
114
|
declare const bulkUpdatePaymentAcceptanceConfigurationTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdatePaymentAcceptanceConfigurationTagsByFilter$1> & typeof bulkUpdatePaymentAcceptanceConfigurationTagsByFilter$1>;
|
|
115
115
|
declare const queryPaymentAcceptanceConfigurations: MaybeContext<BuildRESTFunction<typeof customQueryPaymentAcceptanceConfigurations> & typeof customQueryPaymentAcceptanceConfigurations>;
|
|
116
116
|
|
|
117
|
-
export { AddPaymentAcceptanceConfigurationRulesOptions, AddPaymentAcceptanceConfigurationRulesResponse, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, BulkUpdatePaymentAcceptanceConfigurationTagsOptions, BulkUpdatePaymentAcceptanceConfigurationTagsResponse,
|
|
117
|
+
export { AddPaymentAcceptanceConfigurationRulesOptions, AddPaymentAcceptanceConfigurationRulesResponse, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, BulkUpdatePaymentAcceptanceConfigurationTagsOptions, BulkUpdatePaymentAcceptanceConfigurationTagsResponse, PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationQuery, PaymentAcceptanceConfigurationsQueryBuilder, RemovePaymentAcceptanceConfigurationRulesOptions, RemovePaymentAcceptanceConfigurationRulesResponse, UpdatePaymentAcceptanceConfiguration, addPaymentAcceptanceConfigurationRules, bulkUpdatePaymentAcceptanceConfigurationTags, bulkUpdatePaymentAcceptanceConfigurationTagsByFilter, createPaymentAcceptanceConfiguration, deletePaymentAcceptanceConfiguration, getPaymentAcceptanceConfiguration, queryPaymentAcceptanceConfigurations, removePaymentAcceptanceConfigurationRules, updatePaymentAcceptanceConfiguration };
|
|
@@ -442,6 +442,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
442
442
|
Namespace2["MIMIR"] = "MIMIR";
|
|
443
443
|
Namespace2["TWINS"] = "TWINS";
|
|
444
444
|
Namespace2["NANO"] = "NANO";
|
|
445
|
+
Namespace2["BASE44"] = "BASE44";
|
|
445
446
|
return Namespace2;
|
|
446
447
|
})(Namespace || {});
|
|
447
448
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|