@wix/auto_sdk_ecom_abandoned-checkouts 1.0.52 → 1.0.54
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/{internal/cjs/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-WxTvIcU0.d.ts → cjs/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.d.ts} +67 -32
- package/build/cjs/index.d.ts +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +7 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/es/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-WxTvIcU0.d.mts → es/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.d.mts} +67 -32
- package/build/es/index.d.mts +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +7 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/{cjs/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DhcdCax5.d.ts → internal/cjs/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CxtZPwuB.d.ts} +100 -4
- package/build/internal/cjs/index.d.ts +6 -6
- 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.map +1 -1
- package/build/internal/cjs/meta.d.ts +7 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{es/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DhcdCax5.d.mts → internal/es/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CxtZPwuB.d.mts} +100 -4
- package/build/internal/es/index.d.mts +6 -6
- 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.map +1 -1
- package/build/internal/es/meta.d.mts +7 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SearchSpec, Search as Search$1, NonNullablePaths } from '@wix/sdk-types';
|
|
1
|
+
import { QuerySpec, SearchSpec, Query, Search as Search$1, NonNullablePaths } from '@wix/sdk-types';
|
|
2
2
|
|
|
3
3
|
interface AbandonedCheckout {
|
|
4
4
|
/**
|
|
@@ -59,17 +59,8 @@ interface AbandonedCheckout {
|
|
|
59
59
|
checkoutUrl?: string;
|
|
60
60
|
/** Subtotal price of all line items, before discounts and before tax. */
|
|
61
61
|
subtotalPrice?: MultiCurrencyPrice;
|
|
62
|
-
/**
|
|
63
|
-
* Line items.
|
|
64
|
-
* @internal
|
|
65
|
-
* @minSize 1
|
|
66
|
-
* @maxSize 300
|
|
67
|
-
* @readonly
|
|
68
|
-
*/
|
|
69
|
-
lineItems?: LineItem[];
|
|
70
62
|
/**
|
|
71
63
|
* Applied discounts.
|
|
72
|
-
* @internal
|
|
73
64
|
* @maxSize 100
|
|
74
65
|
* @readonly
|
|
75
66
|
*/
|
|
@@ -342,14 +333,6 @@ interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDesc
|
|
|
342
333
|
colorInfo?: Color;
|
|
343
334
|
/** Description line name. */
|
|
344
335
|
name?: DescriptionLineName;
|
|
345
|
-
/**
|
|
346
|
-
* Whether the description line originates from a modifier.
|
|
347
|
-
* @internal
|
|
348
|
-
* @deprecated Whether the description line originates from a modifier.
|
|
349
|
-
* @replacedBy none
|
|
350
|
-
* @targetRemovalDate 2025-12-31
|
|
351
|
-
*/
|
|
352
|
-
modifierDescriptionLine?: boolean;
|
|
353
336
|
}
|
|
354
337
|
/** @oneof */
|
|
355
338
|
interface DescriptionLineValueOneOf {
|
|
@@ -1274,7 +1257,7 @@ declare function onAbandonedCheckoutUpdated(handler: (event: AbandonedCheckoutUp
|
|
|
1274
1257
|
* @returns The requested abandoned checkout.
|
|
1275
1258
|
* @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.GetAbandonedCheckout
|
|
1276
1259
|
*/
|
|
1277
|
-
declare function getAbandonedCheckout(abandonedCheckoutId: string): Promise<NonNullablePaths<AbandonedCheckout, `_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`,
|
|
1260
|
+
declare function getAbandonedCheckout(abandonedCheckoutId: string): Promise<NonNullablePaths<AbandonedCheckout, `_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` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType`, 6>>;
|
|
1278
1261
|
/**
|
|
1279
1262
|
* Deletes an abandoned checkout.
|
|
1280
1263
|
* @param abandonedCheckoutId - Id of the abandoned checkout to delete
|
|
@@ -1373,7 +1356,70 @@ interface AbandonedCheckoutsQueryBuilder {
|
|
|
1373
1356
|
* @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.QueryAbandonedCheckouts
|
|
1374
1357
|
* @requiredField query
|
|
1375
1358
|
*/
|
|
1376
|
-
declare function typedQueryAbandonedCheckouts(query:
|
|
1359
|
+
declare function typedQueryAbandonedCheckouts(query: AbandonedCheckoutQuery): Promise<NonNullablePaths<QueryAbandonedCheckoutsResponse, `results` | `results.${number}._id` | `results.${number}.status` | `results.${number}.buyerInfo.visitorId` | `results.${number}.buyerInfo.memberId` | `results.${number}.buyerInfo.userId` | `results.${number}.contactDetails.vatId._id` | `results.${number}.contactDetails.vatId.type` | `results.${number}.currency` | `results.${number}.totalPrice.amount` | `results.${number}.totalPrice.convertedAmount` | `results.${number}.totalPrice.formattedAmount` | `results.${number}.totalPrice.formattedConvertedAmount` | `results.${number}.checkoutUrl` | `abandonedCheckouts` | `abandonedCheckouts.${number}._id` | `abandonedCheckouts.${number}.status` | `abandonedCheckouts.${number}.buyerInfo.visitorId` | `abandonedCheckouts.${number}.buyerInfo.memberId` | `abandonedCheckouts.${number}.buyerInfo.userId` | `abandonedCheckouts.${number}.contactDetails.vatId._id` | `abandonedCheckouts.${number}.contactDetails.vatId.type` | `abandonedCheckouts.${number}.currency` | `abandonedCheckouts.${number}.totalPrice.amount` | `abandonedCheckouts.${number}.totalPrice.convertedAmount` | `abandonedCheckouts.${number}.totalPrice.formattedAmount` | `abandonedCheckouts.${number}.totalPrice.formattedConvertedAmount` | `abandonedCheckouts.${number}.checkoutUrl`, 6>>;
|
|
1360
|
+
interface AbandonedCheckoutQuerySpec extends QuerySpec {
|
|
1361
|
+
paging: 'cursor';
|
|
1362
|
+
wql: [
|
|
1363
|
+
{
|
|
1364
|
+
fields: [
|
|
1365
|
+
'_createdDate',
|
|
1366
|
+
'_id',
|
|
1367
|
+
'_updatedDate',
|
|
1368
|
+
'buyerInfo.contactId',
|
|
1369
|
+
'buyerInfo.email',
|
|
1370
|
+
'buyerInfo.memberId',
|
|
1371
|
+
'buyerInfo.userId',
|
|
1372
|
+
'buyerInfo.visitorId',
|
|
1373
|
+
'status'
|
|
1374
|
+
];
|
|
1375
|
+
operators: '*';
|
|
1376
|
+
sort: 'BOTH';
|
|
1377
|
+
}
|
|
1378
|
+
];
|
|
1379
|
+
}
|
|
1380
|
+
type CommonQueryWithEntityContext = Query<AbandonedCheckout, AbandonedCheckoutQuerySpec>;
|
|
1381
|
+
type AbandonedCheckoutQuery = {
|
|
1382
|
+
/**
|
|
1383
|
+
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`.
|
|
1384
|
+
*/
|
|
1385
|
+
cursorPaging?: {
|
|
1386
|
+
/**
|
|
1387
|
+
Maximum number of items to return in the results.
|
|
1388
|
+
@max: 100
|
|
1389
|
+
*/
|
|
1390
|
+
limit?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit'] | null;
|
|
1391
|
+
/**
|
|
1392
|
+
Pointer to the next or previous page in the list of results.
|
|
1393
|
+
|
|
1394
|
+
Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
1395
|
+
Not relevant for the first request.
|
|
1396
|
+
@maxLength: 16000
|
|
1397
|
+
*/
|
|
1398
|
+
cursor?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor'] | null;
|
|
1399
|
+
};
|
|
1400
|
+
/**
|
|
1401
|
+
Filter object.
|
|
1402
|
+
|
|
1403
|
+
Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
|
|
1404
|
+
*/
|
|
1405
|
+
filter?: CommonQueryWithEntityContext['filter'] | null;
|
|
1406
|
+
/**
|
|
1407
|
+
Sort object.
|
|
1408
|
+
|
|
1409
|
+
Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
|
|
1410
|
+
*/
|
|
1411
|
+
sort?: {
|
|
1412
|
+
/**
|
|
1413
|
+
Name of the field to sort by.
|
|
1414
|
+
@maxLength: 512
|
|
1415
|
+
*/
|
|
1416
|
+
fieldName?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['fieldName'];
|
|
1417
|
+
/**
|
|
1418
|
+
Sort order.
|
|
1419
|
+
*/
|
|
1420
|
+
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
1421
|
+
}[];
|
|
1422
|
+
};
|
|
1377
1423
|
interface AbandonedCheckoutSearchSpec extends SearchSpec {
|
|
1378
1424
|
searchable: [
|
|
1379
1425
|
'buyerInfo.email',
|
|
@@ -1479,17 +1525,6 @@ type AbandonedCheckoutSearch = {
|
|
|
1479
1525
|
fuzzy?: NonNullable<CommonSearchWithEntityContext['search']>['fuzzy'];
|
|
1480
1526
|
};
|
|
1481
1527
|
};
|
|
1482
|
-
/**
|
|
1483
|
-
* Adds a new abandoned checkout activity.
|
|
1484
|
-
* @param abandonedCheckoutId - Id of the abandoned checkout to update
|
|
1485
|
-
* @internal
|
|
1486
|
-
* @documentationMaturity preview
|
|
1487
|
-
* @requiredField abandonedCheckoutId
|
|
1488
|
-
* @permissionId ECOM.ABANDONED_CHECKOUT_UPDATE
|
|
1489
|
-
* @applicableIdentity APP
|
|
1490
|
-
* @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.AddAbandonedCheckoutActivity
|
|
1491
|
-
*/
|
|
1492
|
-
declare function addAbandonedCheckoutActivity(abandonedCheckoutId: string, options?: AddAbandonedCheckoutActivityOptions): Promise<NonNullablePaths<AddAbandonedCheckoutActivityResponse, `abandonedCheckout._id` | `abandonedCheckout.status` | `abandonedCheckout.buyerInfo.visitorId` | `abandonedCheckout.buyerInfo.memberId` | `abandonedCheckout.buyerInfo.userId` | `abandonedCheckout.contactDetails.vatId._id` | `abandonedCheckout.contactDetails.vatId.type` | `abandonedCheckout.currency` | `abandonedCheckout.totalPrice.amount` | `abandonedCheckout.totalPrice.convertedAmount` | `abandonedCheckout.totalPrice.formattedAmount` | `abandonedCheckout.totalPrice.formattedConvertedAmount` | `abandonedCheckout.activities` | `abandonedCheckout.activities.${number}.type` | `abandonedCheckout.checkoutUrl`, 5>>;
|
|
1493
1528
|
interface AddAbandonedCheckoutActivityOptions {
|
|
1494
1529
|
/** The type of the activity to add */
|
|
1495
1530
|
activityType?: ActivityTypeWithLiterals;
|
|
@@ -1505,4 +1540,4 @@ interface AddAbandonedCheckoutActivityOptions {
|
|
|
1505
1540
|
*/
|
|
1506
1541
|
declare function redirectToCheckout(abandonedCheckoutId: string, metasiteId: string): Promise<NonNullablePaths<RawHttpResponse, `body` | `headers` | `headers.${number}.key` | `headers.${number}.value`, 4>>;
|
|
1507
1542
|
|
|
1508
|
-
export { type
|
|
1543
|
+
export { type BulkDeleteAbandonedCheckoutsRequest as $, type AbandonedCheckout as A, type BulkDeleteAbandonedCheckoutsResponse as B, CommonSortOrder as C, DescriptionLineType as D, type AppliedDiscountDiscountSourceOneOf as E, type FullAddressContactDetails as F, type Coupon as G, type MerchantDiscount as H, Identity as I, type DiscountRule as J, type DiscountRuleName as K, type LineItem as L, Mode as M, type CartAbandonedEvent as N, type BuyerInfo as O, type ProductName as P, type CartRecoveredEvent as Q, type RawHttpResponse as R, type SearchAbandonedCheckoutsResponse as S, type Totals as T, type AbandonedCheckoutRecovered as U, VatType as V, WebhookIdentityType as W, type GetAbandonedCheckoutRequest as X, type GetAbandonedCheckoutResponse as Y, type DeleteAbandonedCheckoutRequest as Z, type DeleteAbandonedCheckoutResponse as _, type AbandonedCheckoutSearch as a, onAbandonedCheckoutDeleted as a$, type ItemMetadata as a0, type ApplicationError as a1, type BulkAbandonedCheckoutResult as a2, type BulkActionMetadata as a3, type QueryAbandonedCheckoutsRequest as a4, type QueryV2 as a5, type QueryV2PagingMethodOneOf as a6, type Sorting as a7, type Paging as a8, type CursorPaging as a9, type RestoreInfo as aA, type EntityUpdatedEvent as aB, type EntityDeletedEvent as aC, type ActionEvent as aD, type Empty as aE, type MessageEnvelope as aF, type IdentificationData as aG, type IdentificationDataIdOneOf as aH, type BaseEventMetadata as aI, type EventMetadata as aJ, type AbandonedCheckoutsQueryResult as aK, type AbandonedCheckoutQuerySpec as aL, type AbandonedCheckoutSearchSpec as aM, type AddAbandonedCheckoutActivityOptions as aN, type ActivityTypeWithLiterals as aO, type StatusWithLiterals as aP, type VatTypeWithLiterals as aQ, type DescriptionLineTypeWithLiterals as aR, type DiscountTypeWithLiterals as aS, type IdentityWithLiterals as aT, type SortOrderWithLiterals as aU, type CommonSortOrderWithLiterals as aV, type ModeWithLiterals as aW, type WebhookIdentityTypeWithLiterals as aX, type CommonQueryWithEntityContext as aY, type CommonSearchWithEntityContext as aZ, onAbandonedCheckoutCreated as a_, type QueryAbandonedCheckoutsResponse as aa, type PagingMetadataV2 as ab, type Cursors as ac, type SearchAbandonedCheckoutsRequest as ad, type Search as ae, type SearchPagingMethodOneOf as af, type CommonSorting as ag, type SearchDetails as ah, type CommonPaging as ai, type CommonCursorPaging as aj, type CommonPagingMetadataV2 as ak, type CommonCursors as al, type AddAbandonedCheckoutActivityRequest as am, type AddAbandonedCheckoutActivityResponse as an, type Task as ao, type TaskKey as ap, type TaskAction as aq, type TaskActionActionOneOf as ar, type Complete as as, type Cancel as at, type Reschedule as au, type RedirectToCheckoutRequest as av, type HeadersEntry as aw, type DomainEvent as ax, type DomainEventBodyOneOf as ay, type EntityCreatedEvent as az, type AbandonedCheckoutCreatedEnvelope as b, onAbandonedCheckoutRecovered as b0, onAbandonedCheckoutUpdated as b1, getAbandonedCheckout as b2, deleteAbandonedCheckout as b3, bulkDeleteAbandonedCheckouts as b4, queryAbandonedCheckouts as b5, redirectToCheckout as b6, type AbandonedCheckoutDeletedEnvelope as c, type AbandonedCheckoutRecoveredEnvelope as d, type AbandonedCheckoutUpdatedEnvelope as e, type AbandonedCheckoutsQueryBuilder as f, type AbandonedCheckoutQuery as g, ActivityType as h, Status as i, DiscountType as j, SortOrder as k, type V1BuyerInfo as l, type V1BuyerInfoIdOneOf as m, type VatId as n, type MultiCurrencyPrice as o, type Activity as p, type CatalogReference as q, type DescriptionLine as r, type DescriptionLineValueOneOf as s, typedQueryAbandonedCheckouts as t, type DescriptionLineDescriptionLineValueOneOf as u, type DescriptionLineName as v, type PlainTextValue as w, type Color as x, type PhysicalProperties as y, type AppliedDiscount 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, B as BulkDeleteAbandonedCheckoutsResponse, a as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, R as RawHttpResponse, b as AbandonedCheckoutCreatedEnvelope, c as AbandonedCheckoutDeletedEnvelope, d as AbandonedCheckoutRecoveredEnvelope, e as AbandonedCheckoutUpdatedEnvelope, f as AbandonedCheckoutsQueryBuilder,
|
|
3
|
-
export { U as AbandonedCheckoutRecovered,
|
|
2
|
+
import { A as AbandonedCheckout, B as BulkDeleteAbandonedCheckoutsResponse, a as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, R as RawHttpResponse, b as AbandonedCheckoutCreatedEnvelope, c as AbandonedCheckoutDeletedEnvelope, d as AbandonedCheckoutRecoveredEnvelope, e as AbandonedCheckoutUpdatedEnvelope, f as AbandonedCheckoutsQueryBuilder, g as AbandonedCheckoutQuery, t as typedQueryAbandonedCheckouts } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.js';
|
|
3
|
+
export { aL as AbandonedCheckoutQuerySpec, U as AbandonedCheckoutRecovered, aM as AbandonedCheckoutSearchSpec, aK as AbandonedCheckoutsQueryResult, aD as ActionEvent, p as Activity, h as ActivityType, aO as ActivityTypeWithLiterals, aN as AddAbandonedCheckoutActivityOptions, am as AddAbandonedCheckoutActivityRequest, an as AddAbandonedCheckoutActivityResponse, a1 as ApplicationError, z as AppliedDiscount, E as AppliedDiscountDiscountSourceOneOf, aI as BaseEventMetadata, a2 as BulkAbandonedCheckoutResult, a3 as BulkActionMetadata, $ as BulkDeleteAbandonedCheckoutsRequest, O as BuyerInfo, at as Cancel, N as CartAbandonedEvent, Q as CartRecoveredEvent, q as CatalogReference, x as Color, aj as CommonCursorPaging, al as CommonCursors, ai as CommonPaging, ak as CommonPagingMetadataV2, aY as CommonQueryWithEntityContext, aZ as CommonSearchWithEntityContext, C as CommonSortOrder, aV as CommonSortOrderWithLiterals, ag as CommonSorting, as as Complete, G as Coupon, a9 as CursorPaging, ac as Cursors, Z as DeleteAbandonedCheckoutRequest, _ as DeleteAbandonedCheckoutResponse, r as DescriptionLine, u as DescriptionLineDescriptionLineValueOneOf, v as DescriptionLineName, D as DescriptionLineType, aR as DescriptionLineTypeWithLiterals, s as DescriptionLineValueOneOf, J as DiscountRule, K as DiscountRuleName, j as DiscountType, aS as DiscountTypeWithLiterals, ax as DomainEvent, ay as DomainEventBodyOneOf, aE as Empty, az as EntityCreatedEvent, aC as EntityDeletedEvent, aB as EntityUpdatedEvent, aJ as EventMetadata, F as FullAddressContactDetails, X as GetAbandonedCheckoutRequest, Y as GetAbandonedCheckoutResponse, aw as HeadersEntry, aG as IdentificationData, aH as IdentificationDataIdOneOf, I as Identity, aT as IdentityWithLiterals, a0 as ItemMetadata, L as LineItem, H as MerchantDiscount, aF as MessageEnvelope, M as Mode, aW as ModeWithLiterals, o as MultiCurrencyPrice, a8 as Paging, ab as PagingMetadataV2, y as PhysicalProperties, w as PlainTextValue, P as ProductName, a4 as QueryAbandonedCheckoutsRequest, aa as QueryAbandonedCheckoutsResponse, a5 as QueryV2, a6 as QueryV2PagingMethodOneOf, av as RedirectToCheckoutRequest, au as Reschedule, aA as RestoreInfo, ae as Search, ad as SearchAbandonedCheckoutsRequest, ah as SearchDetails, af as SearchPagingMethodOneOf, k as SortOrder, aU as SortOrderWithLiterals, a7 as Sorting, i as Status, aP as StatusWithLiterals, ao as Task, aq as TaskAction, ar as TaskActionActionOneOf, ap as TaskKey, T as Totals, l as V1BuyerInfo, m as V1BuyerInfoIdOneOf, n as VatId, V as VatType, aQ as VatTypeWithLiterals, W as WebhookIdentityType, aX as WebhookIdentityTypeWithLiterals } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.js';
|
|
4
4
|
|
|
5
5
|
declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature;
|
|
6
6
|
interface GetAbandonedCheckoutSignature {
|
|
@@ -9,7 +9,7 @@ interface GetAbandonedCheckoutSignature {
|
|
|
9
9
|
* @param - Abandoned checkout ID.
|
|
10
10
|
* @returns The requested abandoned checkout.
|
|
11
11
|
*/
|
|
12
|
-
(abandonedCheckoutId: string): Promise<NonNullablePaths<AbandonedCheckout, `_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`,
|
|
12
|
+
(abandonedCheckoutId: string): Promise<NonNullablePaths<AbandonedCheckout, `_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` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType`, 6>>;
|
|
13
13
|
}
|
|
14
14
|
declare function deleteAbandonedCheckout$1(httpClient: HttpClient): DeleteAbandonedCheckoutSignature;
|
|
15
15
|
interface DeleteAbandonedCheckoutSignature {
|
|
@@ -51,7 +51,7 @@ declare const onAbandonedCheckoutUpdated$1: EventDefinition<AbandonedCheckoutUpd
|
|
|
51
51
|
|
|
52
52
|
declare function customQueryAbandonedCheckouts(httpClient: HttpClient): {
|
|
53
53
|
(): AbandonedCheckoutsQueryBuilder;
|
|
54
|
-
(query:
|
|
54
|
+
(query: AbandonedCheckoutQuery): ReturnType<typeof typedQueryAbandonedCheckouts>;
|
|
55
55
|
};
|
|
56
56
|
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
57
57
|
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
@@ -76,4 +76,4 @@ declare const onAbandonedCheckoutRecovered: BuildEventDefinition<typeof onAbando
|
|
|
76
76
|
*/
|
|
77
77
|
declare const onAbandonedCheckoutUpdated: BuildEventDefinition<typeof onAbandonedCheckoutUpdated$1> & typeof onAbandonedCheckoutUpdated$1;
|
|
78
78
|
|
|
79
|
-
export { AbandonedCheckout, AbandonedCheckoutCreatedEnvelope, AbandonedCheckoutDeletedEnvelope, AbandonedCheckoutRecoveredEnvelope, AbandonedCheckoutSearch, AbandonedCheckoutUpdatedEnvelope, AbandonedCheckoutsQueryBuilder, BulkDeleteAbandonedCheckoutsResponse,
|
|
79
|
+
export { AbandonedCheckout, AbandonedCheckoutCreatedEnvelope, AbandonedCheckoutDeletedEnvelope, AbandonedCheckoutQuery, AbandonedCheckoutRecoveredEnvelope, AbandonedCheckoutSearch, AbandonedCheckoutUpdatedEnvelope, AbandonedCheckoutsQueryBuilder, BulkDeleteAbandonedCheckoutsResponse, RawHttpResponse, SearchAbandonedCheckoutsResponse, bulkDeleteAbandonedCheckouts, deleteAbandonedCheckout, getAbandonedCheckout, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };
|