@wix/auto_sdk_ecom_abandoned-checkouts 1.0.37 → 1.0.39
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/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-iC02NQVc.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-D7Tj5DAM.d.ts} +16 -3
- package/build/cjs/index.d.ts +12 -3
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -3
- package/build/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-iC02NQVc.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-D7Tj5DAM.d.mts} +16 -3
- package/build/es/index.d.mts +12 -3
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -3
- package/build/internal/cjs/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DuhDBWtW.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Be00Fxej.d.ts} +5 -3
- package/build/internal/cjs/index.d.ts +2 -4
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -3
- package/build/internal/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DuhDBWtW.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Be00Fxej.d.mts} +5 -3
- package/build/internal/es/index.d.mts +2 -4
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -3
- package/package.json +2 -2
|
@@ -72,10 +72,12 @@ declare enum ActivityType {
|
|
|
72
72
|
/** Notification sent. */
|
|
73
73
|
NOTIFICATION_SENT = "NOTIFICATION_SENT",
|
|
74
74
|
/** Task created. */
|
|
75
|
-
TASK_CREATED = "TASK_CREATED"
|
|
75
|
+
TASK_CREATED = "TASK_CREATED",
|
|
76
|
+
/** Automation skipped. */
|
|
77
|
+
AUTOMATION_SKIPPED = "AUTOMATION_SKIPPED"
|
|
76
78
|
}
|
|
77
79
|
/** @enumType */
|
|
78
|
-
type ActivityTypeWithLiterals = ActivityType | 'UNKNOWN_TYPE' | 'SCHEDULED' | 'EMAIL_SENT' | 'EMAIL_NOT_SENT' | 'NOTIFICATION_SENT' | 'TASK_CREATED';
|
|
80
|
+
type ActivityTypeWithLiterals = ActivityType | 'UNKNOWN_TYPE' | 'SCHEDULED' | 'EMAIL_SENT' | 'EMAIL_NOT_SENT' | 'NOTIFICATION_SENT' | 'TASK_CREATED' | 'AUTOMATION_SKIPPED';
|
|
79
81
|
/** Status of the abandoned checkout. */
|
|
80
82
|
declare enum Status {
|
|
81
83
|
/** Abandoned. */
|
|
@@ -1174,6 +1176,17 @@ declare function getAbandonedCheckout(abandonedCheckoutId: string): Promise<NonN
|
|
|
1174
1176
|
* @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.DeleteAbandonedCheckout
|
|
1175
1177
|
*/
|
|
1176
1178
|
declare function deleteAbandonedCheckout(abandonedCheckoutId: string): Promise<void>;
|
|
1179
|
+
/**
|
|
1180
|
+
* Deletes multiple abandoned checkouts.
|
|
1181
|
+
* @param abandonedCheckoutIds - Abandoned checkout IDs to be deleted.
|
|
1182
|
+
* @public
|
|
1183
|
+
* @documentationMaturity preview
|
|
1184
|
+
* @requiredField abandonedCheckoutIds
|
|
1185
|
+
* @permissionId ECOM.ABANDONED_CHECKOUT_DELETE
|
|
1186
|
+
* @applicableIdentity APP
|
|
1187
|
+
* @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.BulkDeleteAbandonedCheckouts
|
|
1188
|
+
*/
|
|
1189
|
+
declare function bulkDeleteAbandonedCheckouts(abandonedCheckoutIds: string[]): Promise<NonNullablePaths<BulkDeleteAbandonedCheckoutsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
1177
1190
|
/**
|
|
1178
1191
|
* Creates a query to retrieve a list of abandoned checkouts.
|
|
1179
1192
|
*
|
|
@@ -1370,4 +1383,4 @@ interface AddAbandonedCheckoutActivityOptions {
|
|
|
1370
1383
|
*/
|
|
1371
1384
|
declare function redirectToCheckout(abandonedCheckoutId: string, metasiteId: string): Promise<NonNullablePaths<RawHttpResponse, `body` | `headers` | `headers.${number}.key` | `headers.${number}.value`, 4>>;
|
|
1372
1385
|
|
|
1373
|
-
export { type Paging as $, type AbandonedCheckout as A, type
|
|
1386
|
+
export { type Paging as $, type AbandonedCheckout as A, type BulkDeleteAbandonedCheckoutsResponse as B, CommonSortOrder as C, DescriptionLineType as D, type GetAbandonedCheckoutResponse as E, type FullAddressContactDetails as F, type GetAbandonedCheckoutRequest as G, type DeleteAbandonedCheckoutRequest as H, Identity as I, type DeleteAbandonedCheckoutResponse as J, type BulkDeleteAbandonedCheckoutsRequest as K, type LineItem as L, Mode as M, type ItemMetadata as N, type ApplicationError as O, type ProductName as P, type BulkAbandonedCheckoutResult as Q, type RawHttpResponse as R, type SearchAbandonedCheckoutsResponse as S, type Totals as T, type BulkActionMetadata as U, VatType as V, WebhookIdentityType as W, type QueryAbandonedCheckoutsRequest as X, type QueryV2 as Y, type QueryV2PagingMethodOneOf as Z, type Sorting as _, type AbandonedCheckoutsQueryBuilder as a, type CursorPaging as a0, type QueryAbandonedCheckoutsResponse as a1, type PagingMetadataV2 as a2, type Cursors as a3, type SearchAbandonedCheckoutsRequest as a4, type Search as a5, type SearchPagingMethodOneOf as a6, type CommonSorting as a7, type SearchDetails as a8, type CommonPaging as a9, type EventMetadata as aA, type AbandonedCheckoutsQueryResult as aB, type AbandonedCheckoutSearchSpec as aC, type AddAbandonedCheckoutActivityOptions as aD, type ActivityTypeWithLiterals as aE, type StatusWithLiterals as aF, type VatTypeWithLiterals as aG, type DescriptionLineTypeWithLiterals as aH, type IdentityWithLiterals as aI, type SortOrderWithLiterals as aJ, type CommonSortOrderWithLiterals as aK, type ModeWithLiterals as aL, type WebhookIdentityTypeWithLiterals as aM, type CommonSearchWithEntityContext as aN, onAbandonedCheckoutCreated as aO, onAbandonedCheckoutDeleted as aP, onAbandonedCheckoutRecovered as aQ, onAbandonedCheckoutUpdated as aR, getAbandonedCheckout as aS, deleteAbandonedCheckout as aT, bulkDeleteAbandonedCheckouts as aU, queryAbandonedCheckouts as aV, redirectToCheckout as aW, type CommonCursorPaging as aa, type CommonPagingMetadataV2 as ab, type CommonCursors as ac, type AddAbandonedCheckoutActivityRequest as ad, type AddAbandonedCheckoutActivityResponse as ae, type Task as af, type TaskKey as ag, type TaskAction as ah, type TaskActionActionOneOf as ai, type Complete as aj, type Cancel as ak, type Reschedule as al, type RedirectToCheckoutRequest as am, type HeadersEntry as an, type DomainEvent as ao, type DomainEventBodyOneOf as ap, type EntityCreatedEvent as aq, type RestoreInfo as ar, type EntityUpdatedEvent as as, type EntityDeletedEvent as at, type ActionEvent as au, type Empty as av, type MessageEnvelope as aw, type IdentificationData as ax, type IdentificationDataIdOneOf as ay, type BaseEventMetadata as az, type AbandonedCheckoutSearch as b, type AbandonedCheckoutCreatedEnvelope as c, type AbandonedCheckoutDeletedEnvelope as d, type AbandonedCheckoutRecoveredEnvelope as e, type AbandonedCheckoutUpdatedEnvelope as f, ActivityType as g, Status as h, SortOrder as i, type V1BuyerInfo as j, type V1BuyerInfoIdOneOf as k, type VatId as l, type MultiCurrencyPrice as m, type Activity as n, type CatalogReference as o, type DescriptionLine as p, type DescriptionLineValueOneOf as q, type DescriptionLineDescriptionLineValueOneOf as r, type DescriptionLineName as s, type PlainTextValue as t, type Color as u, type PhysicalProperties as v, type CartAbandonedEvent as w, type BuyerInfo as x, type CartRecoveredEvent as y, type AbandonedCheckoutRecovered as z };
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -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-
|
|
3
|
-
export {
|
|
2
|
+
import { A as AbandonedCheckout, B as BulkDeleteAbandonedCheckoutsResponse, 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-D7Tj5DAM.js';
|
|
3
|
+
export { z as AbandonedCheckoutRecovered, aC as AbandonedCheckoutSearchSpec, aB as AbandonedCheckoutsQueryResult, au as ActionEvent, n as Activity, g as ActivityType, aE as ActivityTypeWithLiterals, aD as AddAbandonedCheckoutActivityOptions, ad as AddAbandonedCheckoutActivityRequest, ae as AddAbandonedCheckoutActivityResponse, O as ApplicationError, az as BaseEventMetadata, Q as BulkAbandonedCheckoutResult, U as BulkActionMetadata, K as BulkDeleteAbandonedCheckoutsRequest, x as BuyerInfo, ak as Cancel, w as CartAbandonedEvent, y as CartRecoveredEvent, o as CatalogReference, u as Color, aa as CommonCursorPaging, ac as CommonCursors, a9 as CommonPaging, ab as CommonPagingMetadataV2, aN as CommonSearchWithEntityContext, C as CommonSortOrder, aK as CommonSortOrderWithLiterals, a7 as CommonSorting, aj as Complete, a0 as CursorPaging, a3 as Cursors, H as DeleteAbandonedCheckoutRequest, J as DeleteAbandonedCheckoutResponse, p as DescriptionLine, r as DescriptionLineDescriptionLineValueOneOf, s as DescriptionLineName, D as DescriptionLineType, aH as DescriptionLineTypeWithLiterals, q as DescriptionLineValueOneOf, ao as DomainEvent, ap as DomainEventBodyOneOf, av as Empty, aq as EntityCreatedEvent, at as EntityDeletedEvent, as as EntityUpdatedEvent, aA as EventMetadata, F as FullAddressContactDetails, G as GetAbandonedCheckoutRequest, E as GetAbandonedCheckoutResponse, an as HeadersEntry, ax as IdentificationData, ay as IdentificationDataIdOneOf, I as Identity, aI as IdentityWithLiterals, N as ItemMetadata, L as LineItem, aw as MessageEnvelope, M as Mode, aL as ModeWithLiterals, m as MultiCurrencyPrice, $ as Paging, a2 as PagingMetadataV2, v as PhysicalProperties, t as PlainTextValue, P as ProductName, X as QueryAbandonedCheckoutsRequest, a1 as QueryAbandonedCheckoutsResponse, Y as QueryV2, Z as QueryV2PagingMethodOneOf, am as RedirectToCheckoutRequest, al as Reschedule, ar as RestoreInfo, a5 as Search, a4 as SearchAbandonedCheckoutsRequest, a8 as SearchDetails, a6 as SearchPagingMethodOneOf, i as SortOrder, aJ as SortOrderWithLiterals, _ as Sorting, h as Status, aF as StatusWithLiterals, af as Task, ah as TaskAction, ai as TaskActionActionOneOf, ag as TaskKey, T as Totals, j as V1BuyerInfo, k as V1BuyerInfoIdOneOf, l as VatId, V as VatType, aG as VatTypeWithLiterals, W as WebhookIdentityType, aM as WebhookIdentityTypeWithLiterals } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-D7Tj5DAM.js';
|
|
4
4
|
|
|
5
5
|
declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature;
|
|
6
6
|
interface GetAbandonedCheckoutSignature {
|
|
@@ -19,6 +19,14 @@ interface DeleteAbandonedCheckoutSignature {
|
|
|
19
19
|
*/
|
|
20
20
|
(abandonedCheckoutId: string): Promise<void>;
|
|
21
21
|
}
|
|
22
|
+
declare function bulkDeleteAbandonedCheckouts$1(httpClient: HttpClient): BulkDeleteAbandonedCheckoutsSignature;
|
|
23
|
+
interface BulkDeleteAbandonedCheckoutsSignature {
|
|
24
|
+
/**
|
|
25
|
+
* Deletes multiple abandoned checkouts.
|
|
26
|
+
* @param - Abandoned checkout IDs to be deleted.
|
|
27
|
+
*/
|
|
28
|
+
(abandonedCheckoutIds: string[]): Promise<NonNullablePaths<BulkDeleteAbandonedCheckoutsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
29
|
+
}
|
|
22
30
|
declare function queryAbandonedCheckouts$1(httpClient: HttpClient): QueryAbandonedCheckoutsSignature;
|
|
23
31
|
interface QueryAbandonedCheckoutsSignature {
|
|
24
32
|
/**
|
|
@@ -56,6 +64,7 @@ declare const onAbandonedCheckoutUpdated$1: EventDefinition<AbandonedCheckoutUpd
|
|
|
56
64
|
|
|
57
65
|
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
58
66
|
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
67
|
+
declare const bulkDeleteAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof bulkDeleteAbandonedCheckouts$1> & typeof bulkDeleteAbandonedCheckouts$1>;
|
|
59
68
|
declare const queryAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof queryAbandonedCheckouts$1> & typeof queryAbandonedCheckouts$1>;
|
|
60
69
|
declare const searchAbandonedCheckouts: MaybeContext<BuildRESTFunction<typeof searchAbandonedCheckouts$1> & typeof searchAbandonedCheckouts$1>;
|
|
61
70
|
declare const redirectToCheckout: MaybeContext<BuildRESTFunction<typeof redirectToCheckout$1> & typeof redirectToCheckout$1>;
|
|
@@ -76,4 +85,4 @@ declare const onAbandonedCheckoutRecovered: BuildEventDefinition<typeof onAbando
|
|
|
76
85
|
*/
|
|
77
86
|
declare const onAbandonedCheckoutUpdated: BuildEventDefinition<typeof onAbandonedCheckoutUpdated$1> & typeof onAbandonedCheckoutUpdated$1;
|
|
78
87
|
|
|
79
|
-
export { AbandonedCheckout, AbandonedCheckoutCreatedEnvelope, AbandonedCheckoutDeletedEnvelope, AbandonedCheckoutRecoveredEnvelope, AbandonedCheckoutSearch, AbandonedCheckoutUpdatedEnvelope, AbandonedCheckoutsQueryBuilder, RawHttpResponse, SearchAbandonedCheckoutsResponse, deleteAbandonedCheckout, getAbandonedCheckout, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };
|
|
88
|
+
export { AbandonedCheckout, AbandonedCheckoutCreatedEnvelope, AbandonedCheckoutDeletedEnvelope, AbandonedCheckoutRecoveredEnvelope, AbandonedCheckoutSearch, AbandonedCheckoutUpdatedEnvelope, AbandonedCheckoutsQueryBuilder, BulkDeleteAbandonedCheckoutsResponse, RawHttpResponse, SearchAbandonedCheckoutsResponse, bulkDeleteAbandonedCheckouts, deleteAbandonedCheckout, getAbandonedCheckout, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };
|
package/build/cjs/index.js
CHANGED
|
@@ -331,6 +331,7 @@ var ActivityType = /* @__PURE__ */ ((ActivityType2) => {
|
|
|
331
331
|
ActivityType2["EMAIL_NOT_SENT"] = "EMAIL_NOT_SENT";
|
|
332
332
|
ActivityType2["NOTIFICATION_SENT"] = "NOTIFICATION_SENT";
|
|
333
333
|
ActivityType2["TASK_CREATED"] = "TASK_CREATED";
|
|
334
|
+
ActivityType2["AUTOMATION_SKIPPED"] = "AUTOMATION_SKIPPED";
|
|
334
335
|
return ActivityType2;
|
|
335
336
|
})(ActivityType || {});
|
|
336
337
|
var Status = /* @__PURE__ */ ((Status2) => {
|