@wix/auto_sdk_payments_payins-configurations 1.0.8 → 1.0.10

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 (128) hide show
  1. package/build/{cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.d.ts → index.d.mts} +49 -48
  2. package/build/{es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.d.ts → index.d.ts} +49 -48
  3. package/build/index.js +512 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +481 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +91 -0
  8. package/build/internal/index.d.ts +91 -0
  9. package/build/internal/index.js +512 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +481 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/{es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.d.ts → internal/meta.d.mts} +55 -174
  14. package/build/internal/{cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.d.ts → meta.d.ts} +55 -174
  15. package/build/internal/meta.js +360 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +328 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/internal/{cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.d.ts → payments-payins-configurations-v1-payins-configuration-payins-configurations.universal-Co2iZgKo.d.mts} +49 -131
  20. package/build/internal/{es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.d.ts → payments-payins-configurations-v1-payins-configuration-payins-configurations.universal-Co2iZgKo.d.ts} +49 -131
  21. package/build/{cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.d.ts → meta.d.mts} +55 -174
  22. package/build/{internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.d.ts → meta.d.ts} +55 -174
  23. package/build/meta.js +360 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +328 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/package.json +13 -12
  28. package/build/cjs/index.d.ts +0 -1
  29. package/build/cjs/index.js +0 -18
  30. package/build/cjs/index.js.map +0 -1
  31. package/build/cjs/index.typings.d.ts +0 -1
  32. package/build/cjs/index.typings.js +0 -18
  33. package/build/cjs/index.typings.js.map +0 -1
  34. package/build/cjs/meta.d.ts +0 -1
  35. package/build/cjs/meta.js +0 -18
  36. package/build/cjs/meta.js.map +0 -1
  37. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.d.ts +0 -2
  38. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js +0 -21
  39. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js.map +0 -1
  40. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.d.ts +0 -37
  41. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js +0 -220
  42. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js.map +0 -1
  43. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.d.ts +0 -22
  44. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.js +0 -144
  45. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.js.map +0 -1
  46. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.d.ts +0 -4
  47. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js +0 -51
  48. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js.map +0 -1
  49. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.js +0 -17
  50. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.js.map +0 -1
  51. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js +0 -300
  52. package/build/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js.map +0 -1
  53. package/build/es/index.d.ts +0 -1
  54. package/build/es/index.js +0 -2
  55. package/build/es/index.js.map +0 -1
  56. package/build/es/index.typings.d.ts +0 -1
  57. package/build/es/index.typings.js +0 -2
  58. package/build/es/index.typings.js.map +0 -1
  59. package/build/es/meta.d.ts +0 -1
  60. package/build/es/meta.js +0 -2
  61. package/build/es/meta.js.map +0 -1
  62. package/build/es/package.json +0 -3
  63. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.d.ts +0 -2
  64. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js +0 -16
  65. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js.map +0 -1
  66. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.d.ts +0 -37
  67. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js +0 -211
  68. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js.map +0 -1
  69. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.d.ts +0 -22
  70. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.js +0 -112
  71. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.js.map +0 -1
  72. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.d.ts +0 -4
  73. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js +0 -40
  74. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js.map +0 -1
  75. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.js +0 -14
  76. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.js.map +0 -1
  77. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js +0 -268
  78. package/build/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js.map +0 -1
  79. package/build/internal/cjs/index.d.ts +0 -1
  80. package/build/internal/cjs/index.js +0 -18
  81. package/build/internal/cjs/index.js.map +0 -1
  82. package/build/internal/cjs/index.typings.d.ts +0 -1
  83. package/build/internal/cjs/index.typings.js +0 -18
  84. package/build/internal/cjs/index.typings.js.map +0 -1
  85. package/build/internal/cjs/meta.d.ts +0 -1
  86. package/build/internal/cjs/meta.js +0 -18
  87. package/build/internal/cjs/meta.js.map +0 -1
  88. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.d.ts +0 -16
  89. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js +0 -21
  90. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js.map +0 -1
  91. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.d.ts +0 -37
  92. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js +0 -220
  93. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js.map +0 -1
  94. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.d.ts +0 -22
  95. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.js +0 -144
  96. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.js.map +0 -1
  97. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.d.ts +0 -78
  98. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js +0 -51
  99. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js.map +0 -1
  100. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.js +0 -17
  101. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.js.map +0 -1
  102. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js +0 -300
  103. package/build/internal/cjs/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js.map +0 -1
  104. package/build/internal/es/index.d.ts +0 -1
  105. package/build/internal/es/index.js +0 -2
  106. package/build/internal/es/index.js.map +0 -1
  107. package/build/internal/es/index.typings.d.ts +0 -1
  108. package/build/internal/es/index.typings.js +0 -2
  109. package/build/internal/es/index.typings.js.map +0 -1
  110. package/build/internal/es/meta.d.ts +0 -1
  111. package/build/internal/es/meta.js +0 -2
  112. package/build/internal/es/meta.js.map +0 -1
  113. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.d.ts +0 -16
  114. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js +0 -16
  115. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.context.js.map +0 -1
  116. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.d.ts +0 -37
  117. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js +0 -211
  118. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.http.js.map +0 -1
  119. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.d.ts +0 -22
  120. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.js +0 -112
  121. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.meta.js.map +0 -1
  122. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.d.ts +0 -78
  123. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js +0 -40
  124. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.public.js.map +0 -1
  125. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.js +0 -14
  126. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.types.js.map +0 -1
  127. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js +0 -268
  128. package/build/internal/es/src/payments-payins-configurations-v1-payins-configuration-payins-configurations.universal.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /** PayinsConfiguration */
2
- export interface PayinsConfiguration {
2
+ interface PayinsConfiguration {
3
3
  /**
4
4
  * id
5
5
  * @format GUID
@@ -39,7 +39,7 @@ export interface PayinsConfiguration {
39
39
  /** Tags */
40
40
  tags?: Tags;
41
41
  }
42
- export interface PayinsRule {
42
+ interface PayinsRule {
43
43
  /**
44
44
  * payment_method_type_id
45
45
  * @format GUID
@@ -53,11 +53,11 @@ export interface PayinsRule {
53
53
  /** merchant_selection */
54
54
  merchantSelection?: MerchantSelection;
55
55
  }
56
- export interface MerchantSelection {
56
+ interface MerchantSelection {
57
57
  /** payins_enabled */
58
58
  payinsEnabled?: boolean;
59
59
  }
60
- export interface ExtendedFields {
60
+ interface ExtendedFields {
61
61
  /**
62
62
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
63
63
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -68,13 +68,13 @@ export interface ExtendedFields {
68
68
  */
69
69
  namespaces?: Record<string, Record<string, any>>;
70
70
  }
71
- export interface Tags {
71
+ interface Tags {
72
72
  /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */
73
73
  privateTags?: TagList;
74
74
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
75
75
  tags?: TagList;
76
76
  }
77
- export interface TagList {
77
+ interface TagList {
78
78
  /**
79
79
  * List of tag IDs
80
80
  * @maxSize 100
@@ -82,38 +82,38 @@ export interface TagList {
82
82
  */
83
83
  tagIds?: string[];
84
84
  }
85
- export interface CreatePayinsConfigurationRequest {
85
+ interface CreatePayinsConfigurationRequest {
86
86
  /** PayinsConfiguration to be created. */
87
87
  payinsConfiguration: PayinsConfiguration;
88
88
  }
89
- export interface CreatePayinsConfigurationResponse {
89
+ interface CreatePayinsConfigurationResponse {
90
90
  /** The created PayinsConfiguration. */
91
91
  payinsConfiguration?: PayinsConfiguration;
92
92
  }
93
- export interface GetPayinsConfigurationRequest {
93
+ interface GetPayinsConfigurationRequest {
94
94
  /**
95
95
  * ID of the PayinsConfiguration to retrieve.
96
96
  * @format GUID
97
97
  */
98
98
  payinsConfigurationId: string;
99
99
  }
100
- export interface GetPayinsConfigurationResponse {
100
+ interface GetPayinsConfigurationResponse {
101
101
  /** The requested PayinsConfiguration. */
102
102
  payinsConfiguration?: PayinsConfiguration;
103
103
  }
104
- export interface UpdatePayinsConfigurationRequest {
104
+ interface UpdatePayinsConfigurationRequest {
105
105
  /** PayinsConfiguration to be updated, may be partial. */
106
106
  payinsConfiguration: PayinsConfiguration;
107
107
  }
108
- export interface UpdatePayinsConfigurationResponse {
108
+ interface UpdatePayinsConfigurationResponse {
109
109
  /** Updated PayinsConfiguration. */
110
110
  payinsConfiguration?: PayinsConfiguration;
111
111
  }
112
- export interface QueryPayinsConfigurationsRequest {
112
+ interface QueryPayinsConfigurationsRequest {
113
113
  /** WQL expression. */
114
114
  query?: CursorQuery;
115
115
  }
116
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
116
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
117
117
  /** 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`. */
118
118
  cursorPaging?: CursorPaging;
119
119
  /**
@@ -133,11 +133,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
133
133
  sort?: Sorting[];
134
134
  }
135
135
  /** @oneof */
136
- export interface CursorQueryPagingMethodOneOf {
136
+ interface CursorQueryPagingMethodOneOf {
137
137
  /** 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`. */
138
138
  cursorPaging?: CursorPaging;
139
139
  }
140
- export interface Sorting {
140
+ interface Sorting {
141
141
  /**
142
142
  * Name of the field to sort by.
143
143
  * @maxLength 512
@@ -146,13 +146,13 @@ export interface Sorting {
146
146
  /** Sort order. */
147
147
  order?: SortOrderWithLiterals;
148
148
  }
149
- export declare enum SortOrder {
149
+ declare enum SortOrder {
150
150
  ASC = "ASC",
151
151
  DESC = "DESC"
152
152
  }
153
153
  /** @enumType */
154
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
155
- export interface CursorPaging {
154
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
155
+ interface CursorPaging {
156
156
  /**
157
157
  * Maximum number of items to return in the results.
158
158
  * @max 100
@@ -167,13 +167,13 @@ export interface CursorPaging {
167
167
  */
168
168
  cursor?: string | null;
169
169
  }
170
- export interface QueryPayinsConfigurationsResponse {
170
+ interface QueryPayinsConfigurationsResponse {
171
171
  /** List of PayinsConfigurations. */
172
172
  payinsConfigurations?: PayinsConfiguration[];
173
173
  /** Paging metadata */
174
174
  pagingMetadata?: CursorPagingMetadata;
175
175
  }
176
- export interface CursorPagingMetadata {
176
+ interface CursorPagingMetadata {
177
177
  /** Number of items returned in the response. */
178
178
  count?: number | null;
179
179
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -186,7 +186,7 @@ export interface CursorPagingMetadata {
186
186
  */
187
187
  hasNext?: boolean | null;
188
188
  }
189
- export interface Cursors {
189
+ interface Cursors {
190
190
  /**
191
191
  * Cursor string pointing to the next page in the list of results.
192
192
  * @maxLength 16000
@@ -198,7 +198,7 @@ export interface Cursors {
198
198
  */
199
199
  prev?: string | null;
200
200
  }
201
- export interface BulkUpdatePayinsConfigurationTagsRequest {
201
+ interface BulkUpdatePayinsConfigurationTagsRequest {
202
202
  /**
203
203
  * List of PayinsConfigurations that their tags will update.
204
204
  * @minSize 1
@@ -211,7 +211,7 @@ export interface BulkUpdatePayinsConfigurationTagsRequest {
211
211
  /** List of Tags to unAssign */
212
212
  unassignTags?: Tags;
213
213
  }
214
- export interface BulkUpdatePayinsConfigurationTagsResponse {
214
+ interface BulkUpdatePayinsConfigurationTagsResponse {
215
215
  /**
216
216
  * Results
217
217
  * @minSize 1
@@ -221,7 +221,7 @@ export interface BulkUpdatePayinsConfigurationTagsResponse {
221
221
  /** Metadata regarding the bulk update operation */
222
222
  bulkActionMetadata?: BulkActionMetadata;
223
223
  }
224
- export interface ItemMetadata {
224
+ interface ItemMetadata {
225
225
  /**
226
226
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
227
227
  * @format GUID
@@ -234,7 +234,7 @@ export interface ItemMetadata {
234
234
  /** Details about the error in case of failure. */
235
235
  error?: ApplicationError;
236
236
  }
237
- export interface ApplicationError {
237
+ interface ApplicationError {
238
238
  /** Error code. */
239
239
  code?: string;
240
240
  /** Description of the error. */
@@ -242,11 +242,11 @@ export interface ApplicationError {
242
242
  /** Data related to the error. */
243
243
  data?: Record<string, any> | null;
244
244
  }
245
- export interface BulkUpdatePayinsConfigurationTagsResult {
245
+ interface BulkUpdatePayinsConfigurationTagsResult {
246
246
  /** Metadata regarding the specific single update operation */
247
247
  itemMetadata?: ItemMetadata;
248
248
  }
249
- export interface BulkActionMetadata {
249
+ interface BulkActionMetadata {
250
250
  /** Number of items that were successfully processed. */
251
251
  totalSuccesses?: number;
252
252
  /** Number of items that couldn't be processed. */
@@ -254,7 +254,7 @@ export interface BulkActionMetadata {
254
254
  /** Number of failures without details because detailed failure threshold was exceeded. */
255
255
  undetailedFailures?: number;
256
256
  }
257
- export interface BulkUpdatePayinsConfigurationTagsByFilterRequest {
257
+ interface BulkUpdatePayinsConfigurationTagsByFilterRequest {
258
258
  /** Filter */
259
259
  filter: Record<string, any> | null;
260
260
  /** List of Tags to assign */
@@ -262,14 +262,14 @@ export interface BulkUpdatePayinsConfigurationTagsByFilterRequest {
262
262
  /** List of Tags to unAssign */
263
263
  unassignTags?: Tags;
264
264
  }
265
- export interface BulkUpdatePayinsConfigurationTagsByFilterResponse {
265
+ interface BulkUpdatePayinsConfigurationTagsByFilterResponse {
266
266
  /**
267
267
  * Job ID
268
268
  * @format GUID
269
269
  */
270
270
  jobId?: string;
271
271
  }
272
- export interface DomainEvent extends DomainEventBodyOneOf {
272
+ interface DomainEvent extends DomainEventBodyOneOf {
273
273
  createdEvent?: EntityCreatedEvent;
274
274
  updatedEvent?: EntityUpdatedEvent;
275
275
  deletedEvent?: EntityDeletedEvent;
@@ -312,19 +312,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
312
312
  entityEventSequence?: string | null;
313
313
  }
314
314
  /** @oneof */
315
- export interface DomainEventBodyOneOf {
315
+ interface DomainEventBodyOneOf {
316
316
  createdEvent?: EntityCreatedEvent;
317
317
  updatedEvent?: EntityUpdatedEvent;
318
318
  deletedEvent?: EntityDeletedEvent;
319
319
  actionEvent?: ActionEvent;
320
320
  }
321
- export interface EntityCreatedEvent {
321
+ interface EntityCreatedEvent {
322
322
  entity?: string;
323
323
  }
324
- export interface RestoreInfo {
324
+ interface RestoreInfo {
325
325
  deletedDate?: Date | null;
326
326
  }
327
- export interface EntityUpdatedEvent {
327
+ interface EntityUpdatedEvent {
328
328
  /**
329
329
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
330
330
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -332,14 +332,14 @@ export interface EntityUpdatedEvent {
332
332
  */
333
333
  currentEntity?: string;
334
334
  }
335
- export interface EntityDeletedEvent {
335
+ interface EntityDeletedEvent {
336
336
  /** Entity that was deleted */
337
337
  deletedEntity?: string | null;
338
338
  }
339
- export interface ActionEvent {
339
+ interface ActionEvent {
340
340
  body?: string;
341
341
  }
342
- export interface MessageEnvelope {
342
+ interface MessageEnvelope {
343
343
  /**
344
344
  * App instance ID.
345
345
  * @format GUID
@@ -355,7 +355,7 @@ export interface MessageEnvelope {
355
355
  /** Stringify payload. */
356
356
  data?: string;
357
357
  }
358
- export interface IdentificationData extends IdentificationDataIdOneOf {
358
+ interface IdentificationData extends IdentificationDataIdOneOf {
359
359
  /**
360
360
  * ID of a site visitor that has not logged in to the site.
361
361
  * @format GUID
@@ -380,7 +380,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
380
380
  identityType?: WebhookIdentityTypeWithLiterals;
381
381
  }
382
382
  /** @oneof */
383
- export interface IdentificationDataIdOneOf {
383
+ interface IdentificationDataIdOneOf {
384
384
  /**
385
385
  * ID of a site visitor that has not logged in to the site.
386
386
  * @format GUID
@@ -402,7 +402,7 @@ export interface IdentificationDataIdOneOf {
402
402
  */
403
403
  appId?: string;
404
404
  }
405
- export declare enum WebhookIdentityType {
405
+ declare enum WebhookIdentityType {
406
406
  UNKNOWN = "UNKNOWN",
407
407
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
408
408
  MEMBER = "MEMBER",
@@ -410,8 +410,8 @@ export declare enum WebhookIdentityType {
410
410
  APP = "APP"
411
411
  }
412
412
  /** @enumType */
413
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
414
- export interface UpdatePayinsConfiguration {
413
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
414
+ interface UpdatePayinsConfiguration {
415
415
  /**
416
416
  * id
417
417
  * @format GUID
@@ -458,13 +458,13 @@ interface QueryCursorResult {
458
458
  length: number;
459
459
  pageSize: number;
460
460
  }
461
- export interface PayinsConfigurationsQueryResult extends QueryCursorResult {
461
+ interface PayinsConfigurationsQueryResult extends QueryCursorResult {
462
462
  items: PayinsConfiguration[];
463
463
  query: PayinsConfigurationsQueryBuilder;
464
464
  next: () => Promise<PayinsConfigurationsQueryResult>;
465
465
  prev: () => Promise<PayinsConfigurationsQueryResult>;
466
466
  }
467
- export interface PayinsConfigurationsQueryBuilder {
467
+ interface PayinsConfigurationsQueryBuilder {
468
468
  /** @param propertyName - Property whose value is compared with `value`.
469
469
  * @param value - Value to compare against.
470
470
  * @documentationMaturity preview
@@ -528,16 +528,17 @@ export interface PayinsConfigurationsQueryBuilder {
528
528
  /** @documentationMaturity preview */
529
529
  find: () => Promise<PayinsConfigurationsQueryResult>;
530
530
  }
531
- export interface BulkUpdatePayinsConfigurationTagsOptions {
531
+ interface BulkUpdatePayinsConfigurationTagsOptions {
532
532
  /** List of Tags to assign */
533
533
  assignTags: Tags;
534
534
  /** List of Tags to unAssign */
535
535
  unassignTags?: Tags;
536
536
  }
537
- export interface BulkUpdatePayinsConfigurationTagsByFilterOptions {
537
+ interface BulkUpdatePayinsConfigurationTagsByFilterOptions {
538
538
  /** List of Tags to assign */
539
539
  assignTags: Tags;
540
540
  /** List of Tags to unAssign */
541
541
  unassignTags?: Tags;
542
542
  }
543
- export {};
543
+
544
+ 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 Sorting, type TagList, type Tags, type UpdatePayinsConfiguration, type UpdatePayinsConfigurationRequest, type UpdatePayinsConfigurationResponse, WebhookIdentityType };
@@ -1,5 +1,5 @@
1
1
  /** PayinsConfiguration */
2
- export interface PayinsConfiguration {
2
+ interface PayinsConfiguration {
3
3
  /**
4
4
  * id
5
5
  * @format GUID
@@ -39,7 +39,7 @@ export interface PayinsConfiguration {
39
39
  /** Tags */
40
40
  tags?: Tags;
41
41
  }
42
- export interface PayinsRule {
42
+ interface PayinsRule {
43
43
  /**
44
44
  * payment_method_type_id
45
45
  * @format GUID
@@ -53,11 +53,11 @@ export interface PayinsRule {
53
53
  /** merchant_selection */
54
54
  merchantSelection?: MerchantSelection;
55
55
  }
56
- export interface MerchantSelection {
56
+ interface MerchantSelection {
57
57
  /** payins_enabled */
58
58
  payinsEnabled?: boolean;
59
59
  }
60
- export interface ExtendedFields {
60
+ interface ExtendedFields {
61
61
  /**
62
62
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
63
63
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -68,13 +68,13 @@ export interface ExtendedFields {
68
68
  */
69
69
  namespaces?: Record<string, Record<string, any>>;
70
70
  }
71
- export interface Tags {
71
+ interface Tags {
72
72
  /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */
73
73
  privateTags?: TagList;
74
74
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
75
75
  tags?: TagList;
76
76
  }
77
- export interface TagList {
77
+ interface TagList {
78
78
  /**
79
79
  * List of tag IDs
80
80
  * @maxSize 100
@@ -82,38 +82,38 @@ export interface TagList {
82
82
  */
83
83
  tagIds?: string[];
84
84
  }
85
- export interface CreatePayinsConfigurationRequest {
85
+ interface CreatePayinsConfigurationRequest {
86
86
  /** PayinsConfiguration to be created. */
87
87
  payinsConfiguration: PayinsConfiguration;
88
88
  }
89
- export interface CreatePayinsConfigurationResponse {
89
+ interface CreatePayinsConfigurationResponse {
90
90
  /** The created PayinsConfiguration. */
91
91
  payinsConfiguration?: PayinsConfiguration;
92
92
  }
93
- export interface GetPayinsConfigurationRequest {
93
+ interface GetPayinsConfigurationRequest {
94
94
  /**
95
95
  * ID of the PayinsConfiguration to retrieve.
96
96
  * @format GUID
97
97
  */
98
98
  payinsConfigurationId: string;
99
99
  }
100
- export interface GetPayinsConfigurationResponse {
100
+ interface GetPayinsConfigurationResponse {
101
101
  /** The requested PayinsConfiguration. */
102
102
  payinsConfiguration?: PayinsConfiguration;
103
103
  }
104
- export interface UpdatePayinsConfigurationRequest {
104
+ interface UpdatePayinsConfigurationRequest {
105
105
  /** PayinsConfiguration to be updated, may be partial. */
106
106
  payinsConfiguration: PayinsConfiguration;
107
107
  }
108
- export interface UpdatePayinsConfigurationResponse {
108
+ interface UpdatePayinsConfigurationResponse {
109
109
  /** Updated PayinsConfiguration. */
110
110
  payinsConfiguration?: PayinsConfiguration;
111
111
  }
112
- export interface QueryPayinsConfigurationsRequest {
112
+ interface QueryPayinsConfigurationsRequest {
113
113
  /** WQL expression. */
114
114
  query?: CursorQuery;
115
115
  }
116
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
116
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
117
117
  /** 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`. */
118
118
  cursorPaging?: CursorPaging;
119
119
  /**
@@ -133,11 +133,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
133
133
  sort?: Sorting[];
134
134
  }
135
135
  /** @oneof */
136
- export interface CursorQueryPagingMethodOneOf {
136
+ interface CursorQueryPagingMethodOneOf {
137
137
  /** 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`. */
138
138
  cursorPaging?: CursorPaging;
139
139
  }
140
- export interface Sorting {
140
+ interface Sorting {
141
141
  /**
142
142
  * Name of the field to sort by.
143
143
  * @maxLength 512
@@ -146,13 +146,13 @@ export interface Sorting {
146
146
  /** Sort order. */
147
147
  order?: SortOrderWithLiterals;
148
148
  }
149
- export declare enum SortOrder {
149
+ declare enum SortOrder {
150
150
  ASC = "ASC",
151
151
  DESC = "DESC"
152
152
  }
153
153
  /** @enumType */
154
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
155
- export interface CursorPaging {
154
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
155
+ interface CursorPaging {
156
156
  /**
157
157
  * Maximum number of items to return in the results.
158
158
  * @max 100
@@ -167,13 +167,13 @@ export interface CursorPaging {
167
167
  */
168
168
  cursor?: string | null;
169
169
  }
170
- export interface QueryPayinsConfigurationsResponse {
170
+ interface QueryPayinsConfigurationsResponse {
171
171
  /** List of PayinsConfigurations. */
172
172
  payinsConfigurations?: PayinsConfiguration[];
173
173
  /** Paging metadata */
174
174
  pagingMetadata?: CursorPagingMetadata;
175
175
  }
176
- export interface CursorPagingMetadata {
176
+ interface CursorPagingMetadata {
177
177
  /** Number of items returned in the response. */
178
178
  count?: number | null;
179
179
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -186,7 +186,7 @@ export interface CursorPagingMetadata {
186
186
  */
187
187
  hasNext?: boolean | null;
188
188
  }
189
- export interface Cursors {
189
+ interface Cursors {
190
190
  /**
191
191
  * Cursor string pointing to the next page in the list of results.
192
192
  * @maxLength 16000
@@ -198,7 +198,7 @@ export interface Cursors {
198
198
  */
199
199
  prev?: string | null;
200
200
  }
201
- export interface BulkUpdatePayinsConfigurationTagsRequest {
201
+ interface BulkUpdatePayinsConfigurationTagsRequest {
202
202
  /**
203
203
  * List of PayinsConfigurations that their tags will update.
204
204
  * @minSize 1
@@ -211,7 +211,7 @@ export interface BulkUpdatePayinsConfigurationTagsRequest {
211
211
  /** List of Tags to unAssign */
212
212
  unassignTags?: Tags;
213
213
  }
214
- export interface BulkUpdatePayinsConfigurationTagsResponse {
214
+ interface BulkUpdatePayinsConfigurationTagsResponse {
215
215
  /**
216
216
  * Results
217
217
  * @minSize 1
@@ -221,7 +221,7 @@ export interface BulkUpdatePayinsConfigurationTagsResponse {
221
221
  /** Metadata regarding the bulk update operation */
222
222
  bulkActionMetadata?: BulkActionMetadata;
223
223
  }
224
- export interface ItemMetadata {
224
+ interface ItemMetadata {
225
225
  /**
226
226
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
227
227
  * @format GUID
@@ -234,7 +234,7 @@ export interface ItemMetadata {
234
234
  /** Details about the error in case of failure. */
235
235
  error?: ApplicationError;
236
236
  }
237
- export interface ApplicationError {
237
+ interface ApplicationError {
238
238
  /** Error code. */
239
239
  code?: string;
240
240
  /** Description of the error. */
@@ -242,11 +242,11 @@ export interface ApplicationError {
242
242
  /** Data related to the error. */
243
243
  data?: Record<string, any> | null;
244
244
  }
245
- export interface BulkUpdatePayinsConfigurationTagsResult {
245
+ interface BulkUpdatePayinsConfigurationTagsResult {
246
246
  /** Metadata regarding the specific single update operation */
247
247
  itemMetadata?: ItemMetadata;
248
248
  }
249
- export interface BulkActionMetadata {
249
+ interface BulkActionMetadata {
250
250
  /** Number of items that were successfully processed. */
251
251
  totalSuccesses?: number;
252
252
  /** Number of items that couldn't be processed. */
@@ -254,7 +254,7 @@ export interface BulkActionMetadata {
254
254
  /** Number of failures without details because detailed failure threshold was exceeded. */
255
255
  undetailedFailures?: number;
256
256
  }
257
- export interface BulkUpdatePayinsConfigurationTagsByFilterRequest {
257
+ interface BulkUpdatePayinsConfigurationTagsByFilterRequest {
258
258
  /** Filter */
259
259
  filter: Record<string, any> | null;
260
260
  /** List of Tags to assign */
@@ -262,14 +262,14 @@ export interface BulkUpdatePayinsConfigurationTagsByFilterRequest {
262
262
  /** List of Tags to unAssign */
263
263
  unassignTags?: Tags;
264
264
  }
265
- export interface BulkUpdatePayinsConfigurationTagsByFilterResponse {
265
+ interface BulkUpdatePayinsConfigurationTagsByFilterResponse {
266
266
  /**
267
267
  * Job ID
268
268
  * @format GUID
269
269
  */
270
270
  jobId?: string;
271
271
  }
272
- export interface DomainEvent extends DomainEventBodyOneOf {
272
+ interface DomainEvent extends DomainEventBodyOneOf {
273
273
  createdEvent?: EntityCreatedEvent;
274
274
  updatedEvent?: EntityUpdatedEvent;
275
275
  deletedEvent?: EntityDeletedEvent;
@@ -312,19 +312,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
312
312
  entityEventSequence?: string | null;
313
313
  }
314
314
  /** @oneof */
315
- export interface DomainEventBodyOneOf {
315
+ interface DomainEventBodyOneOf {
316
316
  createdEvent?: EntityCreatedEvent;
317
317
  updatedEvent?: EntityUpdatedEvent;
318
318
  deletedEvent?: EntityDeletedEvent;
319
319
  actionEvent?: ActionEvent;
320
320
  }
321
- export interface EntityCreatedEvent {
321
+ interface EntityCreatedEvent {
322
322
  entity?: string;
323
323
  }
324
- export interface RestoreInfo {
324
+ interface RestoreInfo {
325
325
  deletedDate?: Date | null;
326
326
  }
327
- export interface EntityUpdatedEvent {
327
+ interface EntityUpdatedEvent {
328
328
  /**
329
329
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
330
330
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -332,14 +332,14 @@ export interface EntityUpdatedEvent {
332
332
  */
333
333
  currentEntity?: string;
334
334
  }
335
- export interface EntityDeletedEvent {
335
+ interface EntityDeletedEvent {
336
336
  /** Entity that was deleted */
337
337
  deletedEntity?: string | null;
338
338
  }
339
- export interface ActionEvent {
339
+ interface ActionEvent {
340
340
  body?: string;
341
341
  }
342
- export interface MessageEnvelope {
342
+ interface MessageEnvelope {
343
343
  /**
344
344
  * App instance ID.
345
345
  * @format GUID
@@ -355,7 +355,7 @@ export interface MessageEnvelope {
355
355
  /** Stringify payload. */
356
356
  data?: string;
357
357
  }
358
- export interface IdentificationData extends IdentificationDataIdOneOf {
358
+ interface IdentificationData extends IdentificationDataIdOneOf {
359
359
  /**
360
360
  * ID of a site visitor that has not logged in to the site.
361
361
  * @format GUID
@@ -380,7 +380,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
380
380
  identityType?: WebhookIdentityTypeWithLiterals;
381
381
  }
382
382
  /** @oneof */
383
- export interface IdentificationDataIdOneOf {
383
+ interface IdentificationDataIdOneOf {
384
384
  /**
385
385
  * ID of a site visitor that has not logged in to the site.
386
386
  * @format GUID
@@ -402,7 +402,7 @@ export interface IdentificationDataIdOneOf {
402
402
  */
403
403
  appId?: string;
404
404
  }
405
- export declare enum WebhookIdentityType {
405
+ declare enum WebhookIdentityType {
406
406
  UNKNOWN = "UNKNOWN",
407
407
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
408
408
  MEMBER = "MEMBER",
@@ -410,8 +410,8 @@ export declare enum WebhookIdentityType {
410
410
  APP = "APP"
411
411
  }
412
412
  /** @enumType */
413
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
414
- export interface UpdatePayinsConfiguration {
413
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
414
+ interface UpdatePayinsConfiguration {
415
415
  /**
416
416
  * id
417
417
  * @format GUID
@@ -458,13 +458,13 @@ interface QueryCursorResult {
458
458
  length: number;
459
459
  pageSize: number;
460
460
  }
461
- export interface PayinsConfigurationsQueryResult extends QueryCursorResult {
461
+ interface PayinsConfigurationsQueryResult extends QueryCursorResult {
462
462
  items: PayinsConfiguration[];
463
463
  query: PayinsConfigurationsQueryBuilder;
464
464
  next: () => Promise<PayinsConfigurationsQueryResult>;
465
465
  prev: () => Promise<PayinsConfigurationsQueryResult>;
466
466
  }
467
- export interface PayinsConfigurationsQueryBuilder {
467
+ interface PayinsConfigurationsQueryBuilder {
468
468
  /** @param propertyName - Property whose value is compared with `value`.
469
469
  * @param value - Value to compare against.
470
470
  * @documentationMaturity preview
@@ -528,16 +528,17 @@ export interface PayinsConfigurationsQueryBuilder {
528
528
  /** @documentationMaturity preview */
529
529
  find: () => Promise<PayinsConfigurationsQueryResult>;
530
530
  }
531
- export interface BulkUpdatePayinsConfigurationTagsOptions {
531
+ interface BulkUpdatePayinsConfigurationTagsOptions {
532
532
  /** List of Tags to assign */
533
533
  assignTags: Tags;
534
534
  /** List of Tags to unAssign */
535
535
  unassignTags?: Tags;
536
536
  }
537
- export interface BulkUpdatePayinsConfigurationTagsByFilterOptions {
537
+ interface BulkUpdatePayinsConfigurationTagsByFilterOptions {
538
538
  /** List of Tags to assign */
539
539
  assignTags: Tags;
540
540
  /** List of Tags to unAssign */
541
541
  unassignTags?: Tags;
542
542
  }
543
- export {};
543
+
544
+ 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 Sorting, type TagList, type Tags, type UpdatePayinsConfiguration, type UpdatePayinsConfigurationRequest, type UpdatePayinsConfigurationResponse, WebhookIdentityType };