@wix/auto_sdk_ecom_abandoned-checkouts 1.0.1 → 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/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +17 -2
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +18 -3
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +1 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +4 -4
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +4 -4
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +1 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +10 -7
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +37 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +1 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts +210 -54
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts +302 -86
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +15 -11
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +1 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +17 -2
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +16 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +1 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +4 -4
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +4 -4
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +1 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +10 -7
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +36 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +1 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts +210 -54
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +1 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts +302 -86
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +15 -11
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +17 -2
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +18 -3
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +4 -4
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +4 -4
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +11 -8
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +37 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts +210 -54
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts +303 -87
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +15 -11
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +1 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +17 -2
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +16 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +1 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +4 -4
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +4 -4
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +1 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +11 -8
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +36 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +1 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts +210 -54
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +1 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts +303 -87
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +15 -11
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
export interface AbandonedCheckout {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Abandoned checkout ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
3
6
|
id?: string;
|
|
4
7
|
/** Date and time the abandoned checkout was created. */
|
|
5
8
|
createdDate?: Date | null;
|
|
6
9
|
/** Date and time the abandoned checkout was updated. */
|
|
7
10
|
updatedDate?: Date | null;
|
|
8
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* The associated checkout ID.
|
|
13
|
+
* @format GUID
|
|
14
|
+
*/
|
|
9
15
|
checkoutId?: string | null;
|
|
10
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* The associated cart ID.
|
|
18
|
+
* @format GUID
|
|
19
|
+
*/
|
|
11
20
|
cartId?: string | null;
|
|
12
21
|
/** Status of the abandoned checkout. */
|
|
13
22
|
status?: Status;
|
|
@@ -20,22 +29,31 @@ export interface AbandonedCheckout {
|
|
|
20
29
|
buyerInfo?: V1BuyerInfo;
|
|
21
30
|
/** Contact details. */
|
|
22
31
|
contactDetails?: FullAddressContactDetails;
|
|
23
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* The store's currency.
|
|
34
|
+
* @format CURRENCY
|
|
35
|
+
*/
|
|
24
36
|
currency?: string;
|
|
25
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Currency the buyer used in checkout.
|
|
39
|
+
* @format CURRENCY
|
|
40
|
+
*/
|
|
26
41
|
conversionCurrency?: string | null;
|
|
27
42
|
/** Total price after discounts, gift cards, and tax. */
|
|
28
43
|
totalPrice?: MultiCurrencyPrice;
|
|
29
44
|
/**
|
|
30
45
|
* List of all automation activities performed by [Wix Automations](https://dev.wix.com/docs/rest/business-management/automations/introduction) regarding the abandoned checkout.
|
|
31
|
-
* Wix Automations updates the `activities` field for each
|
|
46
|
+
* Wix Automations updates the `activities` field for each activity in the automation flow. Only relevant if the site owner set up
|
|
32
47
|
* [automations in the Dashboard](https://support.wix.com/en/article/wix-automations-creating-an-automation-with-the-new-builder#step-1-create-a-new-automation). Read more about `activities` in
|
|
33
48
|
* the [introduction](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/abandoned-checkout/introduction).
|
|
34
49
|
*/
|
|
35
50
|
activities?: Activity[];
|
|
36
51
|
/** Date and time the abandoned checkout was recovered. */
|
|
37
52
|
checkoutRecoveredDate?: Date | null;
|
|
38
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* Checkout URL.
|
|
55
|
+
* @format WEB_URL
|
|
56
|
+
*/
|
|
39
57
|
checkoutUrl?: string;
|
|
40
58
|
/** Subtotal price of all line items, before discounts and before tax. */
|
|
41
59
|
subtotalPrice?: MultiCurrencyPrice;
|
|
@@ -63,38 +81,73 @@ export declare enum Status {
|
|
|
63
81
|
}
|
|
64
82
|
/** Buyer information. */
|
|
65
83
|
export interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
|
|
66
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Visitor ID (if the site visitor is **not** a site member).
|
|
86
|
+
* @format GUID
|
|
87
|
+
*/
|
|
67
88
|
visitorId?: string;
|
|
68
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* Member ID (if the site visitor is a site member).
|
|
91
|
+
* @format GUID
|
|
92
|
+
*/
|
|
69
93
|
memberId?: string;
|
|
70
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* User ID (if the site visitor is a site owner or collaborator).
|
|
96
|
+
* @format GUID
|
|
97
|
+
*/
|
|
71
98
|
userId?: string;
|
|
72
99
|
/**
|
|
73
100
|
* Contact ID. For more information, see the [Contacts API](https://dev.wix.com/docs/rest/api-reference/contacts/introduction).
|
|
101
|
+
* @format GUID
|
|
74
102
|
* @readonly
|
|
75
103
|
*/
|
|
76
104
|
contactId?: string | null;
|
|
77
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Buyer email address.
|
|
107
|
+
* @maxLength 50
|
|
108
|
+
* @format EMAIL
|
|
109
|
+
*/
|
|
78
110
|
email?: string | null;
|
|
79
111
|
}
|
|
80
112
|
/** @oneof */
|
|
81
113
|
export interface V1BuyerInfoIdOneOf {
|
|
82
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Visitor ID (if the site visitor is **not** a site member).
|
|
116
|
+
* @format GUID
|
|
117
|
+
*/
|
|
83
118
|
visitorId?: string;
|
|
84
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* Member ID (if the site visitor is a site member).
|
|
121
|
+
* @format GUID
|
|
122
|
+
*/
|
|
85
123
|
memberId?: string;
|
|
86
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* User ID (if the site visitor is a site owner or collaborator).
|
|
126
|
+
* @format GUID
|
|
127
|
+
*/
|
|
87
128
|
userId?: string;
|
|
88
129
|
}
|
|
89
130
|
/** Full contact details for an address */
|
|
90
131
|
export interface FullAddressContactDetails {
|
|
91
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* First name.
|
|
134
|
+
* @maxLength 100
|
|
135
|
+
*/
|
|
92
136
|
firstName?: string | null;
|
|
93
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* Last name.
|
|
139
|
+
* @maxLength 100
|
|
140
|
+
*/
|
|
94
141
|
lastName?: string | null;
|
|
95
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* Phone number.
|
|
144
|
+
* @format PHONE
|
|
145
|
+
*/
|
|
96
146
|
phone?: string | null;
|
|
97
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* Company name.
|
|
149
|
+
* @maxLength 1000
|
|
150
|
+
*/
|
|
98
151
|
company?: string | null;
|
|
99
152
|
/** Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed. */
|
|
100
153
|
vatId?: VatId;
|
|
@@ -120,11 +173,15 @@ export declare enum VatType {
|
|
|
120
173
|
CNPJ = "CNPJ"
|
|
121
174
|
}
|
|
122
175
|
export interface MultiCurrencyPrice {
|
|
123
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* Amount.
|
|
178
|
+
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
179
|
+
*/
|
|
124
180
|
amount?: string;
|
|
125
181
|
/**
|
|
126
182
|
* Converted amount.
|
|
127
183
|
* @readonly
|
|
184
|
+
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
128
185
|
*/
|
|
129
186
|
convertedAmount?: string;
|
|
130
187
|
/**
|
|
@@ -145,6 +202,7 @@ export interface Activity {
|
|
|
145
202
|
type?: ActivityType;
|
|
146
203
|
}
|
|
147
204
|
export interface CartAbandonedEvent {
|
|
205
|
+
/** @format GUID */
|
|
148
206
|
cartId?: string;
|
|
149
207
|
/**
|
|
150
208
|
* Time the cart was created
|
|
@@ -164,17 +222,30 @@ export interface CartAbandonedEvent {
|
|
|
164
222
|
couponId?: string;
|
|
165
223
|
/** Subtotal of all line items in cart, not before shipping and taxes */
|
|
166
224
|
totals?: Totals;
|
|
167
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* Checkout URL - checkout with the abandoned cart details
|
|
227
|
+
* @format WEB_URL
|
|
228
|
+
*/
|
|
168
229
|
checkoutUrl?: string;
|
|
169
230
|
}
|
|
170
231
|
export interface BuyerInfo {
|
|
171
|
-
/**
|
|
232
|
+
/**
|
|
233
|
+
* Wix customer ID
|
|
234
|
+
* @format GUID
|
|
235
|
+
*/
|
|
172
236
|
id?: string;
|
|
173
237
|
/** Customer information */
|
|
174
238
|
identityType?: Identity;
|
|
175
|
-
/**
|
|
239
|
+
/**
|
|
240
|
+
* Customer's email address
|
|
241
|
+
* @maxLength 50
|
|
242
|
+
* @format EMAIL
|
|
243
|
+
*/
|
|
176
244
|
email?: string | null;
|
|
177
|
-
/**
|
|
245
|
+
/**
|
|
246
|
+
* Customer's phone number
|
|
247
|
+
* @format PHONE
|
|
248
|
+
*/
|
|
178
249
|
phone?: string | null;
|
|
179
250
|
/** Customer's first name */
|
|
180
251
|
firstName?: string | null;
|
|
@@ -192,14 +263,21 @@ export declare enum Identity {
|
|
|
192
263
|
CONTACT = "CONTACT"
|
|
193
264
|
}
|
|
194
265
|
export interface Totals {
|
|
195
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* Subtotal of all line items in cart, without shipping and taxes
|
|
268
|
+
* @max 999999999.99
|
|
269
|
+
*/
|
|
196
270
|
subtotal?: number | null;
|
|
197
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* Total cart price
|
|
273
|
+
* @max 999999999.99
|
|
274
|
+
*/
|
|
198
275
|
total?: number | null;
|
|
199
276
|
/** Formatted total cart price includes currency symbol */
|
|
200
277
|
formattedTotal?: string;
|
|
201
278
|
}
|
|
202
279
|
export interface CartRecoveredEvent {
|
|
280
|
+
/** @format GUID */
|
|
203
281
|
cartId?: string;
|
|
204
282
|
/**
|
|
205
283
|
* Time the cart was recovered
|
|
@@ -217,8 +295,16 @@ export interface CartRecoveredEvent {
|
|
|
217
295
|
*/
|
|
218
296
|
abandonedTime?: Date | null;
|
|
219
297
|
}
|
|
298
|
+
/** Triggered when an abandoned checkout is recovered (the customer completes the checkout). */
|
|
299
|
+
export interface AbandonedCheckoutRecovered {
|
|
300
|
+
/** The abandoned checkout that was recovered. */
|
|
301
|
+
abandonedCheckout?: AbandonedCheckout;
|
|
302
|
+
}
|
|
220
303
|
export interface GetAbandonedCheckoutRequest {
|
|
221
|
-
/**
|
|
304
|
+
/**
|
|
305
|
+
* Abandoned checkout ID.
|
|
306
|
+
* @format GUID
|
|
307
|
+
*/
|
|
222
308
|
abandonedCheckoutId: string;
|
|
223
309
|
}
|
|
224
310
|
export interface GetAbandonedCheckoutResponse {
|
|
@@ -226,7 +312,10 @@ export interface GetAbandonedCheckoutResponse {
|
|
|
226
312
|
abandonedCheckout?: AbandonedCheckout;
|
|
227
313
|
}
|
|
228
314
|
export interface DeleteAbandonedCheckoutRequest {
|
|
229
|
-
/**
|
|
315
|
+
/**
|
|
316
|
+
* Id of the abandoned checkout to delete
|
|
317
|
+
* @format GUID
|
|
318
|
+
*/
|
|
230
319
|
abandonedCheckoutId: string;
|
|
231
320
|
}
|
|
232
321
|
export interface DeleteAbandonedCheckoutResponse {
|
|
@@ -265,7 +354,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
265
354
|
cursorPaging?: CursorPaging;
|
|
266
355
|
}
|
|
267
356
|
export interface Sorting {
|
|
268
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* Name of the field to sort by.
|
|
359
|
+
* @maxLength 512
|
|
360
|
+
*/
|
|
269
361
|
fieldName?: string;
|
|
270
362
|
/** Sort order. */
|
|
271
363
|
order?: SortOrder;
|
|
@@ -281,13 +373,17 @@ export interface Paging {
|
|
|
281
373
|
offset?: number | null;
|
|
282
374
|
}
|
|
283
375
|
export interface CursorPaging {
|
|
284
|
-
/**
|
|
376
|
+
/**
|
|
377
|
+
* Maximum number of items to return in the results.
|
|
378
|
+
* @max 100
|
|
379
|
+
*/
|
|
285
380
|
limit?: number | null;
|
|
286
381
|
/**
|
|
287
382
|
* Pointer to the next or previous page in the list of results.
|
|
288
383
|
*
|
|
289
384
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
290
385
|
* Not relevant for the first request.
|
|
386
|
+
* @maxLength 16000
|
|
291
387
|
*/
|
|
292
388
|
cursor?: string | null;
|
|
293
389
|
}
|
|
@@ -315,9 +411,15 @@ export interface PagingMetadataV2 {
|
|
|
315
411
|
cursors?: Cursors;
|
|
316
412
|
}
|
|
317
413
|
export interface Cursors {
|
|
318
|
-
/**
|
|
414
|
+
/**
|
|
415
|
+
* Cursor string pointing to the next page in the list of results.
|
|
416
|
+
* @maxLength 16000
|
|
417
|
+
*/
|
|
319
418
|
next?: string | null;
|
|
320
|
-
/**
|
|
419
|
+
/**
|
|
420
|
+
* Cursor pointing to the previous page in the list of results.
|
|
421
|
+
* @maxLength 16000
|
|
422
|
+
*/
|
|
321
423
|
prev?: string | null;
|
|
322
424
|
}
|
|
323
425
|
export interface SearchAbandonedCheckoutsRequest {
|
|
@@ -331,7 +433,10 @@ export interface Search extends SearchPagingMethodOneOf {
|
|
|
331
433
|
cursorPaging?: CommonCursorPaging;
|
|
332
434
|
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
333
435
|
filter?: Record<string, any> | null;
|
|
334
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
|
|
438
|
+
* @maxSize 4
|
|
439
|
+
*/
|
|
335
440
|
sort?: CommonSorting[];
|
|
336
441
|
/** free text to match in searchable fields */
|
|
337
442
|
search?: SearchDetails;
|
|
@@ -344,7 +449,10 @@ export interface SearchPagingMethodOneOf {
|
|
|
344
449
|
cursorPaging?: CommonCursorPaging;
|
|
345
450
|
}
|
|
346
451
|
export interface CommonSorting {
|
|
347
|
-
/**
|
|
452
|
+
/**
|
|
453
|
+
* Name of the field to sort by.
|
|
454
|
+
* @maxLength 40
|
|
455
|
+
*/
|
|
348
456
|
fieldName?: string;
|
|
349
457
|
/** Sort order. */
|
|
350
458
|
order?: CommonSortOrder;
|
|
@@ -358,9 +466,16 @@ export declare enum CommonSortOrder {
|
|
|
358
466
|
export interface SearchDetails {
|
|
359
467
|
/** boolean search mode */
|
|
360
468
|
mode?: Mode;
|
|
361
|
-
/**
|
|
469
|
+
/**
|
|
470
|
+
* search term or expression
|
|
471
|
+
* @maxLength 100
|
|
472
|
+
*/
|
|
362
473
|
expression?: string | null;
|
|
363
|
-
/**
|
|
474
|
+
/**
|
|
475
|
+
* fields to search in. if empty - server will search in own default fields
|
|
476
|
+
* @maxLength 100
|
|
477
|
+
* @maxSize 20
|
|
478
|
+
*/
|
|
364
479
|
fields?: string[];
|
|
365
480
|
/** flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
|
|
366
481
|
fuzzy?: boolean;
|
|
@@ -372,13 +487,19 @@ export declare enum Mode {
|
|
|
372
487
|
AND = "AND"
|
|
373
488
|
}
|
|
374
489
|
export interface CommonPaging {
|
|
375
|
-
/**
|
|
490
|
+
/**
|
|
491
|
+
* Number of items to load.
|
|
492
|
+
* @max 100
|
|
493
|
+
*/
|
|
376
494
|
limit?: number | null;
|
|
377
495
|
/** Number of items to skip in the current sort order. */
|
|
378
496
|
offset?: number | null;
|
|
379
497
|
}
|
|
380
498
|
export interface CommonCursorPaging {
|
|
381
|
-
/**
|
|
499
|
+
/**
|
|
500
|
+
* Maximum number of items to return in the results.
|
|
501
|
+
* @max 100
|
|
502
|
+
*/
|
|
382
503
|
limit?: number | null;
|
|
383
504
|
/**
|
|
384
505
|
* Pointer to the next or previous page in the list of results.
|
|
@@ -413,7 +534,10 @@ export interface CommonCursors {
|
|
|
413
534
|
prev?: string | null;
|
|
414
535
|
}
|
|
415
536
|
export interface AddAbandonedCheckoutActivityRequest {
|
|
416
|
-
/**
|
|
537
|
+
/**
|
|
538
|
+
* Id of the abandoned checkout to update
|
|
539
|
+
* @format GUID
|
|
540
|
+
*/
|
|
417
541
|
abandonedCheckoutId: string | null;
|
|
418
542
|
/** The type of the activity to add */
|
|
419
543
|
activityType?: ActivityType;
|
|
@@ -452,9 +576,15 @@ export interface Reschedule {
|
|
|
452
576
|
payload?: string | null;
|
|
453
577
|
}
|
|
454
578
|
export interface RedirectToCheckoutRequest {
|
|
455
|
-
/**
|
|
579
|
+
/**
|
|
580
|
+
* ID of the abandoned checkout.
|
|
581
|
+
* @format GUID
|
|
582
|
+
*/
|
|
456
583
|
abandonedCheckoutId: string;
|
|
457
|
-
/**
|
|
584
|
+
/**
|
|
585
|
+
* Metasite ID of the site associated with the abandoned checkout.
|
|
586
|
+
* @format GUID
|
|
587
|
+
*/
|
|
458
588
|
metasiteId: string;
|
|
459
589
|
}
|
|
460
590
|
export interface RawHttpResponse {
|
|
@@ -540,14 +670,16 @@ export interface ActionEvent {
|
|
|
540
670
|
}
|
|
541
671
|
export interface Empty {
|
|
542
672
|
}
|
|
543
|
-
/** Triggered when an abandoned checkout is recovered (the customer completes the checkout). */
|
|
544
|
-
export interface AbandonedCheckoutRecovered {
|
|
545
|
-
abandonedCheckout?: AbandonedCheckout;
|
|
546
|
-
}
|
|
547
673
|
export interface MessageEnvelope {
|
|
548
|
-
/**
|
|
674
|
+
/**
|
|
675
|
+
* App instance ID.
|
|
676
|
+
* @format GUID
|
|
677
|
+
*/
|
|
549
678
|
instanceId?: string | null;
|
|
550
|
-
/**
|
|
679
|
+
/**
|
|
680
|
+
* Event type.
|
|
681
|
+
* @maxLength 150
|
|
682
|
+
*/
|
|
551
683
|
eventType?: string;
|
|
552
684
|
/** The identification type and identity data. */
|
|
553
685
|
identity?: IdentificationData;
|
|
@@ -555,26 +687,50 @@ export interface MessageEnvelope {
|
|
|
555
687
|
data?: string;
|
|
556
688
|
}
|
|
557
689
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
558
|
-
/**
|
|
690
|
+
/**
|
|
691
|
+
* ID of a site visitor that has not logged in to the site.
|
|
692
|
+
* @format GUID
|
|
693
|
+
*/
|
|
559
694
|
anonymousVisitorId?: string;
|
|
560
|
-
/**
|
|
695
|
+
/**
|
|
696
|
+
* ID of a site visitor that has logged in to the site.
|
|
697
|
+
* @format GUID
|
|
698
|
+
*/
|
|
561
699
|
memberId?: string;
|
|
562
|
-
/**
|
|
700
|
+
/**
|
|
701
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
702
|
+
* @format GUID
|
|
703
|
+
*/
|
|
563
704
|
wixUserId?: string;
|
|
564
|
-
/**
|
|
705
|
+
/**
|
|
706
|
+
* ID of an app.
|
|
707
|
+
* @format GUID
|
|
708
|
+
*/
|
|
565
709
|
appId?: string;
|
|
566
710
|
/** @readonly */
|
|
567
711
|
identityType?: WebhookIdentityType;
|
|
568
712
|
}
|
|
569
713
|
/** @oneof */
|
|
570
714
|
export interface IdentificationDataIdOneOf {
|
|
571
|
-
/**
|
|
715
|
+
/**
|
|
716
|
+
* ID of a site visitor that has not logged in to the site.
|
|
717
|
+
* @format GUID
|
|
718
|
+
*/
|
|
572
719
|
anonymousVisitorId?: string;
|
|
573
|
-
/**
|
|
720
|
+
/**
|
|
721
|
+
* ID of a site visitor that has logged in to the site.
|
|
722
|
+
* @format GUID
|
|
723
|
+
*/
|
|
574
724
|
memberId?: string;
|
|
575
|
-
/**
|
|
725
|
+
/**
|
|
726
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
727
|
+
* @format GUID
|
|
728
|
+
*/
|
|
576
729
|
wixUserId?: string;
|
|
577
|
-
/**
|
|
730
|
+
/**
|
|
731
|
+
* ID of an app.
|
|
732
|
+
* @format GUID
|
|
733
|
+
*/
|
|
578
734
|
appId?: string;
|
|
579
735
|
}
|
|
580
736
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-abandoned-checkout-abandoned-checkouts.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ecom-v1-abandoned-checkout-abandoned-checkouts.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.ts"],"names":[],"mappings":"AA6DA,MAAM,CAAN,IAAY,YAaX;AAbD,WAAY,YAAY;IACtB,uBAAuB;IACvB,6CAA6B,CAAA;IAC7B,iBAAiB;IACjB,uCAAuB,CAAA;IACvB,kBAAkB;IAClB,yCAAyB,CAAA;IACzB,sBAAsB;IACtB,iDAAiC,CAAA;IACjC,yBAAyB;IACzB,uDAAuC,CAAA;IACvC,oBAAoB;IACpB,6CAA6B,CAAA;AAC/B,CAAC,EAbW,YAAY,KAAZ,YAAY,QAavB;AAED,wCAAwC;AACxC,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,iBAAiB;IACjB,iCAAuB,CAAA;IACvB,iBAAiB;IACjB,iCAAuB,CAAA;AACzB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AA2FD,qBAAqB;AACrB,MAAM,CAAN,IAAY,OAMX;AAND,WAAY,OAAO;IACjB,sCAA2B,CAAA;IAC3B,uCAAuC;IACvC,sBAAW,CAAA;IACX,8BAA8B;IAC9B,wBAAa,CAAA;AACf,CAAC,EANW,OAAO,KAAP,OAAO,QAMlB;AAsFD,MAAM,CAAN,IAAY,QASX;AATD,WAAY,QAAQ;IAClB,iCAAiC;IACjC,2BAAe,CAAA;IACf,4BAA4B;IAC5B,6BAAiB,CAAA;IACjB,gCAAgC;IAChC,+BAAmB,CAAA;IACnB,2CAA2C;IAC3C,+BAAmB,CAAA;AACrB,CAAC,EATW,QAAQ,KAAR,QAAQ,QASnB;AAgHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAsGD,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,uBAAuB;IACvB,8BAAW,CAAA;IACX,wBAAwB;IACxB,gCAAa,CAAA;AACf,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AAoBD,MAAM,CAAN,IAAY,IAKX;AALD,WAAY,IAAI;IACd,UAAU;IACV,iBAAS,CAAA;IACT,UAAU;IACV,mBAAW,CAAA;AACb,CAAC,EALW,IAAI,KAAJ,IAAI,QAKf;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"}
|