@wix/auto_sdk_ecom_abandoned-checkouts 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-_Og7xJYi.d.mts} +90 -300
- package/build/{es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-_Og7xJYi.d.ts} +90 -300
- package/build/index.d.mts +79 -0
- package/build/index.d.ts +79 -0
- package/build/index.js +621 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +580 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BO6qI_7l.d.mts} +90 -315
- package/build/internal/{es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BO6qI_7l.d.ts} +90 -315
- package/build/internal/index.d.mts +90 -0
- package/build/internal/index.d.ts +90 -0
- package/build/internal/index.js +621 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +580 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/{cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts → meta.d.mts} +77 -315
- package/build/{es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts → internal/meta.d.ts} +77 -315
- package/build/internal/meta.js +337 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +305 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts → meta.d.mts} +77 -315
- package/build/{internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.d.ts → meta.d.ts} +77 -315
- package/build/meta.js +337 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +305 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -30
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +0 -30
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +0 -43
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +0 -21
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +0 -209
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +0 -26
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +0 -142
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +0 -57
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +0 -104
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +0 -74
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +0 -393
- package/build/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -30
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +0 -30
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +0 -32
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +0 -21
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +0 -200
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +0 -26
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +0 -110
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +0 -57
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +0 -87
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +0 -71
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +0 -361
- package/build/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -30
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +0 -32
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +0 -43
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +0 -21
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +0 -209
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +0 -26
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +0 -142
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +0 -66
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +0 -104
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +0 -74
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +0 -393
- package/build/internal/cjs/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -30
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.d.ts +0 -32
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js +0 -32
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.context.js.map +0 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.d.ts +0 -21
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js +0 -200
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.http.js.map +0 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.d.ts +0 -26
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js +0 -110
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.d.ts +0 -66
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js +0 -87
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.public.js.map +0 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js +0 -71
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.types.js.map +0 -1
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js +0 -361
- package/build/internal/es/src/ecom-v1-abandoned-checkout-abandoned-checkouts.universal.js.map +0 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { A as AbandonedCheckout, a as AbandonedCheckoutsQueryBuilder, b as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, c as AddAbandonedCheckoutActivityOptions, d as AddAbandonedCheckoutActivityResponse, R as RawHttpResponse, e as AbandonedCheckoutCreatedEnvelope, f as AbandonedCheckoutDeletedEnvelope, g as AbandonedCheckoutRecoveredEnvelope, h as AbandonedCheckoutUpdatedEnvelope } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BO6qI_7l.mjs';
|
|
3
|
+
export { s as AbandonedCheckoutRecovered, am as AbandonedCheckoutSearchSpec, al as AbandonedCheckoutsQueryResult, ae as ActionEvent, p as Activity, i as ActivityType, _ as AddAbandonedCheckoutActivityRequest, aj as BaseEventMetadata, B as BuyerInfo, a4 as Cancel, q as CartAbandonedEvent, r as CartRecoveredEvent, X as CommonCursorPaging, Z as CommonCursors, U as CommonPaging, Y as CommonPagingMetadataV2, C as CommonSortOrder, N as CommonSorting, a3 as Complete, y as CursorPaging, H as Cursors, D as DeleteAbandonedCheckoutRequest, u as DeleteAbandonedCheckoutResponse, a8 as DomainEvent, a9 as DomainEventBodyOneOf, af as Empty, aa as EntityCreatedEvent, ad as EntityDeletedEvent, ac as EntityUpdatedEvent, ak as EventMetadata, F as FullAddressContactDetails, G as GetAbandonedCheckoutRequest, t as GetAbandonedCheckoutResponse, a7 as HeadersEntry, ah as IdentificationData, ai as IdentificationDataIdOneOf, I as Identity, ag as MessageEnvelope, M as Mode, o as MultiCurrencyPrice, P as Paging, E as PagingMetadataV2, Q as QueryAbandonedCheckoutsRequest, z as QueryAbandonedCheckoutsResponse, v as QueryV2, w as QueryV2PagingMethodOneOf, a6 as RedirectToCheckoutRequest, a5 as Reschedule, ab as RestoreInfo, K as Search, J as SearchAbandonedCheckoutsRequest, O as SearchDetails, L as SearchPagingMethodOneOf, k as SortOrder, x as Sorting, j as Status, $ as Task, a1 as TaskAction, a2 as TaskActionActionOneOf, a0 as TaskKey, T as Totals, l as V1BuyerInfo, m as V1BuyerInfoIdOneOf, n as VatId, V as VatType, W as WebhookIdentityType } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BO6qI_7l.mjs';
|
|
4
|
+
|
|
5
|
+
declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature;
|
|
6
|
+
interface GetAbandonedCheckoutSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves an abandoned checkout.
|
|
9
|
+
* @param - Abandoned checkout ID.
|
|
10
|
+
* @returns The requested abandoned checkout.
|
|
11
|
+
*/
|
|
12
|
+
(abandonedCheckoutId: string): Promise<AbandonedCheckout>;
|
|
13
|
+
}
|
|
14
|
+
declare function deleteAbandonedCheckout$1(httpClient: HttpClient): DeleteAbandonedCheckoutSignature;
|
|
15
|
+
interface DeleteAbandonedCheckoutSignature {
|
|
16
|
+
/**
|
|
17
|
+
* Deletes an abandoned checkout.
|
|
18
|
+
* @param - Id of the abandoned checkout to delete
|
|
19
|
+
*/
|
|
20
|
+
(abandonedCheckoutId: string): Promise<void>;
|
|
21
|
+
}
|
|
22
|
+
declare function queryAbandonedCheckouts$1(httpClient: HttpClient): QueryAbandonedCheckoutsSignature;
|
|
23
|
+
interface QueryAbandonedCheckoutsSignature {
|
|
24
|
+
/**
|
|
25
|
+
* Creates a query to retrieve a list of abandoned checkouts.
|
|
26
|
+
*
|
|
27
|
+
* The `queryAbandonedCheckouts()` function builds a query to retrieve a list of abandoned checkouts and returns a `ResultsQueryBuilder` object.
|
|
28
|
+
*
|
|
29
|
+
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
30
|
+
*
|
|
31
|
+
* You can refine the query by chaining `ResultsQueryBuilder` functions onto the query. `ResultsQueryBuilder` functions enable you to sort, filter, and control the results `queryAbandonedCheckouts()` returns.
|
|
32
|
+
*/
|
|
33
|
+
(): AbandonedCheckoutsQueryBuilder;
|
|
34
|
+
}
|
|
35
|
+
declare function searchAbandonedCheckouts$1(httpClient: HttpClient): SearchAbandonedCheckoutsSignature;
|
|
36
|
+
interface SearchAbandonedCheckoutsSignature {
|
|
37
|
+
/**
|
|
38
|
+
* 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.
|
|
39
|
+
* @param - WQL query expression.
|
|
40
|
+
*/
|
|
41
|
+
(search: AbandonedCheckoutSearch): Promise<SearchAbandonedCheckoutsResponse>;
|
|
42
|
+
}
|
|
43
|
+
/** @internal */
|
|
44
|
+
declare function addAbandonedCheckoutActivity$1(httpClient: HttpClient): AddAbandonedCheckoutActivitySignature;
|
|
45
|
+
interface AddAbandonedCheckoutActivitySignature {
|
|
46
|
+
/**
|
|
47
|
+
* Adds a new abandoned checkout activity.
|
|
48
|
+
* @param - Id of the abandoned checkout to update
|
|
49
|
+
*/
|
|
50
|
+
(abandonedCheckoutId: string, options?: AddAbandonedCheckoutActivityOptions | undefined): Promise<AddAbandonedCheckoutActivityResponse>;
|
|
51
|
+
}
|
|
52
|
+
declare function redirectToCheckout$1(httpClient: HttpClient): RedirectToCheckoutSignature;
|
|
53
|
+
interface RedirectToCheckoutSignature {
|
|
54
|
+
/**
|
|
55
|
+
* Redirects an abandoned checkout to its checkout page.
|
|
56
|
+
* @param - ID of the abandoned checkout.
|
|
57
|
+
* @param - Metasite ID of the site associated with the abandoned checkout.
|
|
58
|
+
*/
|
|
59
|
+
(abandonedCheckoutId: string, metasiteId: string): Promise<RawHttpResponse>;
|
|
60
|
+
}
|
|
61
|
+
declare const onAbandonedCheckoutCreated$1: EventDefinition<AbandonedCheckoutCreatedEnvelope, "wix.ecom.v1.abandoned_checkout_created">;
|
|
62
|
+
declare const onAbandonedCheckoutDeleted$1: EventDefinition<AbandonedCheckoutDeletedEnvelope, "wix.ecom.v1.abandoned_checkout_deleted">;
|
|
63
|
+
declare const onAbandonedCheckoutRecovered$1: EventDefinition<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
|
|
64
|
+
declare const onAbandonedCheckoutUpdated$1: EventDefinition<AbandonedCheckoutUpdatedEnvelope, "wix.ecom.v1.abandoned_checkout_updated">;
|
|
65
|
+
|
|
66
|
+
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
67
|
+
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
68
|
+
declare const queryAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof queryAbandonedCheckouts$1> & typeof queryAbandonedCheckouts$1>;
|
|
69
|
+
declare const searchAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof searchAbandonedCheckouts$1> & typeof searchAbandonedCheckouts$1>;
|
|
70
|
+
/** @internal */
|
|
71
|
+
declare const addAbandonedCheckoutActivity: MaybeContext<BuildRESTFunction<typeof addAbandonedCheckoutActivity$1> & typeof addAbandonedCheckoutActivity$1>;
|
|
72
|
+
declare const redirectToCheckout: MaybeContext<BuildRESTFunction<typeof redirectToCheckout$1> & typeof redirectToCheckout$1>;
|
|
73
|
+
/**
|
|
74
|
+
* Triggered when an abandoned checkout is created.
|
|
75
|
+
*/
|
|
76
|
+
declare const onAbandonedCheckoutCreated: BuildEventDefinition<typeof onAbandonedCheckoutCreated$1>;
|
|
77
|
+
/**
|
|
78
|
+
* Triggerred when an abandoned checkout is deleted.
|
|
79
|
+
*/
|
|
80
|
+
declare const onAbandonedCheckoutDeleted: BuildEventDefinition<typeof onAbandonedCheckoutDeleted$1>;
|
|
81
|
+
/**
|
|
82
|
+
* Triggered when an abandoned checkout is recovered.
|
|
83
|
+
*/
|
|
84
|
+
declare const onAbandonedCheckoutRecovered: BuildEventDefinition<typeof onAbandonedCheckoutRecovered$1>;
|
|
85
|
+
/**
|
|
86
|
+
* Triggered when an abandoned checkout is updated.
|
|
87
|
+
*/
|
|
88
|
+
declare const onAbandonedCheckoutUpdated: BuildEventDefinition<typeof onAbandonedCheckoutUpdated$1>;
|
|
89
|
+
|
|
90
|
+
export { AbandonedCheckout, AbandonedCheckoutCreatedEnvelope, AbandonedCheckoutDeletedEnvelope, AbandonedCheckoutRecoveredEnvelope, AbandonedCheckoutUpdatedEnvelope, AbandonedCheckoutsQueryBuilder, AddAbandonedCheckoutActivityOptions, AddAbandonedCheckoutActivityResponse, RawHttpResponse, SearchAbandonedCheckoutsResponse, addAbandonedCheckoutActivity, deleteAbandonedCheckout, getAbandonedCheckout, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { A as AbandonedCheckout, a as AbandonedCheckoutsQueryBuilder, b as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, c as AddAbandonedCheckoutActivityOptions, d as AddAbandonedCheckoutActivityResponse, R as RawHttpResponse, e as AbandonedCheckoutCreatedEnvelope, f as AbandonedCheckoutDeletedEnvelope, g as AbandonedCheckoutRecoveredEnvelope, h as AbandonedCheckoutUpdatedEnvelope } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BO6qI_7l.js';
|
|
3
|
+
export { s as AbandonedCheckoutRecovered, am as AbandonedCheckoutSearchSpec, al as AbandonedCheckoutsQueryResult, ae as ActionEvent, p as Activity, i as ActivityType, _ as AddAbandonedCheckoutActivityRequest, aj as BaseEventMetadata, B as BuyerInfo, a4 as Cancel, q as CartAbandonedEvent, r as CartRecoveredEvent, X as CommonCursorPaging, Z as CommonCursors, U as CommonPaging, Y as CommonPagingMetadataV2, C as CommonSortOrder, N as CommonSorting, a3 as Complete, y as CursorPaging, H as Cursors, D as DeleteAbandonedCheckoutRequest, u as DeleteAbandonedCheckoutResponse, a8 as DomainEvent, a9 as DomainEventBodyOneOf, af as Empty, aa as EntityCreatedEvent, ad as EntityDeletedEvent, ac as EntityUpdatedEvent, ak as EventMetadata, F as FullAddressContactDetails, G as GetAbandonedCheckoutRequest, t as GetAbandonedCheckoutResponse, a7 as HeadersEntry, ah as IdentificationData, ai as IdentificationDataIdOneOf, I as Identity, ag as MessageEnvelope, M as Mode, o as MultiCurrencyPrice, P as Paging, E as PagingMetadataV2, Q as QueryAbandonedCheckoutsRequest, z as QueryAbandonedCheckoutsResponse, v as QueryV2, w as QueryV2PagingMethodOneOf, a6 as RedirectToCheckoutRequest, a5 as Reschedule, ab as RestoreInfo, K as Search, J as SearchAbandonedCheckoutsRequest, O as SearchDetails, L as SearchPagingMethodOneOf, k as SortOrder, x as Sorting, j as Status, $ as Task, a1 as TaskAction, a2 as TaskActionActionOneOf, a0 as TaskKey, T as Totals, l as V1BuyerInfo, m as V1BuyerInfoIdOneOf, n as VatId, V as VatType, W as WebhookIdentityType } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BO6qI_7l.js';
|
|
4
|
+
|
|
5
|
+
declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature;
|
|
6
|
+
interface GetAbandonedCheckoutSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves an abandoned checkout.
|
|
9
|
+
* @param - Abandoned checkout ID.
|
|
10
|
+
* @returns The requested abandoned checkout.
|
|
11
|
+
*/
|
|
12
|
+
(abandonedCheckoutId: string): Promise<AbandonedCheckout>;
|
|
13
|
+
}
|
|
14
|
+
declare function deleteAbandonedCheckout$1(httpClient: HttpClient): DeleteAbandonedCheckoutSignature;
|
|
15
|
+
interface DeleteAbandonedCheckoutSignature {
|
|
16
|
+
/**
|
|
17
|
+
* Deletes an abandoned checkout.
|
|
18
|
+
* @param - Id of the abandoned checkout to delete
|
|
19
|
+
*/
|
|
20
|
+
(abandonedCheckoutId: string): Promise<void>;
|
|
21
|
+
}
|
|
22
|
+
declare function queryAbandonedCheckouts$1(httpClient: HttpClient): QueryAbandonedCheckoutsSignature;
|
|
23
|
+
interface QueryAbandonedCheckoutsSignature {
|
|
24
|
+
/**
|
|
25
|
+
* Creates a query to retrieve a list of abandoned checkouts.
|
|
26
|
+
*
|
|
27
|
+
* The `queryAbandonedCheckouts()` function builds a query to retrieve a list of abandoned checkouts and returns a `ResultsQueryBuilder` object.
|
|
28
|
+
*
|
|
29
|
+
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
30
|
+
*
|
|
31
|
+
* You can refine the query by chaining `ResultsQueryBuilder` functions onto the query. `ResultsQueryBuilder` functions enable you to sort, filter, and control the results `queryAbandonedCheckouts()` returns.
|
|
32
|
+
*/
|
|
33
|
+
(): AbandonedCheckoutsQueryBuilder;
|
|
34
|
+
}
|
|
35
|
+
declare function searchAbandonedCheckouts$1(httpClient: HttpClient): SearchAbandonedCheckoutsSignature;
|
|
36
|
+
interface SearchAbandonedCheckoutsSignature {
|
|
37
|
+
/**
|
|
38
|
+
* 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.
|
|
39
|
+
* @param - WQL query expression.
|
|
40
|
+
*/
|
|
41
|
+
(search: AbandonedCheckoutSearch): Promise<SearchAbandonedCheckoutsResponse>;
|
|
42
|
+
}
|
|
43
|
+
/** @internal */
|
|
44
|
+
declare function addAbandonedCheckoutActivity$1(httpClient: HttpClient): AddAbandonedCheckoutActivitySignature;
|
|
45
|
+
interface AddAbandonedCheckoutActivitySignature {
|
|
46
|
+
/**
|
|
47
|
+
* Adds a new abandoned checkout activity.
|
|
48
|
+
* @param - Id of the abandoned checkout to update
|
|
49
|
+
*/
|
|
50
|
+
(abandonedCheckoutId: string, options?: AddAbandonedCheckoutActivityOptions | undefined): Promise<AddAbandonedCheckoutActivityResponse>;
|
|
51
|
+
}
|
|
52
|
+
declare function redirectToCheckout$1(httpClient: HttpClient): RedirectToCheckoutSignature;
|
|
53
|
+
interface RedirectToCheckoutSignature {
|
|
54
|
+
/**
|
|
55
|
+
* Redirects an abandoned checkout to its checkout page.
|
|
56
|
+
* @param - ID of the abandoned checkout.
|
|
57
|
+
* @param - Metasite ID of the site associated with the abandoned checkout.
|
|
58
|
+
*/
|
|
59
|
+
(abandonedCheckoutId: string, metasiteId: string): Promise<RawHttpResponse>;
|
|
60
|
+
}
|
|
61
|
+
declare const onAbandonedCheckoutCreated$1: EventDefinition<AbandonedCheckoutCreatedEnvelope, "wix.ecom.v1.abandoned_checkout_created">;
|
|
62
|
+
declare const onAbandonedCheckoutDeleted$1: EventDefinition<AbandonedCheckoutDeletedEnvelope, "wix.ecom.v1.abandoned_checkout_deleted">;
|
|
63
|
+
declare const onAbandonedCheckoutRecovered$1: EventDefinition<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
|
|
64
|
+
declare const onAbandonedCheckoutUpdated$1: EventDefinition<AbandonedCheckoutUpdatedEnvelope, "wix.ecom.v1.abandoned_checkout_updated">;
|
|
65
|
+
|
|
66
|
+
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
67
|
+
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
68
|
+
declare const queryAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof queryAbandonedCheckouts$1> & typeof queryAbandonedCheckouts$1>;
|
|
69
|
+
declare const searchAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof searchAbandonedCheckouts$1> & typeof searchAbandonedCheckouts$1>;
|
|
70
|
+
/** @internal */
|
|
71
|
+
declare const addAbandonedCheckoutActivity: MaybeContext<BuildRESTFunction<typeof addAbandonedCheckoutActivity$1> & typeof addAbandonedCheckoutActivity$1>;
|
|
72
|
+
declare const redirectToCheckout: MaybeContext<BuildRESTFunction<typeof redirectToCheckout$1> & typeof redirectToCheckout$1>;
|
|
73
|
+
/**
|
|
74
|
+
* Triggered when an abandoned checkout is created.
|
|
75
|
+
*/
|
|
76
|
+
declare const onAbandonedCheckoutCreated: BuildEventDefinition<typeof onAbandonedCheckoutCreated$1>;
|
|
77
|
+
/**
|
|
78
|
+
* Triggerred when an abandoned checkout is deleted.
|
|
79
|
+
*/
|
|
80
|
+
declare const onAbandonedCheckoutDeleted: BuildEventDefinition<typeof onAbandonedCheckoutDeleted$1>;
|
|
81
|
+
/**
|
|
82
|
+
* Triggered when an abandoned checkout is recovered.
|
|
83
|
+
*/
|
|
84
|
+
declare const onAbandonedCheckoutRecovered: BuildEventDefinition<typeof onAbandonedCheckoutRecovered$1>;
|
|
85
|
+
/**
|
|
86
|
+
* Triggered when an abandoned checkout is updated.
|
|
87
|
+
*/
|
|
88
|
+
declare const onAbandonedCheckoutUpdated: BuildEventDefinition<typeof onAbandonedCheckoutUpdated$1>;
|
|
89
|
+
|
|
90
|
+
export { AbandonedCheckout, AbandonedCheckoutCreatedEnvelope, AbandonedCheckoutDeletedEnvelope, AbandonedCheckoutRecoveredEnvelope, AbandonedCheckoutUpdatedEnvelope, AbandonedCheckoutsQueryBuilder, AddAbandonedCheckoutActivityOptions, AddAbandonedCheckoutActivityResponse, RawHttpResponse, SearchAbandonedCheckoutsResponse, addAbandonedCheckoutActivity, deleteAbandonedCheckout, getAbandonedCheckout, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };
|