@wix/ecom 1.0.792 → 1.0.793
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.793",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"service-plugins"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@wix/ecom_abandoned-checkouts": "1.0.
|
|
22
|
+
"@wix/ecom_abandoned-checkouts": "1.0.50",
|
|
23
23
|
"@wix/ecom_additional-fees": "1.0.29",
|
|
24
24
|
"@wix/ecom_back-in-stock-notifications": "1.0.54",
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.39",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"fqdn": ""
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
|
-
"falconPackageHash": "
|
|
84
|
+
"falconPackageHash": "c1883fb36982ddfb9d74ef87209219e0021ede76e65a07aa2d307f3e"
|
|
85
85
|
}
|
|
@@ -3953,17 +3953,15 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
|
3953
3953
|
/** 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`. */
|
|
3954
3954
|
cursorPaging?: CursorPaging$a;
|
|
3955
3955
|
/**
|
|
3956
|
-
* Filter object
|
|
3957
|
-
*
|
|
3958
|
-
*
|
|
3959
|
-
* "fieldName2":{"$operator":"value2"}
|
|
3960
|
-
* }`
|
|
3961
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
3956
|
+
* Filter object.
|
|
3957
|
+
*
|
|
3958
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
3962
3959
|
*/
|
|
3963
3960
|
filter?: Record<string, any> | null;
|
|
3964
3961
|
/**
|
|
3965
|
-
* Sort object
|
|
3966
|
-
*
|
|
3962
|
+
* Sort object.
|
|
3963
|
+
*
|
|
3964
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
3967
3965
|
*/
|
|
3968
3966
|
sort?: Sorting$a[];
|
|
3969
3967
|
/** 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. */
|
|
@@ -4333,6 +4331,9 @@ interface QueryAbandonedCheckoutsResponseNonNullableFields {
|
|
|
4333
4331
|
results: AbandonedCheckoutNonNullableFields[];
|
|
4334
4332
|
abandonedCheckouts: AbandonedCheckoutNonNullableFields[];
|
|
4335
4333
|
}
|
|
4334
|
+
interface SearchAbandonedCheckoutsResponseNonNullableFields {
|
|
4335
|
+
abandonedCheckouts: AbandonedCheckoutNonNullableFields[];
|
|
4336
|
+
}
|
|
4336
4337
|
interface HeadersEntryNonNullableFields$1 {
|
|
4337
4338
|
key: string;
|
|
4338
4339
|
value: string;
|
|
@@ -4468,6 +4469,10 @@ interface AbandonedCheckoutsQueryBuilder {
|
|
|
4468
4469
|
/** @documentationMaturity preview */
|
|
4469
4470
|
find: () => Promise<AbandonedCheckoutsQueryResult>;
|
|
4470
4471
|
}
|
|
4472
|
+
interface SearchAbandonedCheckoutsOptions {
|
|
4473
|
+
/** WQL query expression. */
|
|
4474
|
+
search?: Search;
|
|
4475
|
+
}
|
|
4471
4476
|
|
|
4472
4477
|
declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature;
|
|
4473
4478
|
interface GetAbandonedCheckoutSignature {
|
|
@@ -4499,6 +4504,13 @@ interface QueryAbandonedCheckoutsSignature {
|
|
|
4499
4504
|
*/
|
|
4500
4505
|
(): AbandonedCheckoutsQueryBuilder;
|
|
4501
4506
|
}
|
|
4507
|
+
declare function searchAbandonedCheckouts$1(httpClient: HttpClient): SearchAbandonedCheckoutsSignature;
|
|
4508
|
+
interface SearchAbandonedCheckoutsSignature {
|
|
4509
|
+
/**
|
|
4510
|
+
* Retrieves a list of abandoned checkouts, given the provided paging, filtering, searchDetails and sorting. Up to 100 abandoned checkouts can be returned per request.
|
|
4511
|
+
*/
|
|
4512
|
+
(options?: SearchAbandonedCheckoutsOptions | undefined): Promise<SearchAbandonedCheckoutsResponse & SearchAbandonedCheckoutsResponseNonNullableFields>;
|
|
4513
|
+
}
|
|
4502
4514
|
declare function redirectToCheckout$1(httpClient: HttpClient): RedirectToCheckoutSignature;
|
|
4503
4515
|
interface RedirectToCheckoutSignature {
|
|
4504
4516
|
/**
|
|
@@ -4515,6 +4527,7 @@ declare function createEventModule$e<T extends EventDefinition<any, string>>(eve
|
|
|
4515
4527
|
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
4516
4528
|
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
4517
4529
|
declare const queryAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof queryAbandonedCheckouts$1> & typeof queryAbandonedCheckouts$1>;
|
|
4530
|
+
declare const searchAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof searchAbandonedCheckouts$1> & typeof searchAbandonedCheckouts$1>;
|
|
4518
4531
|
declare const redirectToCheckout: MaybeContext<BuildRESTFunction<typeof redirectToCheckout$1> & typeof redirectToCheckout$1>;
|
|
4519
4532
|
|
|
4520
4533
|
type _publicOnAbandonedCheckoutRecoveredType = typeof onAbandonedCheckoutRecovered$1;
|
|
@@ -4555,8 +4568,10 @@ type context$m_QueryAbandonedCheckoutsResponse = QueryAbandonedCheckoutsResponse
|
|
|
4555
4568
|
type context$m_QueryAbandonedCheckoutsResponseNonNullableFields = QueryAbandonedCheckoutsResponseNonNullableFields;
|
|
4556
4569
|
type context$m_RedirectToCheckoutRequest = RedirectToCheckoutRequest;
|
|
4557
4570
|
type context$m_Search = Search;
|
|
4571
|
+
type context$m_SearchAbandonedCheckoutsOptions = SearchAbandonedCheckoutsOptions;
|
|
4558
4572
|
type context$m_SearchAbandonedCheckoutsRequest = SearchAbandonedCheckoutsRequest;
|
|
4559
4573
|
type context$m_SearchAbandonedCheckoutsResponse = SearchAbandonedCheckoutsResponse;
|
|
4574
|
+
type context$m_SearchAbandonedCheckoutsResponseNonNullableFields = SearchAbandonedCheckoutsResponseNonNullableFields;
|
|
4560
4575
|
type context$m_SearchDetails = SearchDetails;
|
|
4561
4576
|
type context$m_SearchPagingMethodOneOf = SearchPagingMethodOneOf;
|
|
4562
4577
|
type context$m_V1BuyerInfoIdOneOf = V1BuyerInfoIdOneOf;
|
|
@@ -4566,8 +4581,9 @@ declare const context$m_getAbandonedCheckout: typeof getAbandonedCheckout;
|
|
|
4566
4581
|
declare const context$m_onAbandonedCheckoutRecovered: typeof onAbandonedCheckoutRecovered;
|
|
4567
4582
|
declare const context$m_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
4568
4583
|
declare const context$m_redirectToCheckout: typeof redirectToCheckout;
|
|
4584
|
+
declare const context$m_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4569
4585
|
declare namespace context$m {
|
|
4570
|
-
export { type context$m_AbandonedCheckout as AbandonedCheckout, type context$m_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type context$m_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type context$m_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type context$m_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type context$m_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$i as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type context$m_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type context$m_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$e as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type context$m_CartAbandonedEvent as CartAbandonedEvent, type context$m_CartRecoveredEvent as CartRecoveredEvent, type context$m_CommonCursorPaging as CommonCursorPaging, type context$m_CommonCursors as CommonCursors, type context$m_CommonPaging as CommonPaging, type context$m_CommonPagingMetadataV2 as CommonPagingMetadataV2, context$m_CommonSortOrder as CommonSortOrder, type context$m_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$a as CursorPaging, type Cursors$a as Cursors, type context$m_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type context$m_DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponse, type DomainEvent$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$d as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EventMetadata$e as EventMetadata, type FullAddressContactDetails$7 as FullAddressContactDetails, type context$m_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type context$m_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type context$m_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h as IdentificationDataIdOneOf, context$m_Identity as Identity, type MessageEnvelope$h as MessageEnvelope, context$m_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$1 as Paging, type context$m_PagingMetadataV2 as PagingMetadataV2, type context$m_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type context$m_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type context$m_QueryAbandonedCheckoutsResponseNonNullableFields as QueryAbandonedCheckoutsResponseNonNullableFields, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, type context$m_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$i as RestoreInfo, type context$m_Search as Search, type context$m_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type context$m_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type context$m_SearchDetails as SearchDetails, type context$m_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$a as SortOrder, type Sorting$a as Sorting, Status$4 as Status, type Task$1 as Task, type TaskAction$1 as TaskAction, type TaskActionActionOneOf$1 as TaskActionActionOneOf, type TaskKey$1 as TaskKey, type Totals$2 as Totals, type V1BuyerInfo$1 as V1BuyerInfo, type context$m_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$8 as VatId, VatType$8 as VatType, WebhookIdentityType$h as WebhookIdentityType, type context$m__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, context$m_deleteAbandonedCheckout as deleteAbandonedCheckout, context$m_getAbandonedCheckout as getAbandonedCheckout, context$m_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, context$m_queryAbandonedCheckouts as queryAbandonedCheckouts, context$m_redirectToCheckout as redirectToCheckout };
|
|
4586
|
+
export { type context$m_AbandonedCheckout as AbandonedCheckout, type context$m_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type context$m_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type context$m_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type context$m_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type context$m_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$i as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type context$m_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type context$m_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$e as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type context$m_CartAbandonedEvent as CartAbandonedEvent, type context$m_CartRecoveredEvent as CartRecoveredEvent, type context$m_CommonCursorPaging as CommonCursorPaging, type context$m_CommonCursors as CommonCursors, type context$m_CommonPaging as CommonPaging, type context$m_CommonPagingMetadataV2 as CommonPagingMetadataV2, context$m_CommonSortOrder as CommonSortOrder, type context$m_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$a as CursorPaging, type Cursors$a as Cursors, type context$m_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type context$m_DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponse, type DomainEvent$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$d as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EventMetadata$e as EventMetadata, type FullAddressContactDetails$7 as FullAddressContactDetails, type context$m_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type context$m_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type context$m_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h as IdentificationDataIdOneOf, context$m_Identity as Identity, type MessageEnvelope$h as MessageEnvelope, context$m_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$1 as Paging, type context$m_PagingMetadataV2 as PagingMetadataV2, type context$m_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type context$m_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type context$m_QueryAbandonedCheckoutsResponseNonNullableFields as QueryAbandonedCheckoutsResponseNonNullableFields, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, type context$m_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$i as RestoreInfo, type context$m_Search as Search, type context$m_SearchAbandonedCheckoutsOptions as SearchAbandonedCheckoutsOptions, type context$m_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type context$m_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type context$m_SearchAbandonedCheckoutsResponseNonNullableFields as SearchAbandonedCheckoutsResponseNonNullableFields, type context$m_SearchDetails as SearchDetails, type context$m_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$a as SortOrder, type Sorting$a as Sorting, Status$4 as Status, type Task$1 as Task, type TaskAction$1 as TaskAction, type TaskActionActionOneOf$1 as TaskActionActionOneOf, type TaskKey$1 as TaskKey, type Totals$2 as Totals, type V1BuyerInfo$1 as V1BuyerInfo, type context$m_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$8 as VatId, VatType$8 as VatType, WebhookIdentityType$h as WebhookIdentityType, type context$m__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, context$m_deleteAbandonedCheckout as deleteAbandonedCheckout, context$m_getAbandonedCheckout as getAbandonedCheckout, context$m_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, context$m_queryAbandonedCheckouts as queryAbandonedCheckouts, context$m_redirectToCheckout as redirectToCheckout, context$m_searchAbandonedCheckouts as searchAbandonedCheckouts };
|
|
4571
4587
|
}
|
|
4572
4588
|
|
|
4573
4589
|
/**
|
|
@@ -3953,17 +3953,15 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
|
3953
3953
|
/** 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`. */
|
|
3954
3954
|
cursorPaging?: CursorPaging$a;
|
|
3955
3955
|
/**
|
|
3956
|
-
* Filter object
|
|
3957
|
-
*
|
|
3958
|
-
*
|
|
3959
|
-
* "fieldName2":{"$operator":"value2"}
|
|
3960
|
-
* }`
|
|
3961
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
3956
|
+
* Filter object.
|
|
3957
|
+
*
|
|
3958
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
3962
3959
|
*/
|
|
3963
3960
|
filter?: Record<string, any> | null;
|
|
3964
3961
|
/**
|
|
3965
|
-
* Sort object
|
|
3966
|
-
*
|
|
3962
|
+
* Sort object.
|
|
3963
|
+
*
|
|
3964
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
3967
3965
|
*/
|
|
3968
3966
|
sort?: Sorting$a[];
|
|
3969
3967
|
/** 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. */
|
|
@@ -4333,6 +4331,9 @@ interface QueryAbandonedCheckoutsResponseNonNullableFields {
|
|
|
4333
4331
|
results: AbandonedCheckoutNonNullableFields[];
|
|
4334
4332
|
abandonedCheckouts: AbandonedCheckoutNonNullableFields[];
|
|
4335
4333
|
}
|
|
4334
|
+
interface SearchAbandonedCheckoutsResponseNonNullableFields {
|
|
4335
|
+
abandonedCheckouts: AbandonedCheckoutNonNullableFields[];
|
|
4336
|
+
}
|
|
4336
4337
|
interface HeadersEntryNonNullableFields$1 {
|
|
4337
4338
|
key: string;
|
|
4338
4339
|
value: string;
|
|
@@ -4468,6 +4469,10 @@ interface AbandonedCheckoutsQueryBuilder {
|
|
|
4468
4469
|
/** @documentationMaturity preview */
|
|
4469
4470
|
find: () => Promise<AbandonedCheckoutsQueryResult>;
|
|
4470
4471
|
}
|
|
4472
|
+
interface SearchAbandonedCheckoutsOptions {
|
|
4473
|
+
/** WQL query expression. */
|
|
4474
|
+
search?: Search;
|
|
4475
|
+
}
|
|
4471
4476
|
|
|
4472
4477
|
declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature;
|
|
4473
4478
|
interface GetAbandonedCheckoutSignature {
|
|
@@ -4499,6 +4504,13 @@ interface QueryAbandonedCheckoutsSignature {
|
|
|
4499
4504
|
*/
|
|
4500
4505
|
(): AbandonedCheckoutsQueryBuilder;
|
|
4501
4506
|
}
|
|
4507
|
+
declare function searchAbandonedCheckouts$1(httpClient: HttpClient): SearchAbandonedCheckoutsSignature;
|
|
4508
|
+
interface SearchAbandonedCheckoutsSignature {
|
|
4509
|
+
/**
|
|
4510
|
+
* Retrieves a list of abandoned checkouts, given the provided paging, filtering, searchDetails and sorting. Up to 100 abandoned checkouts can be returned per request.
|
|
4511
|
+
*/
|
|
4512
|
+
(options?: SearchAbandonedCheckoutsOptions | undefined): Promise<SearchAbandonedCheckoutsResponse & SearchAbandonedCheckoutsResponseNonNullableFields>;
|
|
4513
|
+
}
|
|
4502
4514
|
declare function redirectToCheckout$1(httpClient: HttpClient): RedirectToCheckoutSignature;
|
|
4503
4515
|
interface RedirectToCheckoutSignature {
|
|
4504
4516
|
/**
|
|
@@ -4515,6 +4527,7 @@ declare function createEventModule$e<T extends EventDefinition<any, string>>(eve
|
|
|
4515
4527
|
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
4516
4528
|
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
4517
4529
|
declare const queryAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof queryAbandonedCheckouts$1> & typeof queryAbandonedCheckouts$1>;
|
|
4530
|
+
declare const searchAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof searchAbandonedCheckouts$1> & typeof searchAbandonedCheckouts$1>;
|
|
4518
4531
|
declare const redirectToCheckout: MaybeContext<BuildRESTFunction<typeof redirectToCheckout$1> & typeof redirectToCheckout$1>;
|
|
4519
4532
|
|
|
4520
4533
|
type _publicOnAbandonedCheckoutRecoveredType = typeof onAbandonedCheckoutRecovered$1;
|
|
@@ -4555,8 +4568,10 @@ type index_d$m_QueryAbandonedCheckoutsResponse = QueryAbandonedCheckoutsResponse
|
|
|
4555
4568
|
type index_d$m_QueryAbandonedCheckoutsResponseNonNullableFields = QueryAbandonedCheckoutsResponseNonNullableFields;
|
|
4556
4569
|
type index_d$m_RedirectToCheckoutRequest = RedirectToCheckoutRequest;
|
|
4557
4570
|
type index_d$m_Search = Search;
|
|
4571
|
+
type index_d$m_SearchAbandonedCheckoutsOptions = SearchAbandonedCheckoutsOptions;
|
|
4558
4572
|
type index_d$m_SearchAbandonedCheckoutsRequest = SearchAbandonedCheckoutsRequest;
|
|
4559
4573
|
type index_d$m_SearchAbandonedCheckoutsResponse = SearchAbandonedCheckoutsResponse;
|
|
4574
|
+
type index_d$m_SearchAbandonedCheckoutsResponseNonNullableFields = SearchAbandonedCheckoutsResponseNonNullableFields;
|
|
4560
4575
|
type index_d$m_SearchDetails = SearchDetails;
|
|
4561
4576
|
type index_d$m_SearchPagingMethodOneOf = SearchPagingMethodOneOf;
|
|
4562
4577
|
type index_d$m_V1BuyerInfoIdOneOf = V1BuyerInfoIdOneOf;
|
|
@@ -4566,8 +4581,9 @@ declare const index_d$m_getAbandonedCheckout: typeof getAbandonedCheckout;
|
|
|
4566
4581
|
declare const index_d$m_onAbandonedCheckoutRecovered: typeof onAbandonedCheckoutRecovered;
|
|
4567
4582
|
declare const index_d$m_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
4568
4583
|
declare const index_d$m_redirectToCheckout: typeof redirectToCheckout;
|
|
4584
|
+
declare const index_d$m_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4569
4585
|
declare namespace index_d$m {
|
|
4570
|
-
export { type index_d$m_AbandonedCheckout as AbandonedCheckout, type index_d$m_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$m_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$m_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$m_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$m_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$i as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$m_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$m_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$e as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type index_d$m_CartAbandonedEvent as CartAbandonedEvent, type index_d$m_CartRecoveredEvent as CartRecoveredEvent, type index_d$m_CommonCursorPaging as CommonCursorPaging, type index_d$m_CommonCursors as CommonCursors, type index_d$m_CommonPaging as CommonPaging, type index_d$m_CommonPagingMetadataV2 as CommonPagingMetadataV2, index_d$m_CommonSortOrder as CommonSortOrder, type index_d$m_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$a as CursorPaging, type Cursors$a as Cursors, type index_d$m_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type index_d$m_DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponse, type DomainEvent$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$d as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EventMetadata$e as EventMetadata, type FullAddressContactDetails$7 as FullAddressContactDetails, type index_d$m_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type index_d$m_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type index_d$m_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h as IdentificationDataIdOneOf, index_d$m_Identity as Identity, type MessageEnvelope$h as MessageEnvelope, index_d$m_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$1 as Paging, type index_d$m_PagingMetadataV2 as PagingMetadataV2, type index_d$m_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type index_d$m_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type index_d$m_QueryAbandonedCheckoutsResponseNonNullableFields as QueryAbandonedCheckoutsResponseNonNullableFields, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, type index_d$m_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$i as RestoreInfo, type index_d$m_Search as Search, type index_d$m_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type index_d$m_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type index_d$m_SearchDetails as SearchDetails, type index_d$m_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$a as SortOrder, type Sorting$a as Sorting, Status$4 as Status, type Task$1 as Task, type TaskAction$1 as TaskAction, type TaskActionActionOneOf$1 as TaskActionActionOneOf, type TaskKey$1 as TaskKey, type Totals$2 as Totals, type V1BuyerInfo$1 as V1BuyerInfo, type index_d$m_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$8 as VatId, VatType$8 as VatType, WebhookIdentityType$h as WebhookIdentityType, type index_d$m__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, index_d$m_deleteAbandonedCheckout as deleteAbandonedCheckout, index_d$m_getAbandonedCheckout as getAbandonedCheckout, index_d$m_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, index_d$m_queryAbandonedCheckouts as queryAbandonedCheckouts, index_d$m_redirectToCheckout as redirectToCheckout };
|
|
4586
|
+
export { type index_d$m_AbandonedCheckout as AbandonedCheckout, type index_d$m_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$m_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$m_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$m_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$m_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$i as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$m_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$m_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$e as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type index_d$m_CartAbandonedEvent as CartAbandonedEvent, type index_d$m_CartRecoveredEvent as CartRecoveredEvent, type index_d$m_CommonCursorPaging as CommonCursorPaging, type index_d$m_CommonCursors as CommonCursors, type index_d$m_CommonPaging as CommonPaging, type index_d$m_CommonPagingMetadataV2 as CommonPagingMetadataV2, index_d$m_CommonSortOrder as CommonSortOrder, type index_d$m_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$a as CursorPaging, type Cursors$a as Cursors, type index_d$m_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type index_d$m_DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponse, type DomainEvent$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$d as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EventMetadata$e as EventMetadata, type FullAddressContactDetails$7 as FullAddressContactDetails, type index_d$m_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type index_d$m_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type index_d$m_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h as IdentificationDataIdOneOf, index_d$m_Identity as Identity, type MessageEnvelope$h as MessageEnvelope, index_d$m_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$1 as Paging, type index_d$m_PagingMetadataV2 as PagingMetadataV2, type index_d$m_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type index_d$m_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type index_d$m_QueryAbandonedCheckoutsResponseNonNullableFields as QueryAbandonedCheckoutsResponseNonNullableFields, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, type index_d$m_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$i as RestoreInfo, type index_d$m_Search as Search, type index_d$m_SearchAbandonedCheckoutsOptions as SearchAbandonedCheckoutsOptions, type index_d$m_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type index_d$m_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type index_d$m_SearchAbandonedCheckoutsResponseNonNullableFields as SearchAbandonedCheckoutsResponseNonNullableFields, type index_d$m_SearchDetails as SearchDetails, type index_d$m_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$a as SortOrder, type Sorting$a as Sorting, Status$4 as Status, type Task$1 as Task, type TaskAction$1 as TaskAction, type TaskActionActionOneOf$1 as TaskActionActionOneOf, type TaskKey$1 as TaskKey, type Totals$2 as Totals, type V1BuyerInfo$1 as V1BuyerInfo, type index_d$m_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$8 as VatId, VatType$8 as VatType, WebhookIdentityType$h as WebhookIdentityType, type index_d$m__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, index_d$m_deleteAbandonedCheckout as deleteAbandonedCheckout, index_d$m_getAbandonedCheckout as getAbandonedCheckout, index_d$m_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, index_d$m_queryAbandonedCheckouts as queryAbandonedCheckouts, index_d$m_redirectToCheckout as redirectToCheckout, index_d$m_searchAbandonedCheckouts as searchAbandonedCheckouts };
|
|
4571
4587
|
}
|
|
4572
4588
|
|
|
4573
4589
|
/**
|
|
@@ -3934,17 +3934,15 @@ interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
|
3934
3934
|
/** 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`. */
|
|
3935
3935
|
cursorPaging?: CursorPaging$j;
|
|
3936
3936
|
/**
|
|
3937
|
-
* Filter object
|
|
3938
|
-
*
|
|
3939
|
-
*
|
|
3940
|
-
* "fieldName2":{"$operator":"value2"}
|
|
3941
|
-
* }`
|
|
3942
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
3937
|
+
* Filter object.
|
|
3938
|
+
*
|
|
3939
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
3943
3940
|
*/
|
|
3944
3941
|
filter?: Record<string, any> | null;
|
|
3945
3942
|
/**
|
|
3946
|
-
* Sort object
|
|
3947
|
-
*
|
|
3943
|
+
* Sort object.
|
|
3944
|
+
*
|
|
3945
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
3948
3946
|
*/
|
|
3949
3947
|
sort?: Sorting$j[];
|
|
3950
3948
|
/** 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. */
|
|
@@ -4015,6 +4013,96 @@ interface Cursors$j {
|
|
|
4015
4013
|
/** Cursor pointing to the previous page in the list of results. */
|
|
4016
4014
|
prev?: string | null;
|
|
4017
4015
|
}
|
|
4016
|
+
interface SearchAbandonedCheckoutsRequest$1 {
|
|
4017
|
+
/** WQL query expression. */
|
|
4018
|
+
search?: Search$1;
|
|
4019
|
+
}
|
|
4020
|
+
interface Search$1 extends SearchPagingMethodOneOf$1 {
|
|
4021
|
+
/** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
|
|
4022
|
+
paging?: CommonPaging$1;
|
|
4023
|
+
/** 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' */
|
|
4024
|
+
cursorPaging?: CommonCursorPaging$1;
|
|
4025
|
+
/** 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) */
|
|
4026
|
+
filter?: Record<string, any> | null;
|
|
4027
|
+
/** Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}] */
|
|
4028
|
+
sort?: CommonSorting$1[];
|
|
4029
|
+
/** free text to match in searchable fields */
|
|
4030
|
+
search?: SearchDetails$1;
|
|
4031
|
+
}
|
|
4032
|
+
/** @oneof */
|
|
4033
|
+
interface SearchPagingMethodOneOf$1 {
|
|
4034
|
+
/** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
|
|
4035
|
+
paging?: CommonPaging$1;
|
|
4036
|
+
/** 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' */
|
|
4037
|
+
cursorPaging?: CommonCursorPaging$1;
|
|
4038
|
+
}
|
|
4039
|
+
interface CommonSorting$1 {
|
|
4040
|
+
/** Name of the field to sort by. */
|
|
4041
|
+
fieldName?: string;
|
|
4042
|
+
/** Sort order. */
|
|
4043
|
+
order?: CommonSortOrder$1;
|
|
4044
|
+
}
|
|
4045
|
+
declare enum CommonSortOrder$1 {
|
|
4046
|
+
ASC = "ASC",
|
|
4047
|
+
DESC = "DESC"
|
|
4048
|
+
}
|
|
4049
|
+
interface SearchDetails$1 {
|
|
4050
|
+
/** boolean search mode */
|
|
4051
|
+
mode?: Mode$1;
|
|
4052
|
+
/** search term or expression */
|
|
4053
|
+
expression?: string | null;
|
|
4054
|
+
/** fields to search in. if empty - server will search in own default fields */
|
|
4055
|
+
fields?: string[];
|
|
4056
|
+
/** flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
|
|
4057
|
+
fuzzy?: boolean;
|
|
4058
|
+
}
|
|
4059
|
+
declare enum Mode$1 {
|
|
4060
|
+
/** any */
|
|
4061
|
+
OR = "OR",
|
|
4062
|
+
/** all */
|
|
4063
|
+
AND = "AND"
|
|
4064
|
+
}
|
|
4065
|
+
interface CommonPaging$1 {
|
|
4066
|
+
/** Number of items to load. */
|
|
4067
|
+
limit?: number | null;
|
|
4068
|
+
/** Number of items to skip in the current sort order. */
|
|
4069
|
+
offset?: number | null;
|
|
4070
|
+
}
|
|
4071
|
+
interface CommonCursorPaging$1 {
|
|
4072
|
+
/** Maximum number of items to return in the results. */
|
|
4073
|
+
limit?: number | null;
|
|
4074
|
+
/**
|
|
4075
|
+
* Pointer to the next or previous page in the list of results.
|
|
4076
|
+
*
|
|
4077
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
4078
|
+
* Not relevant for the first request.
|
|
4079
|
+
*/
|
|
4080
|
+
cursor?: string | null;
|
|
4081
|
+
}
|
|
4082
|
+
interface SearchAbandonedCheckoutsResponse$1 {
|
|
4083
|
+
/** List of abandoned checkouts. */
|
|
4084
|
+
abandonedCheckouts?: AbandonedCheckout$1[];
|
|
4085
|
+
/** Paging metadata. Contains cursor which can be used in next query. */
|
|
4086
|
+
pagingMetadata?: CommonPagingMetadataV2$1;
|
|
4087
|
+
}
|
|
4088
|
+
interface CommonPagingMetadataV2$1 {
|
|
4089
|
+
/** Number of items returned in the response. */
|
|
4090
|
+
count?: number | null;
|
|
4091
|
+
/** Offset that was requested. */
|
|
4092
|
+
offset?: number | null;
|
|
4093
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
4094
|
+
total?: number | null;
|
|
4095
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4096
|
+
tooManyToCount?: boolean | null;
|
|
4097
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4098
|
+
cursors?: CommonCursors$1;
|
|
4099
|
+
}
|
|
4100
|
+
interface CommonCursors$1 {
|
|
4101
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
4102
|
+
next?: string | null;
|
|
4103
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
4104
|
+
prev?: string | null;
|
|
4105
|
+
}
|
|
4018
4106
|
interface RedirectToCheckoutRequest$1 {
|
|
4019
4107
|
/** abandoned checkout id */
|
|
4020
4108
|
abandonedCheckoutId: string;
|
|
@@ -4069,6 +4157,9 @@ interface QueryAbandonedCheckoutsResponseNonNullableFields$1 {
|
|
|
4069
4157
|
results: AbandonedCheckoutNonNullableFields$1[];
|
|
4070
4158
|
abandonedCheckouts: AbandonedCheckoutNonNullableFields$1[];
|
|
4071
4159
|
}
|
|
4160
|
+
interface SearchAbandonedCheckoutsResponseNonNullableFields$1 {
|
|
4161
|
+
abandonedCheckouts: AbandonedCheckoutNonNullableFields$1[];
|
|
4162
|
+
}
|
|
4072
4163
|
interface HeadersEntryNonNullableFields$3 {
|
|
4073
4164
|
key: string;
|
|
4074
4165
|
value: string;
|
|
@@ -4254,17 +4345,15 @@ interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
|
4254
4345
|
/** 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`. */
|
|
4255
4346
|
cursorPaging?: CursorPaging$i;
|
|
4256
4347
|
/**
|
|
4257
|
-
* Filter object
|
|
4258
|
-
*
|
|
4259
|
-
*
|
|
4260
|
-
* "fieldName2":{"$operator":"value2"}
|
|
4261
|
-
* }`
|
|
4262
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
4348
|
+
* Filter object.
|
|
4349
|
+
*
|
|
4350
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
4263
4351
|
*/
|
|
4264
4352
|
filter?: Record<string, any> | null;
|
|
4265
4353
|
/**
|
|
4266
|
-
* Sort object
|
|
4267
|
-
*
|
|
4354
|
+
* Sort object.
|
|
4355
|
+
*
|
|
4356
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
4268
4357
|
*/
|
|
4269
4358
|
sort?: Sorting$i[];
|
|
4270
4359
|
/** 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. */
|
|
@@ -4335,6 +4424,96 @@ interface Cursors$i {
|
|
|
4335
4424
|
/** Cursor pointing to the previous page in the list of results. */
|
|
4336
4425
|
prev?: string | null;
|
|
4337
4426
|
}
|
|
4427
|
+
interface SearchAbandonedCheckoutsRequest {
|
|
4428
|
+
/** WQL query expression. */
|
|
4429
|
+
search?: Search;
|
|
4430
|
+
}
|
|
4431
|
+
interface Search extends SearchPagingMethodOneOf {
|
|
4432
|
+
/** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
|
|
4433
|
+
paging?: CommonPaging;
|
|
4434
|
+
/** 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' */
|
|
4435
|
+
cursorPaging?: CommonCursorPaging;
|
|
4436
|
+
/** 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) */
|
|
4437
|
+
filter?: Record<string, any> | null;
|
|
4438
|
+
/** Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}] */
|
|
4439
|
+
sort?: CommonSorting[];
|
|
4440
|
+
/** free text to match in searchable fields */
|
|
4441
|
+
search?: SearchDetails;
|
|
4442
|
+
}
|
|
4443
|
+
/** @oneof */
|
|
4444
|
+
interface SearchPagingMethodOneOf {
|
|
4445
|
+
/** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
|
|
4446
|
+
paging?: CommonPaging;
|
|
4447
|
+
/** 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' */
|
|
4448
|
+
cursorPaging?: CommonCursorPaging;
|
|
4449
|
+
}
|
|
4450
|
+
interface CommonSorting {
|
|
4451
|
+
/** Name of the field to sort by. */
|
|
4452
|
+
fieldName?: string;
|
|
4453
|
+
/** Sort order. */
|
|
4454
|
+
order?: CommonSortOrder;
|
|
4455
|
+
}
|
|
4456
|
+
declare enum CommonSortOrder {
|
|
4457
|
+
ASC = "ASC",
|
|
4458
|
+
DESC = "DESC"
|
|
4459
|
+
}
|
|
4460
|
+
interface SearchDetails {
|
|
4461
|
+
/** boolean search mode */
|
|
4462
|
+
mode?: Mode;
|
|
4463
|
+
/** search term or expression */
|
|
4464
|
+
expression?: string | null;
|
|
4465
|
+
/** fields to search in. if empty - server will search in own default fields */
|
|
4466
|
+
fields?: string[];
|
|
4467
|
+
/** flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
|
|
4468
|
+
fuzzy?: boolean;
|
|
4469
|
+
}
|
|
4470
|
+
declare enum Mode {
|
|
4471
|
+
/** any */
|
|
4472
|
+
OR = "OR",
|
|
4473
|
+
/** all */
|
|
4474
|
+
AND = "AND"
|
|
4475
|
+
}
|
|
4476
|
+
interface CommonPaging {
|
|
4477
|
+
/** Number of items to load. */
|
|
4478
|
+
limit?: number | null;
|
|
4479
|
+
/** Number of items to skip in the current sort order. */
|
|
4480
|
+
offset?: number | null;
|
|
4481
|
+
}
|
|
4482
|
+
interface CommonCursorPaging {
|
|
4483
|
+
/** Maximum number of items to return in the results. */
|
|
4484
|
+
limit?: number | null;
|
|
4485
|
+
/**
|
|
4486
|
+
* Pointer to the next or previous page in the list of results.
|
|
4487
|
+
*
|
|
4488
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
4489
|
+
* Not relevant for the first request.
|
|
4490
|
+
*/
|
|
4491
|
+
cursor?: string | null;
|
|
4492
|
+
}
|
|
4493
|
+
interface SearchAbandonedCheckoutsResponse {
|
|
4494
|
+
/** List of abandoned checkouts. */
|
|
4495
|
+
abandonedCheckouts?: AbandonedCheckout[];
|
|
4496
|
+
/** Paging metadata. Contains cursor which can be used in next query. */
|
|
4497
|
+
pagingMetadata?: CommonPagingMetadataV2;
|
|
4498
|
+
}
|
|
4499
|
+
interface CommonPagingMetadataV2 {
|
|
4500
|
+
/** Number of items returned in the response. */
|
|
4501
|
+
count?: number | null;
|
|
4502
|
+
/** Offset that was requested. */
|
|
4503
|
+
offset?: number | null;
|
|
4504
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
4505
|
+
total?: number | null;
|
|
4506
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4507
|
+
tooManyToCount?: boolean | null;
|
|
4508
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4509
|
+
cursors?: CommonCursors;
|
|
4510
|
+
}
|
|
4511
|
+
interface CommonCursors {
|
|
4512
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
4513
|
+
next?: string | null;
|
|
4514
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
4515
|
+
prev?: string | null;
|
|
4516
|
+
}
|
|
4338
4517
|
interface RedirectToCheckoutRequest {
|
|
4339
4518
|
/** abandoned checkout id */
|
|
4340
4519
|
abandonedCheckoutId: string;
|
|
@@ -4389,6 +4568,9 @@ interface QueryAbandonedCheckoutsResponseNonNullableFields {
|
|
|
4389
4568
|
results: AbandonedCheckoutNonNullableFields[];
|
|
4390
4569
|
abandonedCheckouts: AbandonedCheckoutNonNullableFields[];
|
|
4391
4570
|
}
|
|
4571
|
+
interface SearchAbandonedCheckoutsResponseNonNullableFields {
|
|
4572
|
+
abandonedCheckouts: AbandonedCheckoutNonNullableFields[];
|
|
4573
|
+
}
|
|
4392
4574
|
interface HeadersEntryNonNullableFields$2 {
|
|
4393
4575
|
key: string;
|
|
4394
4576
|
value: string;
|
|
@@ -4415,6 +4597,7 @@ declare function deleteAbandonedCheckout(): __PublicMethodMetaInfo$m<'DELETE', {
|
|
|
4415
4597
|
abandonedCheckoutId: string;
|
|
4416
4598
|
}, DeleteAbandonedCheckoutRequest, DeleteAbandonedCheckoutRequest$1, DeleteAbandonedCheckoutResponse, DeleteAbandonedCheckoutResponse$1>;
|
|
4417
4599
|
declare function queryAbandonedCheckouts(): __PublicMethodMetaInfo$m<'POST', {}, QueryAbandonedCheckoutsRequest, QueryAbandonedCheckoutsRequest$1, QueryAbandonedCheckoutsResponse & QueryAbandonedCheckoutsResponseNonNullableFields, QueryAbandonedCheckoutsResponse$1 & QueryAbandonedCheckoutsResponseNonNullableFields$1>;
|
|
4600
|
+
declare function searchAbandonedCheckouts(): __PublicMethodMetaInfo$m<'POST', {}, SearchAbandonedCheckoutsRequest, SearchAbandonedCheckoutsRequest$1, SearchAbandonedCheckoutsResponse & SearchAbandonedCheckoutsResponseNonNullableFields, SearchAbandonedCheckoutsResponse$1 & SearchAbandonedCheckoutsResponseNonNullableFields$1>;
|
|
4418
4601
|
declare function redirectToCheckout(): __PublicMethodMetaInfo$m<'GET', {
|
|
4419
4602
|
abandonedCheckoutId: string;
|
|
4420
4603
|
}, RedirectToCheckoutRequest, RedirectToCheckoutRequest$1, RawHttpResponse$2 & RawHttpResponseNonNullableFields$2, RawHttpResponse$3 & RawHttpResponseNonNullableFields$3>;
|
|
@@ -4423,8 +4606,9 @@ declare const meta$m_deleteAbandonedCheckout: typeof deleteAbandonedCheckout;
|
|
|
4423
4606
|
declare const meta$m_getAbandonedCheckout: typeof getAbandonedCheckout;
|
|
4424
4607
|
declare const meta$m_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
4425
4608
|
declare const meta$m_redirectToCheckout: typeof redirectToCheckout;
|
|
4609
|
+
declare const meta$m_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4426
4610
|
declare namespace meta$m {
|
|
4427
|
-
export { type __PublicMethodMetaInfo$m as __PublicMethodMetaInfo, meta$m_deleteAbandonedCheckout as deleteAbandonedCheckout, meta$m_getAbandonedCheckout as getAbandonedCheckout, meta$m_queryAbandonedCheckouts as queryAbandonedCheckouts, meta$m_redirectToCheckout as redirectToCheckout };
|
|
4611
|
+
export { type __PublicMethodMetaInfo$m as __PublicMethodMetaInfo, meta$m_deleteAbandonedCheckout as deleteAbandonedCheckout, meta$m_getAbandonedCheckout as getAbandonedCheckout, meta$m_queryAbandonedCheckouts as queryAbandonedCheckouts, meta$m_redirectToCheckout as redirectToCheckout, meta$m_searchAbandonedCheckouts as searchAbandonedCheckouts };
|
|
4428
4612
|
}
|
|
4429
4613
|
|
|
4430
4614
|
/**
|