@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.0 → 1.0.2
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.
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +110 -25
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +1 -1
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts +122 -27
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +1 -1
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +110 -25
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +1 -1
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts +122 -27
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +1 -1
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +110 -25
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +1 -1
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts +122 -27
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +1 -1
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +110 -25
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +1 -1
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts +122 -27
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,12 +2,21 @@
|
|
|
2
2
|
export interface PaymentAcceptanceConfiguration {
|
|
3
3
|
/**
|
|
4
4
|
* id
|
|
5
|
+
* @format GUID
|
|
5
6
|
* @readonly
|
|
7
|
+
* @immutable
|
|
6
8
|
*/
|
|
7
9
|
id?: string | null;
|
|
8
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* app_id
|
|
12
|
+
* @format GUID
|
|
13
|
+
* @immutable
|
|
14
|
+
*/
|
|
9
15
|
appId?: string | null;
|
|
10
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* rules
|
|
18
|
+
* @maxSize 1000
|
|
19
|
+
*/
|
|
11
20
|
rules?: PaymentAcceptanceRule[];
|
|
12
21
|
/**
|
|
13
22
|
* revision
|
|
@@ -17,6 +26,7 @@ export interface PaymentAcceptanceConfiguration {
|
|
|
17
26
|
/**
|
|
18
27
|
* Date when PaymentAcceptanceConfiguration was created
|
|
19
28
|
* @readonly
|
|
29
|
+
* @immutable
|
|
20
30
|
*/
|
|
21
31
|
createdDate?: Date | null;
|
|
22
32
|
/**
|
|
@@ -30,9 +40,15 @@ export interface PaymentAcceptanceConfiguration {
|
|
|
30
40
|
tags?: Tags;
|
|
31
41
|
}
|
|
32
42
|
export interface PaymentAcceptanceRule {
|
|
33
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* payment_method_type_id
|
|
45
|
+
* @format GUID
|
|
46
|
+
*/
|
|
34
47
|
paymentMethodTypeId?: string;
|
|
35
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* account_connection_id
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
36
52
|
accountConnectionId?: string;
|
|
37
53
|
/** merchant_enabled */
|
|
38
54
|
merchantEnabled?: boolean;
|
|
@@ -75,7 +91,11 @@ export interface Tags {
|
|
|
75
91
|
tags?: TagList;
|
|
76
92
|
}
|
|
77
93
|
export interface TagList {
|
|
78
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* List of tag IDs
|
|
96
|
+
* @maxSize 100
|
|
97
|
+
* @maxLength 5
|
|
98
|
+
*/
|
|
79
99
|
tagIds?: string[];
|
|
80
100
|
}
|
|
81
101
|
export interface CreatePaymentAcceptanceConfigurationRequest {
|
|
@@ -87,7 +107,10 @@ export interface CreatePaymentAcceptanceConfigurationResponse {
|
|
|
87
107
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
88
108
|
}
|
|
89
109
|
export interface GetPaymentAcceptanceConfigurationRequest {
|
|
90
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
112
|
+
* @format GUID
|
|
113
|
+
*/
|
|
91
114
|
paymentAcceptanceConfigurationId: string;
|
|
92
115
|
}
|
|
93
116
|
export interface GetPaymentAcceptanceConfigurationResponse {
|
|
@@ -103,7 +126,10 @@ export interface UpdatePaymentAcceptanceConfigurationResponse {
|
|
|
103
126
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
104
127
|
}
|
|
105
128
|
export interface DeletePaymentAcceptanceConfigurationRequest {
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Id of payment acceptance configuration to delete
|
|
131
|
+
* @format GUID
|
|
132
|
+
*/
|
|
107
133
|
paymentAcceptanceConfigurationId: string;
|
|
108
134
|
}
|
|
109
135
|
export interface DeletePaymentAcceptanceConfigurationResponse {
|
|
@@ -127,6 +153,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
127
153
|
/**
|
|
128
154
|
* Sort object in the following format:
|
|
129
155
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
156
|
+
* @maxSize 5
|
|
130
157
|
*/
|
|
131
158
|
sort?: Sorting[];
|
|
132
159
|
}
|
|
@@ -136,7 +163,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
136
163
|
cursorPaging?: CursorPaging;
|
|
137
164
|
}
|
|
138
165
|
export interface Sorting {
|
|
139
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Name of the field to sort by.
|
|
168
|
+
* @maxLength 512
|
|
169
|
+
*/
|
|
140
170
|
fieldName?: string;
|
|
141
171
|
/** Sort order. */
|
|
142
172
|
order?: SortOrder;
|
|
@@ -146,13 +176,17 @@ export declare enum SortOrder {
|
|
|
146
176
|
DESC = "DESC"
|
|
147
177
|
}
|
|
148
178
|
export interface CursorPaging {
|
|
149
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* Maximum number of items to return in the results.
|
|
181
|
+
* @max 100
|
|
182
|
+
*/
|
|
150
183
|
limit?: number | null;
|
|
151
184
|
/**
|
|
152
185
|
* Pointer to the next or previous page in the list of results.
|
|
153
186
|
*
|
|
154
187
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
155
188
|
* Not relevant for the first request.
|
|
189
|
+
* @maxLength 16000
|
|
156
190
|
*/
|
|
157
191
|
cursor?: string | null;
|
|
158
192
|
}
|
|
@@ -176,13 +210,24 @@ export interface CursorPagingMetadata {
|
|
|
176
210
|
hasNext?: boolean | null;
|
|
177
211
|
}
|
|
178
212
|
export interface Cursors {
|
|
179
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* Cursor string pointing to the next page in the list of results.
|
|
215
|
+
* @maxLength 16000
|
|
216
|
+
*/
|
|
180
217
|
next?: string | null;
|
|
181
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* Cursor pointing to the previous page in the list of results.
|
|
220
|
+
* @maxLength 16000
|
|
221
|
+
*/
|
|
182
222
|
prev?: string | null;
|
|
183
223
|
}
|
|
184
224
|
export interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
185
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* List of NileProtoTagsEntities that their tags will update.
|
|
227
|
+
* @minSize 1
|
|
228
|
+
* @maxSize 100
|
|
229
|
+
* @format GUID
|
|
230
|
+
*/
|
|
186
231
|
ids: string[];
|
|
187
232
|
/** List of Tags to assign */
|
|
188
233
|
assignTags?: Tags;
|
|
@@ -190,13 +235,20 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
|
190
235
|
unassignTags?: Tags;
|
|
191
236
|
}
|
|
192
237
|
export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
193
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* Results
|
|
240
|
+
* @minSize 1
|
|
241
|
+
* @maxSize 100
|
|
242
|
+
*/
|
|
194
243
|
results?: BulkUpdatePaymentAcceptanceConfigurationTagsResult[];
|
|
195
244
|
/** Metadata regarding the bulk update operation */
|
|
196
245
|
bulkActionMetadata?: BulkActionMetadata;
|
|
197
246
|
}
|
|
198
247
|
export interface ItemMetadata {
|
|
199
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
250
|
+
* @format GUID
|
|
251
|
+
*/
|
|
200
252
|
id?: string | null;
|
|
201
253
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
202
254
|
originalIndex?: number;
|
|
@@ -234,7 +286,10 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
|
234
286
|
unassignTags?: Tags;
|
|
235
287
|
}
|
|
236
288
|
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
|
|
237
|
-
/**
|
|
289
|
+
/**
|
|
290
|
+
* Job ID
|
|
291
|
+
* @format GUID
|
|
292
|
+
*/
|
|
238
293
|
jobId?: string;
|
|
239
294
|
}
|
|
240
295
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -310,9 +365,15 @@ export interface ActionEvent {
|
|
|
310
365
|
bodyAsJson?: string;
|
|
311
366
|
}
|
|
312
367
|
export interface MessageEnvelope {
|
|
313
|
-
/**
|
|
368
|
+
/**
|
|
369
|
+
* App instance ID.
|
|
370
|
+
* @format GUID
|
|
371
|
+
*/
|
|
314
372
|
instanceId?: string | null;
|
|
315
|
-
/**
|
|
373
|
+
/**
|
|
374
|
+
* Event type.
|
|
375
|
+
* @maxLength 150
|
|
376
|
+
*/
|
|
316
377
|
eventType?: string;
|
|
317
378
|
/** The identification type and identity data. */
|
|
318
379
|
identity?: IdentificationData;
|
|
@@ -320,26 +381,50 @@ export interface MessageEnvelope {
|
|
|
320
381
|
data?: string;
|
|
321
382
|
}
|
|
322
383
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
323
|
-
/**
|
|
384
|
+
/**
|
|
385
|
+
* ID of a site visitor that has not logged in to the site.
|
|
386
|
+
* @format GUID
|
|
387
|
+
*/
|
|
324
388
|
anonymousVisitorId?: string;
|
|
325
|
-
/**
|
|
389
|
+
/**
|
|
390
|
+
* ID of a site visitor that has logged in to the site.
|
|
391
|
+
* @format GUID
|
|
392
|
+
*/
|
|
326
393
|
memberId?: string;
|
|
327
|
-
/**
|
|
394
|
+
/**
|
|
395
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
396
|
+
* @format GUID
|
|
397
|
+
*/
|
|
328
398
|
wixUserId?: string;
|
|
329
|
-
/**
|
|
399
|
+
/**
|
|
400
|
+
* ID of an app.
|
|
401
|
+
* @format GUID
|
|
402
|
+
*/
|
|
330
403
|
appId?: string;
|
|
331
404
|
/** @readonly */
|
|
332
405
|
identityType?: WebhookIdentityType;
|
|
333
406
|
}
|
|
334
407
|
/** @oneof */
|
|
335
408
|
export interface IdentificationDataIdOneOf {
|
|
336
|
-
/**
|
|
409
|
+
/**
|
|
410
|
+
* ID of a site visitor that has not logged in to the site.
|
|
411
|
+
* @format GUID
|
|
412
|
+
*/
|
|
337
413
|
anonymousVisitorId?: string;
|
|
338
|
-
/**
|
|
414
|
+
/**
|
|
415
|
+
* ID of a site visitor that has logged in to the site.
|
|
416
|
+
* @format GUID
|
|
417
|
+
*/
|
|
339
418
|
memberId?: string;
|
|
340
|
-
/**
|
|
419
|
+
/**
|
|
420
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
421
|
+
* @format GUID
|
|
422
|
+
*/
|
|
341
423
|
wixUserId?: string;
|
|
342
|
-
/**
|
|
424
|
+
/**
|
|
425
|
+
* ID of an app.
|
|
426
|
+
* @format GUID
|
|
427
|
+
*/
|
|
343
428
|
appId?: string;
|
|
344
429
|
}
|
|
345
430
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js","sourceRoot":"","sources":["../../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js","sourceRoot":"","sources":["../../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.ts"],"names":[],"mappings":"AA6LA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAoRD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -2,12 +2,21 @@
|
|
|
2
2
|
export interface PaymentAcceptanceConfiguration {
|
|
3
3
|
/**
|
|
4
4
|
* id
|
|
5
|
+
* @format GUID
|
|
5
6
|
* @readonly
|
|
7
|
+
* @immutable
|
|
6
8
|
*/
|
|
7
9
|
_id?: string | null;
|
|
8
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* app_id
|
|
12
|
+
* @format GUID
|
|
13
|
+
* @immutable
|
|
14
|
+
*/
|
|
9
15
|
appId?: string | null;
|
|
10
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* rules
|
|
18
|
+
* @maxSize 1000
|
|
19
|
+
*/
|
|
11
20
|
rules?: PaymentAcceptanceRule[];
|
|
12
21
|
/**
|
|
13
22
|
* revision
|
|
@@ -17,6 +26,7 @@ export interface PaymentAcceptanceConfiguration {
|
|
|
17
26
|
/**
|
|
18
27
|
* Date when PaymentAcceptanceConfiguration was created
|
|
19
28
|
* @readonly
|
|
29
|
+
* @immutable
|
|
20
30
|
*/
|
|
21
31
|
_createdDate?: Date | null;
|
|
22
32
|
/**
|
|
@@ -30,9 +40,15 @@ export interface PaymentAcceptanceConfiguration {
|
|
|
30
40
|
tags?: Tags;
|
|
31
41
|
}
|
|
32
42
|
export interface PaymentAcceptanceRule {
|
|
33
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* payment_method_type_id
|
|
45
|
+
* @format GUID
|
|
46
|
+
*/
|
|
34
47
|
paymentMethodTypeId?: string;
|
|
35
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* account_connection_id
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
36
52
|
accountConnectionId?: string;
|
|
37
53
|
/** merchant_enabled */
|
|
38
54
|
merchantEnabled?: boolean;
|
|
@@ -75,7 +91,11 @@ export interface Tags {
|
|
|
75
91
|
tags?: TagList;
|
|
76
92
|
}
|
|
77
93
|
export interface TagList {
|
|
78
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* List of tag IDs
|
|
96
|
+
* @maxSize 100
|
|
97
|
+
* @maxLength 5
|
|
98
|
+
*/
|
|
79
99
|
tagIds?: string[];
|
|
80
100
|
}
|
|
81
101
|
export interface CreatePaymentAcceptanceConfigurationRequest {
|
|
@@ -87,7 +107,10 @@ export interface CreatePaymentAcceptanceConfigurationResponse {
|
|
|
87
107
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
88
108
|
}
|
|
89
109
|
export interface GetPaymentAcceptanceConfigurationRequest {
|
|
90
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
112
|
+
* @format GUID
|
|
113
|
+
*/
|
|
91
114
|
paymentAcceptanceConfigurationId: string;
|
|
92
115
|
}
|
|
93
116
|
export interface GetPaymentAcceptanceConfigurationResponse {
|
|
@@ -103,7 +126,10 @@ export interface UpdatePaymentAcceptanceConfigurationResponse {
|
|
|
103
126
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
104
127
|
}
|
|
105
128
|
export interface DeletePaymentAcceptanceConfigurationRequest {
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Id of payment acceptance configuration to delete
|
|
131
|
+
* @format GUID
|
|
132
|
+
*/
|
|
107
133
|
paymentAcceptanceConfigurationId: string;
|
|
108
134
|
}
|
|
109
135
|
export interface DeletePaymentAcceptanceConfigurationResponse {
|
|
@@ -127,6 +153,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
127
153
|
/**
|
|
128
154
|
* Sort object in the following format:
|
|
129
155
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
156
|
+
* @maxSize 5
|
|
130
157
|
*/
|
|
131
158
|
sort?: Sorting[];
|
|
132
159
|
}
|
|
@@ -136,7 +163,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
136
163
|
cursorPaging?: CursorPaging;
|
|
137
164
|
}
|
|
138
165
|
export interface Sorting {
|
|
139
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Name of the field to sort by.
|
|
168
|
+
* @maxLength 512
|
|
169
|
+
*/
|
|
140
170
|
fieldName?: string;
|
|
141
171
|
/** Sort order. */
|
|
142
172
|
order?: SortOrder;
|
|
@@ -146,13 +176,17 @@ export declare enum SortOrder {
|
|
|
146
176
|
DESC = "DESC"
|
|
147
177
|
}
|
|
148
178
|
export interface CursorPaging {
|
|
149
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* Maximum number of items to return in the results.
|
|
181
|
+
* @max 100
|
|
182
|
+
*/
|
|
150
183
|
limit?: number | null;
|
|
151
184
|
/**
|
|
152
185
|
* Pointer to the next or previous page in the list of results.
|
|
153
186
|
*
|
|
154
187
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
155
188
|
* Not relevant for the first request.
|
|
189
|
+
* @maxLength 16000
|
|
156
190
|
*/
|
|
157
191
|
cursor?: string | null;
|
|
158
192
|
}
|
|
@@ -176,13 +210,24 @@ export interface CursorPagingMetadata {
|
|
|
176
210
|
hasNext?: boolean | null;
|
|
177
211
|
}
|
|
178
212
|
export interface Cursors {
|
|
179
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* Cursor string pointing to the next page in the list of results.
|
|
215
|
+
* @maxLength 16000
|
|
216
|
+
*/
|
|
180
217
|
next?: string | null;
|
|
181
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* Cursor pointing to the previous page in the list of results.
|
|
220
|
+
* @maxLength 16000
|
|
221
|
+
*/
|
|
182
222
|
prev?: string | null;
|
|
183
223
|
}
|
|
184
224
|
export interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
185
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* List of NileProtoTagsEntities that their tags will update.
|
|
227
|
+
* @minSize 1
|
|
228
|
+
* @maxSize 100
|
|
229
|
+
* @format GUID
|
|
230
|
+
*/
|
|
186
231
|
ids: string[];
|
|
187
232
|
/** List of Tags to assign */
|
|
188
233
|
assignTags?: Tags;
|
|
@@ -190,13 +235,20 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
|
190
235
|
unassignTags?: Tags;
|
|
191
236
|
}
|
|
192
237
|
export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
193
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* Results
|
|
240
|
+
* @minSize 1
|
|
241
|
+
* @maxSize 100
|
|
242
|
+
*/
|
|
194
243
|
results?: BulkUpdatePaymentAcceptanceConfigurationTagsResult[];
|
|
195
244
|
/** Metadata regarding the bulk update operation */
|
|
196
245
|
bulkActionMetadata?: BulkActionMetadata;
|
|
197
246
|
}
|
|
198
247
|
export interface ItemMetadata {
|
|
199
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
250
|
+
* @format GUID
|
|
251
|
+
*/
|
|
200
252
|
_id?: string | null;
|
|
201
253
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
202
254
|
originalIndex?: number;
|
|
@@ -234,7 +286,10 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
|
234
286
|
unassignTags?: Tags;
|
|
235
287
|
}
|
|
236
288
|
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
|
|
237
|
-
/**
|
|
289
|
+
/**
|
|
290
|
+
* Job ID
|
|
291
|
+
* @format GUID
|
|
292
|
+
*/
|
|
238
293
|
jobId?: string;
|
|
239
294
|
}
|
|
240
295
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -308,9 +363,15 @@ export interface ActionEvent {
|
|
|
308
363
|
body?: string;
|
|
309
364
|
}
|
|
310
365
|
export interface MessageEnvelope {
|
|
311
|
-
/**
|
|
366
|
+
/**
|
|
367
|
+
* App instance ID.
|
|
368
|
+
* @format GUID
|
|
369
|
+
*/
|
|
312
370
|
instanceId?: string | null;
|
|
313
|
-
/**
|
|
371
|
+
/**
|
|
372
|
+
* Event type.
|
|
373
|
+
* @maxLength 150
|
|
374
|
+
*/
|
|
314
375
|
eventType?: string;
|
|
315
376
|
/** The identification type and identity data. */
|
|
316
377
|
identity?: IdentificationData;
|
|
@@ -318,26 +379,50 @@ export interface MessageEnvelope {
|
|
|
318
379
|
data?: string;
|
|
319
380
|
}
|
|
320
381
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
321
|
-
/**
|
|
382
|
+
/**
|
|
383
|
+
* ID of a site visitor that has not logged in to the site.
|
|
384
|
+
* @format GUID
|
|
385
|
+
*/
|
|
322
386
|
anonymousVisitorId?: string;
|
|
323
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* ID of a site visitor that has logged in to the site.
|
|
389
|
+
* @format GUID
|
|
390
|
+
*/
|
|
324
391
|
memberId?: string;
|
|
325
|
-
/**
|
|
392
|
+
/**
|
|
393
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
394
|
+
* @format GUID
|
|
395
|
+
*/
|
|
326
396
|
wixUserId?: string;
|
|
327
|
-
/**
|
|
397
|
+
/**
|
|
398
|
+
* ID of an app.
|
|
399
|
+
* @format GUID
|
|
400
|
+
*/
|
|
328
401
|
appId?: string;
|
|
329
402
|
/** @readonly */
|
|
330
403
|
identityType?: WebhookIdentityType;
|
|
331
404
|
}
|
|
332
405
|
/** @oneof */
|
|
333
406
|
export interface IdentificationDataIdOneOf {
|
|
334
|
-
/**
|
|
407
|
+
/**
|
|
408
|
+
* ID of a site visitor that has not logged in to the site.
|
|
409
|
+
* @format GUID
|
|
410
|
+
*/
|
|
335
411
|
anonymousVisitorId?: string;
|
|
336
|
-
/**
|
|
412
|
+
/**
|
|
413
|
+
* ID of a site visitor that has logged in to the site.
|
|
414
|
+
* @format GUID
|
|
415
|
+
*/
|
|
337
416
|
memberId?: string;
|
|
338
|
-
/**
|
|
417
|
+
/**
|
|
418
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
419
|
+
* @format GUID
|
|
420
|
+
*/
|
|
339
421
|
wixUserId?: string;
|
|
340
|
-
/**
|
|
422
|
+
/**
|
|
423
|
+
* ID of an app.
|
|
424
|
+
* @format GUID
|
|
425
|
+
*/
|
|
341
426
|
appId?: string;
|
|
342
427
|
}
|
|
343
428
|
export declare enum WebhookIdentityType {
|
|
@@ -401,12 +486,21 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponseNon
|
|
|
401
486
|
export interface UpdatePaymentAcceptanceConfiguration {
|
|
402
487
|
/**
|
|
403
488
|
* id
|
|
489
|
+
* @format GUID
|
|
404
490
|
* @readonly
|
|
491
|
+
* @immutable
|
|
405
492
|
*/
|
|
406
493
|
_id?: string | null;
|
|
407
|
-
/**
|
|
494
|
+
/**
|
|
495
|
+
* app_id
|
|
496
|
+
* @format GUID
|
|
497
|
+
* @immutable
|
|
498
|
+
*/
|
|
408
499
|
appId?: string | null;
|
|
409
|
-
/**
|
|
500
|
+
/**
|
|
501
|
+
* rules
|
|
502
|
+
* @maxSize 1000
|
|
503
|
+
*/
|
|
410
504
|
rules?: PaymentAcceptanceRule[];
|
|
411
505
|
/**
|
|
412
506
|
* revision
|
|
@@ -416,6 +510,7 @@ export interface UpdatePaymentAcceptanceConfiguration {
|
|
|
416
510
|
/**
|
|
417
511
|
* Date when PaymentAcceptanceConfiguration was created
|
|
418
512
|
* @readonly
|
|
513
|
+
* @immutable
|
|
419
514
|
*/
|
|
420
515
|
_createdDate?: Date | null;
|
|
421
516
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js","sourceRoot":"","sources":["../../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,oFAAoF,MAAM,4HAA4H,CAAC;
|
|
1
|
+
{"version":3,"file":"payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js","sourceRoot":"","sources":["../../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,oFAAoF,MAAM,4HAA4H,CAAC;AAgMnO,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAkRD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;AAmED;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,oCAAoC,CACxD,8BAA8D;IAK9D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,8BAA8B,EAAE,8BAA8B;KAC/D,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,oFAAoF,CAAC,oCAAoC,CACvH,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS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