@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.37 → 1.0.39

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +10 -1110
  2. package/build/cjs/index.js +201 -1
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1198 -1
  5. package/build/cjs/index.typings.js +161 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +61 -2
  8. package/build/cjs/meta.js +116 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +10 -1110
  11. package/build/es/index.mjs +199 -1
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1198 -1
  14. package/build/es/index.typings.mjs +158 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +61 -2
  17. package/build/es/meta.mjs +114 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +34 -20
  20. package/build/internal/cjs/index.js +201 -1
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +112 -1
  23. package/build/internal/cjs/index.typings.js +161 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +60 -2
  26. package/build/internal/cjs/meta.js +116 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +34 -20
  29. package/build/internal/es/index.mjs +199 -1
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +112 -1
  32. package/build/internal/es/index.typings.mjs +158 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +60 -2
  35. package/build/internal/es/meta.mjs +114 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -1,1111 +1,11 @@
1
- /** PaymentAcceptanceConfiguration */
2
- interface PaymentAcceptanceConfiguration {
3
- /**
4
- * Id
5
- * @format GUID
6
- * @readonly
7
- * @immutable
8
- */
9
- _id?: string | null;
10
- /**
11
- * App id
12
- * @format GUID
13
- * @immutable
14
- */
15
- appId?: string | null;
16
- /**
17
- * Rules
18
- * @maxSize 1000
19
- */
20
- rules?: PaymentAcceptanceRule[];
21
- /**
22
- * Revision
23
- * @readonly
24
- */
25
- revision?: string | null;
26
- /**
27
- * Date when PaymentAcceptanceConfiguration was created
28
- * @readonly
29
- * @immutable
30
- */
31
- _createdDate?: Date | null;
32
- /**
33
- * Date when PaymentAcceptanceConfiguration was updated
34
- * @readonly
35
- */
36
- _updatedDate?: Date | null;
37
- /** Data Extensions */
38
- extendedFields?: ExtendedFields;
39
- /** Tags */
40
- tags?: Tags;
41
- }
42
- interface PaymentAcceptanceRule {
43
- /**
44
- * Payment method type id
45
- * @format GUID
46
- */
47
- paymentMethodTypeId?: string;
48
- /**
49
- * Account connection id
50
- * @format GUID
51
- */
52
- accountConnectionId?: string;
53
- /** Merchant enabled */
54
- merchantEnabled?: boolean;
55
- }
56
- interface PaymentBrands {
57
- /**
58
- * Payment brand ids
59
- * @maxSize 200
60
- * @format GUID
61
- */
62
- paymentBrandIds?: string[];
63
- }
64
- interface Countries {
65
- /**
66
- * Country codes
67
- * @maxSize 200
68
- * @format COUNTRY
69
- */
70
- countryCodes?: string[];
71
- }
72
- interface Currencies {
73
- /**
74
- * Currency codes
75
- * @maxSize 200
76
- * @format CURRENCY
77
- */
78
- currencyCodes?: string[];
79
- }
80
- interface Restrictions extends RestrictionsPaymentBrandsOneOf, RestrictionsCountriesOneOf, RestrictionsCurrenciesOneOf {
81
- /** Allowed payment brands */
82
- allowedPaymentBrands?: PaymentBrands;
83
- /** Prohibited payment brands */
84
- prohibitedPaymentBrands?: PaymentBrands;
85
- /** Allowed countries */
86
- allowedCountries?: Countries;
87
- /** Prohibited countries */
88
- prohibitedCountries?: Countries;
89
- /** Allowed currencies */
90
- allowedCurrencies?: Currencies;
91
- /** Prohibited currencies */
92
- prohibitedCurrencies?: Currencies;
93
- }
94
- /** @oneof */
95
- interface RestrictionsPaymentBrandsOneOf {
96
- /** Allowed payment brands */
97
- allowedPaymentBrands?: PaymentBrands;
98
- /** Prohibited payment brands */
99
- prohibitedPaymentBrands?: PaymentBrands;
100
- }
101
- /** @oneof */
102
- interface RestrictionsCountriesOneOf {
103
- /** Allowed countries */
104
- allowedCountries?: Countries;
105
- /** Prohibited countries */
106
- prohibitedCountries?: Countries;
107
- }
108
- /** @oneof */
109
- interface RestrictionsCurrenciesOneOf {
110
- /** Allowed currencies */
111
- allowedCurrencies?: Currencies;
112
- /** Prohibited currencies */
113
- prohibitedCurrencies?: Currencies;
114
- }
115
- interface ExtendedFields {
116
- /**
117
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
118
- * The value of each key is structured according to the schema defined when the extended fields were configured.
119
- *
120
- * You can only access fields for which you have the appropriate permissions.
121
- *
122
- * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
123
- */
124
- namespaces?: Record<string, Record<string, any>>;
125
- }
126
- /**
127
- * Common object for tags.
128
- * Should be use as in this example:
129
- * message Foo {
130
- * string id = 1;
131
- * ...
132
- * Tags tags = 5
133
- * }
134
- *
135
- * example of taggable entity
136
- * {
137
- * id: "123"
138
- * tags: {
139
- * tags: {
140
- * tag_ids:["11","22"]
141
- * },
142
- * private_tags: {
143
- * tag_ids: ["33", "44"]
144
- * }
145
- * }
146
- * }
147
- */
148
- interface Tags {
149
- /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
150
- tags?: TagList;
151
- }
152
- interface TagList {
153
- /**
154
- * List of tag IDs
155
- * @maxSize 100
156
- * @maxLength 5
157
- */
158
- tagIds?: string[];
159
- }
160
- interface CreatePaymentAcceptanceConfigurationRequest {
161
- /** PaymentAcceptanceConfiguration to be created. */
162
- paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
163
- }
164
- interface CreatePaymentAcceptanceConfigurationResponse {
165
- /** The created PaymentAcceptanceConfiguration. */
166
- paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
167
- }
168
- interface GetPaymentAcceptanceConfigurationRequest {
169
- /**
170
- * ID of the PaymentAcceptanceConfiguration to retrieve.
171
- * @format GUID
172
- */
173
- paymentAcceptanceConfigurationId: string;
174
- }
175
- interface GetPaymentAcceptanceConfigurationResponse {
176
- /** The requested PaymentAcceptanceConfiguration. */
177
- paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
178
- }
179
- interface UpdatePaymentAcceptanceConfigurationRequest {
180
- /** PaymentAcceptanceConfiguration to be updated, may be partial. */
181
- paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
182
- }
183
- interface UpdatePaymentAcceptanceConfigurationResponse {
184
- /** Updated PaymentAcceptanceConfiguration. */
185
- paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
186
- }
187
- interface DeletePaymentAcceptanceConfigurationRequest {
188
- /**
189
- * Id of payment acceptance configuration to delete
190
- * @format GUID
191
- */
192
- paymentAcceptanceConfigurationId: string;
193
- }
194
- interface DeletePaymentAcceptanceConfigurationResponse {
195
- }
196
- interface QueryPaymentAcceptanceConfigurationsRequest {
197
- /** WQL expression. */
198
- query?: CursorQuery;
199
- }
200
- interface CursorQuery extends CursorQueryPagingMethodOneOf {
201
- /** 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`. */
202
- cursorPaging?: CursorPaging;
203
- /**
204
- * Filter object in the following format:
205
- * `"filter" : {
206
- * "fieldName1": "value1",
207
- * "fieldName2":{"$operator":"value2"}
208
- * }`
209
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
210
- */
211
- filter?: Record<string, any> | null;
212
- /**
213
- * Sort object in the following format:
214
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
215
- * @maxSize 5
216
- */
217
- sort?: Sorting[];
218
- }
219
- /** @oneof */
220
- interface CursorQueryPagingMethodOneOf {
221
- /** 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`. */
222
- cursorPaging?: CursorPaging;
223
- }
224
- interface Sorting {
225
- /**
226
- * Name of the field to sort by.
227
- * @maxLength 512
228
- */
229
- fieldName?: string;
230
- /** Sort order. */
231
- order?: SortOrderWithLiterals;
232
- }
233
- declare enum SortOrder {
234
- ASC = "ASC",
235
- DESC = "DESC"
236
- }
237
- /** @enumType */
238
- type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
239
- interface CursorPaging {
240
- /**
241
- * Maximum number of items to return in the results.
242
- * @max 100
243
- */
244
- limit?: number | null;
245
- /**
246
- * Pointer to the next or previous page in the list of results.
247
- *
248
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
249
- * Not relevant for the first request.
250
- * @maxLength 16000
251
- */
252
- cursor?: string | null;
253
- }
254
- interface QueryPaymentAcceptanceConfigurationsResponse {
255
- /** List of PaymentAcceptanceConfigurations. */
256
- paymentAcceptanceConfigurations?: PaymentAcceptanceConfiguration[];
257
- /** Paging metadata */
258
- pagingMetadata?: CursorPagingMetadata;
259
- }
260
- interface CursorPagingMetadata {
261
- /** Number of items returned in the response. */
262
- count?: number | null;
263
- /** Cursor strings that point to the next page, previous page, or both. */
264
- cursors?: Cursors;
265
- /**
266
- * Whether there are more pages to retrieve following the current page.
267
- *
268
- * + `true`: Another page of results can be retrieved.
269
- * + `false`: This is the last page.
270
- */
271
- hasNext?: boolean | null;
272
- }
273
- interface Cursors {
274
- /**
275
- * Cursor string pointing to the next page in the list of results.
276
- * @maxLength 16000
277
- */
278
- next?: string | null;
279
- /**
280
- * Cursor pointing to the previous page in the list of results.
281
- * @maxLength 16000
282
- */
283
- prev?: string | null;
284
- }
285
- interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
286
- /**
287
- * List of NileProtoTagsEntities that their tags will update.
288
- * @minSize 1
289
- * @maxSize 100
290
- * @format GUID
291
- */
292
- ids: string[];
293
- /** List of Tags to assign */
294
- assignTags?: Tags;
295
- /** List of Tags to unAssign */
296
- unassignTags?: Tags;
297
- }
298
- interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
299
- /**
300
- * Results
301
- * @minSize 1
302
- * @maxSize 100
303
- */
304
- results?: BulkUpdatePaymentAcceptanceConfigurationTagsResult[];
305
- /** Metadata regarding the bulk update operation */
306
- bulkActionMetadata?: BulkActionMetadata;
307
- }
308
- interface ItemMetadata {
309
- /**
310
- * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
311
- * @format GUID
312
- */
313
- _id?: string | null;
314
- /** Index of the item within the request array. Allows for correlation between request and response items. */
315
- originalIndex?: number;
316
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
317
- success?: boolean;
318
- /** Details about the error in case of failure. */
319
- error?: ApplicationError;
320
- }
321
- interface ApplicationError {
322
- /** Error code. */
323
- code?: string;
324
- /** Description of the error. */
325
- description?: string;
326
- /** Data related to the error. */
327
- data?: Record<string, any> | null;
328
- }
329
- interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {
330
- /** Metadata regarding the specific single update operation */
331
- itemMetadata?: ItemMetadata;
332
- }
333
- interface BulkActionMetadata {
334
- /** Number of items that were successfully processed. */
335
- totalSuccesses?: number;
336
- /** Number of items that couldn't be processed. */
337
- totalFailures?: number;
338
- /** Number of failures without details because detailed failure threshold was exceeded. */
339
- undetailedFailures?: number;
340
- }
341
- interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
342
- /** Filter */
343
- filter: Record<string, any> | null;
344
- /** List of Tags to assign */
345
- assignTags?: Tags;
346
- /** List of Tags to unAssign */
347
- unassignTags?: Tags;
348
- }
349
- interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
350
- /**
351
- * Job ID
352
- * @format GUID
353
- */
354
- jobId?: string;
355
- }
356
- interface Empty {
357
- }
358
- interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
359
- /** Emitted on a meta site creation. */
360
- siteCreated?: SiteCreated;
361
- /** Emitted on a meta site transfer completion. */
362
- siteTransferred?: SiteTransferred;
363
- /** Emitted on a meta site deletion. */
364
- siteDeleted?: SiteDeleted;
365
- /** Emitted on a meta site restoration. */
366
- siteUndeleted?: SiteUndeleted;
367
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
368
- sitePublished?: SitePublished;
369
- /** Emitted on a meta site unpublish. */
370
- siteUnpublished?: SiteUnpublished;
371
- /** Emitted when meta site is marked as template. */
372
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
373
- /** Emitted when meta site is marked as a WixSite. */
374
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
375
- /** Emitted when an application is provisioned (installed). */
376
- serviceProvisioned?: ServiceProvisioned;
377
- /** Emitted when an application is removed (uninstalled). */
378
- serviceRemoved?: ServiceRemoved;
379
- /** Emitted when meta site name (URL slug) is changed. */
380
- siteRenamedPayload?: SiteRenamed;
381
- /** Emitted when meta site was permanently deleted. */
382
- hardDeleted?: SiteHardDeleted;
383
- /** Emitted on a namespace change. */
384
- namespaceChanged?: NamespaceChanged;
385
- /** Emitted when Studio is attached. */
386
- studioAssigned?: StudioAssigned;
387
- /** Emitted when Studio is detached. */
388
- studioUnassigned?: StudioUnassigned;
389
- /**
390
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
391
- * the actual URL.
392
- *
393
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
394
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
395
- */
396
- urlChanged?: SiteUrlChanged;
397
- /** Site is marked as PurgedExternally */
398
- sitePurgedExternally?: SitePurgedExternally;
399
- /** Emitted when Odeditor is attached. */
400
- odeditorAssigned?: OdeditorAssigned;
401
- /** Emitted when Odeditor is detached. */
402
- odeditorUnassigned?: OdeditorUnassigned;
403
- /** Emitted when Picasso is attached. */
404
- picassoAssigned?: PicassoAssigned;
405
- /** Emitted when Picasso is detached. */
406
- picassoUnassigned?: PicassoUnassigned;
407
- /** Emitted when Wixel is attached. */
408
- wixelAssigned?: WixelAssigned;
409
- /** Emitted when Wixel is detached. */
410
- wixelUnassigned?: WixelUnassigned;
411
- /** Emitted when StudioTwo is attached. */
412
- studioTwoAssigned?: StudioTwoAssigned;
413
- /** Emitted when StudioTwo is detached. */
414
- studioTwoUnassigned?: StudioTwoUnassigned;
415
- /**
416
- * A meta site id.
417
- * @format GUID
418
- */
419
- metaSiteId?: string;
420
- /** A meta site version. Monotonically increasing. */
421
- version?: string;
422
- /** A timestamp of the event. */
423
- timestamp?: string;
424
- /**
425
- * TODO(meta-site): Change validation once validations are disabled for consumers
426
- * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
427
- * @maxSize 4000
428
- */
429
- assets?: Asset[];
430
- }
431
- /** @oneof */
432
- interface MetaSiteSpecialEventPayloadOneOf {
433
- /** Emitted on a meta site creation. */
434
- siteCreated?: SiteCreated;
435
- /** Emitted on a meta site transfer completion. */
436
- siteTransferred?: SiteTransferred;
437
- /** Emitted on a meta site deletion. */
438
- siteDeleted?: SiteDeleted;
439
- /** Emitted on a meta site restoration. */
440
- siteUndeleted?: SiteUndeleted;
441
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
442
- sitePublished?: SitePublished;
443
- /** Emitted on a meta site unpublish. */
444
- siteUnpublished?: SiteUnpublished;
445
- /** Emitted when meta site is marked as template. */
446
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
447
- /** Emitted when meta site is marked as a WixSite. */
448
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
449
- /** Emitted when an application is provisioned (installed). */
450
- serviceProvisioned?: ServiceProvisioned;
451
- /** Emitted when an application is removed (uninstalled). */
452
- serviceRemoved?: ServiceRemoved;
453
- /** Emitted when meta site name (URL slug) is changed. */
454
- siteRenamedPayload?: SiteRenamed;
455
- /** Emitted when meta site was permanently deleted. */
456
- hardDeleted?: SiteHardDeleted;
457
- /** Emitted on a namespace change. */
458
- namespaceChanged?: NamespaceChanged;
459
- /** Emitted when Studio is attached. */
460
- studioAssigned?: StudioAssigned;
461
- /** Emitted when Studio is detached. */
462
- studioUnassigned?: StudioUnassigned;
463
- /**
464
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
465
- * the actual URL.
466
- *
467
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
468
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
469
- */
470
- urlChanged?: SiteUrlChanged;
471
- /** Site is marked as PurgedExternally */
472
- sitePurgedExternally?: SitePurgedExternally;
473
- /** Emitted when Odeditor is attached. */
474
- odeditorAssigned?: OdeditorAssigned;
475
- /** Emitted when Odeditor is detached. */
476
- odeditorUnassigned?: OdeditorUnassigned;
477
- /** Emitted when Picasso is attached. */
478
- picassoAssigned?: PicassoAssigned;
479
- /** Emitted when Picasso is detached. */
480
- picassoUnassigned?: PicassoUnassigned;
481
- /** Emitted when Wixel is attached. */
482
- wixelAssigned?: WixelAssigned;
483
- /** Emitted when Wixel is detached. */
484
- wixelUnassigned?: WixelUnassigned;
485
- /** Emitted when StudioTwo is attached. */
486
- studioTwoAssigned?: StudioTwoAssigned;
487
- /** Emitted when StudioTwo is detached. */
488
- studioTwoUnassigned?: StudioTwoUnassigned;
489
- }
490
- interface Asset {
491
- /**
492
- * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
493
- * @maxLength 36
494
- */
495
- appDefId?: string;
496
- /**
497
- * An instance id. For legacy reasons may be UUID or a string.
498
- * @maxLength 200
499
- */
500
- instanceId?: string;
501
- /** An application state. */
502
- state?: StateWithLiterals;
503
- }
504
- declare enum State {
505
- UNKNOWN = "UNKNOWN",
506
- ENABLED = "ENABLED",
507
- DISABLED = "DISABLED",
508
- PENDING = "PENDING",
509
- DEMO = "DEMO"
510
- }
511
- /** @enumType */
512
- type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
513
- interface SiteCreated {
514
- /**
515
- * A template identifier (empty if not created from a template).
516
- * @maxLength 36
517
- */
518
- originTemplateId?: string;
519
- /**
520
- * An account id of the owner.
521
- * @format GUID
522
- */
523
- ownerId?: string;
524
- /** A context in which meta site was created. */
525
- context?: SiteCreatedContextWithLiterals;
526
- /**
527
- * A meta site id from which this site was created.
528
- *
529
- * In case of a creation from a template it's a template id.
530
- * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
531
- * @format GUID
532
- */
533
- originMetaSiteId?: string | null;
534
- /**
535
- * A meta site name (URL slug).
536
- * @maxLength 20
537
- */
538
- siteName?: string;
539
- /** A namespace. */
540
- namespace?: NamespaceWithLiterals;
541
- }
542
- declare enum SiteCreatedContext {
543
- /** A valid option, we don't expose all reasons why site might be created. */
544
- OTHER = "OTHER",
545
- /** A meta site was created from template. */
546
- FROM_TEMPLATE = "FROM_TEMPLATE",
547
- /** A meta site was created by copying of the transfferred meta site. */
548
- DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
549
- /** A copy of existing meta site. */
550
- DUPLICATE = "DUPLICATE",
551
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
552
- OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
553
- /** deprecated A meta site was created for Flash editor. */
554
- FLASH = "FLASH"
555
- }
556
- /** @enumType */
557
- type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
558
- declare enum Namespace {
559
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
560
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
561
- WIX = "WIX",
562
- /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
563
- SHOUT_OUT = "SHOUT_OUT",
564
- /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
565
- ALBUMS = "ALBUMS",
566
- /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
567
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
568
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
569
- HOTELS = "HOTELS",
570
- /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
571
- CLUBS = "CLUBS",
572
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
573
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
574
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
575
- DEV_SITE = "DEV_SITE",
576
- /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
577
- LOGOS = "LOGOS",
578
- /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
579
- VIDEO_MAKER = "VIDEO_MAKER",
580
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
581
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
582
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
583
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
584
- /**
585
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
586
- *
587
- * Meta site with this namespace will *not* be shown in a user's site list by default.
588
- */
589
- HTML_DRAFT = "HTML_DRAFT",
590
- /**
591
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
592
- * Will be accessible from Site List and will not have a website app.
593
- * Once the user attaches a site, the site will become a regular wixsite.
594
- */
595
- SITELESS_BUSINESS = "SITELESS_BUSINESS",
596
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
597
- CREATOR_ECONOMY = "CREATOR_ECONOMY",
598
- /** It is to be used in the Business First efforts. */
599
- DASHBOARD_FIRST = "DASHBOARD_FIRST",
600
- /** Bookings business flow with no site. */
601
- ANYWHERE = "ANYWHERE",
602
- /** Namespace for Headless Backoffice with no editor */
603
- HEADLESS = "HEADLESS",
604
- /**
605
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
606
- * The site will be used for account level CSM feature for enterprise
607
- */
608
- ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
609
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
610
- RISE = "RISE",
611
- /**
612
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
613
- * There's a blank site behind the scene but it's blank).
614
- * The Mobile company will be the owner of this namespace.
615
- */
616
- BRANDED_FIRST = "BRANDED_FIRST",
617
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
618
- NOWNIA = "NOWNIA",
619
- /**
620
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
621
- * The Partners company owns this namespace.
622
- */
623
- UGC_TEMPLATE = "UGC_TEMPLATE",
624
- /** Codux Headless Sites */
625
- CODUX = "CODUX",
626
- /** Bobb - AI Design Creator. */
627
- MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
628
- /**
629
- * Shared Blog Site is a unique single site across Enterprise account,
630
- * This site will hold all Blog posts related to the Marketing product.
631
- */
632
- SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
633
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
634
- STANDALONE_FORMS = "STANDALONE_FORMS",
635
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
636
- STANDALONE_EVENTS = "STANDALONE_EVENTS",
637
- /** MIMIR - Siteless account for MIMIR Ai Job runner. */
638
- MIMIR = "MIMIR",
639
- /** Wix Twins platform. */
640
- TWINS = "TWINS",
641
- /** Wix Nano. */
642
- NANO = "NANO"
643
- }
644
- /** @enumType */
645
- type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO';
646
- /** Site transferred to another user. */
647
- interface SiteTransferred {
648
- /**
649
- * A previous owner id (user that transfers meta site).
650
- * @format GUID
651
- */
652
- oldOwnerId?: string;
653
- /**
654
- * A new owner id (user that accepts meta site).
655
- * @format GUID
656
- */
657
- newOwnerId?: string;
658
- }
659
- /** Soft deletion of the meta site. Could be restored. */
660
- interface SiteDeleted {
661
- /** A deletion context. */
662
- deleteContext?: DeleteContext;
663
- }
664
- interface DeleteContext {
665
- /** When the meta site was deleted. */
666
- dateDeleted?: Date | null;
667
- /** A status. */
668
- deleteStatus?: DeleteStatusWithLiterals;
669
- /**
670
- * A reason (flow).
671
- * @maxLength 255
672
- */
673
- deleteOrigin?: string;
674
- /**
675
- * A service that deleted it.
676
- * @maxLength 255
677
- */
678
- initiatorId?: string | null;
679
- }
680
- declare enum DeleteStatus {
681
- UNKNOWN = "UNKNOWN",
682
- TRASH = "TRASH",
683
- DELETED = "DELETED",
684
- PENDING_PURGE = "PENDING_PURGE",
685
- PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
686
- }
687
- /** @enumType */
688
- type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
689
- /** Restoration of the meta site. */
690
- interface SiteUndeleted {
691
- }
692
- /** First publish of a meta site. Or subsequent publish after unpublish. */
693
- interface SitePublished {
694
- }
695
- interface SiteUnpublished {
696
- /**
697
- * A list of URLs previously associated with the meta site.
698
- * @maxLength 4000
699
- * @maxSize 10000
700
- */
701
- urls?: string[];
702
- }
703
- interface SiteMarkedAsTemplate {
704
- }
705
- interface SiteMarkedAsWixSite {
706
- }
707
- /**
708
- * Represents a service provisioned a site.
709
- *
710
- * Note on `origin_instance_id`:
711
- * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
712
- * This is because of the following scenario:
713
- *
714
- * Imagine you have a template where a third-party application (TPA) includes some stub data,
715
- * such as a product catalog. When you create a site from this template, you inherit this
716
- * default product catalog. However, if the template's product catalog is modified,
717
- * your site will retain the catalog as it was at the time of site creation. This ensures that
718
- * your site remains consistent with what you initially received and does not include any
719
- * changes made to the original template afterward.
720
- * To ensure this, the TPA on the template gets a new instance_id.
721
- */
722
- interface ServiceProvisioned {
723
- /**
724
- * Either UUID or EmbeddedServiceType.
725
- * @maxLength 36
726
- */
727
- appDefId?: string;
728
- /**
729
- * Not only UUID. Something here could be something weird.
730
- * @maxLength 36
731
- */
732
- instanceId?: string;
733
- /**
734
- * An instance id from which this instance is originated.
735
- * @maxLength 36
736
- */
737
- originInstanceId?: string;
738
- /**
739
- * A version.
740
- * @maxLength 500
741
- */
742
- version?: string | null;
743
- /**
744
- * The origin meta site id
745
- * @format GUID
746
- */
747
- originMetaSiteId?: string | null;
748
- }
749
- interface ServiceRemoved {
750
- /**
751
- * Either UUID or EmbeddedServiceType.
752
- * @maxLength 36
753
- */
754
- appDefId?: string;
755
- /**
756
- * Not only UUID. Something here could be something weird.
757
- * @maxLength 36
758
- */
759
- instanceId?: string;
760
- /**
761
- * A version.
762
- * @maxLength 500
763
- */
764
- version?: string | null;
765
- }
766
- /** Rename of the site. Meaning, free public url has been changed as well. */
767
- interface SiteRenamed {
768
- /**
769
- * A new meta site name (URL slug).
770
- * @maxLength 20
771
- */
772
- newSiteName?: string;
773
- /**
774
- * A previous meta site name (URL slug).
775
- * @maxLength 255
776
- */
777
- oldSiteName?: string;
778
- }
779
- /**
780
- * Hard deletion of the meta site.
781
- *
782
- * Could not be restored. Therefore it's desirable to cleanup data.
783
- */
784
- interface SiteHardDeleted {
785
- /** A deletion context. */
786
- deleteContext?: DeleteContext;
787
- }
788
- interface NamespaceChanged {
789
- /** A previous namespace. */
790
- oldNamespace?: NamespaceWithLiterals;
791
- /** A new namespace. */
792
- newNamespace?: NamespaceWithLiterals;
793
- }
794
- /** Assigned Studio editor */
795
- interface StudioAssigned {
796
- }
797
- /** Unassigned Studio editor */
798
- interface StudioUnassigned {
799
- }
800
- /**
801
- * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
802
- *
803
- * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
804
- * with sites and its urls, you need to listen to another topic/event. Read about it:
805
- *
806
- * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
807
- */
808
- interface SiteUrlChanged {
809
- }
810
- /**
811
- * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
812
- * Consumed by other teams to remove relevant data.
813
- */
814
- interface SitePurgedExternally {
815
- /**
816
- * @maxLength 2048
817
- * @maxSize 100
818
- * @deprecated
819
- * @targetRemovalDate 2025-04-15
820
- */
821
- appDefId?: string[];
822
- }
823
- /** Assigned Odeditor */
824
- interface OdeditorAssigned {
825
- }
826
- /** Unassigned Odeditor */
827
- interface OdeditorUnassigned {
828
- }
829
- /** Assigned Picasso editor */
830
- interface PicassoAssigned {
831
- }
832
- /** Unassigned Picasso */
833
- interface PicassoUnassigned {
834
- }
835
- /** Assigned Wixel */
836
- interface WixelAssigned {
837
- }
838
- /** Unassigned Wixel */
839
- interface WixelUnassigned {
840
- }
841
- /** Assigned StudioTwo */
842
- interface StudioTwoAssigned {
843
- }
844
- /** Unassigned StudioTwo */
845
- interface StudioTwoUnassigned {
846
- }
847
- interface DomainEvent extends DomainEventBodyOneOf {
848
- createdEvent?: EntityCreatedEvent;
849
- updatedEvent?: EntityUpdatedEvent;
850
- deletedEvent?: EntityDeletedEvent;
851
- actionEvent?: ActionEvent;
852
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
853
- _id?: string;
854
- /**
855
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
856
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
857
- */
858
- entityFqdn?: string;
859
- /**
860
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
861
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
862
- */
863
- slug?: string;
864
- /** ID of the entity associated with the event. */
865
- entityId?: string;
866
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
867
- eventTime?: Date | null;
868
- /**
869
- * Whether the event was triggered as a result of a privacy regulation application
870
- * (for example, GDPR).
871
- */
872
- triggeredByAnonymizeRequest?: boolean | null;
873
- /** If present, indicates the action that triggered the event. */
874
- originatedFrom?: string | null;
875
- /**
876
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
877
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
878
- */
879
- entityEventSequence?: string | null;
880
- }
881
- /** @oneof */
882
- interface DomainEventBodyOneOf {
883
- createdEvent?: EntityCreatedEvent;
884
- updatedEvent?: EntityUpdatedEvent;
885
- deletedEvent?: EntityDeletedEvent;
886
- actionEvent?: ActionEvent;
887
- }
888
- interface EntityCreatedEvent {
889
- entity?: string;
890
- }
891
- interface RestoreInfo {
892
- deletedDate?: Date | null;
893
- }
894
- interface EntityUpdatedEvent {
895
- /**
896
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
897
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
898
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
899
- */
900
- currentEntity?: string;
901
- }
902
- interface EntityDeletedEvent {
903
- /** Entity that was deleted. */
904
- deletedEntity?: string | null;
905
- }
906
- interface ActionEvent {
907
- body?: string;
908
- }
909
- interface MessageEnvelope {
910
- /**
911
- * App instance ID.
912
- * @format GUID
913
- */
914
- instanceId?: string | null;
915
- /**
916
- * Event type.
917
- * @maxLength 150
918
- */
919
- eventType?: string;
920
- /** The identification type and identity data. */
921
- identity?: IdentificationData;
922
- /** Stringify payload. */
923
- data?: string;
924
- }
925
- interface IdentificationData extends IdentificationDataIdOneOf {
926
- /**
927
- * ID of a site visitor that has not logged in to the site.
928
- * @format GUID
929
- */
930
- anonymousVisitorId?: string;
931
- /**
932
- * ID of a site visitor that has logged in to the site.
933
- * @format GUID
934
- */
935
- memberId?: string;
936
- /**
937
- * ID of a Wix user (site owner, contributor, etc.).
938
- * @format GUID
939
- */
940
- wixUserId?: string;
941
- /**
942
- * ID of an app.
943
- * @format GUID
944
- */
945
- appId?: string;
946
- /** @readonly */
947
- identityType?: WebhookIdentityTypeWithLiterals;
948
- }
949
- /** @oneof */
950
- interface IdentificationDataIdOneOf {
951
- /**
952
- * ID of a site visitor that has not logged in to the site.
953
- * @format GUID
954
- */
955
- anonymousVisitorId?: string;
956
- /**
957
- * ID of a site visitor that has logged in to the site.
958
- * @format GUID
959
- */
960
- memberId?: string;
961
- /**
962
- * ID of a Wix user (site owner, contributor, etc.).
963
- * @format GUID
964
- */
965
- wixUserId?: string;
966
- /**
967
- * ID of an app.
968
- * @format GUID
969
- */
970
- appId?: string;
971
- }
972
- declare enum WebhookIdentityType {
973
- UNKNOWN = "UNKNOWN",
974
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
975
- MEMBER = "MEMBER",
976
- WIX_USER = "WIX_USER",
977
- APP = "APP"
978
- }
979
- /** @enumType */
980
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
981
- interface UpdatePaymentAcceptanceConfiguration {
982
- /**
983
- * Id
984
- * @format GUID
985
- * @readonly
986
- * @immutable
987
- */
988
- _id?: string | null;
989
- /**
990
- * App id
991
- * @format GUID
992
- * @immutable
993
- */
994
- appId?: string | null;
995
- /**
996
- * Rules
997
- * @maxSize 1000
998
- */
999
- rules?: PaymentAcceptanceRule[];
1000
- /**
1001
- * Revision
1002
- * @readonly
1003
- */
1004
- revision?: string | null;
1005
- /**
1006
- * Date when PaymentAcceptanceConfiguration was created
1007
- * @readonly
1008
- * @immutable
1009
- */
1010
- _createdDate?: Date | null;
1011
- /**
1012
- * Date when PaymentAcceptanceConfiguration was updated
1013
- * @readonly
1014
- */
1015
- _updatedDate?: Date | null;
1016
- /** Data Extensions */
1017
- extendedFields?: ExtendedFields;
1018
- /** Tags */
1019
- tags?: Tags;
1020
- }
1021
- interface QueryCursorResult {
1022
- cursors: Cursors;
1023
- hasNext: () => boolean;
1024
- hasPrev: () => boolean;
1025
- length: number;
1026
- pageSize: number;
1027
- }
1028
- interface PaymentAcceptanceConfigurationsQueryResult extends QueryCursorResult {
1029
- items: PaymentAcceptanceConfiguration[];
1030
- query: PaymentAcceptanceConfigurationsQueryBuilder;
1031
- next: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
1032
- prev: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
1033
- }
1034
- interface PaymentAcceptanceConfigurationsQueryBuilder {
1035
- /** @param propertyName - Property whose value is compared with `value`.
1036
- * @param value - Value to compare against.
1037
- * @documentationMaturity preview
1038
- */
1039
- eq: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled' | '_createdDate' | '_updatedDate', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
1040
- /** @param propertyName - Property whose value is compared with `value`.
1041
- * @param value - Value to compare against.
1042
- * @documentationMaturity preview
1043
- */
1044
- ne: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled' | '_createdDate' | '_updatedDate', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
1045
- /** @param propertyName - Property whose value is compared with `value`.
1046
- * @param value - Value to compare against.
1047
- * @documentationMaturity preview
1048
- */
1049
- ge: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | '_createdDate' | '_updatedDate', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
1050
- /** @param propertyName - Property whose value is compared with `value`.
1051
- * @param value - Value to compare against.
1052
- * @documentationMaturity preview
1053
- */
1054
- gt: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | '_createdDate' | '_updatedDate', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
1055
- /** @param propertyName - Property whose value is compared with `value`.
1056
- * @param value - Value to compare against.
1057
- * @documentationMaturity preview
1058
- */
1059
- le: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | '_createdDate' | '_updatedDate', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
1060
- /** @param propertyName - Property whose value is compared with `value`.
1061
- * @param value - Value to compare against.
1062
- * @documentationMaturity preview
1063
- */
1064
- lt: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | '_createdDate' | '_updatedDate', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
1065
- /** @param propertyName - Property whose value is compared with `string`.
1066
- * @param string - String to compare against. Case-insensitive.
1067
- * @documentationMaturity preview
1068
- */
1069
- startsWith: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId', value: string) => PaymentAcceptanceConfigurationsQueryBuilder;
1070
- /** @param propertyName - Property whose value is compared with `values`.
1071
- * @param values - List of values to compare against.
1072
- * @documentationMaturity preview
1073
- */
1074
- hasSome: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled' | '_createdDate' | '_updatedDate', value: any[]) => PaymentAcceptanceConfigurationsQueryBuilder;
1075
- /** @documentationMaturity preview */
1076
- in: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled' | '_createdDate' | '_updatedDate', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
1077
- /** @documentationMaturity preview */
1078
- exists: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled' | '_createdDate' | '_updatedDate', value: boolean) => PaymentAcceptanceConfigurationsQueryBuilder;
1079
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1080
- * @documentationMaturity preview
1081
- */
1082
- ascending: (...propertyNames: Array<'_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled' | '_createdDate' | '_updatedDate'>) => PaymentAcceptanceConfigurationsQueryBuilder;
1083
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1084
- * @documentationMaturity preview
1085
- */
1086
- descending: (...propertyNames: Array<'_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled' | '_createdDate' | '_updatedDate'>) => PaymentAcceptanceConfigurationsQueryBuilder;
1087
- /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
1088
- * @documentationMaturity preview
1089
- */
1090
- limit: (limit: number) => PaymentAcceptanceConfigurationsQueryBuilder;
1091
- /** @param cursor - A pointer to specific record
1092
- * @documentationMaturity preview
1093
- */
1094
- skipTo: (cursor: string) => PaymentAcceptanceConfigurationsQueryBuilder;
1095
- /** @documentationMaturity preview */
1096
- find: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
1097
- }
1098
- interface BulkUpdatePaymentAcceptanceConfigurationTagsOptions {
1099
- /** List of Tags to assign */
1100
- assignTags?: Tags;
1101
- /** List of Tags to unAssign */
1102
- unassignTags?: Tags;
1103
- }
1104
- interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {
1105
- /** List of Tags to assign */
1106
- assignTags?: Tags;
1107
- /** List of Tags to unAssign */
1108
- unassignTags?: Tags;
1109
- }
1
+ import { MaybeContext, BuildRESTFunction, HttpClient } from '@wix/sdk-types';
2
+ import { PaymentAcceptanceConfigurationsQueryBuilder, CursorQuery, typedQueryPaymentAcceptanceConfigurations } from './index.typings.js';
3
+ export { ActionEvent, AddPaymentAcceptanceConfigurationRulesOptions, AddPaymentAcceptanceConfigurationRulesRequest, AddPaymentAcceptanceConfigurationRulesResponse, ApplicationError, Asset, BulkActionMetadata, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, BulkUpdatePaymentAcceptanceConfigurationTagsOptions, BulkUpdatePaymentAcceptanceConfigurationTagsRequest, BulkUpdatePaymentAcceptanceConfigurationTagsResponse, BulkUpdatePaymentAcceptanceConfigurationTagsResult, Countries, CreatePaymentAcceptanceConfigurationRequest, CreatePaymentAcceptanceConfigurationResponse, Currencies, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, DeleteContext, DeletePaymentAcceptanceConfigurationRequest, DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetPaymentAcceptanceConfigurationRequest, GetPaymentAcceptanceConfigurationResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationsQueryResult, PaymentAcceptanceRule, PaymentBrands, PicassoAssigned, PicassoUnassigned, QueryPaymentAcceptanceConfigurationsRequest, QueryPaymentAcceptanceConfigurationsResponse, RemovePaymentAcceptanceConfigurationRulesOptions, RemovePaymentAcceptanceConfigurationRulesRequest, RemovePaymentAcceptanceConfigurationRulesResponse, RestoreInfo, Restrictions, RestrictionsCountriesOneOf, RestrictionsCurrenciesOneOf, RestrictionsPaymentBrandsOneOf, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, TagList, Tags, UpdatePaymentAcceptanceConfiguration, UpdatePaymentAcceptanceConfigurationRequest, UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
1110
4
 
1111
- export { type ActionEvent, type ApplicationError, type Asset, type BulkActionMetadata, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsResult, type Countries, type CreatePaymentAcceptanceConfigurationRequest, type CreatePaymentAcceptanceConfigurationResponse, type Currencies, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteContext, type DeletePaymentAcceptanceConfigurationRequest, type DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetPaymentAcceptanceConfigurationRequest, type GetPaymentAcceptanceConfigurationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PaymentAcceptanceConfiguration, type PaymentAcceptanceConfigurationsQueryBuilder, type PaymentAcceptanceConfigurationsQueryResult, type PaymentAcceptanceRule, type PaymentBrands, type PicassoAssigned, type PicassoUnassigned, type QueryPaymentAcceptanceConfigurationsRequest, type QueryPaymentAcceptanceConfigurationsResponse, type RestoreInfo, type Restrictions, type RestrictionsCountriesOneOf, type RestrictionsCurrenciesOneOf, type RestrictionsPaymentBrandsOneOf, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type TagList, type Tags, type UpdatePaymentAcceptanceConfiguration, type UpdatePaymentAcceptanceConfigurationRequest, type UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned };
5
+ declare function customQueryPaymentAcceptanceConfigurations(httpClient: HttpClient): {
6
+ (): PaymentAcceptanceConfigurationsQueryBuilder;
7
+ (query: CursorQuery): ReturnType<typeof typedQueryPaymentAcceptanceConfigurations>;
8
+ };
9
+ declare const queryPaymentAcceptanceConfigurations: MaybeContext<BuildRESTFunction<typeof customQueryPaymentAcceptanceConfigurations> & typeof customQueryPaymentAcceptanceConfigurations>;
10
+
11
+ export { CursorQuery, PaymentAcceptanceConfigurationsQueryBuilder, queryPaymentAcceptanceConfigurations };