@wix/auto_sdk_payments_payins-configurations 1.0.19 → 1.0.21

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,552 @@
1
- export { ActionEvent, ApplicationError, BulkActionMetadata, BulkUpdatePayinsConfigurationTagsByFilterOptions, BulkUpdatePayinsConfigurationTagsByFilterRequest, BulkUpdatePayinsConfigurationTagsByFilterResponse, BulkUpdatePayinsConfigurationTagsOptions, BulkUpdatePayinsConfigurationTagsRequest, BulkUpdatePayinsConfigurationTagsResponse, BulkUpdatePayinsConfigurationTagsResult, CreatePayinsConfigurationRequest, CreatePayinsConfigurationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetPayinsConfigurationRequest, GetPayinsConfigurationResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MerchantSelection, MessageEnvelope, PayinsConfiguration, PayinsConfigurationsQueryBuilder, PayinsConfigurationsQueryResult, PayinsRule, QueryPayinsConfigurationsRequest, QueryPayinsConfigurationsResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, TagList, Tags, UpdatePayinsConfiguration, UpdatePayinsConfigurationRequest, UpdatePayinsConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.js';
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+
3
+ /** PayinsConfiguration */
4
+ interface PayinsConfiguration {
5
+ /**
6
+ * id
7
+ * @format GUID
8
+ * @readonly
9
+ * @immutable
10
+ */
11
+ _id?: string | null;
12
+ /**
13
+ * app_id
14
+ * @format GUID
15
+ * @immutable
16
+ */
17
+ appId?: string | null;
18
+ /**
19
+ * rules
20
+ * @maxSize 1000
21
+ */
22
+ rules?: PayinsRule[];
23
+ /**
24
+ * revision
25
+ * @readonly
26
+ */
27
+ revision?: string | null;
28
+ /**
29
+ * Date when PayinsConfiguration was created
30
+ * @readonly
31
+ * @immutable
32
+ */
33
+ _createdDate?: Date | null;
34
+ /**
35
+ * Date when PayinsConfiguration was updated
36
+ * @readonly
37
+ */
38
+ _updatedDate?: Date | null;
39
+ /** Data Extensions */
40
+ extendedFields?: ExtendedFields;
41
+ /** Tags */
42
+ tags?: Tags;
43
+ }
44
+ interface PayinsRule {
45
+ /**
46
+ * payment_method_type_id
47
+ * @format GUID
48
+ */
49
+ paymentMethodTypeId?: string;
50
+ /**
51
+ * account_connection_id
52
+ * @format GUID
53
+ */
54
+ accountConnectionId?: string;
55
+ /** merchant_selection */
56
+ merchantSelection?: MerchantSelection;
57
+ }
58
+ interface MerchantSelection {
59
+ /** payins_enabled */
60
+ payinsEnabled?: boolean;
61
+ }
62
+ interface ExtendedFields {
63
+ /**
64
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
65
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
66
+ *
67
+ * You can only access fields for which you have the appropriate permissions.
68
+ *
69
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
70
+ */
71
+ namespaces?: Record<string, Record<string, any>>;
72
+ }
73
+ interface Tags {
74
+ /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */
75
+ privateTags?: TagList;
76
+ /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
77
+ tags?: TagList;
78
+ }
79
+ interface TagList {
80
+ /**
81
+ * List of tag IDs
82
+ * @maxSize 100
83
+ * @maxLength 5
84
+ */
85
+ tagIds?: string[];
86
+ }
87
+ interface CreatePayinsConfigurationRequest {
88
+ /** PayinsConfiguration to be created. */
89
+ payinsConfiguration: PayinsConfiguration;
90
+ }
91
+ interface CreatePayinsConfigurationResponse {
92
+ /** The created PayinsConfiguration. */
93
+ payinsConfiguration?: PayinsConfiguration;
94
+ }
95
+ interface GetPayinsConfigurationRequest {
96
+ /**
97
+ * ID of the PayinsConfiguration to retrieve.
98
+ * @format GUID
99
+ */
100
+ payinsConfigurationId: string;
101
+ }
102
+ interface GetPayinsConfigurationResponse {
103
+ /** The requested PayinsConfiguration. */
104
+ payinsConfiguration?: PayinsConfiguration;
105
+ }
106
+ interface UpdatePayinsConfigurationRequest {
107
+ /** PayinsConfiguration to be updated, may be partial. */
108
+ payinsConfiguration: PayinsConfiguration;
109
+ }
110
+ interface UpdatePayinsConfigurationResponse {
111
+ /** Updated PayinsConfiguration. */
112
+ payinsConfiguration?: PayinsConfiguration;
113
+ }
114
+ interface QueryPayinsConfigurationsRequest {
115
+ /** WQL expression. */
116
+ query?: CursorQuery;
117
+ }
118
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
119
+ /** 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`. */
120
+ cursorPaging?: CursorPaging;
121
+ /**
122
+ * Filter object in the following format:
123
+ * `"filter" : {
124
+ * "fieldName1": "value1",
125
+ * "fieldName2":{"$operator":"value2"}
126
+ * }`
127
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
128
+ */
129
+ filter?: Record<string, any> | null;
130
+ /**
131
+ * Sort object in the following format:
132
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
133
+ * @maxSize 5
134
+ */
135
+ sort?: Sorting[];
136
+ }
137
+ /** @oneof */
138
+ interface CursorQueryPagingMethodOneOf {
139
+ /** 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`. */
140
+ cursorPaging?: CursorPaging;
141
+ }
142
+ interface Sorting {
143
+ /**
144
+ * Name of the field to sort by.
145
+ * @maxLength 512
146
+ */
147
+ fieldName?: string;
148
+ /** Sort order. */
149
+ order?: SortOrderWithLiterals;
150
+ }
151
+ declare enum SortOrder {
152
+ ASC = "ASC",
153
+ DESC = "DESC"
154
+ }
155
+ /** @enumType */
156
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
157
+ interface CursorPaging {
158
+ /**
159
+ * Maximum number of items to return in the results.
160
+ * @max 100
161
+ */
162
+ limit?: number | null;
163
+ /**
164
+ * Pointer to the next or previous page in the list of results.
165
+ *
166
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
167
+ * Not relevant for the first request.
168
+ * @maxLength 16000
169
+ */
170
+ cursor?: string | null;
171
+ }
172
+ interface QueryPayinsConfigurationsResponse {
173
+ /** List of PayinsConfigurations. */
174
+ payinsConfigurations?: PayinsConfiguration[];
175
+ /** Paging metadata */
176
+ pagingMetadata?: CursorPagingMetadata;
177
+ }
178
+ interface CursorPagingMetadata {
179
+ /** Number of items returned in the response. */
180
+ count?: number | null;
181
+ /** Cursor strings that point to the next page, previous page, or both. */
182
+ cursors?: Cursors;
183
+ /**
184
+ * Whether there are more pages to retrieve following the current page.
185
+ *
186
+ * + `true`: Another page of results can be retrieved.
187
+ * + `false`: This is the last page.
188
+ */
189
+ hasNext?: boolean | null;
190
+ }
191
+ interface Cursors {
192
+ /**
193
+ * Cursor string pointing to the next page in the list of results.
194
+ * @maxLength 16000
195
+ */
196
+ next?: string | null;
197
+ /**
198
+ * Cursor pointing to the previous page in the list of results.
199
+ * @maxLength 16000
200
+ */
201
+ prev?: string | null;
202
+ }
203
+ interface BulkUpdatePayinsConfigurationTagsRequest {
204
+ /**
205
+ * List of PayinsConfigurations that their tags will update.
206
+ * @minSize 1
207
+ * @maxSize 100
208
+ * @format GUID
209
+ */
210
+ ids: string[];
211
+ /** List of Tags to assign */
212
+ assignTags: Tags;
213
+ /** List of Tags to unAssign */
214
+ unassignTags?: Tags;
215
+ }
216
+ interface BulkUpdatePayinsConfigurationTagsResponse {
217
+ /**
218
+ * Results
219
+ * @minSize 1
220
+ * @maxSize 100
221
+ */
222
+ results?: BulkUpdatePayinsConfigurationTagsResult[];
223
+ /** Metadata regarding the bulk update operation */
224
+ bulkActionMetadata?: BulkActionMetadata;
225
+ }
226
+ interface ItemMetadata {
227
+ /**
228
+ * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
229
+ * @format GUID
230
+ */
231
+ _id?: string | null;
232
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
233
+ originalIndex?: number;
234
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
235
+ success?: boolean;
236
+ /** Details about the error in case of failure. */
237
+ error?: ApplicationError;
238
+ }
239
+ interface ApplicationError {
240
+ /** Error code. */
241
+ code?: string;
242
+ /** Description of the error. */
243
+ description?: string;
244
+ /** Data related to the error. */
245
+ data?: Record<string, any> | null;
246
+ }
247
+ interface BulkUpdatePayinsConfigurationTagsResult {
248
+ /** Metadata regarding the specific single update operation */
249
+ itemMetadata?: ItemMetadata;
250
+ }
251
+ interface BulkActionMetadata {
252
+ /** Number of items that were successfully processed. */
253
+ totalSuccesses?: number;
254
+ /** Number of items that couldn't be processed. */
255
+ totalFailures?: number;
256
+ /** Number of failures without details because detailed failure threshold was exceeded. */
257
+ undetailedFailures?: number;
258
+ }
259
+ interface BulkUpdatePayinsConfigurationTagsByFilterRequest {
260
+ /** Filter */
261
+ filter: Record<string, any> | null;
262
+ /** List of Tags to assign */
263
+ assignTags: Tags;
264
+ /** List of Tags to unAssign */
265
+ unassignTags?: Tags;
266
+ }
267
+ interface BulkUpdatePayinsConfigurationTagsByFilterResponse {
268
+ /**
269
+ * Job ID
270
+ * @format GUID
271
+ */
272
+ jobId?: string;
273
+ }
274
+ interface DomainEvent extends DomainEventBodyOneOf {
275
+ createdEvent?: EntityCreatedEvent;
276
+ updatedEvent?: EntityUpdatedEvent;
277
+ deletedEvent?: EntityDeletedEvent;
278
+ actionEvent?: ActionEvent;
279
+ /**
280
+ * Unique event ID.
281
+ * Allows clients to ignore duplicate webhooks.
282
+ */
283
+ _id?: string;
284
+ /**
285
+ * Assumes actions are also always typed to an entity_type
286
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
287
+ */
288
+ entityFqdn?: string;
289
+ /**
290
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
291
+ * This is although the created/updated/deleted notion is duplication of the oneof types
292
+ * Example: created/updated/deleted/started/completed/email_opened
293
+ */
294
+ slug?: string;
295
+ /** ID of the entity associated with the event. */
296
+ entityId?: string;
297
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
298
+ eventTime?: Date | null;
299
+ /**
300
+ * Whether the event was triggered as a result of a privacy regulation application
301
+ * (for example, GDPR).
302
+ */
303
+ triggeredByAnonymizeRequest?: boolean | null;
304
+ /** If present, indicates the action that triggered the event. */
305
+ originatedFrom?: string | null;
306
+ /**
307
+ * A sequence number defining the order of updates to the underlying entity.
308
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
309
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
310
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
311
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
312
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
313
+ */
314
+ entityEventSequence?: string | null;
315
+ }
316
+ /** @oneof */
317
+ interface DomainEventBodyOneOf {
318
+ createdEvent?: EntityCreatedEvent;
319
+ updatedEvent?: EntityUpdatedEvent;
320
+ deletedEvent?: EntityDeletedEvent;
321
+ actionEvent?: ActionEvent;
322
+ }
323
+ interface EntityCreatedEvent {
324
+ entity?: string;
325
+ }
326
+ interface RestoreInfo {
327
+ deletedDate?: Date | null;
328
+ }
329
+ interface EntityUpdatedEvent {
330
+ /**
331
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
332
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
333
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
334
+ */
335
+ currentEntity?: string;
336
+ }
337
+ interface EntityDeletedEvent {
338
+ /** Entity that was deleted */
339
+ deletedEntity?: string | null;
340
+ }
341
+ interface ActionEvent {
342
+ body?: string;
343
+ }
344
+ interface MessageEnvelope {
345
+ /**
346
+ * App instance ID.
347
+ * @format GUID
348
+ */
349
+ instanceId?: string | null;
350
+ /**
351
+ * Event type.
352
+ * @maxLength 150
353
+ */
354
+ eventType?: string;
355
+ /** The identification type and identity data. */
356
+ identity?: IdentificationData;
357
+ /** Stringify payload. */
358
+ data?: string;
359
+ }
360
+ interface IdentificationData extends IdentificationDataIdOneOf {
361
+ /**
362
+ * ID of a site visitor that has not logged in to the site.
363
+ * @format GUID
364
+ */
365
+ anonymousVisitorId?: string;
366
+ /**
367
+ * ID of a site visitor that has logged in to the site.
368
+ * @format GUID
369
+ */
370
+ memberId?: string;
371
+ /**
372
+ * ID of a Wix user (site owner, contributor, etc.).
373
+ * @format GUID
374
+ */
375
+ wixUserId?: string;
376
+ /**
377
+ * ID of an app.
378
+ * @format GUID
379
+ */
380
+ appId?: string;
381
+ /** @readonly */
382
+ identityType?: WebhookIdentityTypeWithLiterals;
383
+ }
384
+ /** @oneof */
385
+ interface IdentificationDataIdOneOf {
386
+ /**
387
+ * ID of a site visitor that has not logged in to the site.
388
+ * @format GUID
389
+ */
390
+ anonymousVisitorId?: string;
391
+ /**
392
+ * ID of a site visitor that has logged in to the site.
393
+ * @format GUID
394
+ */
395
+ memberId?: string;
396
+ /**
397
+ * ID of a Wix user (site owner, contributor, etc.).
398
+ * @format GUID
399
+ */
400
+ wixUserId?: string;
401
+ /**
402
+ * ID of an app.
403
+ * @format GUID
404
+ */
405
+ appId?: string;
406
+ }
407
+ declare enum WebhookIdentityType {
408
+ UNKNOWN = "UNKNOWN",
409
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
410
+ MEMBER = "MEMBER",
411
+ WIX_USER = "WIX_USER",
412
+ APP = "APP"
413
+ }
414
+ /** @enumType */
415
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
416
+ interface UpdatePayinsConfiguration {
417
+ /**
418
+ * id
419
+ * @format GUID
420
+ * @readonly
421
+ * @immutable
422
+ */
423
+ _id?: string | null;
424
+ /**
425
+ * app_id
426
+ * @format GUID
427
+ * @immutable
428
+ */
429
+ appId?: string | null;
430
+ /**
431
+ * rules
432
+ * @maxSize 1000
433
+ */
434
+ rules?: PayinsRule[];
435
+ /**
436
+ * revision
437
+ * @readonly
438
+ */
439
+ revision?: string | null;
440
+ /**
441
+ * Date when PayinsConfiguration was created
442
+ * @readonly
443
+ * @immutable
444
+ */
445
+ _createdDate?: Date | null;
446
+ /**
447
+ * Date when PayinsConfiguration was updated
448
+ * @readonly
449
+ */
450
+ _updatedDate?: Date | null;
451
+ /** Data Extensions */
452
+ extendedFields?: ExtendedFields;
453
+ /** Tags */
454
+ tags?: Tags;
455
+ }
456
+ interface QueryCursorResult {
457
+ cursors: Cursors;
458
+ hasNext: () => boolean;
459
+ hasPrev: () => boolean;
460
+ length: number;
461
+ pageSize: number;
462
+ }
463
+ interface PayinsConfigurationsQueryResult extends QueryCursorResult {
464
+ items: PayinsConfiguration[];
465
+ query: PayinsConfigurationsQueryBuilder;
466
+ next: () => Promise<PayinsConfigurationsQueryResult>;
467
+ prev: () => Promise<PayinsConfigurationsQueryResult>;
468
+ }
469
+ interface PayinsConfigurationsQueryBuilder {
470
+ /** @param propertyName - Property whose value is compared with `value`.
471
+ * @param value - Value to compare against.
472
+ * @documentationMaturity preview
473
+ */
474
+ eq: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantSelection.payinsEnabled', value: any) => PayinsConfigurationsQueryBuilder;
475
+ /** @param propertyName - Property whose value is compared with `value`.
476
+ * @param value - Value to compare against.
477
+ * @documentationMaturity preview
478
+ */
479
+ ne: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantSelection.payinsEnabled', value: any) => PayinsConfigurationsQueryBuilder;
480
+ /** @param propertyName - Property whose value is compared with `value`.
481
+ * @param value - Value to compare against.
482
+ * @documentationMaturity preview
483
+ */
484
+ ge: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId', value: any) => PayinsConfigurationsQueryBuilder;
485
+ /** @param propertyName - Property whose value is compared with `value`.
486
+ * @param value - Value to compare against.
487
+ * @documentationMaturity preview
488
+ */
489
+ gt: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId', value: any) => PayinsConfigurationsQueryBuilder;
490
+ /** @param propertyName - Property whose value is compared with `value`.
491
+ * @param value - Value to compare against.
492
+ * @documentationMaturity preview
493
+ */
494
+ le: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId', value: any) => PayinsConfigurationsQueryBuilder;
495
+ /** @param propertyName - Property whose value is compared with `value`.
496
+ * @param value - Value to compare against.
497
+ * @documentationMaturity preview
498
+ */
499
+ lt: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId', value: any) => PayinsConfigurationsQueryBuilder;
500
+ /** @param propertyName - Property whose value is compared with `string`.
501
+ * @param string - String to compare against. Case-insensitive.
502
+ * @documentationMaturity preview
503
+ */
504
+ startsWith: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId', value: string) => PayinsConfigurationsQueryBuilder;
505
+ /** @param propertyName - Property whose value is compared with `values`.
506
+ * @param values - List of values to compare against.
507
+ * @documentationMaturity preview
508
+ */
509
+ hasSome: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantSelection.payinsEnabled', value: any[]) => PayinsConfigurationsQueryBuilder;
510
+ /** @documentationMaturity preview */
511
+ in: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantSelection.payinsEnabled', value: any) => PayinsConfigurationsQueryBuilder;
512
+ /** @documentationMaturity preview */
513
+ exists: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantSelection.payinsEnabled', value: boolean) => PayinsConfigurationsQueryBuilder;
514
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
515
+ * @documentationMaturity preview
516
+ */
517
+ ascending: (...propertyNames: Array<'_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantSelection.payinsEnabled'>) => PayinsConfigurationsQueryBuilder;
518
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
519
+ * @documentationMaturity preview
520
+ */
521
+ descending: (...propertyNames: Array<'_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantSelection.payinsEnabled'>) => PayinsConfigurationsQueryBuilder;
522
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
523
+ * @documentationMaturity preview
524
+ */
525
+ limit: (limit: number) => PayinsConfigurationsQueryBuilder;
526
+ /** @param cursor - A pointer to specific record
527
+ * @documentationMaturity preview
528
+ */
529
+ skipTo: (cursor: string) => PayinsConfigurationsQueryBuilder;
530
+ /** @documentationMaturity preview */
531
+ find: () => Promise<PayinsConfigurationsQueryResult>;
532
+ }
533
+ /**
534
+ * @hidden
535
+ * @fqn wix.payments.payins_configurations.v1.PayinsConfigurationService.QueryPayinsConfigurations
536
+ * @requiredField query
537
+ */
538
+ declare function typedQueryPayinsConfigurations(query: CursorQuery): Promise<NonNullablePaths<QueryPayinsConfigurationsResponse, `payinsConfigurations`, 2>>;
539
+ interface BulkUpdatePayinsConfigurationTagsOptions {
540
+ /** List of Tags to assign */
541
+ assignTags: Tags;
542
+ /** List of Tags to unAssign */
543
+ unassignTags?: Tags;
544
+ }
545
+ interface BulkUpdatePayinsConfigurationTagsByFilterOptions {
546
+ /** List of Tags to assign */
547
+ assignTags: Tags;
548
+ /** List of Tags to unAssign */
549
+ unassignTags?: Tags;
550
+ }
551
+
552
+ export { type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkUpdatePayinsConfigurationTagsByFilterOptions, type BulkUpdatePayinsConfigurationTagsByFilterRequest, type BulkUpdatePayinsConfigurationTagsByFilterResponse, type BulkUpdatePayinsConfigurationTagsOptions, type BulkUpdatePayinsConfigurationTagsRequest, type BulkUpdatePayinsConfigurationTagsResponse, type BulkUpdatePayinsConfigurationTagsResult, type CreatePayinsConfigurationRequest, type CreatePayinsConfigurationResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetPayinsConfigurationRequest, type GetPayinsConfigurationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MerchantSelection, type MessageEnvelope, type PayinsConfiguration, type PayinsConfigurationsQueryBuilder, type PayinsConfigurationsQueryResult, type PayinsRule, type QueryPayinsConfigurationsRequest, type QueryPayinsConfigurationsResponse, type RestoreInfo, SortOrder, type SortOrderWithLiterals, type Sorting, type TagList, type Tags, type UpdatePayinsConfiguration, type UpdatePayinsConfigurationRequest, type UpdatePayinsConfigurationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, typedQueryPayinsConfigurations };
@@ -27,6 +27,7 @@ __export(index_typings_exports, {
27
27
  createPayinsConfiguration: () => createPayinsConfiguration2,
28
28
  getPayinsConfiguration: () => getPayinsConfiguration2,
29
29
  queryPayinsConfigurations: () => queryPayinsConfigurations2,
30
+ typedQueryPayinsConfigurations: () => typedQueryPayinsConfigurations,
30
31
  updatePayinsConfiguration: () => updatePayinsConfiguration2
31
32
  });
32
33
  module.exports = __toCommonJS(index_typings_exports);
@@ -393,6 +394,31 @@ function queryPayinsConfigurations2() {
393
394
  transformationPaths: {}
394
395
  });
395
396
  }
397
+ async function typedQueryPayinsConfigurations(query) {
398
+ const { httpClient, sideEffects } = arguments[1];
399
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ query });
400
+ const reqOpts = queryPayinsConfigurations(
401
+ payload
402
+ );
403
+ sideEffects?.onSiteCall?.();
404
+ try {
405
+ const result = await httpClient.request(reqOpts);
406
+ sideEffects?.onSuccess?.(result);
407
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
408
+ } catch (err) {
409
+ const transformedError = (0, import_transform_error.transformError)(
410
+ err,
411
+ {
412
+ spreadPathsToArguments: {},
413
+ explicitPathsToArguments: { query: "$[0]" },
414
+ singleArgumentUnchanged: false
415
+ },
416
+ ["query"]
417
+ );
418
+ sideEffects?.onError?.(err);
419
+ throw transformedError;
420
+ }
421
+ }
396
422
  async function bulkUpdatePayinsConfigurationTags2(ids, options) {
397
423
  const { httpClient, sideEffects } = arguments[2];
398
424
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
@@ -468,6 +494,7 @@ async function bulkUpdatePayinsConfigurationTagsByFilter2(filter, options) {
468
494
  createPayinsConfiguration,
469
495
  getPayinsConfiguration,
470
496
  queryPayinsConfigurations,
497
+ typedQueryPayinsConfigurations,
471
498
  updatePayinsConfiguration
472
499
  });
473
500
  //# sourceMappingURL=index.typings.js.map