@wix/auto_sdk_payments_payins-configurations 1.0.13 → 1.0.14

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../index.ts","../../src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.ts","../../src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.ts","../../src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.ts","../../src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.ts"],"sourcesContent":["export * from './src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, HttpResponse, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration from './payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\n/** PayinsConfiguration */\nexport interface PayinsConfiguration {\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?: PayinsRule[];\n /**\n * revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Date when PayinsConfiguration was created\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date when PayinsConfiguration was updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n /** Tags */\n tags?: Tags;\n}\n\nexport interface PayinsRule {\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_selection */\n merchantSelection?: MerchantSelection;\n}\n\nexport interface MerchantSelection {\n /** payins_enabled */\n payinsEnabled?: boolean;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface Tags {\n /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */\n privateTags?: TagList;\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n tags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\nexport interface CreatePayinsConfigurationRequest {\n /** PayinsConfiguration to be created. */\n payinsConfiguration: PayinsConfiguration;\n}\n\nexport interface CreatePayinsConfigurationResponse {\n /** The created PayinsConfiguration. */\n payinsConfiguration?: PayinsConfiguration;\n}\n\nexport interface GetPayinsConfigurationRequest {\n /**\n * ID of the PayinsConfiguration to retrieve.\n * @format GUID\n */\n payinsConfigurationId: string;\n}\n\nexport interface GetPayinsConfigurationResponse {\n /** The requested PayinsConfiguration. */\n payinsConfiguration?: PayinsConfiguration;\n}\n\nexport interface UpdatePayinsConfigurationRequest {\n /** PayinsConfiguration to be updated, may be partial. */\n payinsConfiguration: PayinsConfiguration;\n}\n\nexport interface UpdatePayinsConfigurationResponse {\n /** Updated PayinsConfiguration. */\n payinsConfiguration?: PayinsConfiguration;\n}\n\nexport interface QueryPayinsConfigurationsRequest {\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 QueryPayinsConfigurationsResponse {\n /** List of PayinsConfigurations. */\n payinsConfigurations?: PayinsConfiguration[];\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 BulkUpdatePayinsConfigurationTagsRequest {\n /**\n * List of PayinsConfigurations 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 BulkUpdatePayinsConfigurationTagsResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdatePayinsConfigurationTagsResult[];\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 BulkUpdatePayinsConfigurationTagsResult {\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 BulkUpdatePayinsConfigurationTagsByFilterRequest {\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 BulkUpdatePayinsConfigurationTagsByFilterResponse {\n /**\n * Job ID\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /**\n * Unique event ID.\n * Allows clients to ignore duplicate webhooks.\n */\n _id?: string;\n /**\n * Assumes actions are also always typed to an entity_type\n * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction\n */\n entityFqdn?: string;\n /**\n * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)\n * This is although the created/updated/deleted notion is duplication of the oneof types\n * 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 defining the order of updates to the underlying entity.\n * For example, given that some entity was updated at 16:00 and than again at 16:01,\n * it is guaranteed that the sequence number of the second update is strictly higher than the first.\n * As the consumer, you can use this value to ensure that you handle messages in the correct order.\n * To do so, you will need to persist this number on your end, and compare the sequence number from the\n * message against the one you have stored. Given that the stored number is higher, you should ignore the message.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\ntype PayinsConfigurationNonNullablePaths =\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantSelection.payinsEnabled`\n | `tags.privateTags.tagIds`;\n\n/**\n * Creates a PayinsConfiguration.\n * @param payinsConfiguration - PayinsConfiguration to be created.\n * @internal\n * @documentationMaturity preview\n * @requiredField payinsConfiguration\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_CREATE\n * @returns The created PayinsConfiguration.\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.CreatePayinsConfiguration\n */\nexport async function createPayinsConfiguration(\n payinsConfiguration: PayinsConfiguration\n): Promise<\n NonNullablePaths<PayinsConfiguration, PayinsConfigurationNonNullablePaths>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n payinsConfiguration: payinsConfiguration,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.createPayinsConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.payinsConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { payinsConfiguration: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['payinsConfiguration']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a PayinsConfiguration.\n * @param payinsConfigurationId - ID of the PayinsConfiguration to retrieve.\n * @internal\n * @documentationMaturity preview\n * @requiredField payinsConfigurationId\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_READ\n * @returns The requested PayinsConfiguration.\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.GetPayinsConfiguration\n */\nexport async function getPayinsConfiguration(\n payinsConfigurationId: string\n): Promise<\n NonNullablePaths<PayinsConfiguration, PayinsConfigurationNonNullablePaths>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n payinsConfigurationId: payinsConfigurationId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.getPayinsConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.payinsConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { payinsConfigurationId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['payinsConfigurationId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates a PayinsConfiguration.\n *\n * Each time the PayinsConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PayinsConfiguration.\n * This ensures you're working with the latest PayinsConfiguration\n * and prevents unintended overwrites.\n * @param _id - id\n * @internal\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField payinsConfiguration\n * @requiredField payinsConfiguration.revision\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_UPDATE\n * @returns Updated PayinsConfiguration.\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.UpdatePayinsConfiguration\n */\nexport async function updatePayinsConfiguration(\n _id: string,\n payinsConfiguration: NonNullablePaths<UpdatePayinsConfiguration, `revision`>\n): Promise<\n NonNullablePaths<PayinsConfiguration, PayinsConfigurationNonNullablePaths>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n payinsConfiguration: { ...payinsConfiguration, id: _id },\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.updatePayinsConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.payinsConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { payinsConfiguration: '$[1]' },\n explicitPathsToArguments: { 'payinsConfiguration.id': '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['_id', 'payinsConfiguration']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdatePayinsConfiguration {\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?: PayinsRule[];\n /**\n * revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Date when PayinsConfiguration was created\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date when PayinsConfiguration was updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n /** Tags */\n tags?: Tags;\n}\n\n/**\n * Retrieves a list of PayinsConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PayinsConfigurations can be returned per request.\n *\n * To learn how to query PayinsConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n * @internal\n * @documentationMaturity preview\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_READ\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.QueryPayinsConfigurations\n */\nexport function queryPayinsConfigurations(): PayinsConfigurationsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n PayinsConfiguration,\n 'CURSOR',\n QueryPayinsConfigurationsRequest,\n QueryPayinsConfigurationsResponse\n >({\n func: async (payload: QueryPayinsConfigurationsRequest) => {\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.queryPayinsConfigurations(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QueryPayinsConfigurationsRequest['query']) => {\n const args = [query, {}] as [\n QueryPayinsConfigurationsRequest['query'],\n {}\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QueryPayinsConfigurationsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.payinsConfigurations,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface PayinsConfigurationsQueryResult extends QueryCursorResult {\n items: PayinsConfiguration[];\n query: PayinsConfigurationsQueryBuilder;\n next: () => Promise<PayinsConfigurationsQueryResult>;\n prev: () => Promise<PayinsConfigurationsQueryResult>;\n}\n\nexport interface PayinsConfigurationsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n eq: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ne: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ge: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n gt: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n le: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n lt: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n * @documentationMaturity preview\n */\n startsWith: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: string\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasSome: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: any[]\n ) => PayinsConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n in: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n exists: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: boolean\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled'\n >\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled'\n >\n ) => PayinsConfigurationsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => PayinsConfigurationsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => PayinsConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<PayinsConfigurationsQueryResult>;\n}\n\n/**\n * Synchronously update tags on multiple PayinsConfigurations, by list of PayinsConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param ids - List of PayinsConfigurations that their tags will update.\n * @internal\n * @documentationMaturity preview\n * @requiredField ids\n * @requiredField options.assignTags\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_UPDATE_TAGS\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.BulkUpdatePayinsConfigurationTags\n */\nexport async function bulkUpdatePayinsConfigurationTags(\n ids: string[],\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsOptions,\n `assignTags`\n >\n): Promise<\n NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n ids: ids,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.bulkUpdatePayinsConfigurationTags(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ids: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['ids', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePayinsConfigurationTagsOptions {\n /** List of Tags to assign */\n assignTags: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n\n/**\n * Asynchronously update tags on multiple PayinsConfigurations, by provided filter\n * An empty filter will update all PayinsConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param filter - Filter\n * @internal\n * @documentationMaturity preview\n * @requiredField filter\n * @requiredField options.assignTags\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_UPDATE_TAGS\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.BulkUpdatePayinsConfigurationTagsByFilter\n */\nexport async function bulkUpdatePayinsConfigurationTagsByFilter(\n filter: Record<string, any>,\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n `assignTags`\n >\n): Promise<\n NonNullablePaths<BulkUpdatePayinsConfigurationTagsByFilterResponse, `jobId`>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n filter: filter,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.bulkUpdatePayinsConfigurationTagsByFilter(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n filter: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['filter', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePayinsConfigurationTagsByFilterOptions {\n /** List of Tags to assign */\n assignTags: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_payins-configurations';\n\n/** Creates a PayinsConfiguration. */\nexport function createPayinsConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __createPayinsConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.CreatePayinsConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n { protoPath: '/v1/payins-configurations', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createPayinsConfiguration;\n}\n\n/** Retrieves a PayinsConfiguration. */\nexport function getPayinsConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __getPayinsConfiguration({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.GetPayinsConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/payins-configurations/{payinsConfigurationId}',\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: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPayinsConfiguration;\n}\n\n/**\n * Updates a PayinsConfiguration.\n *\n * Each time the PayinsConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PayinsConfiguration.\n * This ensures you're working with the latest PayinsConfiguration\n * and prevents unintended overwrites.\n */\nexport function updatePayinsConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __updatePayinsConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.UpdatePayinsConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/payins-configurations/{payinsConfiguration.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: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePayinsConfiguration;\n}\n\n/**\n * Retrieves a list of PayinsConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PayinsConfigurations can be returned per request.\n *\n * To learn how to query PayinsConfigurations, 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 queryPayinsConfigurations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryPayinsConfigurations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.QueryPayinsConfigurations',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n { protoPath: '/v1/payins-configurations/query', data: payload, host }\n ),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'payinsConfigurations.createdDate' },\n { path: 'payinsConfigurations.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/payins-configurations/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryPayinsConfigurations;\n}\n\n/**\n * Synchronously update tags on multiple PayinsConfigurations, by list of PayinsConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdatePayinsConfigurationTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePayinsConfigurationTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.BulkUpdatePayinsConfigurationTags',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/bulk/payins-configurations/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePayinsConfigurationTags;\n}\n\n/**\n * Asynchronously update tags on multiple PayinsConfigurations, by provided filter\n * An empty filter will update all PayinsConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdatePayinsConfigurationTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePayinsConfigurationTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.BulkUpdatePayinsConfigurationTagsByFilter',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/bulk/payins-configurations/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePayinsConfigurationTagsByFilter;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n BulkUpdatePayinsConfigurationTagsByFilterResponse,\n BulkUpdatePayinsConfigurationTagsOptions,\n BulkUpdatePayinsConfigurationTagsResponse,\n PayinsConfiguration,\n PayinsConfigurationsQueryBuilder,\n UpdatePayinsConfiguration,\n bulkUpdatePayinsConfigurationTags as universalBulkUpdatePayinsConfigurationTags,\n bulkUpdatePayinsConfigurationTagsByFilter as universalBulkUpdatePayinsConfigurationTagsByFilter,\n createPayinsConfiguration as universalCreatePayinsConfiguration,\n getPayinsConfiguration as universalGetPayinsConfiguration,\n queryPayinsConfigurations as universalQueryPayinsConfigurations,\n updatePayinsConfiguration as universalUpdatePayinsConfiguration,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/payments' };\n\n/** @internal */\nexport function createPayinsConfiguration(\n httpClient: HttpClient\n): CreatePayinsConfigurationSignature {\n return (payinsConfiguration: PayinsConfiguration) =>\n universalCreatePayinsConfiguration(\n payinsConfiguration,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreatePayinsConfigurationSignature {\n /**\n * Creates a PayinsConfiguration.\n * @param - PayinsConfiguration to be created.\n * @returns The created PayinsConfiguration.\n */\n (payinsConfiguration: PayinsConfiguration): Promise<PayinsConfiguration>;\n}\n\n/** @internal */\nexport function getPayinsConfiguration(\n httpClient: HttpClient\n): GetPayinsConfigurationSignature {\n return (payinsConfigurationId: string) =>\n universalGetPayinsConfiguration(\n payinsConfigurationId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetPayinsConfigurationSignature {\n /**\n * Retrieves a PayinsConfiguration.\n * @param - ID of the PayinsConfiguration to retrieve.\n * @returns The requested PayinsConfiguration.\n */\n (payinsConfigurationId: string): Promise<PayinsConfiguration>;\n}\n\n/** @internal */\nexport function updatePayinsConfiguration(\n httpClient: HttpClient\n): UpdatePayinsConfigurationSignature {\n return (\n _id: string,\n payinsConfiguration: NonNullablePaths<UpdatePayinsConfiguration, `revision`>\n ) =>\n universalUpdatePayinsConfiguration(\n _id,\n payinsConfiguration,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdatePayinsConfigurationSignature {\n /**\n * Updates a PayinsConfiguration.\n *\n * Each time the PayinsConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PayinsConfiguration.\n * This ensures you're working with the latest PayinsConfiguration\n * and prevents unintended overwrites.\n * @param - id\n * @returns Updated PayinsConfiguration.\n */\n (\n _id: string,\n payinsConfiguration: UpdatePayinsConfiguration\n ): Promise<PayinsConfiguration>;\n}\n\n/** @internal */\nexport function queryPayinsConfigurations(\n httpClient: HttpClient\n): QueryPayinsConfigurationsSignature {\n return () =>\n universalQueryPayinsConfigurations(\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryPayinsConfigurationsSignature {\n /**\n * Retrieves a list of PayinsConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PayinsConfigurations can be returned per request.\n *\n * To learn how to query PayinsConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n */\n (): PayinsConfigurationsQueryBuilder;\n}\n\n/** @internal */\nexport function bulkUpdatePayinsConfigurationTags(\n httpClient: HttpClient\n): BulkUpdatePayinsConfigurationTagsSignature {\n return (\n ids: string[],\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsOptions,\n `assignTags`\n >\n ) =>\n universalBulkUpdatePayinsConfigurationTags(\n ids,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePayinsConfigurationTagsSignature {\n /**\n * Synchronously update tags on multiple PayinsConfigurations, by list of PayinsConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param - List of PayinsConfigurations that their tags will update.\n */\n (\n ids: string[],\n options?: BulkUpdatePayinsConfigurationTagsOptions | undefined\n ): Promise<BulkUpdatePayinsConfigurationTagsResponse>;\n}\n\n/** @internal */\nexport function bulkUpdatePayinsConfigurationTagsByFilter(\n httpClient: HttpClient\n): BulkUpdatePayinsConfigurationTagsByFilterSignature {\n return (\n filter: Record<string, any>,\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n `assignTags`\n >\n ) =>\n universalBulkUpdatePayinsConfigurationTagsByFilter(\n filter,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePayinsConfigurationTagsByFilterSignature {\n /**\n * Asynchronously update tags on multiple PayinsConfigurations, by provided filter\n * An empty filter will update all PayinsConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param - Filter\n */\n (\n filter: Record<string, any>,\n options?: BulkUpdatePayinsConfigurationTagsByFilterOptions | undefined\n ): Promise<BulkUpdatePayinsConfigurationTagsByFilterResponse>;\n}\n\nexport {\n ActionEvent,\n ApplicationError,\n BulkActionMetadata,\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n BulkUpdatePayinsConfigurationTagsByFilterRequest,\n BulkUpdatePayinsConfigurationTagsByFilterResponse,\n BulkUpdatePayinsConfigurationTagsOptions,\n BulkUpdatePayinsConfigurationTagsRequest,\n BulkUpdatePayinsConfigurationTagsResponse,\n BulkUpdatePayinsConfigurationTagsResult,\n CreatePayinsConfigurationRequest,\n CreatePayinsConfigurationResponse,\n CursorPaging,\n CursorPagingMetadata,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Cursors,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n ExtendedFields,\n GetPayinsConfigurationRequest,\n GetPayinsConfigurationResponse,\n IdentificationData,\n IdentificationDataIdOneOf,\n ItemMetadata,\n MerchantSelection,\n MessageEnvelope,\n PayinsConfiguration,\n PayinsConfigurationsQueryBuilder,\n PayinsConfigurationsQueryResult,\n PayinsRule,\n QueryPayinsConfigurationsRequest,\n QueryPayinsConfigurationsResponse,\n RestoreInfo,\n SortOrder,\n Sorting,\n TagList,\n Tags,\n UpdatePayinsConfiguration,\n UpdatePayinsConfigurationRequest,\n UpdatePayinsConfigurationResponse,\n WebhookIdentityType,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js';\n","import {\n createPayinsConfiguration as publicCreatePayinsConfiguration,\n getPayinsConfiguration as publicGetPayinsConfiguration,\n updatePayinsConfiguration as publicUpdatePayinsConfiguration,\n queryPayinsConfigurations as publicQueryPayinsConfigurations,\n bulkUpdatePayinsConfigurationTags as publicBulkUpdatePayinsConfigurationTags,\n bulkUpdatePayinsConfigurationTagsByFilter as publicBulkUpdatePayinsConfigurationTagsByFilter,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\n/** @internal */\nexport const createPayinsConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicCreatePayinsConfiguration> &\n typeof publicCreatePayinsConfiguration\n> = /*#__PURE__*/ createRESTModule(publicCreatePayinsConfiguration);\n/** @internal */\nexport const getPayinsConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicGetPayinsConfiguration> &\n typeof publicGetPayinsConfiguration\n> = /*#__PURE__*/ createRESTModule(publicGetPayinsConfiguration);\n/** @internal */\nexport const updatePayinsConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicUpdatePayinsConfiguration> &\n typeof publicUpdatePayinsConfiguration\n> = /*#__PURE__*/ createRESTModule(publicUpdatePayinsConfiguration);\n/** @internal */\nexport const queryPayinsConfigurations: MaybeContext<\n BuildRESTFunction<typeof publicQueryPayinsConfigurations> &\n typeof publicQueryPayinsConfigurations\n> = /*#__PURE__*/ createRESTModule(publicQueryPayinsConfigurations);\n/** @internal */\nexport const bulkUpdatePayinsConfigurationTags: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdatePayinsConfigurationTags> &\n typeof publicBulkUpdatePayinsConfigurationTags\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdatePayinsConfigurationTags);\n/** @internal */\nexport const bulkUpdatePayinsConfigurationTagsByFilter: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdatePayinsConfigurationTagsByFilter> &\n typeof publicBulkUpdatePayinsConfigurationTagsByFilter\n> = /*#__PURE__*/ createRESTModule(\n publicBulkUpdatePayinsConfigurationTagsByFilter\n);\n\nexport {\n SortOrder,\n WebhookIdentityType,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js';\nexport {\n PayinsConfiguration,\n PayinsRule,\n MerchantSelection,\n ExtendedFields,\n Tags,\n TagList,\n CreatePayinsConfigurationRequest,\n CreatePayinsConfigurationResponse,\n GetPayinsConfigurationRequest,\n GetPayinsConfigurationResponse,\n UpdatePayinsConfigurationRequest,\n UpdatePayinsConfigurationResponse,\n QueryPayinsConfigurationsRequest,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Sorting,\n CursorPaging,\n QueryPayinsConfigurationsResponse,\n CursorPagingMetadata,\n Cursors,\n BulkUpdatePayinsConfigurationTagsRequest,\n BulkUpdatePayinsConfigurationTagsResponse,\n ItemMetadata,\n ApplicationError,\n BulkUpdatePayinsConfigurationTagsResult,\n BulkActionMetadata,\n BulkUpdatePayinsConfigurationTagsByFilterRequest,\n BulkUpdatePayinsConfigurationTagsByFilterResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n UpdatePayinsConfiguration,\n PayinsConfigurationsQueryResult,\n PayinsConfigurationsQueryBuilder,\n BulkUpdatePayinsConfigurationTagsOptions,\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA,2CAAAA;AAAA,EAAA,iDAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,iCAAAC;AAAA;AAAA;;;ACAA,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,sEACP,MACA;AACA,QAAM,mBAAmB,CAAC;AAE1B,aAAO,iCAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,0BACd,SAC4B;AAC5B,WAAS,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AMC,6BAGK,2DAAiBA,0BAA+B;AAE3D,IAAMC,qCAGK,2DAAiBA,kCAAuC;AAEnE,IAAMC,6CAGK;AAAA,EAChBA;AACF;","names":["bulkUpdatePayinsConfigurationTags","bulkUpdatePayinsConfigurationTagsByFilter","createPayinsConfiguration","getPayinsConfiguration","queryPayinsConfigurations","updatePayinsConfiguration","import_timestamp","import_rest_modules","payload","import_transform_paths","SortOrder","WebhookIdentityType","createPayinsConfiguration","sdkTransformError","getPayinsConfiguration","updatePayinsConfiguration","queryPayinsConfigurations","bulkUpdatePayinsConfigurationTags","bulkUpdatePayinsConfigurationTagsByFilter","createPayinsConfiguration","getPayinsConfiguration","updatePayinsConfiguration","queryPayinsConfigurations","bulkUpdatePayinsConfigurationTags","bulkUpdatePayinsConfigurationTagsByFilter","import_rest_modules","createPayinsConfiguration","getPayinsConfiguration","updatePayinsConfiguration","queryPayinsConfigurations","bulkUpdatePayinsConfigurationTags","bulkUpdatePayinsConfigurationTagsByFilter"]}
1
+ {"version":3,"sources":["../../index.ts","../../src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.ts","../../src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.ts","../../src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.ts","../../src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.ts"],"sourcesContent":["export * from './src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, HttpResponse, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration from './payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\n/** PayinsConfiguration */\nexport interface PayinsConfiguration {\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?: PayinsRule[];\n /**\n * revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Date when PayinsConfiguration was created\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date when PayinsConfiguration was updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n /** Tags */\n tags?: Tags;\n}\n\nexport interface PayinsRule {\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_selection */\n merchantSelection?: MerchantSelection;\n}\n\nexport interface MerchantSelection {\n /** payins_enabled */\n payinsEnabled?: boolean;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface Tags {\n /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */\n privateTags?: TagList;\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n tags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\nexport interface CreatePayinsConfigurationRequest {\n /** PayinsConfiguration to be created. */\n payinsConfiguration: PayinsConfiguration;\n}\n\nexport interface CreatePayinsConfigurationResponse {\n /** The created PayinsConfiguration. */\n payinsConfiguration?: PayinsConfiguration;\n}\n\nexport interface GetPayinsConfigurationRequest {\n /**\n * ID of the PayinsConfiguration to retrieve.\n * @format GUID\n */\n payinsConfigurationId: string;\n}\n\nexport interface GetPayinsConfigurationResponse {\n /** The requested PayinsConfiguration. */\n payinsConfiguration?: PayinsConfiguration;\n}\n\nexport interface UpdatePayinsConfigurationRequest {\n /** PayinsConfiguration to be updated, may be partial. */\n payinsConfiguration: PayinsConfiguration;\n}\n\nexport interface UpdatePayinsConfigurationResponse {\n /** Updated PayinsConfiguration. */\n payinsConfiguration?: PayinsConfiguration;\n}\n\nexport interface QueryPayinsConfigurationsRequest {\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 QueryPayinsConfigurationsResponse {\n /** List of PayinsConfigurations. */\n payinsConfigurations?: PayinsConfiguration[];\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 BulkUpdatePayinsConfigurationTagsRequest {\n /**\n * List of PayinsConfigurations 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 BulkUpdatePayinsConfigurationTagsResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdatePayinsConfigurationTagsResult[];\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 BulkUpdatePayinsConfigurationTagsResult {\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 BulkUpdatePayinsConfigurationTagsByFilterRequest {\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 BulkUpdatePayinsConfigurationTagsByFilterResponse {\n /**\n * Job ID\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /**\n * Unique event ID.\n * Allows clients to ignore duplicate webhooks.\n */\n _id?: string;\n /**\n * Assumes actions are also always typed to an entity_type\n * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction\n */\n entityFqdn?: string;\n /**\n * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)\n * This is although the created/updated/deleted notion is duplication of the oneof types\n * 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 defining the order of updates to the underlying entity.\n * For example, given that some entity was updated at 16:00 and than again at 16:01,\n * it is guaranteed that the sequence number of the second update is strictly higher than the first.\n * As the consumer, you can use this value to ensure that you handle messages in the correct order.\n * To do so, you will need to persist this number on your end, and compare the sequence number from the\n * message against the one you have stored. Given that the stored number is higher, you should ignore the message.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\ntype PayinsConfigurationNonNullablePaths =\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantSelection.payinsEnabled`\n | `tags.privateTags.tagIds`;\n\n/**\n * Creates a PayinsConfiguration.\n * @param payinsConfiguration - PayinsConfiguration to be created.\n * @internal\n * @documentationMaturity preview\n * @requiredField payinsConfiguration\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_CREATE\n * @returns The created PayinsConfiguration.\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.CreatePayinsConfiguration\n */\nexport async function createPayinsConfiguration(\n payinsConfiguration: PayinsConfiguration\n): Promise<\n NonNullablePaths<PayinsConfiguration, PayinsConfigurationNonNullablePaths>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n payinsConfiguration: payinsConfiguration,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.createPayinsConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.payinsConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { payinsConfiguration: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['payinsConfiguration']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a PayinsConfiguration.\n * @param payinsConfigurationId - ID of the PayinsConfiguration to retrieve.\n * @internal\n * @documentationMaturity preview\n * @requiredField payinsConfigurationId\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_READ\n * @returns The requested PayinsConfiguration.\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.GetPayinsConfiguration\n */\nexport async function getPayinsConfiguration(\n payinsConfigurationId: string\n): Promise<\n NonNullablePaths<PayinsConfiguration, PayinsConfigurationNonNullablePaths>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n payinsConfigurationId: payinsConfigurationId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.getPayinsConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.payinsConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { payinsConfigurationId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['payinsConfigurationId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates a PayinsConfiguration.\n *\n * Each time the PayinsConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PayinsConfiguration.\n * This ensures you're working with the latest PayinsConfiguration\n * and prevents unintended overwrites.\n * @param _id - id\n * @internal\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField payinsConfiguration\n * @requiredField payinsConfiguration.revision\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_UPDATE\n * @returns Updated PayinsConfiguration.\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.UpdatePayinsConfiguration\n */\nexport async function updatePayinsConfiguration(\n _id: string,\n payinsConfiguration: NonNullablePaths<UpdatePayinsConfiguration, `revision`>\n): Promise<\n NonNullablePaths<PayinsConfiguration, PayinsConfigurationNonNullablePaths>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n payinsConfiguration: { ...payinsConfiguration, id: _id },\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.updatePayinsConfiguration(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.payinsConfiguration!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { payinsConfiguration: '$[1]' },\n explicitPathsToArguments: { 'payinsConfiguration.id': '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['_id', 'payinsConfiguration']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdatePayinsConfiguration {\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?: PayinsRule[];\n /**\n * revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Date when PayinsConfiguration was created\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date when PayinsConfiguration was updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n /** Tags */\n tags?: Tags;\n}\n\n/**\n * Retrieves a list of PayinsConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PayinsConfigurations can be returned per request.\n *\n * To learn how to query PayinsConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n * @internal\n * @documentationMaturity preview\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_READ\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.QueryPayinsConfigurations\n */\nexport function queryPayinsConfigurations(): PayinsConfigurationsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n PayinsConfiguration,\n 'CURSOR',\n QueryPayinsConfigurationsRequest,\n QueryPayinsConfigurationsResponse\n >({\n func: async (payload: QueryPayinsConfigurationsRequest) => {\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.queryPayinsConfigurations(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QueryPayinsConfigurationsRequest['query']) => {\n const args = [query, {}] as [\n QueryPayinsConfigurationsRequest['query'],\n {}\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QueryPayinsConfigurationsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.payinsConfigurations,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface PayinsConfigurationsQueryResult extends QueryCursorResult {\n items: PayinsConfiguration[];\n query: PayinsConfigurationsQueryBuilder;\n next: () => Promise<PayinsConfigurationsQueryResult>;\n prev: () => Promise<PayinsConfigurationsQueryResult>;\n}\n\nexport interface PayinsConfigurationsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n eq: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ne: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ge: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n gt: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n le: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n lt: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n * @documentationMaturity preview\n */\n startsWith: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId',\n value: string\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasSome: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: any[]\n ) => PayinsConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n in: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: any\n ) => PayinsConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n exists: (\n propertyName:\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled',\n value: boolean\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled'\n >\n ) => PayinsConfigurationsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | 'appId'\n | 'rules.paymentMethodTypeId'\n | 'rules.accountConnectionId'\n | 'rules.merchantSelection.payinsEnabled'\n >\n ) => PayinsConfigurationsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => PayinsConfigurationsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => PayinsConfigurationsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<PayinsConfigurationsQueryResult>;\n}\n\n/**\n * Synchronously update tags on multiple PayinsConfigurations, by list of PayinsConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param ids - List of PayinsConfigurations that their tags will update.\n * @internal\n * @documentationMaturity preview\n * @requiredField ids\n * @requiredField options.assignTags\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_UPDATE_TAGS\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.BulkUpdatePayinsConfigurationTags\n */\nexport async function bulkUpdatePayinsConfigurationTags(\n ids: string[],\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsOptions,\n `assignTags`\n >\n): Promise<\n NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n ids: ids,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.bulkUpdatePayinsConfigurationTags(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ids: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['ids', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePayinsConfigurationTagsOptions {\n /** List of Tags to assign */\n assignTags: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n\n/**\n * Asynchronously update tags on multiple PayinsConfigurations, by provided filter\n * An empty filter will update all PayinsConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param filter - Filter\n * @internal\n * @documentationMaturity preview\n * @requiredField filter\n * @requiredField options.assignTags\n * @permissionId PAYMENTS.PAYINS_CONFIGURATION_UPDATE_TAGS\n * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.BulkUpdatePayinsConfigurationTagsByFilter\n */\nexport async function bulkUpdatePayinsConfigurationTagsByFilter(\n filter: Record<string, any>,\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n `assignTags`\n >\n): Promise<\n NonNullablePaths<BulkUpdatePayinsConfigurationTagsByFilterResponse, `jobId`>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n filter: filter,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsPayinsConfigurationsV1PayinsConfiguration.bulkUpdatePayinsConfigurationTagsByFilter(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n filter: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['filter', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePayinsConfigurationTagsByFilterOptions {\n /** List of Tags to assign */\n assignTags: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_payins-configurations';\n\n/** Creates a PayinsConfiguration. */\nexport function createPayinsConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __createPayinsConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.CreatePayinsConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n { protoPath: '/v1/payins-configurations', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createPayinsConfiguration;\n}\n\n/** Retrieves a PayinsConfiguration. */\nexport function getPayinsConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __getPayinsConfiguration({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.GetPayinsConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/payins-configurations/{payinsConfigurationId}',\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: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPayinsConfiguration;\n}\n\n/**\n * Updates a PayinsConfiguration.\n *\n * Each time the PayinsConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PayinsConfiguration.\n * This ensures you're working with the latest PayinsConfiguration\n * and prevents unintended overwrites.\n */\nexport function updatePayinsConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __updatePayinsConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.UpdatePayinsConfiguration',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/payins-configurations/{payinsConfiguration.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: 'payinsConfiguration.createdDate' },\n { path: 'payinsConfiguration.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePayinsConfiguration;\n}\n\n/**\n * Retrieves a list of PayinsConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PayinsConfigurations can be returned per request.\n *\n * To learn how to query PayinsConfigurations, 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 queryPayinsConfigurations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryPayinsConfigurations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.QueryPayinsConfigurations',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n { protoPath: '/v1/payins-configurations/query', data: payload, host }\n ),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'payinsConfigurations.createdDate' },\n { path: 'payinsConfigurations.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/payins-configurations/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryPayinsConfigurations;\n}\n\n/**\n * Synchronously update tags on multiple PayinsConfigurations, by list of PayinsConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdatePayinsConfigurationTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePayinsConfigurationTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.BulkUpdatePayinsConfigurationTags',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/bulk/payins-configurations/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePayinsConfigurationTags;\n}\n\n/**\n * Asynchronously update tags on multiple PayinsConfigurations, by provided filter\n * An empty filter will update all PayinsConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdatePayinsConfigurationTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePayinsConfigurationTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.payments.payins_configurations.v1.payins_configuration',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.payins_configurations.v1.PayinsConfigurationService.BulkUpdatePayinsConfigurationTagsByFilter',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsPayinsConfigurationsV1PayinsConfigurationServiceUrl(\n {\n protoPath: '/v1/bulk/payins-configurations/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePayinsConfigurationTagsByFilter;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n BulkUpdatePayinsConfigurationTagsByFilterResponse,\n BulkUpdatePayinsConfigurationTagsOptions,\n BulkUpdatePayinsConfigurationTagsResponse,\n PayinsConfiguration,\n PayinsConfigurationsQueryBuilder,\n UpdatePayinsConfiguration,\n bulkUpdatePayinsConfigurationTags as universalBulkUpdatePayinsConfigurationTags,\n bulkUpdatePayinsConfigurationTagsByFilter as universalBulkUpdatePayinsConfigurationTagsByFilter,\n createPayinsConfiguration as universalCreatePayinsConfiguration,\n getPayinsConfiguration as universalGetPayinsConfiguration,\n queryPayinsConfigurations as universalQueryPayinsConfigurations,\n updatePayinsConfiguration as universalUpdatePayinsConfiguration,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/payments' };\n\ntype PayinsConfigurationNonNullablePaths =\n | `rules`\n | `rules.${number}.paymentMethodTypeId`\n | `rules.${number}.accountConnectionId`\n | `rules.${number}.merchantSelection.payinsEnabled`\n | `tags.privateTags.tagIds`;\n\n/** @internal */\nexport function createPayinsConfiguration(\n httpClient: HttpClient\n): CreatePayinsConfigurationSignature {\n return (payinsConfiguration: PayinsConfiguration) =>\n universalCreatePayinsConfiguration(\n payinsConfiguration,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreatePayinsConfigurationSignature {\n /**\n * Creates a PayinsConfiguration.\n * @param - PayinsConfiguration to be created.\n * @returns The created PayinsConfiguration.\n */\n (payinsConfiguration: PayinsConfiguration): Promise<\n NonNullablePaths<PayinsConfiguration, PayinsConfigurationNonNullablePaths>\n >;\n}\n\n/** @internal */\nexport function getPayinsConfiguration(\n httpClient: HttpClient\n): GetPayinsConfigurationSignature {\n return (payinsConfigurationId: string) =>\n universalGetPayinsConfiguration(\n payinsConfigurationId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetPayinsConfigurationSignature {\n /**\n * Retrieves a PayinsConfiguration.\n * @param - ID of the PayinsConfiguration to retrieve.\n * @returns The requested PayinsConfiguration.\n */\n (payinsConfigurationId: string): Promise<\n NonNullablePaths<PayinsConfiguration, PayinsConfigurationNonNullablePaths>\n >;\n}\n\n/** @internal */\nexport function updatePayinsConfiguration(\n httpClient: HttpClient\n): UpdatePayinsConfigurationSignature {\n return (\n _id: string,\n payinsConfiguration: NonNullablePaths<UpdatePayinsConfiguration, `revision`>\n ) =>\n universalUpdatePayinsConfiguration(\n _id,\n payinsConfiguration,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdatePayinsConfigurationSignature {\n /**\n * Updates a PayinsConfiguration.\n *\n * Each time the PayinsConfiguration is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the PayinsConfiguration.\n * This ensures you're working with the latest PayinsConfiguration\n * and prevents unintended overwrites.\n * @param - id\n * @returns Updated PayinsConfiguration.\n */\n (\n _id: string,\n payinsConfiguration: NonNullablePaths<UpdatePayinsConfiguration, `revision`>\n ): Promise<\n NonNullablePaths<PayinsConfiguration, PayinsConfigurationNonNullablePaths>\n >;\n}\n\n/** @internal */\nexport function queryPayinsConfigurations(\n httpClient: HttpClient\n): QueryPayinsConfigurationsSignature {\n return () =>\n universalQueryPayinsConfigurations(\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryPayinsConfigurationsSignature {\n /**\n * Retrieves a list of PayinsConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 PayinsConfigurations can be returned per request.\n *\n * To learn how to query PayinsConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n */\n (): PayinsConfigurationsQueryBuilder;\n}\n\n/** @internal */\nexport function bulkUpdatePayinsConfigurationTags(\n httpClient: HttpClient\n): BulkUpdatePayinsConfigurationTagsSignature {\n return (\n ids: string[],\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsOptions,\n `assignTags`\n >\n ) =>\n universalBulkUpdatePayinsConfigurationTags(\n ids,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePayinsConfigurationTagsSignature {\n /**\n * Synchronously update tags on multiple PayinsConfigurations, by list of PayinsConfigurations ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param - List of PayinsConfigurations that their tags will update.\n */\n (\n ids: string[],\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsOptions,\n `assignTags`\n >\n ): Promise<\n NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`\n >\n >;\n}\n\n/** @internal */\nexport function bulkUpdatePayinsConfigurationTagsByFilter(\n httpClient: HttpClient\n): BulkUpdatePayinsConfigurationTagsByFilterSignature {\n return (\n filter: Record<string, any>,\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n `assignTags`\n >\n ) =>\n universalBulkUpdatePayinsConfigurationTagsByFilter(\n filter,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePayinsConfigurationTagsByFilterSignature {\n /**\n * Asynchronously update tags on multiple PayinsConfigurations, by provided filter\n * An empty filter will update all PayinsConfigurations\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n * @param - Filter\n */\n (\n filter: Record<string, any>,\n options?: NonNullablePaths<\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n `assignTags`\n >\n ): Promise<\n NonNullablePaths<BulkUpdatePayinsConfigurationTagsByFilterResponse, `jobId`>\n >;\n}\n\nexport {\n ActionEvent,\n ApplicationError,\n BulkActionMetadata,\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n BulkUpdatePayinsConfigurationTagsByFilterRequest,\n BulkUpdatePayinsConfigurationTagsByFilterResponse,\n BulkUpdatePayinsConfigurationTagsOptions,\n BulkUpdatePayinsConfigurationTagsRequest,\n BulkUpdatePayinsConfigurationTagsResponse,\n BulkUpdatePayinsConfigurationTagsResult,\n CreatePayinsConfigurationRequest,\n CreatePayinsConfigurationResponse,\n CursorPaging,\n CursorPagingMetadata,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Cursors,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n ExtendedFields,\n GetPayinsConfigurationRequest,\n GetPayinsConfigurationResponse,\n IdentificationData,\n IdentificationDataIdOneOf,\n ItemMetadata,\n MerchantSelection,\n MessageEnvelope,\n PayinsConfiguration,\n PayinsConfigurationsQueryBuilder,\n PayinsConfigurationsQueryResult,\n PayinsRule,\n QueryPayinsConfigurationsRequest,\n QueryPayinsConfigurationsResponse,\n RestoreInfo,\n SortOrder,\n Sorting,\n TagList,\n Tags,\n UpdatePayinsConfiguration,\n UpdatePayinsConfigurationRequest,\n UpdatePayinsConfigurationResponse,\n WebhookIdentityType,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js';\n","import {\n createPayinsConfiguration as publicCreatePayinsConfiguration,\n getPayinsConfiguration as publicGetPayinsConfiguration,\n updatePayinsConfiguration as publicUpdatePayinsConfiguration,\n queryPayinsConfigurations as publicQueryPayinsConfigurations,\n bulkUpdatePayinsConfigurationTags as publicBulkUpdatePayinsConfigurationTags,\n bulkUpdatePayinsConfigurationTagsByFilter as publicBulkUpdatePayinsConfigurationTagsByFilter,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\n/** @internal */\nexport const createPayinsConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicCreatePayinsConfiguration> &\n typeof publicCreatePayinsConfiguration\n> = /*#__PURE__*/ createRESTModule(publicCreatePayinsConfiguration);\n/** @internal */\nexport const getPayinsConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicGetPayinsConfiguration> &\n typeof publicGetPayinsConfiguration\n> = /*#__PURE__*/ createRESTModule(publicGetPayinsConfiguration);\n/** @internal */\nexport const updatePayinsConfiguration: MaybeContext<\n BuildRESTFunction<typeof publicUpdatePayinsConfiguration> &\n typeof publicUpdatePayinsConfiguration\n> = /*#__PURE__*/ createRESTModule(publicUpdatePayinsConfiguration);\n/** @internal */\nexport const queryPayinsConfigurations: MaybeContext<\n BuildRESTFunction<typeof publicQueryPayinsConfigurations> &\n typeof publicQueryPayinsConfigurations\n> = /*#__PURE__*/ createRESTModule(publicQueryPayinsConfigurations);\n/** @internal */\nexport const bulkUpdatePayinsConfigurationTags: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdatePayinsConfigurationTags> &\n typeof publicBulkUpdatePayinsConfigurationTags\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdatePayinsConfigurationTags);\n/** @internal */\nexport const bulkUpdatePayinsConfigurationTagsByFilter: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdatePayinsConfigurationTagsByFilter> &\n typeof publicBulkUpdatePayinsConfigurationTagsByFilter\n> = /*#__PURE__*/ createRESTModule(\n publicBulkUpdatePayinsConfigurationTagsByFilter\n);\n\nexport {\n SortOrder,\n WebhookIdentityType,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js';\nexport {\n PayinsConfiguration,\n PayinsRule,\n MerchantSelection,\n ExtendedFields,\n Tags,\n TagList,\n CreatePayinsConfigurationRequest,\n CreatePayinsConfigurationResponse,\n GetPayinsConfigurationRequest,\n GetPayinsConfigurationResponse,\n UpdatePayinsConfigurationRequest,\n UpdatePayinsConfigurationResponse,\n QueryPayinsConfigurationsRequest,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Sorting,\n CursorPaging,\n QueryPayinsConfigurationsResponse,\n CursorPagingMetadata,\n Cursors,\n BulkUpdatePayinsConfigurationTagsRequest,\n BulkUpdatePayinsConfigurationTagsResponse,\n ItemMetadata,\n ApplicationError,\n BulkUpdatePayinsConfigurationTagsResult,\n BulkActionMetadata,\n BulkUpdatePayinsConfigurationTagsByFilterRequest,\n BulkUpdatePayinsConfigurationTagsByFilterResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n UpdatePayinsConfiguration,\n PayinsConfigurationsQueryResult,\n PayinsConfigurationsQueryBuilder,\n BulkUpdatePayinsConfigurationTagsOptions,\n BulkUpdatePayinsConfigurationTagsByFilterOptions,\n} from './payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA,2CAAAA;AAAA,EAAA,iDAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,iCAAAC;AAAA;AAAA;;;ACAA,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,sEACP,MACA;AACA,QAAM,mBAAmB,CAAC;AAE1B,aAAO,iCAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,0BACd,SAC4B;AAC5B,WAAS,4BAA4B,EAAE,KAAK,GAAQ;AAClD,UAAM,qBAAiB,uCAAe,SAAS;AAAA,MAC7C;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,UACL,EAAE,MAAM,kCAAkC;AAAA,UAC1C,EAAE,MAAM,kCAAkC;AAAA,QAC5C;AAAA,MACF;AAAA,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AA0B;AAAA,UACxB,QAAQ;AAAA,UACR,YAAY;AAAA,UACZ,cAAc;AAAA,QAChB;AAAA,QACA,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,UAAU,SAAS;AAAA,IACtB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;;;AE7hCO,SAASM,2BACd,YACoC;AACpC,SAAO,CAAC,wBACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAcO,SAASC,wBACd,YACiC;AACjC,SAAO,CAAC,0BACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAcO,SAASC,2BACd,YACoC;AACpC,SAAO,CACL,KACA,wBAEAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAuBO,SAASC,2BACd,YACoC;AACpC,SAAO,MACLA;AAAA;AAAA,IAEE,EAAE,WAAW;AAAA,EACf;AACJ;AAiBO,SAASC,mCACd,YAC4C;AAC5C,SAAO,CACL,KACA,YAKAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AA8BO,SAASC,2CACd,YACoD;AACpD,SAAO,CACL,QACA,YAKAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;AC5LA,IAAAC,uBAAiC;AAI1B,IAAMC,6BAGK,2DAAiBA,0BAA+B;AAE3D,IAAMC,0BAGK,2DAAiBA,uBAA4B;AAExD,IAAMC,6BAGK,2DAAiBA,0BAA+B;AAE3D,IAAMC,6BAGK,2DAAiBA,0BAA+B;AAE3D,IAAMC,qCAGK,2DAAiBA,kCAAuC;AAEnE,IAAMC,6CAGK;AAAA,EAChBA;AACF;","names":["bulkUpdatePayinsConfigurationTags","bulkUpdatePayinsConfigurationTagsByFilter","createPayinsConfiguration","getPayinsConfiguration","queryPayinsConfigurations","updatePayinsConfiguration","import_timestamp","import_rest_modules","payload","import_transform_paths","SortOrder","WebhookIdentityType","createPayinsConfiguration","sdkTransformError","getPayinsConfiguration","updatePayinsConfiguration","queryPayinsConfigurations","bulkUpdatePayinsConfigurationTags","bulkUpdatePayinsConfigurationTagsByFilter","createPayinsConfiguration","getPayinsConfiguration","updatePayinsConfiguration","queryPayinsConfigurations","bulkUpdatePayinsConfigurationTags","bulkUpdatePayinsConfigurationTagsByFilter","import_rest_modules","createPayinsConfiguration","getPayinsConfiguration","updatePayinsConfiguration","queryPayinsConfigurations","bulkUpdatePayinsConfigurationTags","bulkUpdatePayinsConfigurationTagsByFilter"]}