@wix/auto_sdk_ecom_abandoned-checkouts 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.
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +30 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +43 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +21 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +209 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +1 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +26 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +142 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +1 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +56 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +104 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +1 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts +742 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +74 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +1 -0
- package/build/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-oXeJ64KH.d.mts → cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts} +272 -78
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +380 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +30 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +32 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +1 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +21 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +200 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +1 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +26 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +110 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +1 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +56 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +87 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +1 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts +742 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +71 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +1 -0
- package/build/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-oXeJ64KH.d.ts → es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts} +272 -78
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +348 -0
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +32 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +43 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +21 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +209 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +26 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +142 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +65 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +104 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts +742 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +74 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +1 -0
- package/build/internal/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-B3pwzRZR.d.ts → cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts} +284 -78
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +380 -0
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +32 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +32 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +1 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +21 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +200 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +1 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +26 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +110 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +1 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +65 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +87 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +1 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts +742 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +71 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +1 -0
- package/build/internal/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-B3pwzRZR.d.mts → es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts} +284 -78
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +348 -0
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +1 -0
- package/package.json +13 -14
- package/build/index.d.mts +0 -75
- package/build/index.d.ts +0 -75
- package/build/index.js +0 -620
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -579
- package/build/index.mjs.map +0 -1
- package/build/internal/index.d.mts +0 -86
- package/build/internal/index.d.ts +0 -86
- package/build/internal/index.js +0 -620
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -579
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.d.mts +0 -499
- package/build/internal/meta.d.ts +0 -499
- package/build/internal/meta.js +0 -337
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -305
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.d.mts +0 -499
- package/build/meta.d.ts +0 -499
- package/build/meta.js +0 -337
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -305
- package/build/meta.mjs.map +0 -1
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
export interface AbandonedCheckout {
|
|
2
|
+
/**
|
|
3
|
+
* Abandoned checkout ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
6
|
+
id?: string;
|
|
7
|
+
/** Date and time the abandoned checkout was created. */
|
|
8
|
+
createdDate?: Date | null;
|
|
9
|
+
/** Date and time the abandoned checkout was updated. */
|
|
10
|
+
updatedDate?: Date | null;
|
|
11
|
+
/**
|
|
12
|
+
* The associated checkout ID.
|
|
13
|
+
* @format GUID
|
|
14
|
+
*/
|
|
15
|
+
checkoutId?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* The associated cart ID.
|
|
18
|
+
* @format GUID
|
|
19
|
+
*/
|
|
20
|
+
cartId?: string | null;
|
|
21
|
+
/** Status of the abandoned checkout. */
|
|
22
|
+
status?: Status;
|
|
23
|
+
/**
|
|
24
|
+
* Language for communication with the buyer. Defaults to the site language.
|
|
25
|
+
* For a site that supports multiple languages, this is the language the buyer selected.
|
|
26
|
+
*/
|
|
27
|
+
buyerLanguage?: string | null;
|
|
28
|
+
/** Buyer information. */
|
|
29
|
+
buyerInfo?: V1BuyerInfo;
|
|
30
|
+
/** Contact details. */
|
|
31
|
+
contactDetails?: FullAddressContactDetails;
|
|
32
|
+
/**
|
|
33
|
+
* The store's currency.
|
|
34
|
+
* @format CURRENCY
|
|
35
|
+
*/
|
|
36
|
+
currency?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Currency the buyer used in checkout.
|
|
39
|
+
* @format CURRENCY
|
|
40
|
+
*/
|
|
41
|
+
conversionCurrency?: string | null;
|
|
42
|
+
/** Total price after discounts, gift cards, and tax. */
|
|
43
|
+
totalPrice?: MultiCurrencyPrice;
|
|
44
|
+
/**
|
|
45
|
+
* List of all automation activities performed by Wix Automations ([SDK](https://dev.wix.com/docs/sdk/backend-modules/automations/) | [REST](https://dev.wix.com/docs/rest/business-management/automations/introduction)) regarding the abandoned checkout.
|
|
46
|
+
* Wix Automations updates the `activities` field for each activity in the automation flow. Only relevant if the site owner set up
|
|
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
|
|
48
|
+
* the Abandoned Checkouts introduction.
|
|
49
|
+
*/
|
|
50
|
+
activities?: Activity[];
|
|
51
|
+
/** Date and time the abandoned checkout was recovered. */
|
|
52
|
+
checkoutRecoveredDate?: Date | null;
|
|
53
|
+
/**
|
|
54
|
+
* Checkout URL.
|
|
55
|
+
* @format WEB_URL
|
|
56
|
+
*/
|
|
57
|
+
checkoutUrl?: string;
|
|
58
|
+
/** Subtotal price of all line items, before discounts and before tax. */
|
|
59
|
+
subtotalPrice?: MultiCurrencyPrice;
|
|
60
|
+
}
|
|
61
|
+
export declare enum ActivityType {
|
|
62
|
+
/** Not implemented. */
|
|
63
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
64
|
+
/** Scheduled. */
|
|
65
|
+
SCHEDULED = "SCHEDULED",
|
|
66
|
+
/** Email sent. */
|
|
67
|
+
EMAIL_SENT = "EMAIL_SENT",
|
|
68
|
+
/** Email not sent. */
|
|
69
|
+
EMAIL_NOT_SENT = "EMAIL_NOT_SENT",
|
|
70
|
+
/** Notification sent. */
|
|
71
|
+
NOTIFICATION_SENT = "NOTIFICATION_SENT",
|
|
72
|
+
/** Task created. */
|
|
73
|
+
TASK_CREATED = "TASK_CREATED"
|
|
74
|
+
}
|
|
75
|
+
/** Status of the abandoned checkout. */
|
|
76
|
+
export declare enum Status {
|
|
77
|
+
/** Abandoned. */
|
|
78
|
+
ABANDONED = "ABANDONED",
|
|
79
|
+
/** Recovered. */
|
|
80
|
+
RECOVERED = "RECOVERED"
|
|
81
|
+
}
|
|
82
|
+
/** Buyer information. */
|
|
83
|
+
export interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
|
|
84
|
+
/**
|
|
85
|
+
* Visitor ID (if the site visitor is **not** a site member).
|
|
86
|
+
* @format GUID
|
|
87
|
+
*/
|
|
88
|
+
visitorId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Member ID (if the site visitor is a site member).
|
|
91
|
+
* @format GUID
|
|
92
|
+
*/
|
|
93
|
+
memberId?: string;
|
|
94
|
+
/**
|
|
95
|
+
* User ID (if the site visitor is a site owner or collaborator).
|
|
96
|
+
* @format GUID
|
|
97
|
+
*/
|
|
98
|
+
userId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Contact ID. For more information, see the Contacts API.
|
|
101
|
+
* @format GUID
|
|
102
|
+
* @readonly
|
|
103
|
+
*/
|
|
104
|
+
contactId?: string | null;
|
|
105
|
+
/**
|
|
106
|
+
* Buyer email address.
|
|
107
|
+
* @maxLength 50
|
|
108
|
+
* @format EMAIL
|
|
109
|
+
*/
|
|
110
|
+
email?: string | null;
|
|
111
|
+
}
|
|
112
|
+
/** @oneof */
|
|
113
|
+
export interface V1BuyerInfoIdOneOf {
|
|
114
|
+
/**
|
|
115
|
+
* Visitor ID (if the site visitor is **not** a site member).
|
|
116
|
+
* @format GUID
|
|
117
|
+
*/
|
|
118
|
+
visitorId?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Member ID (if the site visitor is a site member).
|
|
121
|
+
* @format GUID
|
|
122
|
+
*/
|
|
123
|
+
memberId?: string;
|
|
124
|
+
/**
|
|
125
|
+
* User ID (if the site visitor is a site owner or collaborator).
|
|
126
|
+
* @format GUID
|
|
127
|
+
*/
|
|
128
|
+
userId?: string;
|
|
129
|
+
}
|
|
130
|
+
/** Full contact details for an address */
|
|
131
|
+
export interface FullAddressContactDetails {
|
|
132
|
+
/**
|
|
133
|
+
* First name.
|
|
134
|
+
* @maxLength 100
|
|
135
|
+
*/
|
|
136
|
+
firstName?: string | null;
|
|
137
|
+
/**
|
|
138
|
+
* Last name.
|
|
139
|
+
* @maxLength 100
|
|
140
|
+
*/
|
|
141
|
+
lastName?: string | null;
|
|
142
|
+
/**
|
|
143
|
+
* Phone number.
|
|
144
|
+
* @format PHONE
|
|
145
|
+
*/
|
|
146
|
+
phone?: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* Company name.
|
|
149
|
+
* @maxLength 1000
|
|
150
|
+
*/
|
|
151
|
+
company?: string | null;
|
|
152
|
+
/** Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed. */
|
|
153
|
+
vatId?: VatId;
|
|
154
|
+
}
|
|
155
|
+
export interface VatId {
|
|
156
|
+
/** Customer's tax ID. */
|
|
157
|
+
id?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Tax type.
|
|
160
|
+
*
|
|
161
|
+
* Supported values:
|
|
162
|
+
* + `CPF`: for individual tax payers
|
|
163
|
+
* + `CNPJ`: for corporations
|
|
164
|
+
*/
|
|
165
|
+
type?: VatType;
|
|
166
|
+
}
|
|
167
|
+
/** tax info types */
|
|
168
|
+
export declare enum VatType {
|
|
169
|
+
UNSPECIFIED = "UNSPECIFIED",
|
|
170
|
+
/** CPF - for individual tax payers. */
|
|
171
|
+
CPF = "CPF",
|
|
172
|
+
/** CNPJ - for corporations */
|
|
173
|
+
CNPJ = "CNPJ"
|
|
174
|
+
}
|
|
175
|
+
export interface MultiCurrencyPrice {
|
|
176
|
+
/**
|
|
177
|
+
* Amount.
|
|
178
|
+
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
179
|
+
*/
|
|
180
|
+
amount?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Converted amount.
|
|
183
|
+
* @readonly
|
|
184
|
+
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
185
|
+
*/
|
|
186
|
+
convertedAmount?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Amount formatted with currency symbol.
|
|
189
|
+
* @readonly
|
|
190
|
+
*/
|
|
191
|
+
formattedAmount?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Converted amount formatted with currency symbol.
|
|
194
|
+
* @readonly
|
|
195
|
+
*/
|
|
196
|
+
formattedConvertedAmount?: string;
|
|
197
|
+
}
|
|
198
|
+
export interface Activity {
|
|
199
|
+
/** Date and time the automation activity was created. */
|
|
200
|
+
createdDate?: Date | null;
|
|
201
|
+
/** Automation activity type. */
|
|
202
|
+
type?: ActivityType;
|
|
203
|
+
}
|
|
204
|
+
export interface CartAbandonedEvent {
|
|
205
|
+
/** @format GUID */
|
|
206
|
+
cartId?: string;
|
|
207
|
+
/**
|
|
208
|
+
* Time the cart was created
|
|
209
|
+
* @readonly
|
|
210
|
+
*/
|
|
211
|
+
creationTime?: Date | null;
|
|
212
|
+
/**
|
|
213
|
+
* Time the cart was abandoned
|
|
214
|
+
* @readonly
|
|
215
|
+
*/
|
|
216
|
+
abandonTime?: Date | null;
|
|
217
|
+
/** Buyer information */
|
|
218
|
+
buyerInfo?: BuyerInfo;
|
|
219
|
+
/** Amount of items in cart */
|
|
220
|
+
itemsCount?: number;
|
|
221
|
+
/** Coupon ID (if relevant) */
|
|
222
|
+
couponId?: string;
|
|
223
|
+
/** Subtotal of all line items in cart, not before shipping and taxes */
|
|
224
|
+
totals?: Totals;
|
|
225
|
+
/**
|
|
226
|
+
* Checkout URL - checkout with the abandoned cart details
|
|
227
|
+
* @format WEB_URL
|
|
228
|
+
*/
|
|
229
|
+
checkoutUrl?: string;
|
|
230
|
+
}
|
|
231
|
+
export interface BuyerInfo {
|
|
232
|
+
/**
|
|
233
|
+
* Wix customer ID
|
|
234
|
+
* @format GUID
|
|
235
|
+
*/
|
|
236
|
+
id?: string;
|
|
237
|
+
/** Customer information */
|
|
238
|
+
identityType?: Identity;
|
|
239
|
+
/**
|
|
240
|
+
* Customer's email address
|
|
241
|
+
* @maxLength 50
|
|
242
|
+
* @format EMAIL
|
|
243
|
+
*/
|
|
244
|
+
email?: string | null;
|
|
245
|
+
/**
|
|
246
|
+
* Customer's phone number
|
|
247
|
+
* @format PHONE
|
|
248
|
+
*/
|
|
249
|
+
phone?: string | null;
|
|
250
|
+
/** Customer's first name */
|
|
251
|
+
firstName?: string | null;
|
|
252
|
+
/** Customer's last name */
|
|
253
|
+
lastName?: string | null;
|
|
254
|
+
}
|
|
255
|
+
export declare enum Identity {
|
|
256
|
+
/** Customer is the site owner */
|
|
257
|
+
ADMIN = "ADMIN",
|
|
258
|
+
/** Customer is logged in */
|
|
259
|
+
MEMBER = "MEMBER",
|
|
260
|
+
/** Customer is not logged in */
|
|
261
|
+
VISITOR = "VISITOR",
|
|
262
|
+
/** Contact was created for the customer */
|
|
263
|
+
CONTACT = "CONTACT"
|
|
264
|
+
}
|
|
265
|
+
export interface Totals {
|
|
266
|
+
/**
|
|
267
|
+
* Subtotal of all line items in cart, without shipping and taxes
|
|
268
|
+
* @max 999999999.99
|
|
269
|
+
*/
|
|
270
|
+
subtotal?: number | null;
|
|
271
|
+
/**
|
|
272
|
+
* Total cart price
|
|
273
|
+
* @max 999999999.99
|
|
274
|
+
*/
|
|
275
|
+
total?: number | null;
|
|
276
|
+
/** Formatted total cart price includes currency symbol */
|
|
277
|
+
formattedTotal?: string;
|
|
278
|
+
}
|
|
279
|
+
export interface CartRecoveredEvent {
|
|
280
|
+
/** @format GUID */
|
|
281
|
+
cartId?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Time the cart was recovered
|
|
284
|
+
* @readonly
|
|
285
|
+
*/
|
|
286
|
+
recoveredTime?: Date | null;
|
|
287
|
+
/**
|
|
288
|
+
* Time the cart was created
|
|
289
|
+
* @readonly
|
|
290
|
+
*/
|
|
291
|
+
creationTime?: Date | null;
|
|
292
|
+
/**
|
|
293
|
+
* Time the cart was abandoned
|
|
294
|
+
* @readonly
|
|
295
|
+
*/
|
|
296
|
+
abandonedTime?: Date | null;
|
|
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
|
+
}
|
|
303
|
+
export interface GetAbandonedCheckoutRequest {
|
|
304
|
+
/**
|
|
305
|
+
* Abandoned checkout ID.
|
|
306
|
+
* @format GUID
|
|
307
|
+
*/
|
|
308
|
+
abandonedCheckoutId: string;
|
|
309
|
+
}
|
|
310
|
+
export interface GetAbandonedCheckoutResponse {
|
|
311
|
+
/** The requested abandoned checkout. */
|
|
312
|
+
abandonedCheckout?: AbandonedCheckout;
|
|
313
|
+
}
|
|
314
|
+
export interface DeleteAbandonedCheckoutRequest {
|
|
315
|
+
/**
|
|
316
|
+
* Id of the abandoned checkout to delete
|
|
317
|
+
* @format GUID
|
|
318
|
+
*/
|
|
319
|
+
abandonedCheckoutId: string;
|
|
320
|
+
}
|
|
321
|
+
export interface DeleteAbandonedCheckoutResponse {
|
|
322
|
+
}
|
|
323
|
+
export interface QueryAbandonedCheckoutsRequest {
|
|
324
|
+
/** Query options. */
|
|
325
|
+
query: QueryV2;
|
|
326
|
+
}
|
|
327
|
+
export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
328
|
+
/** Paging options to limit and skip the number of items. */
|
|
329
|
+
paging?: Paging;
|
|
330
|
+
/** 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`. */
|
|
331
|
+
cursorPaging?: CursorPaging;
|
|
332
|
+
/**
|
|
333
|
+
* Filter object.
|
|
334
|
+
*
|
|
335
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
336
|
+
*/
|
|
337
|
+
filter?: Record<string, any> | null;
|
|
338
|
+
/**
|
|
339
|
+
* Sort object.
|
|
340
|
+
*
|
|
341
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
342
|
+
*/
|
|
343
|
+
sort?: Sorting[];
|
|
344
|
+
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
345
|
+
fields?: string[];
|
|
346
|
+
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
347
|
+
fieldsets?: string[];
|
|
348
|
+
}
|
|
349
|
+
/** @oneof */
|
|
350
|
+
export interface QueryV2PagingMethodOneOf {
|
|
351
|
+
/** Paging options to limit and skip the number of items. */
|
|
352
|
+
paging?: Paging;
|
|
353
|
+
/** 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`. */
|
|
354
|
+
cursorPaging?: CursorPaging;
|
|
355
|
+
}
|
|
356
|
+
export interface Sorting {
|
|
357
|
+
/**
|
|
358
|
+
* Name of the field to sort by.
|
|
359
|
+
* @maxLength 512
|
|
360
|
+
*/
|
|
361
|
+
fieldName?: string;
|
|
362
|
+
/** Sort order. */
|
|
363
|
+
order?: SortOrder;
|
|
364
|
+
}
|
|
365
|
+
export declare enum SortOrder {
|
|
366
|
+
ASC = "ASC",
|
|
367
|
+
DESC = "DESC"
|
|
368
|
+
}
|
|
369
|
+
export interface Paging {
|
|
370
|
+
/** Number of items to load. */
|
|
371
|
+
limit?: number | null;
|
|
372
|
+
/** Number of items to skip in the current sort order. */
|
|
373
|
+
offset?: number | null;
|
|
374
|
+
}
|
|
375
|
+
export interface CursorPaging {
|
|
376
|
+
/**
|
|
377
|
+
* Maximum number of items to return in the results.
|
|
378
|
+
* @max 100
|
|
379
|
+
*/
|
|
380
|
+
limit?: number | null;
|
|
381
|
+
/**
|
|
382
|
+
* Pointer to the next or previous page in the list of results.
|
|
383
|
+
*
|
|
384
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
385
|
+
* Not relevant for the first request.
|
|
386
|
+
* @maxLength 16000
|
|
387
|
+
*/
|
|
388
|
+
cursor?: string | null;
|
|
389
|
+
}
|
|
390
|
+
export interface QueryAbandonedCheckoutsResponse {
|
|
391
|
+
/**
|
|
392
|
+
* __Deprecated.__ Use `abandonedCheckouts` instead.
|
|
393
|
+
* @deprecated
|
|
394
|
+
*/
|
|
395
|
+
results?: AbandonedCheckout[];
|
|
396
|
+
/** List of abandoned checkouts. */
|
|
397
|
+
abandonedCheckouts?: AbandonedCheckout[];
|
|
398
|
+
/** Details on the paged set of results returned. */
|
|
399
|
+
metadata?: PagingMetadataV2;
|
|
400
|
+
}
|
|
401
|
+
export interface PagingMetadataV2 {
|
|
402
|
+
/** Number of items returned in the response. */
|
|
403
|
+
count?: number | null;
|
|
404
|
+
/** Offset that was requested. */
|
|
405
|
+
offset?: number | null;
|
|
406
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
407
|
+
total?: number | null;
|
|
408
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
409
|
+
tooManyToCount?: boolean | null;
|
|
410
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
411
|
+
cursors?: Cursors;
|
|
412
|
+
}
|
|
413
|
+
export interface Cursors {
|
|
414
|
+
/**
|
|
415
|
+
* Cursor string pointing to the next page in the list of results.
|
|
416
|
+
* @maxLength 16000
|
|
417
|
+
*/
|
|
418
|
+
next?: string | null;
|
|
419
|
+
/**
|
|
420
|
+
* Cursor pointing to the previous page in the list of results.
|
|
421
|
+
* @maxLength 16000
|
|
422
|
+
*/
|
|
423
|
+
prev?: string | null;
|
|
424
|
+
}
|
|
425
|
+
export interface SearchAbandonedCheckoutsRequest {
|
|
426
|
+
/** WQL query expression. */
|
|
427
|
+
search?: Search;
|
|
428
|
+
}
|
|
429
|
+
export interface Search extends SearchPagingMethodOneOf {
|
|
430
|
+
/** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
|
|
431
|
+
paging?: CommonPaging;
|
|
432
|
+
/** Cursor pointing to page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can not be used together with 'filter' or 'sort' */
|
|
433
|
+
cursorPaging?: CommonCursorPaging;
|
|
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) */
|
|
435
|
+
filter?: Record<string, any> | null;
|
|
436
|
+
/**
|
|
437
|
+
* Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
|
|
438
|
+
* @maxSize 4
|
|
439
|
+
*/
|
|
440
|
+
sort?: CommonSorting[];
|
|
441
|
+
/** free text to match in searchable fields */
|
|
442
|
+
search?: SearchDetails;
|
|
443
|
+
}
|
|
444
|
+
/** @oneof */
|
|
445
|
+
export interface SearchPagingMethodOneOf {
|
|
446
|
+
/** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
|
|
447
|
+
paging?: CommonPaging;
|
|
448
|
+
/** Cursor pointing to page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can not be used together with 'filter' or 'sort' */
|
|
449
|
+
cursorPaging?: CommonCursorPaging;
|
|
450
|
+
}
|
|
451
|
+
export interface CommonSorting {
|
|
452
|
+
/**
|
|
453
|
+
* Name of the field to sort by.
|
|
454
|
+
* @maxLength 40
|
|
455
|
+
*/
|
|
456
|
+
fieldName?: string;
|
|
457
|
+
/** Sort order. */
|
|
458
|
+
order?: CommonSortOrder;
|
|
459
|
+
}
|
|
460
|
+
export declare enum CommonSortOrder {
|
|
461
|
+
/** Ascending order. */
|
|
462
|
+
ASC = "ASC",
|
|
463
|
+
/** Descending order. */
|
|
464
|
+
DESC = "DESC"
|
|
465
|
+
}
|
|
466
|
+
export interface SearchDetails {
|
|
467
|
+
/** boolean search mode */
|
|
468
|
+
mode?: Mode;
|
|
469
|
+
/**
|
|
470
|
+
* search term or expression
|
|
471
|
+
* @maxLength 100
|
|
472
|
+
*/
|
|
473
|
+
expression?: string | null;
|
|
474
|
+
/**
|
|
475
|
+
* fields to search in. if empty - server will search in own default fields
|
|
476
|
+
* @maxLength 100
|
|
477
|
+
* @maxSize 20
|
|
478
|
+
*/
|
|
479
|
+
fields?: string[];
|
|
480
|
+
/** flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
|
|
481
|
+
fuzzy?: boolean;
|
|
482
|
+
}
|
|
483
|
+
export declare enum Mode {
|
|
484
|
+
/** Any */
|
|
485
|
+
OR = "OR",
|
|
486
|
+
/** All */
|
|
487
|
+
AND = "AND"
|
|
488
|
+
}
|
|
489
|
+
export interface CommonPaging {
|
|
490
|
+
/**
|
|
491
|
+
* Number of items to load.
|
|
492
|
+
* @max 100
|
|
493
|
+
*/
|
|
494
|
+
limit?: number | null;
|
|
495
|
+
/** Number of items to skip in the current sort order. */
|
|
496
|
+
offset?: number | null;
|
|
497
|
+
}
|
|
498
|
+
export interface CommonCursorPaging {
|
|
499
|
+
/**
|
|
500
|
+
* Maximum number of items to return in the results.
|
|
501
|
+
* @max 100
|
|
502
|
+
*/
|
|
503
|
+
limit?: number | null;
|
|
504
|
+
/**
|
|
505
|
+
* Pointer to the next or previous page in the list of results.
|
|
506
|
+
*
|
|
507
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
508
|
+
* Not relevant for the first request.
|
|
509
|
+
*/
|
|
510
|
+
cursor?: string | null;
|
|
511
|
+
}
|
|
512
|
+
export interface SearchAbandonedCheckoutsResponse {
|
|
513
|
+
/** List of abandoned checkouts. */
|
|
514
|
+
abandonedCheckouts?: AbandonedCheckout[];
|
|
515
|
+
/** Paging metadata. Contains cursor which can be used in next query. */
|
|
516
|
+
pagingMetadata?: CommonPagingMetadataV2;
|
|
517
|
+
}
|
|
518
|
+
export interface CommonPagingMetadataV2 {
|
|
519
|
+
/** Number of items returned in the response. */
|
|
520
|
+
count?: number | null;
|
|
521
|
+
/** Offset that was requested. */
|
|
522
|
+
offset?: number | null;
|
|
523
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
524
|
+
total?: number | null;
|
|
525
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
526
|
+
tooManyToCount?: boolean | null;
|
|
527
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
528
|
+
cursors?: CommonCursors;
|
|
529
|
+
}
|
|
530
|
+
export interface CommonCursors {
|
|
531
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
532
|
+
next?: string | null;
|
|
533
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
534
|
+
prev?: string | null;
|
|
535
|
+
}
|
|
536
|
+
export interface AddAbandonedCheckoutActivityRequest {
|
|
537
|
+
/**
|
|
538
|
+
* Id of the abandoned checkout to update
|
|
539
|
+
* @format GUID
|
|
540
|
+
*/
|
|
541
|
+
abandonedCheckoutId: string | null;
|
|
542
|
+
/** The type of the activity to add */
|
|
543
|
+
activityType?: ActivityType;
|
|
544
|
+
}
|
|
545
|
+
export interface AddAbandonedCheckoutActivityResponse {
|
|
546
|
+
/** The updated abandoned checkout with the added activity */
|
|
547
|
+
abandonedCheckout?: AbandonedCheckout;
|
|
548
|
+
}
|
|
549
|
+
export interface Task {
|
|
550
|
+
key?: TaskKey;
|
|
551
|
+
executeAt?: Date | null;
|
|
552
|
+
payload?: string | null;
|
|
553
|
+
}
|
|
554
|
+
export interface TaskKey {
|
|
555
|
+
appId?: string;
|
|
556
|
+
instanceId?: string;
|
|
557
|
+
subjectId?: string | null;
|
|
558
|
+
}
|
|
559
|
+
export interface TaskAction extends TaskActionActionOneOf {
|
|
560
|
+
complete?: Complete;
|
|
561
|
+
cancel?: Cancel;
|
|
562
|
+
reschedule?: Reschedule;
|
|
563
|
+
}
|
|
564
|
+
/** @oneof */
|
|
565
|
+
export interface TaskActionActionOneOf {
|
|
566
|
+
complete?: Complete;
|
|
567
|
+
cancel?: Cancel;
|
|
568
|
+
reschedule?: Reschedule;
|
|
569
|
+
}
|
|
570
|
+
export interface Complete {
|
|
571
|
+
}
|
|
572
|
+
export interface Cancel {
|
|
573
|
+
}
|
|
574
|
+
export interface Reschedule {
|
|
575
|
+
executeAt?: Date | null;
|
|
576
|
+
payload?: string | null;
|
|
577
|
+
}
|
|
578
|
+
export interface RedirectToCheckoutRequest {
|
|
579
|
+
/**
|
|
580
|
+
* ID of the abandoned checkout.
|
|
581
|
+
* @format GUID
|
|
582
|
+
*/
|
|
583
|
+
abandonedCheckoutId: string;
|
|
584
|
+
/**
|
|
585
|
+
* Metasite ID of the site associated with the abandoned checkout.
|
|
586
|
+
* @format GUID
|
|
587
|
+
*/
|
|
588
|
+
metasiteId: string;
|
|
589
|
+
}
|
|
590
|
+
export interface RawHttpResponse {
|
|
591
|
+
body?: Uint8Array;
|
|
592
|
+
statusCode?: number | null;
|
|
593
|
+
headers?: HeadersEntry[];
|
|
594
|
+
}
|
|
595
|
+
export interface HeadersEntry {
|
|
596
|
+
key?: string;
|
|
597
|
+
value?: string;
|
|
598
|
+
}
|
|
599
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
600
|
+
createdEvent?: EntityCreatedEvent;
|
|
601
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
602
|
+
deletedEvent?: EntityDeletedEvent;
|
|
603
|
+
actionEvent?: ActionEvent;
|
|
604
|
+
/**
|
|
605
|
+
* Unique event ID.
|
|
606
|
+
* Allows clients to ignore duplicate webhooks.
|
|
607
|
+
*/
|
|
608
|
+
id?: string;
|
|
609
|
+
/**
|
|
610
|
+
* Assumes actions are also always typed to an entity_type
|
|
611
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
612
|
+
*/
|
|
613
|
+
entityFqdn?: string;
|
|
614
|
+
/**
|
|
615
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
616
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
617
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
618
|
+
*/
|
|
619
|
+
slug?: string;
|
|
620
|
+
/** ID of the entity associated with the event. */
|
|
621
|
+
entityId?: string;
|
|
622
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
623
|
+
eventTime?: Date | null;
|
|
624
|
+
/**
|
|
625
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
626
|
+
* (for example, GDPR).
|
|
627
|
+
*/
|
|
628
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
629
|
+
/** If present, indicates the action that triggered the event. */
|
|
630
|
+
originatedFrom?: string | null;
|
|
631
|
+
/**
|
|
632
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
633
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
634
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
635
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
636
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
637
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
638
|
+
*/
|
|
639
|
+
entityEventSequence?: string | null;
|
|
640
|
+
}
|
|
641
|
+
/** @oneof */
|
|
642
|
+
export interface DomainEventBodyOneOf {
|
|
643
|
+
createdEvent?: EntityCreatedEvent;
|
|
644
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
645
|
+
deletedEvent?: EntityDeletedEvent;
|
|
646
|
+
actionEvent?: ActionEvent;
|
|
647
|
+
}
|
|
648
|
+
export interface EntityCreatedEvent {
|
|
649
|
+
entityAsJson?: string;
|
|
650
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
651
|
+
restoreInfo?: RestoreInfo;
|
|
652
|
+
}
|
|
653
|
+
export interface RestoreInfo {
|
|
654
|
+
deletedDate?: Date | null;
|
|
655
|
+
}
|
|
656
|
+
export interface EntityUpdatedEvent {
|
|
657
|
+
/**
|
|
658
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
659
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
660
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
661
|
+
*/
|
|
662
|
+
currentEntityAsJson?: string;
|
|
663
|
+
}
|
|
664
|
+
export interface EntityDeletedEvent {
|
|
665
|
+
/** Entity that was deleted */
|
|
666
|
+
deletedEntityAsJson?: string | null;
|
|
667
|
+
}
|
|
668
|
+
export interface ActionEvent {
|
|
669
|
+
bodyAsJson?: string;
|
|
670
|
+
}
|
|
671
|
+
export interface Empty {
|
|
672
|
+
}
|
|
673
|
+
export interface MessageEnvelope {
|
|
674
|
+
/**
|
|
675
|
+
* App instance ID.
|
|
676
|
+
* @format GUID
|
|
677
|
+
*/
|
|
678
|
+
instanceId?: string | null;
|
|
679
|
+
/**
|
|
680
|
+
* Event type.
|
|
681
|
+
* @maxLength 150
|
|
682
|
+
*/
|
|
683
|
+
eventType?: string;
|
|
684
|
+
/** The identification type and identity data. */
|
|
685
|
+
identity?: IdentificationData;
|
|
686
|
+
/** Stringify payload. */
|
|
687
|
+
data?: string;
|
|
688
|
+
}
|
|
689
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
690
|
+
/**
|
|
691
|
+
* ID of a site visitor that has not logged in to the site.
|
|
692
|
+
* @format GUID
|
|
693
|
+
*/
|
|
694
|
+
anonymousVisitorId?: string;
|
|
695
|
+
/**
|
|
696
|
+
* ID of a site visitor that has logged in to the site.
|
|
697
|
+
* @format GUID
|
|
698
|
+
*/
|
|
699
|
+
memberId?: string;
|
|
700
|
+
/**
|
|
701
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
702
|
+
* @format GUID
|
|
703
|
+
*/
|
|
704
|
+
wixUserId?: string;
|
|
705
|
+
/**
|
|
706
|
+
* ID of an app.
|
|
707
|
+
* @format GUID
|
|
708
|
+
*/
|
|
709
|
+
appId?: string;
|
|
710
|
+
/** @readonly */
|
|
711
|
+
identityType?: WebhookIdentityType;
|
|
712
|
+
}
|
|
713
|
+
/** @oneof */
|
|
714
|
+
export interface IdentificationDataIdOneOf {
|
|
715
|
+
/**
|
|
716
|
+
* ID of a site visitor that has not logged in to the site.
|
|
717
|
+
* @format GUID
|
|
718
|
+
*/
|
|
719
|
+
anonymousVisitorId?: string;
|
|
720
|
+
/**
|
|
721
|
+
* ID of a site visitor that has logged in to the site.
|
|
722
|
+
* @format GUID
|
|
723
|
+
*/
|
|
724
|
+
memberId?: string;
|
|
725
|
+
/**
|
|
726
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
727
|
+
* @format GUID
|
|
728
|
+
*/
|
|
729
|
+
wixUserId?: string;
|
|
730
|
+
/**
|
|
731
|
+
* ID of an app.
|
|
732
|
+
* @format GUID
|
|
733
|
+
*/
|
|
734
|
+
appId?: string;
|
|
735
|
+
}
|
|
736
|
+
export declare enum WebhookIdentityType {
|
|
737
|
+
UNKNOWN = "UNKNOWN",
|
|
738
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
739
|
+
MEMBER = "MEMBER",
|
|
740
|
+
WIX_USER = "WIX_USER",
|
|
741
|
+
APP = "APP"
|
|
742
|
+
}
|