@wix/auto_sdk_ecom_abandoned-checkouts 1.0.27 → 1.0.28

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 (25) hide show
  1. package/build/cjs/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BBg7__GU.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Dsp5bm2y.d.ts} +32 -22
  2. package/build/cjs/index.d.ts +3 -3
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +3 -3
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +21 -15
  7. package/build/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BBg7__GU.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Dsp5bm2y.d.mts} +32 -22
  8. package/build/es/index.d.mts +3 -3
  9. package/build/es/index.mjs.map +1 -1
  10. package/build/es/index.typings.d.mts +3 -3
  11. package/build/es/index.typings.mjs.map +1 -1
  12. package/build/es/meta.d.mts +21 -15
  13. package/build/internal/cjs/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BKlwJk8K.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BECO5yK8.d.ts} +32 -22
  14. package/build/internal/cjs/index.d.ts +3 -3
  15. package/build/internal/cjs/index.js.map +1 -1
  16. package/build/internal/cjs/index.typings.d.ts +3 -3
  17. package/build/internal/cjs/index.typings.js.map +1 -1
  18. package/build/internal/cjs/meta.d.ts +21 -15
  19. package/build/internal/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BKlwJk8K.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BECO5yK8.d.mts} +32 -22
  20. package/build/internal/es/index.d.mts +3 -3
  21. package/build/internal/es/index.mjs.map +1 -1
  22. package/build/internal/es/index.typings.d.mts +3 -3
  23. package/build/internal/es/index.typings.mjs.map +1 -1
  24. package/build/internal/es/meta.d.mts +21 -15
  25. package/package.json +2 -2
@@ -441,29 +441,35 @@ interface Cursors {
441
441
  prev?: string | null;
442
442
  }
443
443
  interface SearchAbandonedCheckoutsRequest {
444
- /** WQL query expression. */
444
+ /** Search options. */
445
445
  search?: Search;
446
446
  }
447
447
  interface Search extends SearchPagingMethodOneOf {
448
- /** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
448
+ /** Paging options to limit and offset the number of items. */
449
449
  paging?: CommonPaging;
450
- /** 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' */
450
+ /** 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. */
451
451
  cursorPaging?: CommonCursorPaging;
452
- /** 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) */
452
+ /**
453
+ * Filter object.
454
+ *
455
+ * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
456
+ */
453
457
  filter?: Record<string, any> | null;
454
458
  /**
455
- * Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
459
+ * Sort object.
460
+ *
461
+ * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
456
462
  * @maxSize 4
457
463
  */
458
464
  sort?: CommonSorting[];
459
- /** free text to match in searchable fields */
465
+ /** Free text to match in searchable fields. */
460
466
  search?: SearchDetails;
461
467
  }
462
468
  /** @oneof */
463
469
  interface SearchPagingMethodOneOf {
464
- /** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
470
+ /** Paging options to limit and offset the number of items. */
465
471
  paging?: CommonPaging;
466
- /** 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' */
472
+ /** 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. */
467
473
  cursorPaging?: CommonCursorPaging;
468
474
  }
469
475
  interface CommonSorting {
@@ -484,26 +490,26 @@ declare enum CommonSortOrder {
484
490
  /** @enumType */
485
491
  type CommonSortOrderWithLiterals = CommonSortOrder | 'ASC' | 'DESC';
486
492
  interface SearchDetails {
487
- /** boolean search mode */
493
+ /** Search mode. Defines the search logic for combining multiple terms in the `expression`. */
488
494
  mode?: ModeWithLiterals;
489
495
  /**
490
- * search term or expression
496
+ * Search term or expression.
491
497
  * @maxLength 100
492
498
  */
493
499
  expression?: string | null;
494
500
  /**
495
- * fields to search in. if empty - server will search in own default fields
501
+ * Fields to search in. If the array is empty, all searchable fields are searched. Use dot notation to specify a JSON path. For example, `order.address.streetName`.
496
502
  * @maxLength 100
497
503
  * @maxSize 20
498
504
  */
499
505
  fields?: string[];
500
- /** flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
506
+ /** Whether to enable the search function to use an algorithm to automatically find results that are close to the search expression, such as typos and declensions. */
501
507
  fuzzy?: boolean;
502
508
  }
503
509
  declare enum Mode {
504
- /** Any */
510
+ /** At least one of the search terms must be present. */
505
511
  OR = "OR",
506
- /** All */
512
+ /** All search terms must be present. */
507
513
  AND = "AND"
508
514
  }
509
515
  /** @enumType */
@@ -1039,7 +1045,7 @@ interface AbandonedCheckoutSearchSpec extends SearchSpec {
1039
1045
  type CommonSearchWithEntityContext = Search$1<AbandonedCheckout, AbandonedCheckoutSearchSpec>;
1040
1046
  type AbandonedCheckoutSearch = {
1041
1047
  /**
1042
- 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'
1048
+ 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.
1043
1049
  */
1044
1050
  cursorPaging?: {
1045
1051
  /**
@@ -1056,11 +1062,15 @@ type AbandonedCheckoutSearch = {
1056
1062
  cursor?: NonNullable<CommonSearchWithEntityContext['cursorPaging']>['cursor'] | null;
1057
1063
  };
1058
1064
  /**
1059
- 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)
1065
+ Filter object.
1066
+
1067
+ Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
1060
1068
  */
1061
1069
  filter?: CommonSearchWithEntityContext['filter'] | null;
1062
1070
  /**
1063
- Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
1071
+ Sort object.
1072
+
1073
+ Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
1064
1074
  @maxSize: 4
1065
1075
  */
1066
1076
  sort?: {
@@ -1075,26 +1085,26 @@ type AbandonedCheckoutSearch = {
1075
1085
  order?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['order'];
1076
1086
  }[];
1077
1087
  /**
1078
- free text to match in searchable fields
1088
+ Free text to match in searchable fields.
1079
1089
  */
1080
1090
  search?: {
1081
1091
  /**
1082
- boolean search mode
1092
+ Search mode. Defines the search logic for combining multiple terms in the `expression`.
1083
1093
  */
1084
1094
  mode?: NonNullable<CommonSearchWithEntityContext['search']>['mode'];
1085
1095
  /**
1086
- search term or expression
1096
+ Search term or expression.
1087
1097
  @maxLength: 100
1088
1098
  */
1089
1099
  expression?: NonNullable<CommonSearchWithEntityContext['search']>['expression'] | null;
1090
1100
  /**
1091
- fields to search in. if empty - server will search in own default fields
1101
+ Fields to search in. If the array is empty, all searchable fields are searched. Use dot notation to specify a JSON path. For example, `order.address.streetName`.
1092
1102
  @maxLength: 100,
1093
1103
  @maxSize: 20
1094
1104
  */
1095
1105
  fields?: NonNullable<CommonSearchWithEntityContext['search']>['fields'];
1096
1106
  /**
1097
- flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm)
1107
+ Whether to enable the search function to use an algorithm to automatically find results that are close to the search expression, such as typos and declensions.
1098
1108
  */
1099
1109
  fuzzy?: NonNullable<CommonSearchWithEntityContext['search']>['fuzzy'];
1100
1110
  };
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { A as AbandonedCheckout, a as AbandonedCheckoutsQueryBuilder, b as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, R as RawHttpResponse, c as AbandonedCheckoutCreatedEnvelope, d as AbandonedCheckoutDeletedEnvelope, e as AbandonedCheckoutRecoveredEnvelope, f as AbandonedCheckoutUpdatedEnvelope } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BBg7__GU.js';
3
- export { q as AbandonedCheckoutRecovered, al as AbandonedCheckoutSearchSpec, ak as AbandonedCheckoutsQueryResult, ad as ActionEvent, n as Activity, g as ActivityType, am as AddAbandonedCheckoutActivityOptions, Y as AddAbandonedCheckoutActivityRequest, Z as AddAbandonedCheckoutActivityResponse, ai as BaseEventMetadata, B as BuyerInfo, a3 as Cancel, o as CartAbandonedEvent, p as CartRecoveredEvent, O as CommonCursorPaging, X as CommonCursors, N as CommonPaging, U as CommonPagingMetadataV2, C as CommonSortOrder, K as CommonSorting, a2 as Complete, w as CursorPaging, z as Cursors, D as DeleteAbandonedCheckoutRequest, s as DeleteAbandonedCheckoutResponse, a7 as DomainEvent, a8 as DomainEventBodyOneOf, ae as Empty, a9 as EntityCreatedEvent, ac as EntityDeletedEvent, ab as EntityUpdatedEvent, aj as EventMetadata, F as FullAddressContactDetails, G as GetAbandonedCheckoutRequest, r as GetAbandonedCheckoutResponse, a6 as HeadersEntry, ag as IdentificationData, ah as IdentificationDataIdOneOf, I as Identity, af as MessageEnvelope, M as Mode, m as MultiCurrencyPrice, P as Paging, y as PagingMetadataV2, Q as QueryAbandonedCheckoutsRequest, x as QueryAbandonedCheckoutsResponse, t as QueryV2, u as QueryV2PagingMethodOneOf, a5 as RedirectToCheckoutRequest, a4 as Reschedule, aa as RestoreInfo, H as Search, E as SearchAbandonedCheckoutsRequest, L as SearchDetails, J as SearchPagingMethodOneOf, i as SortOrder, v as Sorting, h as Status, _ as Task, a0 as TaskAction, a1 as TaskActionActionOneOf, $ as TaskKey, T as Totals, j as V1BuyerInfo, k as V1BuyerInfoIdOneOf, l as VatId, V as VatType, W as WebhookIdentityType } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BBg7__GU.js';
2
+ import { A as AbandonedCheckout, a as AbandonedCheckoutsQueryBuilder, b as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, R as RawHttpResponse, c as AbandonedCheckoutCreatedEnvelope, d as AbandonedCheckoutDeletedEnvelope, e as AbandonedCheckoutRecoveredEnvelope, f as AbandonedCheckoutUpdatedEnvelope } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Dsp5bm2y.js';
3
+ export { q as AbandonedCheckoutRecovered, al as AbandonedCheckoutSearchSpec, ak as AbandonedCheckoutsQueryResult, ad as ActionEvent, n as Activity, g as ActivityType, am as AddAbandonedCheckoutActivityOptions, Y as AddAbandonedCheckoutActivityRequest, Z as AddAbandonedCheckoutActivityResponse, ai as BaseEventMetadata, B as BuyerInfo, a3 as Cancel, o as CartAbandonedEvent, p as CartRecoveredEvent, O as CommonCursorPaging, X as CommonCursors, N as CommonPaging, U as CommonPagingMetadataV2, C as CommonSortOrder, K as CommonSorting, a2 as Complete, w as CursorPaging, z as Cursors, D as DeleteAbandonedCheckoutRequest, s as DeleteAbandonedCheckoutResponse, a7 as DomainEvent, a8 as DomainEventBodyOneOf, ae as Empty, a9 as EntityCreatedEvent, ac as EntityDeletedEvent, ab as EntityUpdatedEvent, aj as EventMetadata, F as FullAddressContactDetails, G as GetAbandonedCheckoutRequest, r as GetAbandonedCheckoutResponse, a6 as HeadersEntry, ag as IdentificationData, ah as IdentificationDataIdOneOf, I as Identity, af as MessageEnvelope, M as Mode, m as MultiCurrencyPrice, P as Paging, y as PagingMetadataV2, Q as QueryAbandonedCheckoutsRequest, x as QueryAbandonedCheckoutsResponse, t as QueryV2, u as QueryV2PagingMethodOneOf, a5 as RedirectToCheckoutRequest, a4 as Reschedule, aa as RestoreInfo, H as Search, E as SearchAbandonedCheckoutsRequest, L as SearchDetails, J as SearchPagingMethodOneOf, i as SortOrder, v as Sorting, h as Status, _ as Task, a0 as TaskAction, a1 as TaskActionActionOneOf, $ as TaskKey, T as Totals, j as V1BuyerInfo, k as V1BuyerInfoIdOneOf, l as VatId, V as VatType, W as WebhookIdentityType } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Dsp5bm2y.js';
4
4
 
5
5
  type AbandonedCheckoutNonNullablePaths = `_id` | `status` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `buyerInfo.userId` | `contactDetails.vatId._id` | `contactDetails.vatId.type` | `currency` | `totalPrice.amount` | `totalPrice.convertedAmount` | `totalPrice.formattedAmount` | `totalPrice.formattedConvertedAmount` | `activities` | `activities.${number}.type` | `checkoutUrl` | `subtotalPrice.amount` | `subtotalPrice.convertedAmount` | `subtotalPrice.formattedAmount` | `subtotalPrice.formattedConvertedAmount`;
6
6
  declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature;
@@ -37,7 +37,7 @@ declare function searchAbandonedCheckouts$1(httpClient: HttpClient): SearchAband
37
37
  interface SearchAbandonedCheckoutsSignature {
38
38
  /**
39
39
  * Retrieves a list of abandoned checkouts, given the provided paging, filtering, search details and sorting. Up to 100 abandoned checkouts can be returned per request.
40
- * @param - WQL query expression.
40
+ * @param - Search options.
41
41
  */
42
42
  (search: AbandonedCheckoutSearch): Promise<NonNullablePaths<SearchAbandonedCheckoutsResponse, {
43
43
  [P in AbandonedCheckoutNonNullablePaths]: `abandonedCheckouts.${number}.${P}`;