@wix/auto_sdk_ecom_abandoned-checkouts 1.0.7 → 1.0.9

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 (129) hide show
  1. package/build/{cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-oXeJ64KH.d.mts} +78 -288
  2. package/build/{es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-oXeJ64KH.d.ts} +78 -288
  3. package/build/index.d.mts +75 -0
  4. package/build/index.d.ts +75 -0
  5. package/build/index.js +620 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +579 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-B3pwzRZR.d.mts} +78 -300
  10. package/build/internal/{es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-B3pwzRZR.d.ts} +78 -300
  11. package/build/internal/index.d.mts +86 -0
  12. package/build/internal/index.d.ts +86 -0
  13. package/build/internal/index.js +620 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +579 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/{cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts → meta.d.mts} +70 -313
  18. package/build/{es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts → internal/meta.d.ts} +70 -313
  19. package/build/internal/meta.js +337 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +305 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/{cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts → meta.d.mts} +70 -313
  24. package/build/{internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts → meta.d.ts} +70 -313
  25. package/build/meta.js +337 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +305 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +0 -30
  40. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +0 -43
  41. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +0 -1
  42. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +0 -21
  43. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +0 -209
  44. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +0 -1
  45. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +0 -26
  46. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +0 -142
  47. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +0 -1
  48. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +0 -56
  49. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +0 -104
  50. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +0 -1
  51. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +0 -74
  52. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +0 -1
  53. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +0 -388
  54. package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +0 -30
  65. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +0 -32
  66. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +0 -1
  67. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +0 -21
  68. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +0 -200
  69. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +0 -1
  70. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +0 -26
  71. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +0 -110
  72. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +0 -1
  73. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +0 -56
  74. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +0 -87
  75. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +0 -1
  76. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +0 -71
  77. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +0 -1
  78. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +0 -356
  79. package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +0 -1
  80. package/build/internal/cjs/index.d.ts +0 -1
  81. package/build/internal/cjs/index.js +0 -18
  82. package/build/internal/cjs/index.js.map +0 -1
  83. package/build/internal/cjs/index.typings.d.ts +0 -1
  84. package/build/internal/cjs/index.typings.js +0 -18
  85. package/build/internal/cjs/index.typings.js.map +0 -1
  86. package/build/internal/cjs/meta.d.ts +0 -1
  87. package/build/internal/cjs/meta.js +0 -18
  88. package/build/internal/cjs/meta.js.map +0 -1
  89. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +0 -32
  90. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +0 -43
  91. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +0 -1
  92. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +0 -21
  93. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +0 -209
  94. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +0 -1
  95. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +0 -26
  96. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +0 -142
  97. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +0 -1
  98. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +0 -65
  99. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +0 -104
  100. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +0 -1
  101. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +0 -74
  102. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +0 -1
  103. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +0 -388
  104. package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +0 -1
  105. package/build/internal/es/index.d.ts +0 -1
  106. package/build/internal/es/index.js +0 -2
  107. package/build/internal/es/index.js.map +0 -1
  108. package/build/internal/es/index.typings.d.ts +0 -1
  109. package/build/internal/es/index.typings.js +0 -2
  110. package/build/internal/es/index.typings.js.map +0 -1
  111. package/build/internal/es/meta.d.ts +0 -1
  112. package/build/internal/es/meta.js +0 -2
  113. package/build/internal/es/meta.js.map +0 -1
  114. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +0 -32
  115. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +0 -32
  116. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +0 -1
  117. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +0 -21
  118. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +0 -200
  119. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +0 -1
  120. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +0 -26
  121. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +0 -110
  122. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +0 -1
  123. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +0 -65
  124. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +0 -87
  125. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +0 -1
  126. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +0 -71
  127. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +0 -1
  128. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +0 -356
  129. package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +0 -1
@@ -1,4 +1,6 @@
1
- export interface AbandonedCheckout {
1
+ import { G as GetAbandonedCheckoutRequest$1, p as GetAbandonedCheckoutResponse$1, D as DeleteAbandonedCheckoutRequest$1, q as DeleteAbandonedCheckoutResponse$1, Q as QueryAbandonedCheckoutsRequest$1, v as QueryAbandonedCheckoutsResponse$1, y as SearchAbandonedCheckoutsRequest$1, b as SearchAbandonedCheckoutsResponse$1, U as AddAbandonedCheckoutActivityRequest$1, d as AddAbandonedCheckoutActivityResponse$1, a2 as RedirectToCheckoutRequest$1, R as RawHttpResponse$1 } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-B3pwzRZR.mjs';
2
+
3
+ interface AbandonedCheckout {
2
4
  /**
3
5
  * Abandoned checkout ID.
4
6
  * @format GUID
@@ -58,7 +60,7 @@ export interface AbandonedCheckout {
58
60
  /** Subtotal price of all line items, before discounts and before tax. */
59
61
  subtotalPrice?: MultiCurrencyPrice;
60
62
  }
61
- export declare enum ActivityType {
63
+ declare enum ActivityType {
62
64
  /** Not implemented. */
63
65
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
64
66
  /** Scheduled. */
@@ -73,14 +75,14 @@ export declare enum ActivityType {
73
75
  TASK_CREATED = "TASK_CREATED"
74
76
  }
75
77
  /** Status of the abandoned checkout. */
76
- export declare enum Status {
78
+ declare enum Status {
77
79
  /** Abandoned. */
78
80
  ABANDONED = "ABANDONED",
79
81
  /** Recovered. */
80
82
  RECOVERED = "RECOVERED"
81
83
  }
82
84
  /** Buyer information. */
83
- export interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
85
+ interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
84
86
  /**
85
87
  * Visitor ID (if the site visitor is **not** a site member).
86
88
  * @format GUID
@@ -110,7 +112,7 @@ export interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
110
112
  email?: string | null;
111
113
  }
112
114
  /** @oneof */
113
- export interface V1BuyerInfoIdOneOf {
115
+ interface V1BuyerInfoIdOneOf {
114
116
  /**
115
117
  * Visitor ID (if the site visitor is **not** a site member).
116
118
  * @format GUID
@@ -128,7 +130,7 @@ export interface V1BuyerInfoIdOneOf {
128
130
  userId?: string;
129
131
  }
130
132
  /** Full contact details for an address */
131
- export interface FullAddressContactDetails {
133
+ interface FullAddressContactDetails {
132
134
  /**
133
135
  * First name.
134
136
  * @maxLength 100
@@ -152,7 +154,7 @@ export interface FullAddressContactDetails {
152
154
  /** Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed. */
153
155
  vatId?: VatId;
154
156
  }
155
- export interface VatId {
157
+ interface VatId {
156
158
  /** Customer's tax ID. */
157
159
  id?: string;
158
160
  /**
@@ -165,14 +167,14 @@ export interface VatId {
165
167
  type?: VatType;
166
168
  }
167
169
  /** tax info types */
168
- export declare enum VatType {
170
+ declare enum VatType {
169
171
  UNSPECIFIED = "UNSPECIFIED",
170
172
  /** CPF - for individual tax payers. */
171
173
  CPF = "CPF",
172
174
  /** CNPJ - for corporations */
173
175
  CNPJ = "CNPJ"
174
176
  }
175
- export interface MultiCurrencyPrice {
177
+ interface MultiCurrencyPrice {
176
178
  /**
177
179
  * Amount.
178
180
  * @decimalValue options { gte:0, lte:1000000000000000 }
@@ -195,136 +197,37 @@ export interface MultiCurrencyPrice {
195
197
  */
196
198
  formattedConvertedAmount?: string;
197
199
  }
198
- export interface Activity {
200
+ interface Activity {
199
201
  /** Date and time the automation activity was created. */
200
202
  createdDate?: Date | null;
201
203
  /** Automation activity type. */
202
204
  type?: ActivityType;
203
205
  }
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 {
206
+ interface GetAbandonedCheckoutRequest {
304
207
  /**
305
208
  * Abandoned checkout ID.
306
209
  * @format GUID
307
210
  */
308
211
  abandonedCheckoutId: string;
309
212
  }
310
- export interface GetAbandonedCheckoutResponse {
213
+ interface GetAbandonedCheckoutResponse {
311
214
  /** The requested abandoned checkout. */
312
215
  abandonedCheckout?: AbandonedCheckout;
313
216
  }
314
- export interface DeleteAbandonedCheckoutRequest {
217
+ interface DeleteAbandonedCheckoutRequest {
315
218
  /**
316
219
  * Id of the abandoned checkout to delete
317
220
  * @format GUID
318
221
  */
319
222
  abandonedCheckoutId: string;
320
223
  }
321
- export interface DeleteAbandonedCheckoutResponse {
224
+ interface DeleteAbandonedCheckoutResponse {
322
225
  }
323
- export interface QueryAbandonedCheckoutsRequest {
226
+ interface QueryAbandonedCheckoutsRequest {
324
227
  /** Query options. */
325
228
  query: QueryV2;
326
229
  }
327
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
230
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
328
231
  /** Paging options to limit and skip the number of items. */
329
232
  paging?: Paging;
330
233
  /** 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`. */
@@ -347,13 +250,13 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
347
250
  fieldsets?: string[];
348
251
  }
349
252
  /** @oneof */
350
- export interface QueryV2PagingMethodOneOf {
253
+ interface QueryV2PagingMethodOneOf {
351
254
  /** Paging options to limit and skip the number of items. */
352
255
  paging?: Paging;
353
256
  /** 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
257
  cursorPaging?: CursorPaging;
355
258
  }
356
- export interface Sorting {
259
+ interface Sorting {
357
260
  /**
358
261
  * Name of the field to sort by.
359
262
  * @maxLength 512
@@ -362,17 +265,17 @@ export interface Sorting {
362
265
  /** Sort order. */
363
266
  order?: SortOrder;
364
267
  }
365
- export declare enum SortOrder {
268
+ declare enum SortOrder {
366
269
  ASC = "ASC",
367
270
  DESC = "DESC"
368
271
  }
369
- export interface Paging {
272
+ interface Paging {
370
273
  /** Number of items to load. */
371
274
  limit?: number | null;
372
275
  /** Number of items to skip in the current sort order. */
373
276
  offset?: number | null;
374
277
  }
375
- export interface CursorPaging {
278
+ interface CursorPaging {
376
279
  /**
377
280
  * Maximum number of items to return in the results.
378
281
  * @max 100
@@ -387,7 +290,7 @@ export interface CursorPaging {
387
290
  */
388
291
  cursor?: string | null;
389
292
  }
390
- export interface QueryAbandonedCheckoutsResponse {
293
+ interface QueryAbandonedCheckoutsResponse {
391
294
  /**
392
295
  * __Deprecated.__ Use `abandonedCheckouts` instead.
393
296
  * @deprecated
@@ -398,7 +301,7 @@ export interface QueryAbandonedCheckoutsResponse {
398
301
  /** Details on the paged set of results returned. */
399
302
  metadata?: PagingMetadataV2;
400
303
  }
401
- export interface PagingMetadataV2 {
304
+ interface PagingMetadataV2 {
402
305
  /** Number of items returned in the response. */
403
306
  count?: number | null;
404
307
  /** Offset that was requested. */
@@ -410,7 +313,7 @@ export interface PagingMetadataV2 {
410
313
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
411
314
  cursors?: Cursors;
412
315
  }
413
- export interface Cursors {
316
+ interface Cursors {
414
317
  /**
415
318
  * Cursor string pointing to the next page in the list of results.
416
319
  * @maxLength 16000
@@ -422,11 +325,11 @@ export interface Cursors {
422
325
  */
423
326
  prev?: string | null;
424
327
  }
425
- export interface SearchAbandonedCheckoutsRequest {
328
+ interface SearchAbandonedCheckoutsRequest {
426
329
  /** WQL query expression. */
427
330
  search?: Search;
428
331
  }
429
- export interface Search extends SearchPagingMethodOneOf {
332
+ interface Search extends SearchPagingMethodOneOf {
430
333
  /** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
431
334
  paging?: CommonPaging;
432
335
  /** 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' */
@@ -442,13 +345,13 @@ export interface Search extends SearchPagingMethodOneOf {
442
345
  search?: SearchDetails;
443
346
  }
444
347
  /** @oneof */
445
- export interface SearchPagingMethodOneOf {
348
+ interface SearchPagingMethodOneOf {
446
349
  /** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
447
350
  paging?: CommonPaging;
448
351
  /** 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
352
  cursorPaging?: CommonCursorPaging;
450
353
  }
451
- export interface CommonSorting {
354
+ interface CommonSorting {
452
355
  /**
453
356
  * Name of the field to sort by.
454
357
  * @maxLength 40
@@ -457,13 +360,13 @@ export interface CommonSorting {
457
360
  /** Sort order. */
458
361
  order?: CommonSortOrder;
459
362
  }
460
- export declare enum CommonSortOrder {
363
+ declare enum CommonSortOrder {
461
364
  /** Ascending order. */
462
365
  ASC = "ASC",
463
366
  /** Descending order. */
464
367
  DESC = "DESC"
465
368
  }
466
- export interface SearchDetails {
369
+ interface SearchDetails {
467
370
  /** boolean search mode */
468
371
  mode?: Mode;
469
372
  /**
@@ -480,13 +383,13 @@ export interface SearchDetails {
480
383
  /** flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
481
384
  fuzzy?: boolean;
482
385
  }
483
- export declare enum Mode {
386
+ declare enum Mode {
484
387
  /** Any */
485
388
  OR = "OR",
486
389
  /** All */
487
390
  AND = "AND"
488
391
  }
489
- export interface CommonPaging {
392
+ interface CommonPaging {
490
393
  /**
491
394
  * Number of items to load.
492
395
  * @max 100
@@ -495,7 +398,7 @@ export interface CommonPaging {
495
398
  /** Number of items to skip in the current sort order. */
496
399
  offset?: number | null;
497
400
  }
498
- export interface CommonCursorPaging {
401
+ interface CommonCursorPaging {
499
402
  /**
500
403
  * Maximum number of items to return in the results.
501
404
  * @max 100
@@ -509,13 +412,13 @@ export interface CommonCursorPaging {
509
412
  */
510
413
  cursor?: string | null;
511
414
  }
512
- export interface SearchAbandonedCheckoutsResponse {
415
+ interface SearchAbandonedCheckoutsResponse {
513
416
  /** List of abandoned checkouts. */
514
417
  abandonedCheckouts?: AbandonedCheckout[];
515
418
  /** Paging metadata. Contains cursor which can be used in next query. */
516
419
  pagingMetadata?: CommonPagingMetadataV2;
517
420
  }
518
- export interface CommonPagingMetadataV2 {
421
+ interface CommonPagingMetadataV2 {
519
422
  /** Number of items returned in the response. */
520
423
  count?: number | null;
521
424
  /** Offset that was requested. */
@@ -527,13 +430,13 @@ export interface CommonPagingMetadataV2 {
527
430
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
528
431
  cursors?: CommonCursors;
529
432
  }
530
- export interface CommonCursors {
433
+ interface CommonCursors {
531
434
  /** Cursor string pointing to the next page in the list of results. */
532
435
  next?: string | null;
533
436
  /** Cursor pointing to the previous page in the list of results. */
534
437
  prev?: string | null;
535
438
  }
536
- export interface AddAbandonedCheckoutActivityRequest {
439
+ interface AddAbandonedCheckoutActivityRequest {
537
440
  /**
538
441
  * Id of the abandoned checkout to update
539
442
  * @format GUID
@@ -542,40 +445,11 @@ export interface AddAbandonedCheckoutActivityRequest {
542
445
  /** The type of the activity to add */
543
446
  activityType?: ActivityType;
544
447
  }
545
- export interface AddAbandonedCheckoutActivityResponse {
448
+ interface AddAbandonedCheckoutActivityResponse {
546
449
  /** The updated abandoned checkout with the added activity */
547
450
  abandonedCheckout?: AbandonedCheckout;
548
451
  }
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 {
452
+ interface RedirectToCheckoutRequest {
579
453
  /**
580
454
  * ID of the abandoned checkout.
581
455
  * @format GUID
@@ -587,156 +461,39 @@ export interface RedirectToCheckoutRequest {
587
461
  */
588
462
  metasiteId: string;
589
463
  }
590
- export interface RawHttpResponse {
464
+ interface RawHttpResponse {
591
465
  body?: Uint8Array;
592
466
  statusCode?: number | null;
593
467
  headers?: HeadersEntry[];
594
468
  }
595
- export interface HeadersEntry {
469
+ interface HeadersEntry {
596
470
  key?: string;
597
471
  value?: string;
598
472
  }
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
- }
473
+
474
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
475
+ getUrl: (context: any) => string;
476
+ httpMethod: K;
477
+ path: string;
478
+ pathParams: M;
479
+ __requestType: T;
480
+ __originalRequestType: S;
481
+ __responseType: Q;
482
+ __originalResponseType: R;
483
+ };
484
+ declare function getAbandonedCheckout(): __PublicMethodMetaInfo<'GET', {
485
+ abandonedCheckoutId: string;
486
+ }, GetAbandonedCheckoutRequest$1, GetAbandonedCheckoutRequest, GetAbandonedCheckoutResponse$1, GetAbandonedCheckoutResponse>;
487
+ declare function deleteAbandonedCheckout(): __PublicMethodMetaInfo<'DELETE', {
488
+ abandonedCheckoutId: string;
489
+ }, DeleteAbandonedCheckoutRequest$1, DeleteAbandonedCheckoutRequest, DeleteAbandonedCheckoutResponse$1, DeleteAbandonedCheckoutResponse>;
490
+ declare function queryAbandonedCheckouts(): __PublicMethodMetaInfo<'POST', {}, QueryAbandonedCheckoutsRequest$1, QueryAbandonedCheckoutsRequest, QueryAbandonedCheckoutsResponse$1, QueryAbandonedCheckoutsResponse>;
491
+ declare function searchAbandonedCheckouts(): __PublicMethodMetaInfo<'POST', {}, SearchAbandonedCheckoutsRequest$1, SearchAbandonedCheckoutsRequest, SearchAbandonedCheckoutsResponse$1, SearchAbandonedCheckoutsResponse>;
492
+ declare function addAbandonedCheckoutActivity(): __PublicMethodMetaInfo<'POST', {
493
+ abandonedCheckoutId: string;
494
+ }, AddAbandonedCheckoutActivityRequest$1, AddAbandonedCheckoutActivityRequest, AddAbandonedCheckoutActivityResponse$1, AddAbandonedCheckoutActivityResponse>;
495
+ declare function redirectToCheckout(): __PublicMethodMetaInfo<'GET', {
496
+ abandonedCheckoutId: string;
497
+ }, RedirectToCheckoutRequest$1, RedirectToCheckoutRequest, RawHttpResponse$1, RawHttpResponse>;
498
+
499
+ export { type __PublicMethodMetaInfo, addAbandonedCheckoutActivity, deleteAbandonedCheckout, getAbandonedCheckout, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };