@wix/auto_sdk_payments_payins-configurations 1.0.9 → 1.0.11

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