@wix/ecom 1.0.798 → 1.0.799
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 +3 -3
- package/type-bundles/context.bundle.d.ts +489 -311
- package/type-bundles/index.bundle.d.ts +489 -311
- package/type-bundles/meta.bundle.d.ts +465 -189
|
@@ -1036,26 +1036,26 @@ interface PlatformQuery$2 extends PlatformQueryPagingMethodOneOf$2 {
|
|
|
1036
1036
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
1037
1037
|
paging?: PlatformPaging$2;
|
|
1038
1038
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
1039
|
-
cursorPaging?: CursorPaging$
|
|
1039
|
+
cursorPaging?: CursorPaging$d;
|
|
1040
1040
|
/** Filter object. */
|
|
1041
1041
|
filter?: Record<string, any> | null;
|
|
1042
1042
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
1043
|
-
sort?: Sorting$
|
|
1043
|
+
sort?: Sorting$d[];
|
|
1044
1044
|
}
|
|
1045
1045
|
/** @oneof */
|
|
1046
1046
|
interface PlatformQueryPagingMethodOneOf$2 {
|
|
1047
1047
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
1048
1048
|
paging?: PlatformPaging$2;
|
|
1049
1049
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
1050
|
-
cursorPaging?: CursorPaging$
|
|
1050
|
+
cursorPaging?: CursorPaging$d;
|
|
1051
1051
|
}
|
|
1052
|
-
interface Sorting$
|
|
1052
|
+
interface Sorting$d {
|
|
1053
1053
|
/** Name of the field to sort by. */
|
|
1054
1054
|
fieldName?: string;
|
|
1055
1055
|
/** Sort order. */
|
|
1056
|
-
order?: SortOrder$
|
|
1056
|
+
order?: SortOrder$d;
|
|
1057
1057
|
}
|
|
1058
|
-
declare enum SortOrder$
|
|
1058
|
+
declare enum SortOrder$d {
|
|
1059
1059
|
ASC = "ASC",
|
|
1060
1060
|
DESC = "DESC"
|
|
1061
1061
|
}
|
|
@@ -1065,7 +1065,7 @@ interface PlatformPaging$2 {
|
|
|
1065
1065
|
/** Number of items to skip in the current sort order. */
|
|
1066
1066
|
offset?: number | null;
|
|
1067
1067
|
}
|
|
1068
|
-
interface CursorPaging$
|
|
1068
|
+
interface CursorPaging$d {
|
|
1069
1069
|
/** Maximum number of items to return in the results. */
|
|
1070
1070
|
limit?: number | null;
|
|
1071
1071
|
/**
|
|
@@ -1090,9 +1090,9 @@ interface PlatformPagingMetadata$2 {
|
|
|
1090
1090
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
1091
1091
|
total?: number | null;
|
|
1092
1092
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
1093
|
-
cursors?: Cursors$
|
|
1093
|
+
cursors?: Cursors$d;
|
|
1094
1094
|
}
|
|
1095
|
-
interface Cursors$
|
|
1095
|
+
interface Cursors$d {
|
|
1096
1096
|
/** Cursor string pointing to the next page in the list of results. */
|
|
1097
1097
|
next?: string | null;
|
|
1098
1098
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1389,7 +1389,7 @@ interface UpdateDiscountRuleResponseNonNullableFields {
|
|
|
1389
1389
|
interface QueryDiscountRulesResponseNonNullableFields {
|
|
1390
1390
|
discountRules: DiscountRuleNonNullableFields$7[];
|
|
1391
1391
|
}
|
|
1392
|
-
interface BaseEventMetadata$
|
|
1392
|
+
interface BaseEventMetadata$f {
|
|
1393
1393
|
/** App instance ID. */
|
|
1394
1394
|
instanceId?: string | null;
|
|
1395
1395
|
/** Event type. */
|
|
@@ -1397,7 +1397,7 @@ interface BaseEventMetadata$g {
|
|
|
1397
1397
|
/** The identification type and identity data. */
|
|
1398
1398
|
identity?: IdentificationData$k;
|
|
1399
1399
|
}
|
|
1400
|
-
interface EventMetadata$
|
|
1400
|
+
interface EventMetadata$f extends BaseEventMetadata$f {
|
|
1401
1401
|
/**
|
|
1402
1402
|
* Unique event ID.
|
|
1403
1403
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -1437,14 +1437,14 @@ interface EventMetadata$g extends BaseEventMetadata$g {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
interface DiscountRuleCreatedEnvelope {
|
|
1439
1439
|
entity: DiscountRule$8;
|
|
1440
|
-
metadata: EventMetadata$
|
|
1440
|
+
metadata: EventMetadata$f;
|
|
1441
1441
|
}
|
|
1442
1442
|
interface DiscountRuleUpdatedEnvelope {
|
|
1443
1443
|
entity: DiscountRule$8;
|
|
1444
|
-
metadata: EventMetadata$
|
|
1444
|
+
metadata: EventMetadata$f;
|
|
1445
1445
|
}
|
|
1446
1446
|
interface DiscountRuleDeletedEnvelope {
|
|
1447
|
-
metadata: EventMetadata$
|
|
1447
|
+
metadata: EventMetadata$f;
|
|
1448
1448
|
}
|
|
1449
1449
|
interface UpdateDiscountRule {
|
|
1450
1450
|
/**
|
|
@@ -1505,14 +1505,14 @@ interface UpdateDiscountRule {
|
|
|
1505
1505
|
*/
|
|
1506
1506
|
usageCount?: number;
|
|
1507
1507
|
}
|
|
1508
|
-
interface QueryCursorResult$
|
|
1509
|
-
cursors: Cursors$
|
|
1508
|
+
interface QueryCursorResult$b {
|
|
1509
|
+
cursors: Cursors$d;
|
|
1510
1510
|
hasNext: () => boolean;
|
|
1511
1511
|
hasPrev: () => boolean;
|
|
1512
1512
|
length: number;
|
|
1513
1513
|
pageSize: number;
|
|
1514
1514
|
}
|
|
1515
|
-
interface DiscountRulesQueryResult extends QueryCursorResult$
|
|
1515
|
+
interface DiscountRulesQueryResult extends QueryCursorResult$b {
|
|
1516
1516
|
items: DiscountRule$8[];
|
|
1517
1517
|
query: DiscountRulesQueryBuilder;
|
|
1518
1518
|
next: () => Promise<DiscountRulesQueryResult>;
|
|
@@ -1639,7 +1639,7 @@ declare const onDiscountRuleCreated$1: EventDefinition<DiscountRuleCreatedEnvelo
|
|
|
1639
1639
|
declare const onDiscountRuleUpdated$1: EventDefinition<DiscountRuleUpdatedEnvelope, "wix.ecom.discounts.v1.discount_rule_updated">;
|
|
1640
1640
|
declare const onDiscountRuleDeleted$1: EventDefinition<DiscountRuleDeletedEnvelope, "wix.ecom.discounts.v1.discount_rule_deleted">;
|
|
1641
1641
|
|
|
1642
|
-
declare function createEventModule$
|
|
1642
|
+
declare function createEventModule$f<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
1643
1643
|
|
|
1644
1644
|
declare const createDiscountRule: MaybeContext<BuildRESTFunction<typeof createDiscountRule$1> & typeof createDiscountRule$1>;
|
|
1645
1645
|
declare const getDiscountRule: MaybeContext<BuildRESTFunction<typeof getDiscountRule$1> & typeof getDiscountRule$1>;
|
|
@@ -1651,19 +1651,19 @@ type _publicOnDiscountRuleCreatedType = typeof onDiscountRuleCreated$1;
|
|
|
1651
1651
|
/**
|
|
1652
1652
|
* Triggered when a discount rule is created.
|
|
1653
1653
|
*/
|
|
1654
|
-
declare const onDiscountRuleCreated: ReturnType<typeof createEventModule$
|
|
1654
|
+
declare const onDiscountRuleCreated: ReturnType<typeof createEventModule$f<_publicOnDiscountRuleCreatedType>>;
|
|
1655
1655
|
|
|
1656
1656
|
type _publicOnDiscountRuleUpdatedType = typeof onDiscountRuleUpdated$1;
|
|
1657
1657
|
/**
|
|
1658
1658
|
* Triggered when a discount rule is updated.
|
|
1659
1659
|
*/
|
|
1660
|
-
declare const onDiscountRuleUpdated: ReturnType<typeof createEventModule$
|
|
1660
|
+
declare const onDiscountRuleUpdated: ReturnType<typeof createEventModule$f<_publicOnDiscountRuleUpdatedType>>;
|
|
1661
1661
|
|
|
1662
1662
|
type _publicOnDiscountRuleDeletedType = typeof onDiscountRuleDeleted$1;
|
|
1663
1663
|
/**
|
|
1664
1664
|
* Triggered when a discount rule is deleted.
|
|
1665
1665
|
*/
|
|
1666
|
-
declare const onDiscountRuleDeleted: ReturnType<typeof createEventModule$
|
|
1666
|
+
declare const onDiscountRuleDeleted: ReturnType<typeof createEventModule$f<_publicOnDiscountRuleDeletedType>>;
|
|
1667
1667
|
|
|
1668
1668
|
type context$q_ActiveTimeInfo = ActiveTimeInfo;
|
|
1669
1669
|
type context$q_And = And;
|
|
@@ -1728,7 +1728,7 @@ declare const context$q_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
|
|
|
1728
1728
|
declare const context$q_queryDiscountRules: typeof queryDiscountRules;
|
|
1729
1729
|
declare const context$q_updateDiscountRule: typeof updateDiscountRule;
|
|
1730
1730
|
declare namespace context$q {
|
|
1731
|
-
export { type ActionEvent$l as ActionEvent, type context$q_ActiveTimeInfo as ActiveTimeInfo, type context$q_And as And, type AppliedDiscount$8 as AppliedDiscount, type context$q_AppliedDiscountRule as AppliedDiscountRule, context$q_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$
|
|
1731
|
+
export { type ActionEvent$l as ActionEvent, type context$q_ActiveTimeInfo as ActiveTimeInfo, type context$q_And as And, type AppliedDiscount$8 as AppliedDiscount, type context$q_AppliedDiscountRule as AppliedDiscountRule, context$q_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$f as BaseEventMetadata, type context$q_BuyXGetYInfo as BuyXGetYInfo, type context$q_CatalogItemFilter as CatalogItemFilter, type CatalogReference$b as CatalogReference, type context$q_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type context$q_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type context$q_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$d as CursorPaging, type Cursors$d as Cursors, type context$q_Custom as Custom, type context$q_CustomFilter as CustomFilter, type context$q_CustomerBuy as CustomerBuy, type context$q_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type context$q_CustomerGet as CustomerGet, type context$q_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type context$q_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type context$q_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$8 as DiscountRule, type context$q_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type context$q_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$8 as DiscountRuleName, type DiscountRuleNonNullableFields$7 as DiscountRuleNonNullableFields, type context$q_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type context$q_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type context$q_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type context$q_DiscountRulesQueryResult as DiscountRulesQueryResult, type context$q_DiscountSettings as DiscountSettings, type context$q_DiscountTrigger as DiscountTrigger, type context$q_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$8 as DiscountType, type context$q_Discounts as Discounts, type DomainEvent$l as DomainEvent, type DomainEventBodyOneOf$l as DomainEventBodyOneOf, type Empty$g as Empty, type EntityCreatedEvent$l as EntityCreatedEvent, type EntityDeletedEvent$l as EntityDeletedEvent, type EntityUpdatedEvent$l as EntityUpdatedEvent, type EventMetadata$f as EventMetadata, type ExtendedFields$b as ExtendedFields, type context$q_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type context$q_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type context$q_GetDiscountRuleRequest as GetDiscountRuleRequest, type context$q_GetDiscountRuleResponse as GetDiscountRuleResponse, type context$q_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$k as IdentificationData, type IdentificationDataIdOneOf$k as IdentificationDataIdOneOf, type context$q_ItemQuantityRange as ItemQuantityRange, type LineItem$7 as LineItem, type MessageEnvelope$k as MessageEnvelope, type MultiCurrencyPrice$6 as MultiCurrencyPrice, type context$q_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type context$q_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type context$q_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type context$q_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$l as RestoreInfo, type Scope$5 as Scope, type context$q_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, context$q_ScopeType as ScopeType, SortOrder$d as SortOrder, type Sorting$d as Sorting, type context$q_SpecificItemsInfo as SpecificItemsInfo, Status$5 as Status, type context$q_SubtotalRange as SubtotalRange, context$q_TriggerType as TriggerType, context$q_Type as Type, type context$q_UpdateDiscountRule as UpdateDiscountRule, type context$q_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type context$q_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type context$q_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$k as WebhookIdentityType, type context$q__publicOnDiscountRuleCreatedType as _publicOnDiscountRuleCreatedType, type context$q__publicOnDiscountRuleDeletedType as _publicOnDiscountRuleDeletedType, type context$q__publicOnDiscountRuleUpdatedType as _publicOnDiscountRuleUpdatedType, context$q_createDiscountRule as createDiscountRule, context$q_deleteDiscountRule as deleteDiscountRule, context$q_getDiscountRule as getDiscountRule, context$q_onDiscountRuleCreated as onDiscountRuleCreated, context$q_onDiscountRuleDeleted as onDiscountRuleDeleted, context$q_onDiscountRuleUpdated as onDiscountRuleUpdated, onDiscountRuleCreated$1 as publicOnDiscountRuleCreated, onDiscountRuleDeleted$1 as publicOnDiscountRuleDeleted, onDiscountRuleUpdated$1 as publicOnDiscountRuleUpdated, context$q_queryDiscountRules as queryDiscountRules, context$q_updateDiscountRule as updateDiscountRule };
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
1734
|
interface Invoice {
|
|
@@ -3099,7 +3099,7 @@ interface QuerySubscriptionContractsRequest {
|
|
|
3099
3099
|
}
|
|
3100
3100
|
interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
3101
3101
|
/** 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`. */
|
|
3102
|
-
cursorPaging?: CursorPaging$
|
|
3102
|
+
cursorPaging?: CursorPaging$c;
|
|
3103
3103
|
/**
|
|
3104
3104
|
* Filter object in the following format:
|
|
3105
3105
|
* `"filter" : {
|
|
@@ -3115,24 +3115,24 @@ interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
|
3115
3115
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
3116
3116
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
3117
3117
|
*/
|
|
3118
|
-
sort?: Sorting$
|
|
3118
|
+
sort?: Sorting$c[];
|
|
3119
3119
|
}
|
|
3120
3120
|
/** @oneof */
|
|
3121
3121
|
interface CursorQueryPagingMethodOneOf$7 {
|
|
3122
3122
|
/** 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`. */
|
|
3123
|
-
cursorPaging?: CursorPaging$
|
|
3123
|
+
cursorPaging?: CursorPaging$c;
|
|
3124
3124
|
}
|
|
3125
|
-
interface Sorting$
|
|
3125
|
+
interface Sorting$c {
|
|
3126
3126
|
/** Name of the field to sort by. */
|
|
3127
3127
|
fieldName?: string;
|
|
3128
3128
|
/** Sort order. */
|
|
3129
|
-
order?: SortOrder$
|
|
3129
|
+
order?: SortOrder$c;
|
|
3130
3130
|
}
|
|
3131
|
-
declare enum SortOrder$
|
|
3131
|
+
declare enum SortOrder$c {
|
|
3132
3132
|
ASC = "ASC",
|
|
3133
3133
|
DESC = "DESC"
|
|
3134
3134
|
}
|
|
3135
|
-
interface CursorPaging$
|
|
3135
|
+
interface CursorPaging$c {
|
|
3136
3136
|
/** Maximum number of items to return in the results. */
|
|
3137
3137
|
limit?: number | null;
|
|
3138
3138
|
/**
|
|
@@ -3147,13 +3147,13 @@ interface QuerySubscriptionContractsResponse {
|
|
|
3147
3147
|
/** List of SubscriptionContracts. */
|
|
3148
3148
|
subscriptionContracts?: SubscriptionContract[];
|
|
3149
3149
|
/** Paging metadata */
|
|
3150
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
3150
|
+
pagingMetadata?: CursorPagingMetadata$a;
|
|
3151
3151
|
}
|
|
3152
|
-
interface CursorPagingMetadata$
|
|
3152
|
+
interface CursorPagingMetadata$a {
|
|
3153
3153
|
/** Number of items returned in the response. */
|
|
3154
3154
|
count?: number | null;
|
|
3155
3155
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
3156
|
-
cursors?: Cursors$
|
|
3156
|
+
cursors?: Cursors$c;
|
|
3157
3157
|
/**
|
|
3158
3158
|
* Whether there are more pages to retrieve following the current page.
|
|
3159
3159
|
*
|
|
@@ -3162,7 +3162,7 @@ interface CursorPagingMetadata$9 {
|
|
|
3162
3162
|
*/
|
|
3163
3163
|
hasNext?: boolean | null;
|
|
3164
3164
|
}
|
|
3165
|
-
interface Cursors$
|
|
3165
|
+
interface Cursors$c {
|
|
3166
3166
|
/** Cursor string pointing to the next page in the list of results. */
|
|
3167
3167
|
next?: string | null;
|
|
3168
3168
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -3514,7 +3514,7 @@ interface GetSubscriptionContractResponseNonNullableFields {
|
|
|
3514
3514
|
interface QuerySubscriptionContractsResponseNonNullableFields {
|
|
3515
3515
|
subscriptionContracts: SubscriptionContractNonNullableFields[];
|
|
3516
3516
|
}
|
|
3517
|
-
interface BaseEventMetadata$
|
|
3517
|
+
interface BaseEventMetadata$e {
|
|
3518
3518
|
/** App instance ID. */
|
|
3519
3519
|
instanceId?: string | null;
|
|
3520
3520
|
/** Event type. */
|
|
@@ -3522,7 +3522,7 @@ interface BaseEventMetadata$f {
|
|
|
3522
3522
|
/** The identification type and identity data. */
|
|
3523
3523
|
identity?: IdentificationData$i;
|
|
3524
3524
|
}
|
|
3525
|
-
interface EventMetadata$
|
|
3525
|
+
interface EventMetadata$e extends BaseEventMetadata$e {
|
|
3526
3526
|
/**
|
|
3527
3527
|
* Unique event ID.
|
|
3528
3528
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -3562,23 +3562,23 @@ interface EventMetadata$f extends BaseEventMetadata$f {
|
|
|
3562
3562
|
}
|
|
3563
3563
|
interface SubscriptionContractCreatedEnvelope {
|
|
3564
3564
|
entity: SubscriptionContract;
|
|
3565
|
-
metadata: EventMetadata$
|
|
3565
|
+
metadata: EventMetadata$e;
|
|
3566
3566
|
}
|
|
3567
3567
|
interface SubscriptionContractUpdatedEnvelope {
|
|
3568
3568
|
entity: SubscriptionContract;
|
|
3569
|
-
metadata: EventMetadata$
|
|
3569
|
+
metadata: EventMetadata$e;
|
|
3570
3570
|
}
|
|
3571
3571
|
interface SubscriptionContractDeletedEnvelope {
|
|
3572
|
-
metadata: EventMetadata$
|
|
3572
|
+
metadata: EventMetadata$e;
|
|
3573
3573
|
}
|
|
3574
|
-
interface QueryCursorResult$
|
|
3575
|
-
cursors: Cursors$
|
|
3574
|
+
interface QueryCursorResult$a {
|
|
3575
|
+
cursors: Cursors$c;
|
|
3576
3576
|
hasNext: () => boolean;
|
|
3577
3577
|
hasPrev: () => boolean;
|
|
3578
3578
|
length: number;
|
|
3579
3579
|
pageSize: number;
|
|
3580
3580
|
}
|
|
3581
|
-
interface SubscriptionContractsQueryResult extends QueryCursorResult$
|
|
3581
|
+
interface SubscriptionContractsQueryResult extends QueryCursorResult$a {
|
|
3582
3582
|
items: SubscriptionContract[];
|
|
3583
3583
|
query: SubscriptionContractsQueryBuilder;
|
|
3584
3584
|
next: () => Promise<SubscriptionContractsQueryResult>;
|
|
@@ -3656,22 +3656,22 @@ declare const onSubscriptionContractCreated$1: EventDefinition<SubscriptionContr
|
|
|
3656
3656
|
declare const onSubscriptionContractUpdated$1: EventDefinition<SubscriptionContractUpdatedEnvelope, "wix.ecom.subscription_contracts.v1.subscription_contract_updated">;
|
|
3657
3657
|
declare const onSubscriptionContractDeleted$1: EventDefinition<SubscriptionContractDeletedEnvelope, "wix.ecom.subscription_contracts.v1.subscription_contract_deleted">;
|
|
3658
3658
|
|
|
3659
|
-
declare function createEventModule$
|
|
3659
|
+
declare function createEventModule$e<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3660
3660
|
|
|
3661
3661
|
declare const getSubscriptionContract: MaybeContext<BuildRESTFunction<typeof getSubscriptionContract$1> & typeof getSubscriptionContract$1>;
|
|
3662
3662
|
declare const querySubscriptionContracts: MaybeContext<BuildRESTFunction<typeof querySubscriptionContracts$1> & typeof querySubscriptionContracts$1>;
|
|
3663
3663
|
|
|
3664
3664
|
type _publicOnSubscriptionContractCreatedType = typeof onSubscriptionContractCreated$1;
|
|
3665
3665
|
/** */
|
|
3666
|
-
declare const onSubscriptionContractCreated: ReturnType<typeof createEventModule$
|
|
3666
|
+
declare const onSubscriptionContractCreated: ReturnType<typeof createEventModule$e<_publicOnSubscriptionContractCreatedType>>;
|
|
3667
3667
|
|
|
3668
3668
|
type _publicOnSubscriptionContractUpdatedType = typeof onSubscriptionContractUpdated$1;
|
|
3669
3669
|
/** */
|
|
3670
|
-
declare const onSubscriptionContractUpdated: ReturnType<typeof createEventModule$
|
|
3670
|
+
declare const onSubscriptionContractUpdated: ReturnType<typeof createEventModule$e<_publicOnSubscriptionContractUpdatedType>>;
|
|
3671
3671
|
|
|
3672
3672
|
type _publicOnSubscriptionContractDeletedType = typeof onSubscriptionContractDeleted$1;
|
|
3673
3673
|
/** */
|
|
3674
|
-
declare const onSubscriptionContractDeleted: ReturnType<typeof createEventModule$
|
|
3674
|
+
declare const onSubscriptionContractDeleted: ReturnType<typeof createEventModule$e<_publicOnSubscriptionContractDeletedType>>;
|
|
3675
3675
|
|
|
3676
3676
|
type context$n_CreateSubscriptionContractRequest = CreateSubscriptionContractRequest;
|
|
3677
3677
|
type context$n_CreateSubscriptionContractResponse = CreateSubscriptionContractResponse;
|
|
@@ -3701,7 +3701,7 @@ declare const context$n_onSubscriptionContractDeleted: typeof onSubscriptionCont
|
|
|
3701
3701
|
declare const context$n_onSubscriptionContractUpdated: typeof onSubscriptionContractUpdated;
|
|
3702
3702
|
declare const context$n_querySubscriptionContracts: typeof querySubscriptionContracts;
|
|
3703
3703
|
declare namespace context$n {
|
|
3704
|
-
export { type ActionEvent$j as ActionEvent, type Address$b as Address, type AddressLocation$a as AddressLocation, type AddressWithContact$6 as AddressWithContact, type AppliedDiscount$7 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$7 as AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata$
|
|
3704
|
+
export { type ActionEvent$j as ActionEvent, type Address$b as Address, type AddressLocation$a as AddressLocation, type AddressWithContact$6 as AddressWithContact, type AppliedDiscount$7 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$7 as AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata$e as BaseEventMetadata, type BuyerInfo$9 as BuyerInfo, type BuyerInfoIdOneOf$6 as BuyerInfoIdOneOf, type CatalogReference$9 as CatalogReference, type ChannelInfo$4 as ChannelInfo, ChannelType$7 as ChannelType, type Color$6 as Color, type Coupon$7 as Coupon, type context$n_CreateSubscriptionContractRequest as CreateSubscriptionContractRequest, type context$n_CreateSubscriptionContractResponse as CreateSubscriptionContractResponse, type CursorPaging$c as CursorPaging, type CursorPagingMetadata$a as CursorPagingMetadata, type CursorQuery$7 as CursorQuery, type CursorQueryPagingMethodOneOf$7 as CursorQueryPagingMethodOneOf, type Cursors$c as Cursors, type CustomField$5 as CustomField, type DeliveryLogistics$8 as DeliveryLogistics, type DeliveryLogisticsAddressOneOf$1 as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$8 as DeliveryTimeSlot, type DescriptionLine$6 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$6 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$6 as DescriptionLineName, DescriptionLineType$6 as DescriptionLineType, type DescriptionLineValueOneOf$6 as DescriptionLineValueOneOf, type DigitalFile$3 as DigitalFile, DiscountReason$2 as DiscountReason, type DiscountRule$7 as DiscountRule, type DiscountRuleName$7 as DiscountRuleName, DiscountType$7 as DiscountType, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$e as EventMetadata, type ExtendedFields$a as ExtendedFields, type FullAddressContactDetails$8 as FullAddressContactDetails, type context$n_GetSubscriptionContractRequest as GetSubscriptionContractRequest, type context$n_GetSubscriptionContractResponse as GetSubscriptionContractResponse, type context$n_GetSubscriptionContractResponseNonNullableFields as GetSubscriptionContractResponseNonNullableFields, type IdentificationData$i as IdentificationData, type IdentificationDataIdOneOf$i as IdentificationDataIdOneOf, type ItemTaxFullDetails$7 as ItemTaxFullDetails, type ItemType$7 as ItemType, ItemTypeItemType$7 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$7 as ItemTypeItemTypeDataOneOf, JurisdictionType$7 as JurisdictionType, type LineItemDiscount$7 as LineItemDiscount, type LineItemTaxBreakdown$2 as LineItemTaxBreakdown, type LineItemTaxInfo$2 as LineItemTaxInfo, type LocationAndQuantity$2 as LocationAndQuantity, type MerchantDiscount$7 as MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf$2 as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$i as MessageEnvelope, type OrderLineItem$2 as OrderLineItem, type OrderTaxBreakdown$2 as OrderTaxBreakdown, type OrderTaxInfo$2 as OrderTaxInfo, PaymentOptionType$7 as PaymentOptionType, type PhysicalProperties$8 as PhysicalProperties, type PickupAddress$4 as PickupAddress, type PickupDetails$9 as PickupDetails, PickupMethod$8 as PickupMethod, type PlainTextValue$6 as PlainTextValue, type Price$4 as Price, type PriceDescription$6 as PriceDescription, type PriceSummary$7 as PriceSummary, type ProductName$6 as ProductName, type context$n_QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequest, type context$n_QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponse, type context$n_QuerySubscriptionContractsResponseNonNullableFields as QuerySubscriptionContractsResponseNonNullableFields, type RestoreInfo$j as RestoreInfo, type ShippingInformation$5 as ShippingInformation, type ShippingPrice$7 as ShippingPrice, type ShippingRegion$7 as ShippingRegion, SortOrder$c as SortOrder, type Sorting$c as Sorting, type StreetAddress$a as StreetAddress, type context$n_SubscriptionContract as SubscriptionContract, type context$n_SubscriptionContractCreatedEnvelope as SubscriptionContractCreatedEnvelope, type context$n_SubscriptionContractDeletedEnvelope as SubscriptionContractDeletedEnvelope, type context$n_SubscriptionContractNonNullableFields as SubscriptionContractNonNullableFields, type context$n_SubscriptionContractUpdatedEnvelope as SubscriptionContractUpdatedEnvelope, type context$n_SubscriptionContractsQueryBuilder as SubscriptionContractsQueryBuilder, type context$n_SubscriptionContractsQueryResult as SubscriptionContractsQueryResult, SubscriptionFrequency$8 as SubscriptionFrequency, type SubscriptionInfo$3 as SubscriptionInfo, type SubscriptionSettings$8 as SubscriptionSettings, type TaxableAddress$7 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$7 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$7 as TaxableAddressType, type context$n_UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequest, type context$n_UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponse, type V1SubscriptionSettings$1 as V1SubscriptionSettings, context$n_V2SubscriptionFrequency as V2SubscriptionFrequency, type VatId$9 as VatId, VatType$9 as VatType, WebhookIdentityType$i as WebhookIdentityType, WeightUnit$9 as WeightUnit, type context$n__publicOnSubscriptionContractCreatedType as _publicOnSubscriptionContractCreatedType, type context$n__publicOnSubscriptionContractDeletedType as _publicOnSubscriptionContractDeletedType, type context$n__publicOnSubscriptionContractUpdatedType as _publicOnSubscriptionContractUpdatedType, context$n_getSubscriptionContract as getSubscriptionContract, context$n_onSubscriptionContractCreated as onSubscriptionContractCreated, context$n_onSubscriptionContractDeleted as onSubscriptionContractDeleted, context$n_onSubscriptionContractUpdated as onSubscriptionContractUpdated, onSubscriptionContractCreated$1 as publicOnSubscriptionContractCreated, onSubscriptionContractDeleted$1 as publicOnSubscriptionContractDeleted, onSubscriptionContractUpdated$1 as publicOnSubscriptionContractUpdated, context$n_querySubscriptionContracts as querySubscriptionContracts };
|
|
3705
3705
|
}
|
|
3706
3706
|
|
|
3707
3707
|
interface AbandonedCheckout {
|
|
@@ -3945,13 +3945,13 @@ interface DeleteAbandonedCheckoutResponse {
|
|
|
3945
3945
|
}
|
|
3946
3946
|
interface QueryAbandonedCheckoutsRequest {
|
|
3947
3947
|
/** Query options. */
|
|
3948
|
-
query: QueryV2$
|
|
3948
|
+
query: QueryV2$2;
|
|
3949
3949
|
}
|
|
3950
|
-
interface QueryV2$
|
|
3950
|
+
interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
3951
3951
|
/** Paging options to limit and skip the number of items. */
|
|
3952
|
-
paging?: Paging$
|
|
3952
|
+
paging?: Paging$2;
|
|
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
|
-
cursorPaging?: CursorPaging$
|
|
3954
|
+
cursorPaging?: CursorPaging$b;
|
|
3955
3955
|
/**
|
|
3956
3956
|
* Filter object.
|
|
3957
3957
|
*
|
|
@@ -3963,36 +3963,36 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
|
3963
3963
|
*
|
|
3964
3964
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
3965
3965
|
*/
|
|
3966
|
-
sort?: Sorting$
|
|
3966
|
+
sort?: Sorting$b[];
|
|
3967
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. */
|
|
3968
3968
|
fields?: string[];
|
|
3969
3969
|
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
3970
3970
|
fieldsets?: string[];
|
|
3971
3971
|
}
|
|
3972
3972
|
/** @oneof */
|
|
3973
|
-
interface QueryV2PagingMethodOneOf$
|
|
3973
|
+
interface QueryV2PagingMethodOneOf$2 {
|
|
3974
3974
|
/** Paging options to limit and skip the number of items. */
|
|
3975
|
-
paging?: Paging$
|
|
3975
|
+
paging?: Paging$2;
|
|
3976
3976
|
/** 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`. */
|
|
3977
|
-
cursorPaging?: CursorPaging$
|
|
3977
|
+
cursorPaging?: CursorPaging$b;
|
|
3978
3978
|
}
|
|
3979
|
-
interface Sorting$
|
|
3979
|
+
interface Sorting$b {
|
|
3980
3980
|
/** Name of the field to sort by. */
|
|
3981
3981
|
fieldName?: string;
|
|
3982
3982
|
/** Sort order. */
|
|
3983
|
-
order?: SortOrder$
|
|
3983
|
+
order?: SortOrder$b;
|
|
3984
3984
|
}
|
|
3985
|
-
declare enum SortOrder$
|
|
3985
|
+
declare enum SortOrder$b {
|
|
3986
3986
|
ASC = "ASC",
|
|
3987
3987
|
DESC = "DESC"
|
|
3988
3988
|
}
|
|
3989
|
-
interface Paging$
|
|
3989
|
+
interface Paging$2 {
|
|
3990
3990
|
/** Number of items to load. */
|
|
3991
3991
|
limit?: number | null;
|
|
3992
3992
|
/** Number of items to skip in the current sort order. */
|
|
3993
3993
|
offset?: number | null;
|
|
3994
3994
|
}
|
|
3995
|
-
interface CursorPaging$
|
|
3995
|
+
interface CursorPaging$b {
|
|
3996
3996
|
/** Maximum number of items to return in the results. */
|
|
3997
3997
|
limit?: number | null;
|
|
3998
3998
|
/**
|
|
@@ -4024,9 +4024,9 @@ interface PagingMetadataV2 {
|
|
|
4024
4024
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4025
4025
|
tooManyToCount?: boolean | null;
|
|
4026
4026
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4027
|
-
cursors?: Cursors$
|
|
4027
|
+
cursors?: Cursors$b;
|
|
4028
4028
|
}
|
|
4029
|
-
interface Cursors$
|
|
4029
|
+
interface Cursors$b {
|
|
4030
4030
|
/** Cursor string pointing to the next page in the list of results. */
|
|
4031
4031
|
next?: string | null;
|
|
4032
4032
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -4342,7 +4342,7 @@ interface RawHttpResponseNonNullableFields$1 {
|
|
|
4342
4342
|
body: Uint8Array;
|
|
4343
4343
|
headers: HeadersEntryNonNullableFields$1[];
|
|
4344
4344
|
}
|
|
4345
|
-
interface BaseEventMetadata$
|
|
4345
|
+
interface BaseEventMetadata$d {
|
|
4346
4346
|
/** App instance ID. */
|
|
4347
4347
|
instanceId?: string | null;
|
|
4348
4348
|
/** Event type. */
|
|
@@ -4350,7 +4350,7 @@ interface BaseEventMetadata$e {
|
|
|
4350
4350
|
/** The identification type and identity data. */
|
|
4351
4351
|
identity?: IdentificationData$h;
|
|
4352
4352
|
}
|
|
4353
|
-
interface EventMetadata$
|
|
4353
|
+
interface EventMetadata$d extends BaseEventMetadata$d {
|
|
4354
4354
|
/**
|
|
4355
4355
|
* Unique event ID.
|
|
4356
4356
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -4390,16 +4390,16 @@ interface EventMetadata$e extends BaseEventMetadata$e {
|
|
|
4390
4390
|
}
|
|
4391
4391
|
interface AbandonedCheckoutRecoveredEnvelope {
|
|
4392
4392
|
data: AbandonedCheckoutRecovered;
|
|
4393
|
-
metadata: EventMetadata$
|
|
4393
|
+
metadata: EventMetadata$d;
|
|
4394
4394
|
}
|
|
4395
|
-
interface QueryCursorResult$
|
|
4395
|
+
interface QueryCursorResult$9 {
|
|
4396
4396
|
cursors: CommonCursors;
|
|
4397
4397
|
hasNext: () => boolean;
|
|
4398
4398
|
hasPrev: () => boolean;
|
|
4399
4399
|
length: number;
|
|
4400
4400
|
pageSize: number;
|
|
4401
4401
|
}
|
|
4402
|
-
interface AbandonedCheckoutsQueryResult extends QueryCursorResult$
|
|
4402
|
+
interface AbandonedCheckoutsQueryResult extends QueryCursorResult$9 {
|
|
4403
4403
|
items: AbandonedCheckout[];
|
|
4404
4404
|
query: AbandonedCheckoutsQueryBuilder;
|
|
4405
4405
|
next: () => Promise<AbandonedCheckoutsQueryResult>;
|
|
@@ -4522,7 +4522,7 @@ interface RedirectToCheckoutSignature {
|
|
|
4522
4522
|
}
|
|
4523
4523
|
declare const onAbandonedCheckoutRecovered$1: EventDefinition<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
|
|
4524
4524
|
|
|
4525
|
-
declare function createEventModule$
|
|
4525
|
+
declare function createEventModule$d<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4526
4526
|
|
|
4527
4527
|
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
4528
4528
|
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
@@ -4534,7 +4534,7 @@ type _publicOnAbandonedCheckoutRecoveredType = typeof onAbandonedCheckoutRecover
|
|
|
4534
4534
|
/**
|
|
4535
4535
|
* Triggered when an abandoned checkout is recovered (the customer completes the checkout).
|
|
4536
4536
|
*/
|
|
4537
|
-
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$
|
|
4537
|
+
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$d<_publicOnAbandonedCheckoutRecoveredType>>;
|
|
4538
4538
|
|
|
4539
4539
|
type context$m_AbandonedCheckout = AbandonedCheckout;
|
|
4540
4540
|
type context$m_AbandonedCheckoutNonNullableFields = AbandonedCheckoutNonNullableFields;
|
|
@@ -4583,7 +4583,7 @@ declare const context$m_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
|
4583
4583
|
declare const context$m_redirectToCheckout: typeof redirectToCheckout;
|
|
4584
4584
|
declare const context$m_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4585
4585
|
declare namespace context$m {
|
|
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$
|
|
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$d 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$b as CursorPaging, type Cursors$b 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$d 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$2 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$2 as QueryV2, type QueryV2PagingMethodOneOf$2 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$b as SortOrder, type Sorting$b 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 };
|
|
4587
4587
|
}
|
|
4588
4588
|
|
|
4589
4589
|
/**
|
|
@@ -4780,26 +4780,26 @@ interface PlatformQuery$1 extends PlatformQueryPagingMethodOneOf$1 {
|
|
|
4780
4780
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
4781
4781
|
paging?: PlatformPaging$1;
|
|
4782
4782
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
4783
|
-
cursorPaging?: CursorPaging$
|
|
4783
|
+
cursorPaging?: CursorPaging$a;
|
|
4784
4784
|
/** Filter object. */
|
|
4785
4785
|
filter?: Record<string, any> | null;
|
|
4786
4786
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
4787
|
-
sort?: Sorting$
|
|
4787
|
+
sort?: Sorting$a[];
|
|
4788
4788
|
}
|
|
4789
4789
|
/** @oneof */
|
|
4790
4790
|
interface PlatformQueryPagingMethodOneOf$1 {
|
|
4791
4791
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
4792
4792
|
paging?: PlatformPaging$1;
|
|
4793
4793
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
4794
|
-
cursorPaging?: CursorPaging$
|
|
4794
|
+
cursorPaging?: CursorPaging$a;
|
|
4795
4795
|
}
|
|
4796
|
-
interface Sorting$
|
|
4796
|
+
interface Sorting$a {
|
|
4797
4797
|
/** Name of the field to sort by. */
|
|
4798
4798
|
fieldName?: string;
|
|
4799
4799
|
/** Sort order. */
|
|
4800
|
-
order?: SortOrder$
|
|
4800
|
+
order?: SortOrder$a;
|
|
4801
4801
|
}
|
|
4802
|
-
declare enum SortOrder$
|
|
4802
|
+
declare enum SortOrder$a {
|
|
4803
4803
|
ASC = "ASC",
|
|
4804
4804
|
DESC = "DESC"
|
|
4805
4805
|
}
|
|
@@ -4809,7 +4809,7 @@ interface PlatformPaging$1 {
|
|
|
4809
4809
|
/** Number of items to skip in the current sort order. */
|
|
4810
4810
|
offset?: number | null;
|
|
4811
4811
|
}
|
|
4812
|
-
interface CursorPaging$
|
|
4812
|
+
interface CursorPaging$a {
|
|
4813
4813
|
/** Maximum number of items to return in the results. */
|
|
4814
4814
|
limit?: number | null;
|
|
4815
4815
|
/**
|
|
@@ -4834,9 +4834,9 @@ interface PlatformPagingMetadata$1 {
|
|
|
4834
4834
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
4835
4835
|
total?: number | null;
|
|
4836
4836
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
4837
|
-
cursors?: Cursors$
|
|
4837
|
+
cursors?: Cursors$a;
|
|
4838
4838
|
}
|
|
4839
|
-
interface Cursors$
|
|
4839
|
+
interface Cursors$a {
|
|
4840
4840
|
/** Cursor string pointing to the next page in the list of results. */
|
|
4841
4841
|
next?: string | null;
|
|
4842
4842
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -5030,7 +5030,7 @@ interface BackInStockNotificationRequestsCountNonNullableFields {
|
|
|
5030
5030
|
interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields {
|
|
5031
5031
|
countsPerCatalogReference: BackInStockNotificationRequestsCountNonNullableFields[];
|
|
5032
5032
|
}
|
|
5033
|
-
interface BaseEventMetadata$
|
|
5033
|
+
interface BaseEventMetadata$c {
|
|
5034
5034
|
/** App instance ID. */
|
|
5035
5035
|
instanceId?: string | null;
|
|
5036
5036
|
/** Event type. */
|
|
@@ -5038,7 +5038,7 @@ interface BaseEventMetadata$d {
|
|
|
5038
5038
|
/** The identification type and identity data. */
|
|
5039
5039
|
identity?: IdentificationData$g;
|
|
5040
5040
|
}
|
|
5041
|
-
interface EventMetadata$
|
|
5041
|
+
interface EventMetadata$c extends BaseEventMetadata$c {
|
|
5042
5042
|
/**
|
|
5043
5043
|
* Unique event ID.
|
|
5044
5044
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -5078,23 +5078,23 @@ interface EventMetadata$d extends BaseEventMetadata$d {
|
|
|
5078
5078
|
}
|
|
5079
5079
|
interface BackInStockNotificationRequestCreatedEnvelope {
|
|
5080
5080
|
entity: BackInStockNotificationRequest;
|
|
5081
|
-
metadata: EventMetadata$
|
|
5081
|
+
metadata: EventMetadata$c;
|
|
5082
5082
|
}
|
|
5083
5083
|
interface BackInStockNotificationRequestDeletedEnvelope {
|
|
5084
|
-
metadata: EventMetadata$
|
|
5084
|
+
metadata: EventMetadata$c;
|
|
5085
5085
|
}
|
|
5086
5086
|
interface BackInStockNotificationRequestUpdatedEnvelope {
|
|
5087
5087
|
entity: BackInStockNotificationRequest;
|
|
5088
|
-
metadata: EventMetadata$
|
|
5088
|
+
metadata: EventMetadata$c;
|
|
5089
5089
|
}
|
|
5090
|
-
interface QueryCursorResult$
|
|
5091
|
-
cursors: Cursors$
|
|
5090
|
+
interface QueryCursorResult$8 {
|
|
5091
|
+
cursors: Cursors$a;
|
|
5092
5092
|
hasNext: () => boolean;
|
|
5093
5093
|
hasPrev: () => boolean;
|
|
5094
5094
|
length: number;
|
|
5095
5095
|
pageSize: number;
|
|
5096
5096
|
}
|
|
5097
|
-
interface RequestsQueryResult extends QueryCursorResult$
|
|
5097
|
+
interface RequestsQueryResult extends QueryCursorResult$8 {
|
|
5098
5098
|
items: BackInStockNotificationRequest[];
|
|
5099
5099
|
query: RequestsQueryBuilder;
|
|
5100
5100
|
next: () => Promise<RequestsQueryResult>;
|
|
@@ -5285,7 +5285,7 @@ declare const onBackInStockNotificationRequestCreated$1: EventDefinition<BackInS
|
|
|
5285
5285
|
declare const onBackInStockNotificationRequestDeleted$1: EventDefinition<BackInStockNotificationRequestDeletedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_deleted">;
|
|
5286
5286
|
declare const onBackInStockNotificationRequestUpdated$1: EventDefinition<BackInStockNotificationRequestUpdatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_updated">;
|
|
5287
5287
|
|
|
5288
|
-
declare function createEventModule$
|
|
5288
|
+
declare function createEventModule$c<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
5289
5289
|
|
|
5290
5290
|
declare const createBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof createBackInStockNotificationRequest$1> & typeof createBackInStockNotificationRequest$1>;
|
|
5291
5291
|
declare const getBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof getBackInStockNotificationRequest$1> & typeof getBackInStockNotificationRequest$1>;
|
|
@@ -5299,19 +5299,19 @@ type _publicOnBackInStockNotificationRequestCreatedType = typeof onBackInStockNo
|
|
|
5299
5299
|
/**
|
|
5300
5300
|
* Triggered when a back in stock notification request is created.
|
|
5301
5301
|
*/
|
|
5302
|
-
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$
|
|
5302
|
+
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$c<_publicOnBackInStockNotificationRequestCreatedType>>;
|
|
5303
5303
|
|
|
5304
5304
|
type _publicOnBackInStockNotificationRequestDeletedType = typeof onBackInStockNotificationRequestDeleted$1;
|
|
5305
5305
|
/**
|
|
5306
5306
|
* Triggered when a back in stock notification request is deleted.
|
|
5307
5307
|
*/
|
|
5308
|
-
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$
|
|
5308
|
+
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$c<_publicOnBackInStockNotificationRequestDeletedType>>;
|
|
5309
5309
|
|
|
5310
5310
|
type _publicOnBackInStockNotificationRequestUpdatedType = typeof onBackInStockNotificationRequestUpdated$1;
|
|
5311
5311
|
/**
|
|
5312
5312
|
* Triggered when a back in stock notification request is updated.
|
|
5313
5313
|
*/
|
|
5314
|
-
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$
|
|
5314
|
+
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$c<_publicOnBackInStockNotificationRequestUpdatedType>>;
|
|
5315
5315
|
|
|
5316
5316
|
type context$l_BackInStockItemDetails = BackInStockItemDetails;
|
|
5317
5317
|
type context$l_BackInStockNotificationRequest = BackInStockNotificationRequest;
|
|
@@ -5361,7 +5361,7 @@ declare const context$l_onBackInStockNotificationRequestUpdated: typeof onBackIn
|
|
|
5361
5361
|
declare const context$l_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
5362
5362
|
declare const context$l_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
5363
5363
|
declare namespace context$l {
|
|
5364
|
-
export { type ActionEvent$h as ActionEvent, type App$1 as App, type context$l_BackInStockItemDetails as BackInStockItemDetails, type context$l_BackInStockNotificationRequest as BackInStockNotificationRequest, type context$l_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type context$l_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type context$l_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type context$l_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type context$l_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$
|
|
5364
|
+
export { type ActionEvent$h as ActionEvent, type App$1 as App, type context$l_BackInStockItemDetails as BackInStockItemDetails, type context$l_BackInStockNotificationRequest as BackInStockNotificationRequest, type context$l_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type context$l_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type context$l_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type context$l_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type context$l_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$c as BaseEventMetadata, type CatalogReference$8 as CatalogReference, type context$l_CreateBackInStockNotificationRequestRequest as CreateBackInStockNotificationRequestRequest, type context$l_CreateBackInStockNotificationRequestResponse as CreateBackInStockNotificationRequestResponse, type context$l_CreateBackInStockNotificationRequestResponseNonNullableFields as CreateBackInStockNotificationRequestResponseNonNullableFields, type CursorPaging$a as CursorPaging, type Cursors$a as Cursors, type context$l_DeleteBackInStockNotificationRequestRequest as DeleteBackInStockNotificationRequestRequest, type context$l_DeleteBackInStockNotificationRequestResponse as DeleteBackInStockNotificationRequestResponse, type DomainEvent$h as DomainEvent, type DomainEventBodyOneOf$h as DomainEventBodyOneOf, type Empty$c as Empty, type EntityCreatedEvent$h as EntityCreatedEvent, type EntityDeletedEvent$h as EntityDeletedEvent, type EntityUpdatedEvent$h as EntityUpdatedEvent, type EventMetadata$c as EventMetadata, type context$l_File as File, type context$l_GetBackInStockNotificationRequestRequest as GetBackInStockNotificationRequestRequest, type context$l_GetBackInStockNotificationRequestResponse as GetBackInStockNotificationRequestResponse, type context$l_GetBackInStockNotificationRequestResponseNonNullableFields as GetBackInStockNotificationRequestResponseNonNullableFields, type context$l_GetBackInStockNotificationRequestsCountByCatalogReferencesRequest as GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, type context$l_GetBackInStockNotificationRequestsCountByCatalogReferencesResponse as GetBackInStockNotificationRequestsCountByCatalogReferencesResponse, type context$l_GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields as GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, type IdentificationData$g as IdentificationData, type IdentificationDataIdOneOf$g as IdentificationDataIdOneOf, type context$l_InvalidateCache as InvalidateCache, type context$l_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context$l_MarkAsNotificationSentRequest as MarkAsNotificationSentRequest, type context$l_MarkAsNotificationSentResponse as MarkAsNotificationSentResponse, type context$l_MarkAsNotificationSentResponseNonNullableFields as MarkAsNotificationSentResponseNonNullableFields, type MessageEnvelope$g as MessageEnvelope, type context$l_Page as Page, type PlatformPaging$1 as PlatformPaging, type PlatformPagingMetadata$1 as PlatformPagingMetadata, type PlatformQuery$1 as PlatformQuery, type PlatformQueryPagingMethodOneOf$1 as PlatformQueryPagingMethodOneOf, type context$l_QueryBackInStockNotificationRequestsRequest as QueryBackInStockNotificationRequestsRequest, type context$l_QueryBackInStockNotificationRequestsResponse as QueryBackInStockNotificationRequestsResponse, type context$l_QueryBackInStockNotificationRequestsResponseNonNullableFields as QueryBackInStockNotificationRequestsResponseNonNullableFields, type context$l_ReportItemsBackInStockOptions as ReportItemsBackInStockOptions, type context$l_ReportItemsBackInStockRequest as ReportItemsBackInStockRequest, type context$l_ReportItemsBackInStockResponse as ReportItemsBackInStockResponse, type context$l_RequestsQueryBuilder as RequestsQueryBuilder, type context$l_RequestsQueryResult as RequestsQueryResult, type RestoreInfo$h as RestoreInfo, SortOrder$a as SortOrder, type Sorting$a as Sorting, Status$3 as Status, type context$l_URI as URI, WebhookIdentityType$g as WebhookIdentityType, type context$l__publicOnBackInStockNotificationRequestCreatedType as _publicOnBackInStockNotificationRequestCreatedType, type context$l__publicOnBackInStockNotificationRequestDeletedType as _publicOnBackInStockNotificationRequestDeletedType, type context$l__publicOnBackInStockNotificationRequestUpdatedType as _publicOnBackInStockNotificationRequestUpdatedType, context$l_createBackInStockNotificationRequest as createBackInStockNotificationRequest, context$l_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, context$l_getBackInStockNotificationRequest as getBackInStockNotificationRequest, context$l_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, context$l_markAsNotificationSent as markAsNotificationSent, context$l_onBackInStockNotificationRequestCreated as onBackInStockNotificationRequestCreated, context$l_onBackInStockNotificationRequestDeleted as onBackInStockNotificationRequestDeleted, context$l_onBackInStockNotificationRequestUpdated as onBackInStockNotificationRequestUpdated, onBackInStockNotificationRequestCreated$1 as publicOnBackInStockNotificationRequestCreated, onBackInStockNotificationRequestDeleted$1 as publicOnBackInStockNotificationRequestDeleted, onBackInStockNotificationRequestUpdated$1 as publicOnBackInStockNotificationRequestUpdated, context$l_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, context$l_reportItemsBackInStock as reportItemsBackInStock };
|
|
5365
5365
|
}
|
|
5366
5366
|
|
|
5367
5367
|
/**
|
|
@@ -7752,7 +7752,7 @@ interface CreateCartResponseNonNullableFields$1 {
|
|
|
7752
7752
|
interface GetCartResponseNonNullableFields$1 {
|
|
7753
7753
|
cart?: CartNonNullableFields$1;
|
|
7754
7754
|
}
|
|
7755
|
-
interface BaseEventMetadata$
|
|
7755
|
+
interface BaseEventMetadata$b {
|
|
7756
7756
|
/** App instance ID. */
|
|
7757
7757
|
instanceId?: string | null;
|
|
7758
7758
|
/** Event type. */
|
|
@@ -7760,7 +7760,7 @@ interface BaseEventMetadata$c {
|
|
|
7760
7760
|
/** The identification type and identity data. */
|
|
7761
7761
|
identity?: IdentificationData$f;
|
|
7762
7762
|
}
|
|
7763
|
-
interface EventMetadata$
|
|
7763
|
+
interface EventMetadata$b extends BaseEventMetadata$b {
|
|
7764
7764
|
/**
|
|
7765
7765
|
* Unique event ID.
|
|
7766
7766
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -7800,14 +7800,14 @@ interface EventMetadata$c extends BaseEventMetadata$c {
|
|
|
7800
7800
|
}
|
|
7801
7801
|
interface CartUpdatedEnvelope$1 {
|
|
7802
7802
|
entity: Cart$1;
|
|
7803
|
-
metadata: EventMetadata$
|
|
7803
|
+
metadata: EventMetadata$b;
|
|
7804
7804
|
}
|
|
7805
7805
|
interface CartDeletedEnvelope$1 {
|
|
7806
|
-
metadata: EventMetadata$
|
|
7806
|
+
metadata: EventMetadata$b;
|
|
7807
7807
|
}
|
|
7808
7808
|
interface CartCreatedEnvelope$1 {
|
|
7809
7809
|
entity: Cart$1;
|
|
7810
|
-
metadata: EventMetadata$
|
|
7810
|
+
metadata: EventMetadata$b;
|
|
7811
7811
|
}
|
|
7812
7812
|
interface CreateCartOptions {
|
|
7813
7813
|
/** Cart info. */
|
|
@@ -8115,7 +8115,7 @@ declare const onCartUpdated$3: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.
|
|
|
8115
8115
|
declare const onCartDeleted$3: EventDefinition<CartDeletedEnvelope$1, "wix.ecom.v1.cart_deleted">;
|
|
8116
8116
|
declare const onCartCreated$3: EventDefinition<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
|
|
8117
8117
|
|
|
8118
|
-
declare function createEventModule$
|
|
8118
|
+
declare function createEventModule$b<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
8119
8119
|
|
|
8120
8120
|
declare const createCart: MaybeContext<BuildRESTFunction<typeof createCart$1> & typeof createCart$1>;
|
|
8121
8121
|
declare const updateCart: MaybeContext<BuildRESTFunction<typeof updateCart$1> & typeof updateCart$1>;
|
|
@@ -8132,19 +8132,19 @@ type _publicOnCartUpdatedType$1 = typeof onCartUpdated$3;
|
|
|
8132
8132
|
/**
|
|
8133
8133
|
* Triggered when a cart is updated.
|
|
8134
8134
|
*/
|
|
8135
|
-
declare const onCartUpdated$2: ReturnType<typeof createEventModule$
|
|
8135
|
+
declare const onCartUpdated$2: ReturnType<typeof createEventModule$b<_publicOnCartUpdatedType>>;
|
|
8136
8136
|
|
|
8137
8137
|
type _publicOnCartDeletedType$1 = typeof onCartDeleted$3;
|
|
8138
8138
|
/**
|
|
8139
8139
|
* Triggered when a cart is deleted.
|
|
8140
8140
|
*/
|
|
8141
|
-
declare const onCartDeleted$2: ReturnType<typeof createEventModule$
|
|
8141
|
+
declare const onCartDeleted$2: ReturnType<typeof createEventModule$b<_publicOnCartDeletedType>>;
|
|
8142
8142
|
|
|
8143
8143
|
type _publicOnCartCreatedType$1 = typeof onCartCreated$3;
|
|
8144
8144
|
/**
|
|
8145
8145
|
* Triggered when a cart is created.
|
|
8146
8146
|
*/
|
|
8147
|
-
declare const onCartCreated$2: ReturnType<typeof createEventModule$
|
|
8147
|
+
declare const onCartCreated$2: ReturnType<typeof createEventModule$b<_publicOnCartCreatedType>>;
|
|
8148
8148
|
|
|
8149
8149
|
type context$j_AddToCartOptions = AddToCartOptions;
|
|
8150
8150
|
type context$j_CreateCartOptions = CreateCartOptions;
|
|
@@ -8157,7 +8157,7 @@ declare const context$j_estimateTotals: typeof estimateTotals;
|
|
|
8157
8157
|
declare const context$j_getCart: typeof getCart;
|
|
8158
8158
|
declare const context$j_updateCart: typeof updateCart;
|
|
8159
8159
|
declare namespace context$j {
|
|
8160
|
-
export { type ActionEvent$g as ActionEvent, type context$j_AddToCartOptions as AddToCartOptions, type AddToCartRequest$1 as AddToCartRequest, type AddToCartResponse$1 as AddToCartResponse, type AddToCartResponseNonNullableFields$1 as AddToCartResponseNonNullableFields, type AddToCurrentCartAndEstimateTotalsRequest$1 as AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest$1 as AddToCurrentCartRequest, type AdditionalFee$6 as AdditionalFee, type Address$a as Address, type AddressLocation$9 as AddressLocation, type AddressWithContact$5 as AddressWithContact, type AggregatedTaxBreakdown$4 as AggregatedTaxBreakdown, type ApplicationError$b as ApplicationError, type AppliedDiscount$6 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$6 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$4 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$c as BaseEventMetadata, type BuyerInfo$7 as BuyerInfo, type BuyerInfoIdOneOf$5 as BuyerInfoIdOneOf, type CalculatedLineItem$2 as CalculatedLineItem, type CalculationErrors$5 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$5 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$6 as CarrierError, type CarrierErrors$5 as CarrierErrors, type CarrierServiceOption$4 as CarrierServiceOption, type Cart$1 as Cart, type CartCreatedEnvelope$1 as CartCreatedEnvelope, type CartDeletedEnvelope$1 as CartDeletedEnvelope, type CartDiscount$1 as CartDiscount, type CartDiscountDiscountSourceOneOf$1 as CartDiscountDiscountSourceOneOf, type CartNonNullableFields$1 as CartNonNullableFields, type CartUpdatedEnvelope$1 as CartUpdatedEnvelope, type CatalogOverrideFields$3 as CatalogOverrideFields, type CatalogReference$7 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$6 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type context$j_CreateCartOptions as CreateCartOptions, type CreateCartRequest$1 as CreateCartRequest, type CreateCartResponse$1 as CreateCartResponse, type CreateCartResponseNonNullableFields$1 as CreateCartResponseNonNullableFields, type CreateCheckoutFromCurrentCartRequest$1 as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions$1 as CreateCheckoutOptions, type CreateCheckoutRequest$2 as CreateCheckoutRequest, type CreateCheckoutResponse$2 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$2 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$4 as CustomLineItem, type DeleteCartRequest$1 as DeleteCartRequest, type DeleteCartResponse$1 as DeleteCartResponse, type DeleteCurrentCartRequest$1 as DeleteCurrentCartRequest, type DeliveryLogistics$7 as DeliveryLogistics, type DeliveryTimeSlot$7 as DeliveryTimeSlot, type Description$3 as Description, type DescriptionLine$5 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$5 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$5 as DescriptionLineName, DescriptionLineType$5 as DescriptionLineType, type DescriptionLineValueOneOf$5 as DescriptionLineValueOneOf, type Details$6 as Details, type DetailsKindOneOf$6 as DetailsKindOneOf, type DiscountRule$6 as DiscountRule, type DiscountRuleName$6 as DiscountRuleName, DiscountType$6 as DiscountType, type DomainEvent$g as DomainEvent, type DomainEventBodyOneOf$g as DomainEventBodyOneOf, type Empty$b as Empty, type EntityCreatedEvent$g as EntityCreatedEvent, type EntityDeletedEvent$g as EntityDeletedEvent, type EntityUpdatedEvent$g as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type context$j_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$c as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$6 as FieldViolation, FileType$4 as FileType, type FullAddressContactDetails$6 as FullAddressContactDetails, type GetCartByCheckoutIdRequest$1 as GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse$1 as GetCartByCheckoutIdResponse, type GetCartRequest$1 as GetCartRequest, type GetCartResponse$1 as GetCartResponse, type GetCartResponseNonNullableFields$1 as GetCartResponseNonNullableFields, type GetCurrentCartRequest$1 as GetCurrentCartRequest, type GetCurrentCartResponse$1 as GetCurrentCartResponse, type GetCurrentCartResponseNonNullableFields$1 as GetCurrentCartResponseNonNullableFields, type GiftCard$6 as GiftCard, type Group$4 as Group, type HostSelectedMembership$1 as HostSelectedMembership, type IdentificationData$f as IdentificationData, type IdentificationDataIdOneOf$f as IdentificationDataIdOneOf, type InvalidMembership$4 as InvalidMembership, type ItemAvailabilityInfo$3 as ItemAvailabilityInfo, ItemAvailabilityStatus$3 as ItemAvailabilityStatus, type ItemTaxFullDetails$6 as ItemTaxFullDetails, type ItemType$6 as ItemType, ItemTypeItemType$6 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$6 as ItemTypeItemTypeDataOneOf, JurisdictionType$6 as JurisdictionType, type LineItem$6 as LineItem, type LineItemDiscount$6 as LineItemDiscount, type LineItemPricesData$2 as LineItemPricesData, type LineItemQuantityUpdate$2 as LineItemQuantityUpdate, ManualCalculationReason$4 as ManualCalculationReason, type Membership$4 as Membership, type MembershipName$7 as MembershipName, type MembershipOptions$4 as MembershipOptions, type MembershipPaymentCredits$4 as MembershipPaymentCredits, type MerchantDiscount$6 as MerchantDiscount, type MerchantDiscountInput$3 as MerchantDiscountInput, type MessageEnvelope$f as MessageEnvelope, type MultiCurrencyPrice$4 as MultiCurrencyPrice, NameInLineItem$3 as NameInLineItem, NameInOther$3 as NameInOther, type Other$3 as Other, type OtherCharge$4 as OtherCharge, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$7 as PhysicalProperties, type PickupDetails$8 as PickupDetails, PickupMethod$7 as PickupMethod, type PlainTextValue$5 as PlainTextValue, type PriceDescription$5 as PriceDescription, type PriceSummary$6 as PriceSummary, type ProductName$5 as ProductName, RateType$4 as RateType, type RemoveCouponFromCurrentCartRequest$1 as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$2 as RemoveCouponRequest, type RemoveCouponResponse$2 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$2 as RemoveCouponResponseNonNullableFields, type RemoveLineItemsFromCurrentCartRequest$1 as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$2 as RemoveLineItemsRequest, type RemoveLineItemsResponse$2 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$2 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$g as RestoreInfo, RuleType$6 as RuleType, type Scope$4 as Scope, type SecuredMedia$4 as SecuredMedia, type SelectedCarrierServiceOption$4 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$4 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$4 as SelectedCarrierServiceOptionPrices, type SelectedMembership$4 as SelectedMembership, type SelectedMemberships$4 as SelectedMemberships, type SelectedShippingOption$2 as SelectedShippingOption, type ServiceProperties$5 as ServiceProperties, Severity$3 as Severity, type ShippingInformation$4 as ShippingInformation, type ShippingOption$6 as ShippingOption, type ShippingPrice$6 as ShippingPrice, type ShippingRegion$6 as ShippingRegion, type StreetAddress$9 as StreetAddress, SubscriptionFrequency$7 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$7 as SubscriptionSettings, type SystemError$6 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$4 as TaxBreakdown, type TaxCalculationDetails$4 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$4 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$4 as TaxRateBreakdown, type TaxSummary$6 as TaxSummary, type TaxableAddress$6 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$6 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$6 as TaxableAddressType, type Title$3 as Title, type context$j_UpdateCartOptions as UpdateCartOptions, type UpdateCartRequest$1 as UpdateCartRequest, type UpdateCartResponse$1 as UpdateCartResponse, type UpdateCartResponseNonNullableFields$1 as UpdateCartResponseNonNullableFields, type UpdateCurrentCartLineItemQuantityRequest$1 as UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest$2 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$2 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$2 as UpdateLineItemsQuantityResponseNonNullableFields, type V1Coupon$1 as V1Coupon, type V1MerchantDiscount$1 as V1MerchantDiscount, type ValidationError$6 as ValidationError, type VatId$7 as VatId, VatType$7 as VatType, type Violation$3 as Violation, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$8 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, context$j_addToCart as addToCart, context$j_createCart as createCart, createCheckout$2 as createCheckout, context$j_deleteCart as deleteCart, context$j_estimateTotals as estimateTotals, context$j_getCart as getCart, onCartCreated$2 as onCartCreated, onCartDeleted$2 as onCartDeleted, onCartUpdated$2 as onCartUpdated, onCartCreated$3 as publicOnCartCreated, onCartDeleted$3 as publicOnCartDeleted, onCartUpdated$3 as publicOnCartUpdated, removeCoupon$2 as removeCoupon, removeLineItems$2 as removeLineItems, context$j_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8160
|
+
export { type ActionEvent$g as ActionEvent, type context$j_AddToCartOptions as AddToCartOptions, type AddToCartRequest$1 as AddToCartRequest, type AddToCartResponse$1 as AddToCartResponse, type AddToCartResponseNonNullableFields$1 as AddToCartResponseNonNullableFields, type AddToCurrentCartAndEstimateTotalsRequest$1 as AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest$1 as AddToCurrentCartRequest, type AdditionalFee$6 as AdditionalFee, type Address$a as Address, type AddressLocation$9 as AddressLocation, type AddressWithContact$5 as AddressWithContact, type AggregatedTaxBreakdown$4 as AggregatedTaxBreakdown, type ApplicationError$b as ApplicationError, type AppliedDiscount$6 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$6 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$4 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$b as BaseEventMetadata, type BuyerInfo$7 as BuyerInfo, type BuyerInfoIdOneOf$5 as BuyerInfoIdOneOf, type CalculatedLineItem$2 as CalculatedLineItem, type CalculationErrors$5 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$5 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$6 as CarrierError, type CarrierErrors$5 as CarrierErrors, type CarrierServiceOption$4 as CarrierServiceOption, type Cart$1 as Cart, type CartCreatedEnvelope$1 as CartCreatedEnvelope, type CartDeletedEnvelope$1 as CartDeletedEnvelope, type CartDiscount$1 as CartDiscount, type CartDiscountDiscountSourceOneOf$1 as CartDiscountDiscountSourceOneOf, type CartNonNullableFields$1 as CartNonNullableFields, type CartUpdatedEnvelope$1 as CartUpdatedEnvelope, type CatalogOverrideFields$3 as CatalogOverrideFields, type CatalogReference$7 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$6 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type context$j_CreateCartOptions as CreateCartOptions, type CreateCartRequest$1 as CreateCartRequest, type CreateCartResponse$1 as CreateCartResponse, type CreateCartResponseNonNullableFields$1 as CreateCartResponseNonNullableFields, type CreateCheckoutFromCurrentCartRequest$1 as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions$1 as CreateCheckoutOptions, type CreateCheckoutRequest$2 as CreateCheckoutRequest, type CreateCheckoutResponse$2 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$2 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$4 as CustomLineItem, type DeleteCartRequest$1 as DeleteCartRequest, type DeleteCartResponse$1 as DeleteCartResponse, type DeleteCurrentCartRequest$1 as DeleteCurrentCartRequest, type DeliveryLogistics$7 as DeliveryLogistics, type DeliveryTimeSlot$7 as DeliveryTimeSlot, type Description$3 as Description, type DescriptionLine$5 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$5 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$5 as DescriptionLineName, DescriptionLineType$5 as DescriptionLineType, type DescriptionLineValueOneOf$5 as DescriptionLineValueOneOf, type Details$6 as Details, type DetailsKindOneOf$6 as DetailsKindOneOf, type DiscountRule$6 as DiscountRule, type DiscountRuleName$6 as DiscountRuleName, DiscountType$6 as DiscountType, type DomainEvent$g as DomainEvent, type DomainEventBodyOneOf$g as DomainEventBodyOneOf, type Empty$b as Empty, type EntityCreatedEvent$g as EntityCreatedEvent, type EntityDeletedEvent$g as EntityDeletedEvent, type EntityUpdatedEvent$g as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type context$j_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$b as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$6 as FieldViolation, FileType$4 as FileType, type FullAddressContactDetails$6 as FullAddressContactDetails, type GetCartByCheckoutIdRequest$1 as GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse$1 as GetCartByCheckoutIdResponse, type GetCartRequest$1 as GetCartRequest, type GetCartResponse$1 as GetCartResponse, type GetCartResponseNonNullableFields$1 as GetCartResponseNonNullableFields, type GetCurrentCartRequest$1 as GetCurrentCartRequest, type GetCurrentCartResponse$1 as GetCurrentCartResponse, type GetCurrentCartResponseNonNullableFields$1 as GetCurrentCartResponseNonNullableFields, type GiftCard$6 as GiftCard, type Group$4 as Group, type HostSelectedMembership$1 as HostSelectedMembership, type IdentificationData$f as IdentificationData, type IdentificationDataIdOneOf$f as IdentificationDataIdOneOf, type InvalidMembership$4 as InvalidMembership, type ItemAvailabilityInfo$3 as ItemAvailabilityInfo, ItemAvailabilityStatus$3 as ItemAvailabilityStatus, type ItemTaxFullDetails$6 as ItemTaxFullDetails, type ItemType$6 as ItemType, ItemTypeItemType$6 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$6 as ItemTypeItemTypeDataOneOf, JurisdictionType$6 as JurisdictionType, type LineItem$6 as LineItem, type LineItemDiscount$6 as LineItemDiscount, type LineItemPricesData$2 as LineItemPricesData, type LineItemQuantityUpdate$2 as LineItemQuantityUpdate, ManualCalculationReason$4 as ManualCalculationReason, type Membership$4 as Membership, type MembershipName$7 as MembershipName, type MembershipOptions$4 as MembershipOptions, type MembershipPaymentCredits$4 as MembershipPaymentCredits, type MerchantDiscount$6 as MerchantDiscount, type MerchantDiscountInput$3 as MerchantDiscountInput, type MessageEnvelope$f as MessageEnvelope, type MultiCurrencyPrice$4 as MultiCurrencyPrice, NameInLineItem$3 as NameInLineItem, NameInOther$3 as NameInOther, type Other$3 as Other, type OtherCharge$4 as OtherCharge, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$7 as PhysicalProperties, type PickupDetails$8 as PickupDetails, PickupMethod$7 as PickupMethod, type PlainTextValue$5 as PlainTextValue, type PriceDescription$5 as PriceDescription, type PriceSummary$6 as PriceSummary, type ProductName$5 as ProductName, RateType$4 as RateType, type RemoveCouponFromCurrentCartRequest$1 as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$2 as RemoveCouponRequest, type RemoveCouponResponse$2 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$2 as RemoveCouponResponseNonNullableFields, type RemoveLineItemsFromCurrentCartRequest$1 as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$2 as RemoveLineItemsRequest, type RemoveLineItemsResponse$2 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$2 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$g as RestoreInfo, RuleType$6 as RuleType, type Scope$4 as Scope, type SecuredMedia$4 as SecuredMedia, type SelectedCarrierServiceOption$4 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$4 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$4 as SelectedCarrierServiceOptionPrices, type SelectedMembership$4 as SelectedMembership, type SelectedMemberships$4 as SelectedMemberships, type SelectedShippingOption$2 as SelectedShippingOption, type ServiceProperties$5 as ServiceProperties, Severity$3 as Severity, type ShippingInformation$4 as ShippingInformation, type ShippingOption$6 as ShippingOption, type ShippingPrice$6 as ShippingPrice, type ShippingRegion$6 as ShippingRegion, type StreetAddress$9 as StreetAddress, SubscriptionFrequency$7 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$7 as SubscriptionSettings, type SystemError$6 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$4 as TaxBreakdown, type TaxCalculationDetails$4 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$4 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$4 as TaxRateBreakdown, type TaxSummary$6 as TaxSummary, type TaxableAddress$6 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$6 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$6 as TaxableAddressType, type Title$3 as Title, type context$j_UpdateCartOptions as UpdateCartOptions, type UpdateCartRequest$1 as UpdateCartRequest, type UpdateCartResponse$1 as UpdateCartResponse, type UpdateCartResponseNonNullableFields$1 as UpdateCartResponseNonNullableFields, type UpdateCurrentCartLineItemQuantityRequest$1 as UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest$2 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$2 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$2 as UpdateLineItemsQuantityResponseNonNullableFields, type V1Coupon$1 as V1Coupon, type V1MerchantDiscount$1 as V1MerchantDiscount, type ValidationError$6 as ValidationError, type VatId$7 as VatId, VatType$7 as VatType, type Violation$3 as Violation, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$8 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, context$j_addToCart as addToCart, context$j_createCart as createCart, createCheckout$2 as createCheckout, context$j_deleteCart as deleteCart, context$j_estimateTotals as estimateTotals, context$j_getCart as getCart, onCartCreated$2 as onCartCreated, onCartDeleted$2 as onCartDeleted, onCartUpdated$2 as onCartUpdated, onCartCreated$3 as publicOnCartCreated, onCartDeleted$3 as publicOnCartDeleted, onCartUpdated$3 as publicOnCartUpdated, removeCoupon$2 as removeCoupon, removeLineItems$2 as removeLineItems, context$j_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8161
8161
|
}
|
|
8162
8162
|
|
|
8163
8163
|
interface Cart {
|
|
@@ -10439,7 +10439,7 @@ interface CreateCartResponseNonNullableFields {
|
|
|
10439
10439
|
interface GetCartResponseNonNullableFields {
|
|
10440
10440
|
cart?: CartNonNullableFields;
|
|
10441
10441
|
}
|
|
10442
|
-
interface BaseEventMetadata$
|
|
10442
|
+
interface BaseEventMetadata$a {
|
|
10443
10443
|
/** App instance ID. */
|
|
10444
10444
|
instanceId?: string | null;
|
|
10445
10445
|
/** Event type. */
|
|
@@ -10447,7 +10447,7 @@ interface BaseEventMetadata$b {
|
|
|
10447
10447
|
/** The identification type and identity data. */
|
|
10448
10448
|
identity?: IdentificationData$e;
|
|
10449
10449
|
}
|
|
10450
|
-
interface EventMetadata$
|
|
10450
|
+
interface EventMetadata$a extends BaseEventMetadata$a {
|
|
10451
10451
|
/**
|
|
10452
10452
|
* Unique event ID.
|
|
10453
10453
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -10487,14 +10487,14 @@ interface EventMetadata$b extends BaseEventMetadata$b {
|
|
|
10487
10487
|
}
|
|
10488
10488
|
interface CartUpdatedEnvelope {
|
|
10489
10489
|
entity: Cart;
|
|
10490
|
-
metadata: EventMetadata$
|
|
10490
|
+
metadata: EventMetadata$a;
|
|
10491
10491
|
}
|
|
10492
10492
|
interface CartDeletedEnvelope {
|
|
10493
|
-
metadata: EventMetadata$
|
|
10493
|
+
metadata: EventMetadata$a;
|
|
10494
10494
|
}
|
|
10495
10495
|
interface CartCreatedEnvelope {
|
|
10496
10496
|
entity: Cart;
|
|
10497
|
-
metadata: EventMetadata$
|
|
10497
|
+
metadata: EventMetadata$a;
|
|
10498
10498
|
}
|
|
10499
10499
|
interface UpdateCurrentCartOptions {
|
|
10500
10500
|
/** Cart info. */
|
|
@@ -10677,7 +10677,7 @@ declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1
|
|
|
10677
10677
|
declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope, "wix.ecom.v1.cart_deleted">;
|
|
10678
10678
|
declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
|
|
10679
10679
|
|
|
10680
|
-
declare function createEventModule$
|
|
10680
|
+
declare function createEventModule$a<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
10681
10681
|
|
|
10682
10682
|
declare const getCurrentCart: MaybeContext<BuildRESTFunction<typeof getCurrentCart$1> & typeof getCurrentCart$1>;
|
|
10683
10683
|
declare const updateCurrentCart: MaybeContext<BuildRESTFunction<typeof updateCurrentCart$1> & typeof updateCurrentCart$1>;
|
|
@@ -10693,19 +10693,19 @@ type _publicOnCartUpdatedType = typeof onCartUpdated$1;
|
|
|
10693
10693
|
/**
|
|
10694
10694
|
* Triggered when a cart is updated.
|
|
10695
10695
|
*/
|
|
10696
|
-
declare const onCartUpdated: ReturnType<typeof createEventModule$
|
|
10696
|
+
declare const onCartUpdated: ReturnType<typeof createEventModule$a<_publicOnCartUpdatedType>>;
|
|
10697
10697
|
|
|
10698
10698
|
type _publicOnCartDeletedType = typeof onCartDeleted$1;
|
|
10699
10699
|
/**
|
|
10700
10700
|
* Triggered when a cart is deleted.
|
|
10701
10701
|
*/
|
|
10702
|
-
declare const onCartDeleted: ReturnType<typeof createEventModule$
|
|
10702
|
+
declare const onCartDeleted: ReturnType<typeof createEventModule$a<_publicOnCartDeletedType>>;
|
|
10703
10703
|
|
|
10704
10704
|
type _publicOnCartCreatedType = typeof onCartCreated$1;
|
|
10705
10705
|
/**
|
|
10706
10706
|
* Triggered when a cart is created.
|
|
10707
10707
|
*/
|
|
10708
|
-
declare const onCartCreated: ReturnType<typeof createEventModule$
|
|
10708
|
+
declare const onCartCreated: ReturnType<typeof createEventModule$a<_publicOnCartCreatedType>>;
|
|
10709
10709
|
|
|
10710
10710
|
type context$i_AddToCartRequest = AddToCartRequest;
|
|
10711
10711
|
type context$i_AddToCartResponse = AddToCartResponse;
|
|
@@ -10767,7 +10767,7 @@ declare const context$i_removeLineItemsFromCurrentCart: typeof removeLineItemsFr
|
|
|
10767
10767
|
declare const context$i_updateCurrentCart: typeof updateCurrentCart;
|
|
10768
10768
|
declare const context$i_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
10769
10769
|
declare namespace context$i {
|
|
10770
|
-
export { type ActionEvent$f as ActionEvent, type context$i_AddToCartRequest as AddToCartRequest, type context$i_AddToCartResponse as AddToCartResponse, type context$i_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type context$i_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type context$i_AddToCurrentCartOptions as AddToCurrentCartOptions, type context$i_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$5 as AdditionalFee, type Address$9 as Address, type AddressLocation$8 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicationError$a as ApplicationError, type AppliedDiscount$5 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$5 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$b as BaseEventMetadata, type BuyerInfo$6 as BuyerInfo, type BuyerInfoIdOneOf$4 as BuyerInfoIdOneOf, type CalculatedLineItem$1 as CalculatedLineItem, type CalculationErrors$4 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$4 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$5 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type context$i_Cart as Cart, type context$i_CartCreatedEnvelope as CartCreatedEnvelope, type context$i_CartDeletedEnvelope as CartDeletedEnvelope, type context$i_CartDiscount as CartDiscount, type context$i_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type context$i_CartNonNullableFields as CartNonNullableFields, type context$i_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$6 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$5 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type context$i_CreateCartRequest as CreateCartRequest, type context$i_CreateCartResponse as CreateCartResponse, type context$i_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type context$i_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type context$i_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type context$i_DeleteCartRequest as DeleteCartRequest, type context$i_DeleteCartResponse as DeleteCartResponse, type context$i_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryLogistics$6 as DeliveryLogistics, type DeliveryTimeSlot$6 as DeliveryTimeSlot, type Description$2 as Description, type DescriptionLine$4 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$4 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$4 as DescriptionLineName, DescriptionLineType$4 as DescriptionLineType, type DescriptionLineValueOneOf$4 as DescriptionLineValueOneOf, type Details$5 as Details, type DetailsKindOneOf$5 as DetailsKindOneOf, type DiscountRule$5 as DiscountRule, type DiscountRuleName$5 as DiscountRuleName, DiscountType$5 as DiscountType, type DomainEvent$f as DomainEvent, type DomainEventBodyOneOf$f as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$f as EntityCreatedEvent, type EntityDeletedEvent$f as EntityDeletedEvent, type EntityUpdatedEvent$f as EntityUpdatedEvent, type context$i_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type context$i_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type context$i_EstimateTotalsRequest as EstimateTotalsRequest, type context$i_EstimateTotalsResponse as EstimateTotalsResponse, type context$i_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$b as EventMetadata, type ExtendedFields$8 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$3 as FileType, type FullAddressContactDetails$5 as FullAddressContactDetails, type context$i_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type context$i_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type context$i_GetCartRequest as GetCartRequest, type context$i_GetCartResponse as GetCartResponse, type context$i_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type context$i_GetCurrentCartRequest as GetCurrentCartRequest, type context$i_GetCurrentCartResponse as GetCurrentCartResponse, type context$i_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type context$i_HostSelectedMembership as HostSelectedMembership, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$3 as InvalidMembership, type ItemAvailabilityInfo$2 as ItemAvailabilityInfo, ItemAvailabilityStatus$2 as ItemAvailabilityStatus, type ItemTaxFullDetails$5 as ItemTaxFullDetails, type ItemType$5 as ItemType, ItemTypeItemType$5 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$5 as ItemTypeItemTypeDataOneOf, JurisdictionType$5 as JurisdictionType, type LineItem$5 as LineItem, type LineItemDiscount$5 as LineItemDiscount, type LineItemPricesData$1 as LineItemPricesData, type LineItemQuantityUpdate$1 as LineItemQuantityUpdate, ManualCalculationReason$3 as ManualCalculationReason, type Membership$3 as Membership, type MembershipName$6 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$5 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$e as MessageEnvelope, type MultiCurrencyPrice$3 as MultiCurrencyPrice, NameInLineItem$2 as NameInLineItem, NameInOther$2 as NameInOther, type Other$2 as Other, type OtherCharge$3 as OtherCharge, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type PriceDescription$4 as PriceDescription, type PriceSummary$5 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type context$i_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type context$i_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$f as RestoreInfo, RuleType$5 as RuleType, type Scope$3 as Scope, type SecuredMedia$3 as SecuredMedia, type SelectedCarrierServiceOption$3 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$3 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$3 as SelectedCarrierServiceOptionPrices, type SelectedMembership$3 as SelectedMembership, type SelectedMemberships$3 as SelectedMemberships, type SelectedShippingOption$1 as SelectedShippingOption, type ServiceProperties$4 as ServiceProperties, Severity$2 as Severity, type ShippingInformation$3 as ShippingInformation, type ShippingOption$5 as ShippingOption, type ShippingPrice$5 as ShippingPrice, type ShippingRegion$5 as ShippingRegion, type StreetAddress$8 as StreetAddress, SubscriptionFrequency$6 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$6 as SubscriptionSettings, type SystemError$5 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$5 as TaxSummary, type TaxableAddress$5 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$5 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$5 as TaxableAddressType, type Title$2 as Title, type context$i_UpdateCartRequest as UpdateCartRequest, type context$i_UpdateCartResponse as UpdateCartResponse, type context$i_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type context$i_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type context$i_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type context$i_V1Coupon as V1Coupon, type context$i_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$2 as Violation, WebhookIdentityType$e as WebhookIdentityType, WeightUnit$7 as WeightUnit, type context$i__publicOnCartCreatedType as _publicOnCartCreatedType, type context$i__publicOnCartDeletedType as _publicOnCartDeletedType, type context$i__publicOnCartUpdatedType as _publicOnCartUpdatedType, context$i_addToCurrentCart as addToCurrentCart, context$i_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, context$i_deleteCurrentCart as deleteCurrentCart, context$i_estimateCurrentCartTotals as estimateCurrentCartTotals, context$i_getCurrentCart as getCurrentCart, context$i_onCartCreated as onCartCreated, context$i_onCartDeleted as onCartDeleted, context$i_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, context$i_removeCouponFromCurrentCart as removeCouponFromCurrentCart, context$i_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, context$i_updateCurrentCart as updateCurrentCart, context$i_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
10770
|
+
export { type ActionEvent$f as ActionEvent, type context$i_AddToCartRequest as AddToCartRequest, type context$i_AddToCartResponse as AddToCartResponse, type context$i_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type context$i_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type context$i_AddToCurrentCartOptions as AddToCurrentCartOptions, type context$i_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$5 as AdditionalFee, type Address$9 as Address, type AddressLocation$8 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicationError$a as ApplicationError, type AppliedDiscount$5 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$5 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$a as BaseEventMetadata, type BuyerInfo$6 as BuyerInfo, type BuyerInfoIdOneOf$4 as BuyerInfoIdOneOf, type CalculatedLineItem$1 as CalculatedLineItem, type CalculationErrors$4 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$4 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$5 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type context$i_Cart as Cart, type context$i_CartCreatedEnvelope as CartCreatedEnvelope, type context$i_CartDeletedEnvelope as CartDeletedEnvelope, type context$i_CartDiscount as CartDiscount, type context$i_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type context$i_CartNonNullableFields as CartNonNullableFields, type context$i_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$6 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$5 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type context$i_CreateCartRequest as CreateCartRequest, type context$i_CreateCartResponse as CreateCartResponse, type context$i_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type context$i_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type context$i_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type context$i_DeleteCartRequest as DeleteCartRequest, type context$i_DeleteCartResponse as DeleteCartResponse, type context$i_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryLogistics$6 as DeliveryLogistics, type DeliveryTimeSlot$6 as DeliveryTimeSlot, type Description$2 as Description, type DescriptionLine$4 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$4 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$4 as DescriptionLineName, DescriptionLineType$4 as DescriptionLineType, type DescriptionLineValueOneOf$4 as DescriptionLineValueOneOf, type Details$5 as Details, type DetailsKindOneOf$5 as DetailsKindOneOf, type DiscountRule$5 as DiscountRule, type DiscountRuleName$5 as DiscountRuleName, DiscountType$5 as DiscountType, type DomainEvent$f as DomainEvent, type DomainEventBodyOneOf$f as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$f as EntityCreatedEvent, type EntityDeletedEvent$f as EntityDeletedEvent, type EntityUpdatedEvent$f as EntityUpdatedEvent, type context$i_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type context$i_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type context$i_EstimateTotalsRequest as EstimateTotalsRequest, type context$i_EstimateTotalsResponse as EstimateTotalsResponse, type context$i_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$a as EventMetadata, type ExtendedFields$8 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$3 as FileType, type FullAddressContactDetails$5 as FullAddressContactDetails, type context$i_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type context$i_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type context$i_GetCartRequest as GetCartRequest, type context$i_GetCartResponse as GetCartResponse, type context$i_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type context$i_GetCurrentCartRequest as GetCurrentCartRequest, type context$i_GetCurrentCartResponse as GetCurrentCartResponse, type context$i_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type context$i_HostSelectedMembership as HostSelectedMembership, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$3 as InvalidMembership, type ItemAvailabilityInfo$2 as ItemAvailabilityInfo, ItemAvailabilityStatus$2 as ItemAvailabilityStatus, type ItemTaxFullDetails$5 as ItemTaxFullDetails, type ItemType$5 as ItemType, ItemTypeItemType$5 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$5 as ItemTypeItemTypeDataOneOf, JurisdictionType$5 as JurisdictionType, type LineItem$5 as LineItem, type LineItemDiscount$5 as LineItemDiscount, type LineItemPricesData$1 as LineItemPricesData, type LineItemQuantityUpdate$1 as LineItemQuantityUpdate, ManualCalculationReason$3 as ManualCalculationReason, type Membership$3 as Membership, type MembershipName$6 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$5 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$e as MessageEnvelope, type MultiCurrencyPrice$3 as MultiCurrencyPrice, NameInLineItem$2 as NameInLineItem, NameInOther$2 as NameInOther, type Other$2 as Other, type OtherCharge$3 as OtherCharge, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type PriceDescription$4 as PriceDescription, type PriceSummary$5 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type context$i_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type context$i_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$f as RestoreInfo, RuleType$5 as RuleType, type Scope$3 as Scope, type SecuredMedia$3 as SecuredMedia, type SelectedCarrierServiceOption$3 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$3 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$3 as SelectedCarrierServiceOptionPrices, type SelectedMembership$3 as SelectedMembership, type SelectedMemberships$3 as SelectedMemberships, type SelectedShippingOption$1 as SelectedShippingOption, type ServiceProperties$4 as ServiceProperties, Severity$2 as Severity, type ShippingInformation$3 as ShippingInformation, type ShippingOption$5 as ShippingOption, type ShippingPrice$5 as ShippingPrice, type ShippingRegion$5 as ShippingRegion, type StreetAddress$8 as StreetAddress, SubscriptionFrequency$6 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$6 as SubscriptionSettings, type SystemError$5 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$5 as TaxSummary, type TaxableAddress$5 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$5 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$5 as TaxableAddressType, type Title$2 as Title, type context$i_UpdateCartRequest as UpdateCartRequest, type context$i_UpdateCartResponse as UpdateCartResponse, type context$i_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type context$i_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type context$i_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type context$i_V1Coupon as V1Coupon, type context$i_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$2 as Violation, WebhookIdentityType$e as WebhookIdentityType, WeightUnit$7 as WeightUnit, type context$i__publicOnCartCreatedType as _publicOnCartCreatedType, type context$i__publicOnCartDeletedType as _publicOnCartDeletedType, type context$i__publicOnCartUpdatedType as _publicOnCartUpdatedType, context$i_addToCurrentCart as addToCurrentCart, context$i_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, context$i_deleteCurrentCart as deleteCurrentCart, context$i_estimateCurrentCartTotals as estimateCurrentCartTotals, context$i_getCurrentCart as getCurrentCart, context$i_onCartCreated as onCartCreated, context$i_onCartDeleted as onCartDeleted, context$i_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, context$i_removeCouponFromCurrentCart as removeCouponFromCurrentCart, context$i_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, context$i_updateCurrentCart as updateCurrentCart, context$i_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
10771
10771
|
}
|
|
10772
10772
|
|
|
10773
10773
|
interface Checkout$1 {
|
|
@@ -13617,7 +13617,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
13617
13617
|
interface GetCheckoutPaymentSettingsResponseNonNullableFields {
|
|
13618
13618
|
blockedPaymentOptions: PaymentOption[];
|
|
13619
13619
|
}
|
|
13620
|
-
interface BaseEventMetadata$
|
|
13620
|
+
interface BaseEventMetadata$9 {
|
|
13621
13621
|
/** App instance ID. */
|
|
13622
13622
|
instanceId?: string | null;
|
|
13623
13623
|
/** Event type. */
|
|
@@ -13625,7 +13625,7 @@ interface BaseEventMetadata$a {
|
|
|
13625
13625
|
/** The identification type and identity data. */
|
|
13626
13626
|
identity?: IdentificationData$d;
|
|
13627
13627
|
}
|
|
13628
|
-
interface EventMetadata$
|
|
13628
|
+
interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
13629
13629
|
/**
|
|
13630
13630
|
* Unique event ID.
|
|
13631
13631
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -13665,15 +13665,15 @@ interface EventMetadata$a extends BaseEventMetadata$a {
|
|
|
13665
13665
|
}
|
|
13666
13666
|
interface CheckoutCreatedEnvelope {
|
|
13667
13667
|
entity: Checkout$1;
|
|
13668
|
-
metadata: EventMetadata$
|
|
13668
|
+
metadata: EventMetadata$9;
|
|
13669
13669
|
}
|
|
13670
13670
|
interface CheckoutUpdatedEnvelope {
|
|
13671
13671
|
entity: Checkout$1;
|
|
13672
|
-
metadata: EventMetadata$
|
|
13672
|
+
metadata: EventMetadata$9;
|
|
13673
13673
|
}
|
|
13674
13674
|
interface CheckoutCompletedEnvelope {
|
|
13675
13675
|
data: CheckoutMarkedAsCompleted;
|
|
13676
|
-
metadata: EventMetadata$
|
|
13676
|
+
metadata: EventMetadata$9;
|
|
13677
13677
|
}
|
|
13678
13678
|
interface CreateCheckoutOptions {
|
|
13679
13679
|
/** Checkout information. */
|
|
@@ -14097,7 +14097,7 @@ declare const onCheckoutCreated$1: EventDefinition<CheckoutCreatedEnvelope, "wix
|
|
|
14097
14097
|
declare const onCheckoutUpdated$1: EventDefinition<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
|
|
14098
14098
|
declare const onCheckoutCompleted$1: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
14099
14099
|
|
|
14100
|
-
declare function createEventModule$
|
|
14100
|
+
declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14101
14101
|
|
|
14102
14102
|
declare const createCheckout: MaybeContext<BuildRESTFunction<typeof createCheckout$1> & typeof createCheckout$1>;
|
|
14103
14103
|
declare const getCheckout: MaybeContext<BuildRESTFunction<typeof getCheckout$1> & typeof getCheckout$1>;
|
|
@@ -14118,20 +14118,20 @@ type _publicOnCheckoutCreatedType = typeof onCheckoutCreated$1;
|
|
|
14118
14118
|
/**
|
|
14119
14119
|
* Triggered when a checkout is created.
|
|
14120
14120
|
*/
|
|
14121
|
-
declare const onCheckoutCreated: ReturnType<typeof createEventModule$
|
|
14121
|
+
declare const onCheckoutCreated: ReturnType<typeof createEventModule$9<_publicOnCheckoutCreatedType>>;
|
|
14122
14122
|
|
|
14123
14123
|
type _publicOnCheckoutUpdatedType = typeof onCheckoutUpdated$1;
|
|
14124
14124
|
/**
|
|
14125
14125
|
* Triggered when a checkout is updated.
|
|
14126
14126
|
*/
|
|
14127
|
-
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$
|
|
14127
|
+
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$9<_publicOnCheckoutUpdatedType>>;
|
|
14128
14128
|
|
|
14129
14129
|
type _publicOnCheckoutCompletedType = typeof onCheckoutCompleted$1;
|
|
14130
14130
|
/**
|
|
14131
14131
|
* Triggered when an order created from this checkout is
|
|
14132
14132
|
* successfully paid for or when a checkout is marked as completed.
|
|
14133
14133
|
*/
|
|
14134
|
-
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$
|
|
14134
|
+
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$9<_publicOnCheckoutCompletedType>>;
|
|
14135
14135
|
|
|
14136
14136
|
type context$h_AddToCheckoutOptions = AddToCheckoutOptions;
|
|
14137
14137
|
type context$h_AddToCheckoutRequest = AddToCheckoutRequest;
|
|
@@ -14239,7 +14239,7 @@ declare const context$h_removeOverrideCheckoutUrl: typeof removeOverrideCheckout
|
|
|
14239
14239
|
declare const context$h_updateCheckout: typeof updateCheckout;
|
|
14240
14240
|
declare const context$h_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
14241
14241
|
declare namespace context$h {
|
|
14242
|
-
export { type ActionEvent$e as ActionEvent, type context$h_AddToCheckoutOptions as AddToCheckoutOptions, type context$h_AddToCheckoutRequest as AddToCheckoutRequest, type context$h_AddToCheckoutResponse as AddToCheckoutResponse, type context$h_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$8 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$7 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type context$h_ApiAddress as ApiAddress, type ApplicationError$9 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$a as BaseEventMetadata, type BillingInfo$1 as BillingInfo, type BuyerInfo$5 as BuyerInfo, type BuyerInfoIdOneOf$3 as BuyerInfoIdOneOf, type CalculationErrors$3 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$3 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$4 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, type ChannelInfo$3 as ChannelInfo, context$h_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type context$h_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type context$h_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type context$h_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type context$h_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type context$h_CheckoutNonNullableFields as CheckoutNonNullableFields, type context$h_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type context$h_CommonVatId as CommonVatId, context$h_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type context$h_CreateCheckoutOptions as CreateCheckoutOptions, type context$h_CreateCheckoutRequest as CreateCheckoutRequest, type context$h_CreateCheckoutResponse as CreateCheckoutResponse, type context$h_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type context$h_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type context$h_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type context$h_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type context$h_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type context$h_CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOf, type CreateOrderResponseNonNullableFields$1 as CreateOrderResponseNonNullableFields, type CreatedBy$3 as CreatedBy, type CreatedByIdOneOf$1 as CreatedByIdOneOf, type CustomContentReference$1 as CustomContentReference, type CustomField$4 as CustomField, type CustomLineItem$2 as CustomLineItem, type CustomSettings$1 as CustomSettings, type CustomTextFieldSelection$1 as CustomTextFieldSelection, type DeliveryLogistics$5 as DeliveryLogistics, type DeliveryTimeSlot$5 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type Discount$2 as Discount, context$h_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type context$h_DoublePaymentErrorData as DoublePaymentErrorData, type context$h_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$9 as Empty, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$a as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$2 as FileType, type FullAddressContactDetails$4 as FullAddressContactDetails, type FullName$1 as FullName, type context$h_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type context$h_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type context$h_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type context$h_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type context$h_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type context$h_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, type context$h_GetCheckoutRequest as GetCheckoutRequest, type context$h_GetCheckoutResponse as GetCheckoutResponse, type context$h_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type context$h_GetCheckoutURLRequest as GetCheckoutURLRequest, type context$h_GetCheckoutURLResponse as GetCheckoutURLResponse, type context$h_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type context$h_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type context$h_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type context$h_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type context$h_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type context$h_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type context$h_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type context$h_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$2 as Membership, type MembershipName$5 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$d as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$2 as OtherCharge, type context$h_PaymentErrorResponseData as PaymentErrorResponseData, context$h_PaymentOption as PaymentOption, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$5 as PhysicalProperties, type PickupAddress$3 as PickupAddress, type PickupDetails$6 as PickupDetails, PickupMethod$5 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type context$h_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type context$h_RedeemErrorData as RedeemErrorData, type context$h_RemoveCouponRequest as RemoveCouponRequest, type context$h_RemoveCouponResponse as RemoveCouponResponse, type context$h_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type context$h_RemoveGiftCardRequest as RemoveGiftCardRequest, type context$h_RemoveGiftCardResponse as RemoveGiftCardResponse, type context$h_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type context$h_RemoveLineItemsRequest as RemoveLineItemsRequest, type context$h_RemoveLineItemsResponse as RemoveLineItemsResponse, type context$h_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type context$h_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type context$h_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type context$h_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$e as RestoreInfo, RuleType$4 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type ServiceProperties$3 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type context$h_ShippingCalculationErrorData as ShippingCalculationErrorData, type context$h_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$4 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type context$h_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type context$h_Subscription as Subscription, type context$h_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, type SystemError$4 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type TaxableAddress$4 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$4 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$4 as TaxableAddressType, type Title$1 as Title, type Totals$1 as Totals, type context$h_UpdateCheckout as UpdateCheckout, type context$h_UpdateCheckoutOptions as UpdateCheckoutOptions, type context$h_UpdateCheckoutRequest as UpdateCheckoutRequest, type context$h_UpdateCheckoutResponse as UpdateCheckoutResponse, type context$h_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type context$h_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type context$h_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type context$h_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type context$h_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type context$h_V1BuyerInfo as V1BuyerInfo, type context$h_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type context$h_V1ShippingInfo as V1ShippingInfo, type context$h_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type context$h_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type context$h_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type context$h_ViolationsList as ViolationsList, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$6 as WeightUnit, type context$h__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type context$h__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type context$h__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, context$h_addToCheckout as addToCheckout, context$h_createCheckout as createCheckout, createOrder$2 as createOrder, context$h_getCheckout as getCheckout, context$h_getCheckoutByCartId as getCheckoutByCartId, context$h_getCheckoutPaymentSettings as getCheckoutPaymentSettings, context$h_getCheckoutUrl as getCheckoutUrl, context$h_markCheckoutAsCompleted as markCheckoutAsCompleted, context$h_onCheckoutCompleted as onCheckoutCompleted, context$h_onCheckoutCreated as onCheckoutCreated, context$h_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, context$h_removeCoupon as removeCoupon, context$h_removeGiftCard as removeGiftCard, context$h_removeLineItems as removeLineItems, context$h_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, context$h_updateCheckout as updateCheckout, context$h_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14242
|
+
export { type ActionEvent$e as ActionEvent, type context$h_AddToCheckoutOptions as AddToCheckoutOptions, type context$h_AddToCheckoutRequest as AddToCheckoutRequest, type context$h_AddToCheckoutResponse as AddToCheckoutResponse, type context$h_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$8 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$7 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type context$h_ApiAddress as ApiAddress, type ApplicationError$9 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BillingInfo$1 as BillingInfo, type BuyerInfo$5 as BuyerInfo, type BuyerInfoIdOneOf$3 as BuyerInfoIdOneOf, type CalculationErrors$3 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$3 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$4 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, type ChannelInfo$3 as ChannelInfo, context$h_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type context$h_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type context$h_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type context$h_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type context$h_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type context$h_CheckoutNonNullableFields as CheckoutNonNullableFields, type context$h_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type context$h_CommonVatId as CommonVatId, context$h_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type context$h_CreateCheckoutOptions as CreateCheckoutOptions, type context$h_CreateCheckoutRequest as CreateCheckoutRequest, type context$h_CreateCheckoutResponse as CreateCheckoutResponse, type context$h_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type context$h_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type context$h_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type context$h_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type context$h_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type context$h_CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOf, type CreateOrderResponseNonNullableFields$1 as CreateOrderResponseNonNullableFields, type CreatedBy$3 as CreatedBy, type CreatedByIdOneOf$1 as CreatedByIdOneOf, type CustomContentReference$1 as CustomContentReference, type CustomField$4 as CustomField, type CustomLineItem$2 as CustomLineItem, type CustomSettings$1 as CustomSettings, type CustomTextFieldSelection$1 as CustomTextFieldSelection, type DeliveryLogistics$5 as DeliveryLogistics, type DeliveryTimeSlot$5 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type Discount$2 as Discount, context$h_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type context$h_DoublePaymentErrorData as DoublePaymentErrorData, type context$h_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$9 as Empty, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$9 as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$2 as FileType, type FullAddressContactDetails$4 as FullAddressContactDetails, type FullName$1 as FullName, type context$h_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type context$h_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type context$h_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type context$h_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type context$h_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type context$h_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, type context$h_GetCheckoutRequest as GetCheckoutRequest, type context$h_GetCheckoutResponse as GetCheckoutResponse, type context$h_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type context$h_GetCheckoutURLRequest as GetCheckoutURLRequest, type context$h_GetCheckoutURLResponse as GetCheckoutURLResponse, type context$h_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type context$h_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type context$h_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type context$h_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type context$h_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type context$h_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type context$h_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type context$h_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$2 as Membership, type MembershipName$5 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$d as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$2 as OtherCharge, type context$h_PaymentErrorResponseData as PaymentErrorResponseData, context$h_PaymentOption as PaymentOption, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$5 as PhysicalProperties, type PickupAddress$3 as PickupAddress, type PickupDetails$6 as PickupDetails, PickupMethod$5 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type context$h_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type context$h_RedeemErrorData as RedeemErrorData, type context$h_RemoveCouponRequest as RemoveCouponRequest, type context$h_RemoveCouponResponse as RemoveCouponResponse, type context$h_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type context$h_RemoveGiftCardRequest as RemoveGiftCardRequest, type context$h_RemoveGiftCardResponse as RemoveGiftCardResponse, type context$h_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type context$h_RemoveLineItemsRequest as RemoveLineItemsRequest, type context$h_RemoveLineItemsResponse as RemoveLineItemsResponse, type context$h_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type context$h_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type context$h_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type context$h_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$e as RestoreInfo, RuleType$4 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type ServiceProperties$3 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type context$h_ShippingCalculationErrorData as ShippingCalculationErrorData, type context$h_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$4 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type context$h_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type context$h_Subscription as Subscription, type context$h_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, type SystemError$4 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type TaxableAddress$4 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$4 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$4 as TaxableAddressType, type Title$1 as Title, type Totals$1 as Totals, type context$h_UpdateCheckout as UpdateCheckout, type context$h_UpdateCheckoutOptions as UpdateCheckoutOptions, type context$h_UpdateCheckoutRequest as UpdateCheckoutRequest, type context$h_UpdateCheckoutResponse as UpdateCheckoutResponse, type context$h_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type context$h_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type context$h_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type context$h_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type context$h_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type context$h_V1BuyerInfo as V1BuyerInfo, type context$h_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type context$h_V1ShippingInfo as V1ShippingInfo, type context$h_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type context$h_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type context$h_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type context$h_ViolationsList as ViolationsList, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$6 as WeightUnit, type context$h__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type context$h__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type context$h__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, context$h_addToCheckout as addToCheckout, context$h_createCheckout as createCheckout, createOrder$2 as createOrder, context$h_getCheckout as getCheckout, context$h_getCheckoutByCartId as getCheckoutByCartId, context$h_getCheckoutPaymentSettings as getCheckoutPaymentSettings, context$h_getCheckoutUrl as getCheckoutUrl, context$h_markCheckoutAsCompleted as markCheckoutAsCompleted, context$h_onCheckoutCompleted as onCheckoutCompleted, context$h_onCheckoutCreated as onCheckoutCreated, context$h_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, context$h_removeCoupon as removeCoupon, context$h_removeGiftCard as removeGiftCard, context$h_removeLineItems as removeLineItems, context$h_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, context$h_updateCheckout as updateCheckout, context$h_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14243
14243
|
}
|
|
14244
14244
|
|
|
14245
14245
|
interface CheckoutSettings {
|
|
@@ -14580,7 +14580,7 @@ interface GetCheckoutSettingsResponseNonNullableFields {
|
|
|
14580
14580
|
interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
14581
14581
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
14582
14582
|
}
|
|
14583
|
-
interface BaseEventMetadata$
|
|
14583
|
+
interface BaseEventMetadata$8 {
|
|
14584
14584
|
/** App instance ID. */
|
|
14585
14585
|
instanceId?: string | null;
|
|
14586
14586
|
/** Event type. */
|
|
@@ -14588,7 +14588,7 @@ interface BaseEventMetadata$9 {
|
|
|
14588
14588
|
/** The identification type and identity data. */
|
|
14589
14589
|
identity?: IdentificationData$c;
|
|
14590
14590
|
}
|
|
14591
|
-
interface EventMetadata$
|
|
14591
|
+
interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
14592
14592
|
/**
|
|
14593
14593
|
* Unique event ID.
|
|
14594
14594
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -14628,7 +14628,7 @@ interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
|
14628
14628
|
}
|
|
14629
14629
|
interface CheckoutSettingsUpdatedEnvelope {
|
|
14630
14630
|
entity: CheckoutSettings;
|
|
14631
|
-
metadata: EventMetadata$
|
|
14631
|
+
metadata: EventMetadata$8;
|
|
14632
14632
|
}
|
|
14633
14633
|
|
|
14634
14634
|
declare function getCheckoutSettings$1(httpClient: HttpClient): GetCheckoutSettingsSignature;
|
|
@@ -14656,7 +14656,7 @@ interface UpdateCheckoutSettingsSignature {
|
|
|
14656
14656
|
}
|
|
14657
14657
|
declare const onCheckoutSettingsUpdated$1: EventDefinition<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
|
|
14658
14658
|
|
|
14659
|
-
declare function createEventModule$
|
|
14659
|
+
declare function createEventModule$8<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14660
14660
|
|
|
14661
14661
|
declare const getCheckoutSettings: MaybeContext<BuildRESTFunction<typeof getCheckoutSettings$1> & typeof getCheckoutSettings$1>;
|
|
14662
14662
|
declare const updateCheckoutSettings: MaybeContext<BuildRESTFunction<typeof updateCheckoutSettings$1> & typeof updateCheckoutSettings$1>;
|
|
@@ -14665,7 +14665,7 @@ type _publicOnCheckoutSettingsUpdatedType = typeof onCheckoutSettingsUpdated$1;
|
|
|
14665
14665
|
/**
|
|
14666
14666
|
* Triggered when checkout settings are updated.
|
|
14667
14667
|
*/
|
|
14668
|
-
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$
|
|
14668
|
+
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$8<_publicOnCheckoutSettingsUpdatedType>>;
|
|
14669
14669
|
|
|
14670
14670
|
type context$g_Alignment = Alignment;
|
|
14671
14671
|
declare const context$g_Alignment: typeof Alignment;
|
|
@@ -14701,7 +14701,7 @@ declare const context$g_getCheckoutSettings: typeof getCheckoutSettings;
|
|
|
14701
14701
|
declare const context$g_onCheckoutSettingsUpdated: typeof onCheckoutSettingsUpdated;
|
|
14702
14702
|
declare const context$g_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
14703
14703
|
declare namespace context$g {
|
|
14704
|
-
export { type ActionEvent$d as ActionEvent, context$g_Alignment as Alignment, type BaseEventMetadata$
|
|
14704
|
+
export { type ActionEvent$d as ActionEvent, context$g_Alignment as Alignment, type BaseEventMetadata$8 as BaseEventMetadata, type context$g_CheckboxField as CheckboxField, type context$g_CheckoutBrand as CheckoutBrand, type context$g_CheckoutFields as CheckoutFields, type context$g_CheckoutHeader as CheckoutHeader, type context$g_CheckoutPolicies as CheckoutPolicies, type context$g_CheckoutSettings as CheckoutSettings, type context$g_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type context$g_ContactUsPolicy as ContactUsPolicy, type context$g_CustomCheckoutPolicy as CustomCheckoutPolicy, type context$g_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type context$g_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type context$g_DigitalItemPolicy as DigitalItemPolicy, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type Empty$8 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type EventMetadata$8 as EventMetadata, type context$g_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type context$g_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type context$g_GetCheckoutSettingsResponseNonNullableFields as GetCheckoutSettingsResponseNonNullableFields, type context$g_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type context$g_ListCheckoutSettingsRequest as ListCheckoutSettingsRequest, type context$g_ListCheckoutSettingsResponse as ListCheckoutSettingsResponse, type context$g_Logo as Logo, context$g_LogoSize as LogoSize, type MessageEnvelope$c as MessageEnvelope, type context$g_PrivacyPolicy as PrivacyPolicy, type RestoreInfo$d as RestoreInfo, type context$g_ReturnPolicy as ReturnPolicy, type context$g_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type context$g_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type context$g_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, type context$g_UpdateCheckoutSettingsResponseNonNullableFields as UpdateCheckoutSettingsResponseNonNullableFields, WebhookIdentityType$c as WebhookIdentityType, type context$g__publicOnCheckoutSettingsUpdatedType as _publicOnCheckoutSettingsUpdatedType, context$g_getCheckoutSettings as getCheckoutSettings, context$g_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, onCheckoutSettingsUpdated$1 as publicOnCheckoutSettingsUpdated, context$g_updateCheckoutSettings as updateCheckoutSettings };
|
|
14705
14705
|
}
|
|
14706
14706
|
|
|
14707
14707
|
interface CheckoutTemplate {
|
|
@@ -15198,7 +15198,7 @@ interface QueryCheckoutTemplatesRequest {
|
|
|
15198
15198
|
}
|
|
15199
15199
|
interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
15200
15200
|
/** 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`. */
|
|
15201
|
-
cursorPaging?: CursorPaging$
|
|
15201
|
+
cursorPaging?: CursorPaging$9;
|
|
15202
15202
|
/**
|
|
15203
15203
|
* Filter object in the following format:
|
|
15204
15204
|
* `"filter" : {
|
|
@@ -15213,24 +15213,24 @@ interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
|
15213
15213
|
* Sort object in the following format:
|
|
15214
15214
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
15215
15215
|
*/
|
|
15216
|
-
sort?: Sorting$
|
|
15216
|
+
sort?: Sorting$9[];
|
|
15217
15217
|
}
|
|
15218
15218
|
/** @oneof */
|
|
15219
15219
|
interface CursorQueryPagingMethodOneOf$6 {
|
|
15220
15220
|
/** 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`. */
|
|
15221
|
-
cursorPaging?: CursorPaging$
|
|
15221
|
+
cursorPaging?: CursorPaging$9;
|
|
15222
15222
|
}
|
|
15223
|
-
interface Sorting$
|
|
15223
|
+
interface Sorting$9 {
|
|
15224
15224
|
/** Name of the field to sort by. */
|
|
15225
15225
|
fieldName?: string;
|
|
15226
15226
|
/** Sort order. */
|
|
15227
|
-
order?: SortOrder$
|
|
15227
|
+
order?: SortOrder$9;
|
|
15228
15228
|
}
|
|
15229
|
-
declare enum SortOrder$
|
|
15229
|
+
declare enum SortOrder$9 {
|
|
15230
15230
|
ASC = "ASC",
|
|
15231
15231
|
DESC = "DESC"
|
|
15232
15232
|
}
|
|
15233
|
-
interface CursorPaging$
|
|
15233
|
+
interface CursorPaging$9 {
|
|
15234
15234
|
/** Number of items to load. */
|
|
15235
15235
|
limit?: number | null;
|
|
15236
15236
|
/**
|
|
@@ -15246,13 +15246,13 @@ interface QueryCheckoutTemplatesResponse {
|
|
|
15246
15246
|
/** Retrieved checkout templates. */
|
|
15247
15247
|
checkoutTemplates?: CheckoutTemplate[];
|
|
15248
15248
|
/** Paging metadata. */
|
|
15249
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
15249
|
+
pagingMetadata?: CursorPagingMetadata$9;
|
|
15250
15250
|
}
|
|
15251
|
-
interface CursorPagingMetadata$
|
|
15251
|
+
interface CursorPagingMetadata$9 {
|
|
15252
15252
|
/** Number of items returned in the response. */
|
|
15253
15253
|
count?: number | null;
|
|
15254
15254
|
/** Offset that was requested. */
|
|
15255
|
-
cursors?: Cursors$
|
|
15255
|
+
cursors?: Cursors$9;
|
|
15256
15256
|
/**
|
|
15257
15257
|
* Indicates if there are more results after the current page.
|
|
15258
15258
|
* If `true`, another page of results can be retrieved.
|
|
@@ -15260,7 +15260,7 @@ interface CursorPagingMetadata$8 {
|
|
|
15260
15260
|
*/
|
|
15261
15261
|
hasNext?: boolean | null;
|
|
15262
15262
|
}
|
|
15263
|
-
interface Cursors$
|
|
15263
|
+
interface Cursors$9 {
|
|
15264
15264
|
/** Cursor pointing to next page in the list of results. */
|
|
15265
15265
|
next?: string | null;
|
|
15266
15266
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -16770,7 +16770,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
16770
16770
|
body: Uint8Array;
|
|
16771
16771
|
headers: HeadersEntryNonNullableFields[];
|
|
16772
16772
|
}
|
|
16773
|
-
interface BaseEventMetadata$
|
|
16773
|
+
interface BaseEventMetadata$7 {
|
|
16774
16774
|
/** App instance ID. */
|
|
16775
16775
|
instanceId?: string | null;
|
|
16776
16776
|
/** Event type. */
|
|
@@ -16778,7 +16778,7 @@ interface BaseEventMetadata$8 {
|
|
|
16778
16778
|
/** The identification type and identity data. */
|
|
16779
16779
|
identity?: IdentificationData$b;
|
|
16780
16780
|
}
|
|
16781
|
-
interface EventMetadata$
|
|
16781
|
+
interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
16782
16782
|
/**
|
|
16783
16783
|
* Unique event ID.
|
|
16784
16784
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -16818,18 +16818,18 @@ interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
|
16818
16818
|
}
|
|
16819
16819
|
interface CheckoutTemplateCreatedEnvelope {
|
|
16820
16820
|
entity: CheckoutTemplate;
|
|
16821
|
-
metadata: EventMetadata$
|
|
16821
|
+
metadata: EventMetadata$7;
|
|
16822
16822
|
}
|
|
16823
16823
|
interface CheckoutTemplateUpdatedEnvelope {
|
|
16824
16824
|
entity: CheckoutTemplate;
|
|
16825
|
-
metadata: EventMetadata$
|
|
16825
|
+
metadata: EventMetadata$7;
|
|
16826
16826
|
}
|
|
16827
16827
|
interface CheckoutTemplateDeletedEnvelope {
|
|
16828
|
-
metadata: EventMetadata$
|
|
16828
|
+
metadata: EventMetadata$7;
|
|
16829
16829
|
}
|
|
16830
16830
|
interface CheckoutTemplateUsedEnvelope {
|
|
16831
16831
|
data: CheckoutTemplateUsed;
|
|
16832
|
-
metadata: EventMetadata$
|
|
16832
|
+
metadata: EventMetadata$7;
|
|
16833
16833
|
}
|
|
16834
16834
|
interface UpdateCheckoutTemplate {
|
|
16835
16835
|
/**
|
|
@@ -16874,14 +16874,14 @@ interface UpdateCheckoutTemplate {
|
|
|
16874
16874
|
*/
|
|
16875
16875
|
customContentReference?: CustomContentReference;
|
|
16876
16876
|
}
|
|
16877
|
-
interface QueryCursorResult$
|
|
16878
|
-
cursors: Cursors$
|
|
16877
|
+
interface QueryCursorResult$7 {
|
|
16878
|
+
cursors: Cursors$9;
|
|
16879
16879
|
hasNext: () => boolean;
|
|
16880
16880
|
hasPrev: () => boolean;
|
|
16881
16881
|
length: number;
|
|
16882
16882
|
pageSize: number;
|
|
16883
16883
|
}
|
|
16884
|
-
interface CheckoutTemplatesQueryResult extends QueryCursorResult$
|
|
16884
|
+
interface CheckoutTemplatesQueryResult extends QueryCursorResult$7 {
|
|
16885
16885
|
items: CheckoutTemplate[];
|
|
16886
16886
|
query: CheckoutTemplatesQueryBuilder;
|
|
16887
16887
|
next: () => Promise<CheckoutTemplatesQueryResult>;
|
|
@@ -17038,7 +17038,7 @@ declare const onCheckoutTemplateUpdated$1: EventDefinition<CheckoutTemplateUpdat
|
|
|
17038
17038
|
declare const onCheckoutTemplateDeleted$1: EventDefinition<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
|
|
17039
17039
|
declare const onCheckoutTemplateUsed$1: EventDefinition<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
|
|
17040
17040
|
|
|
17041
|
-
declare function createEventModule$
|
|
17041
|
+
declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
17042
17042
|
|
|
17043
17043
|
declare const createCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof createCheckoutTemplate$1> & typeof createCheckoutTemplate$1>;
|
|
17044
17044
|
declare const getCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof getCheckoutTemplate$1> & typeof getCheckoutTemplate$1>;
|
|
@@ -17052,25 +17052,25 @@ type _publicOnCheckoutTemplateCreatedType = typeof onCheckoutTemplateCreated$1;
|
|
|
17052
17052
|
/**
|
|
17053
17053
|
* Triggered when a checkout template is created.
|
|
17054
17054
|
*/
|
|
17055
|
-
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$
|
|
17055
|
+
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$7<_publicOnCheckoutTemplateCreatedType>>;
|
|
17056
17056
|
|
|
17057
17057
|
type _publicOnCheckoutTemplateUpdatedType = typeof onCheckoutTemplateUpdated$1;
|
|
17058
17058
|
/**
|
|
17059
17059
|
* Triggered when a checkout template is updated.
|
|
17060
17060
|
*/
|
|
17061
|
-
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$
|
|
17061
|
+
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$7<_publicOnCheckoutTemplateUpdatedType>>;
|
|
17062
17062
|
|
|
17063
17063
|
type _publicOnCheckoutTemplateDeletedType = typeof onCheckoutTemplateDeleted$1;
|
|
17064
17064
|
/**
|
|
17065
17065
|
* Triggered when a checkout template is deleted.
|
|
17066
17066
|
*/
|
|
17067
|
-
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$
|
|
17067
|
+
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$7<_publicOnCheckoutTemplateDeletedType>>;
|
|
17068
17068
|
|
|
17069
17069
|
type _publicOnCheckoutTemplateUsedType = typeof onCheckoutTemplateUsed$1;
|
|
17070
17070
|
/**
|
|
17071
17071
|
* Triggered when a checkout is created from a checkout template.
|
|
17072
17072
|
*/
|
|
17073
|
-
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$
|
|
17073
|
+
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$7<_publicOnCheckoutTemplateUsedType>>;
|
|
17074
17074
|
|
|
17075
17075
|
type context$f_CatalogOverrideFields = CatalogOverrideFields;
|
|
17076
17076
|
type context$f_Checkout = Checkout;
|
|
@@ -17144,7 +17144,7 @@ declare const context$f_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
|
|
|
17144
17144
|
declare const context$f_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
17145
17145
|
declare const context$f_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
17146
17146
|
declare namespace context$f {
|
|
17147
|
-
export { type ActionEvent$c as ActionEvent, type AdditionalFee$3 as AdditionalFee, type Address$7 as Address, type AddressLocation$6 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type ApplicationError$8 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$8 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type context$f_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$4 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type context$f_Checkout as Checkout, type context$f_CheckoutCustomization as CheckoutCustomization, type context$f_CheckoutTemplate as CheckoutTemplate, type context$f_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type context$f_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type context$f_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type context$f_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type context$f_CheckoutTemplateUsed as CheckoutTemplateUsed, type context$f_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type context$f_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type context$f_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type context$f_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type context$f_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type context$f_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type context$f_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type context$f_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type context$f_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type context$f_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type context$f_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type context$f_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$8 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$8 as Cursors, type context$f_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type context$f_CustomSettings as CustomSettings, type context$f_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type context$f_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type context$f_Description as Description, type DescriptionLine$2 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$2 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$2 as DescriptionLineName, DescriptionLineType$2 as DescriptionLineType, type DescriptionLineValueOneOf$2 as DescriptionLineValueOneOf, type Details$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$c as DomainEvent, type DomainEventBodyOneOf$c as DomainEventBodyOneOf, type EntityCreatedEvent$c as EntityCreatedEvent, type EntityDeletedEvent$c as EntityDeletedEvent, type EntityUpdatedEvent$c as EntityUpdatedEvent, type EventMetadata$8 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$f_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type context$f_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type context$f_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type context$f_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type context$f_ItemAvailabilityInfo as ItemAvailabilityInfo, context$f_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$3 as ItemTaxFullDetails, type ItemType$3 as ItemType, ItemTypeItemType$3 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$3 as ItemTypeItemTypeDataOneOf, JurisdictionType$3 as JurisdictionType, type LineItem$3 as LineItem, type LineItemDiscount$3 as LineItemDiscount, ManualCalculationReason$1 as ManualCalculationReason, type Membership$1 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MessageEnvelope$b as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, context$f_NameInLineItem as NameInLineItem, context$f_NameInOther as NameInOther, type context$f_Other as Other, type OtherCharge$1 as OtherCharge, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type context$f_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type context$f_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type context$f_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type context$f_RawHttpResponse as RawHttpResponse, type context$f_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$c as RestoreInfo, RuleType$3 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, context$f_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, Status$2 as Status, type StreetAddress$6 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, type SystemError$3 as SystemError, type context$f_Target as Target, type context$f_TargetLineItem as TargetLineItem, type context$f_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type TaxableAddress$3 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$3 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$3 as TaxableAddressType, type context$f_Title as Title, type context$f_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type context$f_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type context$f_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type context$f_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type context$f_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type context$f_Violation as Violation, type context$f_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$5 as WeightUnit, type context$f__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type context$f__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type context$f__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type context$f__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, context$f_createAndRedirectToCheckout as createAndRedirectToCheckout, context$f_createCheckoutFromTemplate as createCheckoutFromTemplate, context$f_createCheckoutTemplate as createCheckoutTemplate, context$f_deleteCheckoutTemplate as deleteCheckoutTemplate, context$f_getCheckoutTemplate as getCheckoutTemplate, context$f_onCheckoutTemplateCreated as onCheckoutTemplateCreated, context$f_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, context$f_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, context$f_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, context$f_queryCheckoutTemplates as queryCheckoutTemplates, context$f_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
17147
|
+
export { type ActionEvent$c as ActionEvent, type AdditionalFee$3 as AdditionalFee, type Address$7 as Address, type AddressLocation$6 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type ApplicationError$8 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$7 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type context$f_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$4 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type context$f_Checkout as Checkout, type context$f_CheckoutCustomization as CheckoutCustomization, type context$f_CheckoutTemplate as CheckoutTemplate, type context$f_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type context$f_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type context$f_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type context$f_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type context$f_CheckoutTemplateUsed as CheckoutTemplateUsed, type context$f_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type context$f_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type context$f_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type context$f_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type context$f_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type context$f_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type context$f_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type context$f_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type context$f_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type context$f_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type context$f_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type context$f_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$9 as CursorPaging, type CursorPagingMetadata$9 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$9 as Cursors, type context$f_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type context$f_CustomSettings as CustomSettings, type context$f_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type context$f_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type context$f_Description as Description, type DescriptionLine$2 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$2 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$2 as DescriptionLineName, DescriptionLineType$2 as DescriptionLineType, type DescriptionLineValueOneOf$2 as DescriptionLineValueOneOf, type Details$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$c as DomainEvent, type DomainEventBodyOneOf$c as DomainEventBodyOneOf, type EntityCreatedEvent$c as EntityCreatedEvent, type EntityDeletedEvent$c as EntityDeletedEvent, type EntityUpdatedEvent$c as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$f_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type context$f_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type context$f_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type context$f_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type context$f_ItemAvailabilityInfo as ItemAvailabilityInfo, context$f_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$3 as ItemTaxFullDetails, type ItemType$3 as ItemType, ItemTypeItemType$3 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$3 as ItemTypeItemTypeDataOneOf, JurisdictionType$3 as JurisdictionType, type LineItem$3 as LineItem, type LineItemDiscount$3 as LineItemDiscount, ManualCalculationReason$1 as ManualCalculationReason, type Membership$1 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MessageEnvelope$b as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, context$f_NameInLineItem as NameInLineItem, context$f_NameInOther as NameInOther, type context$f_Other as Other, type OtherCharge$1 as OtherCharge, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type context$f_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type context$f_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type context$f_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type context$f_RawHttpResponse as RawHttpResponse, type context$f_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$c as RestoreInfo, RuleType$3 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, context$f_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$9 as SortOrder, type Sorting$9 as Sorting, Status$2 as Status, type StreetAddress$6 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, type SystemError$3 as SystemError, type context$f_Target as Target, type context$f_TargetLineItem as TargetLineItem, type context$f_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type TaxableAddress$3 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$3 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$3 as TaxableAddressType, type context$f_Title as Title, type context$f_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type context$f_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type context$f_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type context$f_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type context$f_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type context$f_Violation as Violation, type context$f_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$5 as WeightUnit, type context$f__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type context$f__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type context$f__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type context$f__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, context$f_createAndRedirectToCheckout as createAndRedirectToCheckout, context$f_createCheckoutFromTemplate as createCheckoutFromTemplate, context$f_createCheckoutTemplate as createCheckoutTemplate, context$f_deleteCheckoutTemplate as deleteCheckoutTemplate, context$f_getCheckoutTemplate as getCheckoutTemplate, context$f_onCheckoutTemplateCreated as onCheckoutTemplateCreated, context$f_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, context$f_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, context$f_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, context$f_queryCheckoutTemplates as queryCheckoutTemplates, context$f_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
17148
17148
|
}
|
|
17149
17149
|
|
|
17150
17150
|
/**
|
|
@@ -17325,7 +17325,7 @@ interface QueryDeliveryProfilesRequest {
|
|
|
17325
17325
|
}
|
|
17326
17326
|
interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
17327
17327
|
/** 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`. */
|
|
17328
|
-
cursorPaging?: CursorPaging$
|
|
17328
|
+
cursorPaging?: CursorPaging$8;
|
|
17329
17329
|
/**
|
|
17330
17330
|
* Filter object in the following format:
|
|
17331
17331
|
* `"filter" : {
|
|
@@ -17339,24 +17339,24 @@ interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
|
17339
17339
|
* Sort object in the following format:
|
|
17340
17340
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
17341
17341
|
*/
|
|
17342
|
-
sort?: Sorting$
|
|
17342
|
+
sort?: Sorting$8[];
|
|
17343
17343
|
}
|
|
17344
17344
|
/** @oneof */
|
|
17345
17345
|
interface CursorQueryPagingMethodOneOf$5 {
|
|
17346
17346
|
/** 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`. */
|
|
17347
|
-
cursorPaging?: CursorPaging$
|
|
17347
|
+
cursorPaging?: CursorPaging$8;
|
|
17348
17348
|
}
|
|
17349
|
-
interface Sorting$
|
|
17349
|
+
interface Sorting$8 {
|
|
17350
17350
|
/** Name of the field to sort by. */
|
|
17351
17351
|
fieldName?: string;
|
|
17352
17352
|
/** Sort order. */
|
|
17353
|
-
order?: SortOrder$
|
|
17353
|
+
order?: SortOrder$8;
|
|
17354
17354
|
}
|
|
17355
|
-
declare enum SortOrder$
|
|
17355
|
+
declare enum SortOrder$8 {
|
|
17356
17356
|
ASC = "ASC",
|
|
17357
17357
|
DESC = "DESC"
|
|
17358
17358
|
}
|
|
17359
|
-
interface CursorPaging$
|
|
17359
|
+
interface CursorPaging$8 {
|
|
17360
17360
|
/** Maximum number of items to return in the results. */
|
|
17361
17361
|
limit?: number | null;
|
|
17362
17362
|
/**
|
|
@@ -17371,13 +17371,13 @@ interface QueryDeliveryProfilesResponse {
|
|
|
17371
17371
|
/** List of DeliveryProfiles. */
|
|
17372
17372
|
deliveryProfiles?: DeliveryProfile[];
|
|
17373
17373
|
/** Paging metadata */
|
|
17374
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
17374
|
+
pagingMetadata?: CursorPagingMetadata$8;
|
|
17375
17375
|
}
|
|
17376
|
-
interface CursorPagingMetadata$
|
|
17376
|
+
interface CursorPagingMetadata$8 {
|
|
17377
17377
|
/** Number of items returned in the response. */
|
|
17378
17378
|
count?: number | null;
|
|
17379
17379
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
17380
|
-
cursors?: Cursors$
|
|
17380
|
+
cursors?: Cursors$8;
|
|
17381
17381
|
/**
|
|
17382
17382
|
* Whether there are more pages to retrieve following the current page.
|
|
17383
17383
|
*
|
|
@@ -17386,13 +17386,13 @@ interface CursorPagingMetadata$7 {
|
|
|
17386
17386
|
*/
|
|
17387
17387
|
hasNext?: boolean | null;
|
|
17388
17388
|
}
|
|
17389
|
-
interface Cursors$
|
|
17389
|
+
interface Cursors$8 {
|
|
17390
17390
|
/** Cursor string pointing to the next page in the list of results. */
|
|
17391
17391
|
next?: string | null;
|
|
17392
17392
|
/** Cursor pointing to the previous page in the list of results. */
|
|
17393
17393
|
prev?: string | null;
|
|
17394
17394
|
}
|
|
17395
|
-
interface AddDeliveryRegionRequest$
|
|
17395
|
+
interface AddDeliveryRegionRequest$2 {
|
|
17396
17396
|
/** delivery profile id to associated with the DeliveryRegion */
|
|
17397
17397
|
deliveryProfileId: string;
|
|
17398
17398
|
/** DeliveryRegion to be created */
|
|
@@ -17403,7 +17403,7 @@ interface AddDeliveryRegionRequest$1 {
|
|
|
17403
17403
|
*/
|
|
17404
17404
|
revision?: string | null;
|
|
17405
17405
|
}
|
|
17406
|
-
interface AddDeliveryRegionResponse$
|
|
17406
|
+
interface AddDeliveryRegionResponse$2 {
|
|
17407
17407
|
/** The updated DeliveryProfile with the new DeliveryRegion */
|
|
17408
17408
|
deliveryProfile?: DeliveryProfile;
|
|
17409
17409
|
}
|
|
@@ -17447,7 +17447,7 @@ interface DeliveryRegionUpdated {
|
|
|
17447
17447
|
*/
|
|
17448
17448
|
_createdDate?: Date | null;
|
|
17449
17449
|
}
|
|
17450
|
-
interface RemoveDeliveryRegionRequest$
|
|
17450
|
+
interface RemoveDeliveryRegionRequest$2 {
|
|
17451
17451
|
/** DeliveryProfile id that owns the DeliveryRegion */
|
|
17452
17452
|
deliveryProfileId: string;
|
|
17453
17453
|
/** Id of the DeliveryRegion to delete */
|
|
@@ -17458,7 +17458,7 @@ interface RemoveDeliveryRegionRequest$1 {
|
|
|
17458
17458
|
*/
|
|
17459
17459
|
revision?: string | null;
|
|
17460
17460
|
}
|
|
17461
|
-
interface RemoveDeliveryRegionResponse$
|
|
17461
|
+
interface RemoveDeliveryRegionResponse$2 {
|
|
17462
17462
|
/** The updated DeliveryProfile without DeliveryRegion */
|
|
17463
17463
|
deliveryProfile?: DeliveryProfile;
|
|
17464
17464
|
}
|
|
@@ -18027,13 +18027,13 @@ interface UpdateDeliveryProfileResponseNonNullableFields {
|
|
|
18027
18027
|
interface QueryDeliveryProfilesResponseNonNullableFields {
|
|
18028
18028
|
deliveryProfiles: DeliveryProfileNonNullableFields[];
|
|
18029
18029
|
}
|
|
18030
|
-
interface AddDeliveryRegionResponseNonNullableFields$
|
|
18030
|
+
interface AddDeliveryRegionResponseNonNullableFields$2 {
|
|
18031
18031
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18032
18032
|
}
|
|
18033
18033
|
interface UpdateDeliveryRegionResponseNonNullableFields {
|
|
18034
18034
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18035
18035
|
}
|
|
18036
|
-
interface RemoveDeliveryRegionResponseNonNullableFields$
|
|
18036
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$2 {
|
|
18037
18037
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18038
18038
|
}
|
|
18039
18039
|
interface AddDeliveryCarrierResponseNonNullableFields {
|
|
@@ -18094,7 +18094,7 @@ interface ListDeliveryCarriersResponseNonNullableFields {
|
|
|
18094
18094
|
interface UpdateExtendedFieldsResponseNonNullableFields$3 {
|
|
18095
18095
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18096
18096
|
}
|
|
18097
|
-
interface BaseEventMetadata$
|
|
18097
|
+
interface BaseEventMetadata$6 {
|
|
18098
18098
|
/** App instance ID. */
|
|
18099
18099
|
instanceId?: string | null;
|
|
18100
18100
|
/** Event type. */
|
|
@@ -18102,7 +18102,7 @@ interface BaseEventMetadata$7 {
|
|
|
18102
18102
|
/** The identification type and identity data. */
|
|
18103
18103
|
identity?: IdentificationData$a;
|
|
18104
18104
|
}
|
|
18105
|
-
interface EventMetadata$
|
|
18105
|
+
interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
18106
18106
|
/**
|
|
18107
18107
|
* Unique event ID.
|
|
18108
18108
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -18142,27 +18142,27 @@ interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
|
18142
18142
|
}
|
|
18143
18143
|
interface DeliveryProfileCreatedEnvelope {
|
|
18144
18144
|
entity: DeliveryProfile;
|
|
18145
|
-
metadata: EventMetadata$
|
|
18145
|
+
metadata: EventMetadata$6;
|
|
18146
18146
|
}
|
|
18147
18147
|
interface DeliveryProfileDeliveryRegionAddedEnvelope {
|
|
18148
18148
|
data: DeliveryRegionAdded;
|
|
18149
|
-
metadata: EventMetadata$
|
|
18149
|
+
metadata: EventMetadata$6;
|
|
18150
18150
|
}
|
|
18151
18151
|
interface DeliveryProfileUpdatedEnvelope {
|
|
18152
18152
|
entity: DeliveryProfile;
|
|
18153
|
-
metadata: EventMetadata$
|
|
18153
|
+
metadata: EventMetadata$6;
|
|
18154
18154
|
}
|
|
18155
18155
|
interface DeliveryProfileDeletedEnvelope {
|
|
18156
18156
|
entity: DeliveryProfile;
|
|
18157
|
-
metadata: EventMetadata$
|
|
18157
|
+
metadata: EventMetadata$6;
|
|
18158
18158
|
}
|
|
18159
18159
|
interface DeliveryProfileDeliveryRegionRemovedEnvelope {
|
|
18160
18160
|
data: DeliveryRegionRemoved;
|
|
18161
|
-
metadata: EventMetadata$
|
|
18161
|
+
metadata: EventMetadata$6;
|
|
18162
18162
|
}
|
|
18163
18163
|
interface DeliveryProfileDeliveryRegionUpdatedEnvelope {
|
|
18164
18164
|
data: DeliveryRegionUpdated;
|
|
18165
|
-
metadata: EventMetadata$
|
|
18165
|
+
metadata: EventMetadata$6;
|
|
18166
18166
|
}
|
|
18167
18167
|
interface UpdateDeliveryProfile {
|
|
18168
18168
|
/**
|
|
@@ -18197,14 +18197,14 @@ interface UpdateDeliveryProfile {
|
|
|
18197
18197
|
/** Extended fields. */
|
|
18198
18198
|
extendedFields?: ExtendedFields$5;
|
|
18199
18199
|
}
|
|
18200
|
-
interface QueryCursorResult$
|
|
18201
|
-
cursors: Cursors$
|
|
18200
|
+
interface QueryCursorResult$6 {
|
|
18201
|
+
cursors: Cursors$8;
|
|
18202
18202
|
hasNext: () => boolean;
|
|
18203
18203
|
hasPrev: () => boolean;
|
|
18204
18204
|
length: number;
|
|
18205
18205
|
pageSize: number;
|
|
18206
18206
|
}
|
|
18207
|
-
interface DeliveryProfilesQueryResult extends QueryCursorResult$
|
|
18207
|
+
interface DeliveryProfilesQueryResult extends QueryCursorResult$6 {
|
|
18208
18208
|
items: DeliveryProfile[];
|
|
18209
18209
|
query: DeliveryProfilesQueryBuilder;
|
|
18210
18210
|
next: () => Promise<DeliveryProfilesQueryResult>;
|
|
@@ -18274,7 +18274,7 @@ interface DeliveryProfilesQueryBuilder {
|
|
|
18274
18274
|
/** @documentationMaturity preview */
|
|
18275
18275
|
find: () => Promise<DeliveryProfilesQueryResult>;
|
|
18276
18276
|
}
|
|
18277
|
-
interface AddDeliveryRegionOptions$
|
|
18277
|
+
interface AddDeliveryRegionOptions$2 {
|
|
18278
18278
|
/**
|
|
18279
18279
|
* DeliveryProfile revision.
|
|
18280
18280
|
* @readonly
|
|
@@ -18326,7 +18326,7 @@ interface RemoveDeliveryRegionIdentifiers {
|
|
|
18326
18326
|
/** Id of the DeliveryRegion to delete */
|
|
18327
18327
|
deliveryRegionId: string;
|
|
18328
18328
|
}
|
|
18329
|
-
interface RemoveDeliveryRegionOptions$
|
|
18329
|
+
interface RemoveDeliveryRegionOptions$2 {
|
|
18330
18330
|
/**
|
|
18331
18331
|
* DeliveryProfile revision.
|
|
18332
18332
|
* @readonly
|
|
@@ -18417,14 +18417,14 @@ interface QueryDeliveryProfilesSignature {
|
|
|
18417
18417
|
*/
|
|
18418
18418
|
(): DeliveryProfilesQueryBuilder;
|
|
18419
18419
|
}
|
|
18420
|
-
declare function addDeliveryRegion$
|
|
18421
|
-
interface AddDeliveryRegionSignature$
|
|
18420
|
+
declare function addDeliveryRegion$5(httpClient: HttpClient): AddDeliveryRegionSignature$2;
|
|
18421
|
+
interface AddDeliveryRegionSignature$2 {
|
|
18422
18422
|
/**
|
|
18423
18423
|
* Creates a new DeliveryRegion in an existing DeliveryProfile.
|
|
18424
18424
|
* @param - delivery profile id to associated with the DeliveryRegion
|
|
18425
18425
|
* @param - DeliveryRegion to be created
|
|
18426
18426
|
*/
|
|
18427
|
-
(deliveryProfileId: string, deliveryRegion: DeliveryRegion, options?: AddDeliveryRegionOptions$
|
|
18427
|
+
(deliveryProfileId: string, deliveryRegion: DeliveryRegion, options?: AddDeliveryRegionOptions$2 | undefined): Promise<AddDeliveryRegionResponse$2 & AddDeliveryRegionResponseNonNullableFields$2>;
|
|
18428
18428
|
}
|
|
18429
18429
|
declare function updateDeliveryRegion$1(httpClient: HttpClient): UpdateDeliveryRegionSignature;
|
|
18430
18430
|
interface UpdateDeliveryRegionSignature {
|
|
@@ -18437,12 +18437,12 @@ interface UpdateDeliveryRegionSignature {
|
|
|
18437
18437
|
*/
|
|
18438
18438
|
(identifiers: UpdateDeliveryRegionIdentifiers, deliveryRegion: UpdateDeliveryRegion, options?: UpdateDeliveryRegionOptions | undefined): Promise<UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields>;
|
|
18439
18439
|
}
|
|
18440
|
-
declare function removeDeliveryRegion$
|
|
18441
|
-
interface RemoveDeliveryRegionSignature$
|
|
18440
|
+
declare function removeDeliveryRegion$5(httpClient: HttpClient): RemoveDeliveryRegionSignature$2;
|
|
18441
|
+
interface RemoveDeliveryRegionSignature$2 {
|
|
18442
18442
|
/**
|
|
18443
18443
|
* Delete a DeliveryRegion
|
|
18444
18444
|
*/
|
|
18445
|
-
(identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions$
|
|
18445
|
+
(identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions$2 | undefined): Promise<RemoveDeliveryRegionResponse$2 & RemoveDeliveryRegionResponseNonNullableFields$2>;
|
|
18446
18446
|
}
|
|
18447
18447
|
declare function addDeliveryCarrier$1(httpClient: HttpClient): AddDeliveryCarrierSignature;
|
|
18448
18448
|
interface AddDeliveryCarrierSignature {
|
|
@@ -18500,16 +18500,16 @@ declare const onDeliveryProfileDeleted$1: EventDefinition<DeliveryProfileDeleted
|
|
|
18500
18500
|
declare const onDeliveryProfileDeliveryRegionRemoved$1: EventDefinition<DeliveryProfileDeliveryRegionRemovedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_removed">;
|
|
18501
18501
|
declare const onDeliveryProfileDeliveryRegionUpdated$1: EventDefinition<DeliveryProfileDeliveryRegionUpdatedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_updated">;
|
|
18502
18502
|
|
|
18503
|
-
declare function createEventModule$
|
|
18503
|
+
declare function createEventModule$6<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
18504
18504
|
|
|
18505
18505
|
declare const createDeliveryProfile: MaybeContext<BuildRESTFunction<typeof createDeliveryProfile$1> & typeof createDeliveryProfile$1>;
|
|
18506
18506
|
declare const getDeliveryProfile: MaybeContext<BuildRESTFunction<typeof getDeliveryProfile$1> & typeof getDeliveryProfile$1>;
|
|
18507
18507
|
declare const updateDeliveryProfile: MaybeContext<BuildRESTFunction<typeof updateDeliveryProfile$1> & typeof updateDeliveryProfile$1>;
|
|
18508
18508
|
declare const deleteDeliveryProfile: MaybeContext<BuildRESTFunction<typeof deleteDeliveryProfile$1> & typeof deleteDeliveryProfile$1>;
|
|
18509
18509
|
declare const queryDeliveryProfiles: MaybeContext<BuildRESTFunction<typeof queryDeliveryProfiles$1> & typeof queryDeliveryProfiles$1>;
|
|
18510
|
-
declare const addDeliveryRegion$
|
|
18510
|
+
declare const addDeliveryRegion$4: MaybeContext<BuildRESTFunction<typeof addDeliveryRegion$5> & typeof addDeliveryRegion$5>;
|
|
18511
18511
|
declare const updateDeliveryRegion: MaybeContext<BuildRESTFunction<typeof updateDeliveryRegion$1> & typeof updateDeliveryRegion$1>;
|
|
18512
|
-
declare const removeDeliveryRegion$
|
|
18512
|
+
declare const removeDeliveryRegion$4: MaybeContext<BuildRESTFunction<typeof removeDeliveryRegion$5> & typeof removeDeliveryRegion$5>;
|
|
18513
18513
|
declare const addDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof addDeliveryCarrier$1> & typeof addDeliveryCarrier$1>;
|
|
18514
18514
|
declare const removeDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof removeDeliveryCarrier$1> & typeof removeDeliveryCarrier$1>;
|
|
18515
18515
|
declare const updateDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof updateDeliveryCarrier$1> & typeof updateDeliveryCarrier$1>;
|
|
@@ -18519,35 +18519,35 @@ declare const updateExtendedFields$6: MaybeContext<BuildRESTFunction<typeof upda
|
|
|
18519
18519
|
|
|
18520
18520
|
type _publicOnDeliveryProfileCreatedType = typeof onDeliveryProfileCreated$1;
|
|
18521
18521
|
/** */
|
|
18522
|
-
declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$
|
|
18522
|
+
declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileCreatedType>>;
|
|
18523
18523
|
|
|
18524
18524
|
type _publicOnDeliveryProfileDeliveryRegionAddedType = typeof onDeliveryProfileDeliveryRegionAdded$1;
|
|
18525
18525
|
/**
|
|
18526
18526
|
* Triggered when a delivery_region is added to a delivery_profile.
|
|
18527
18527
|
*/
|
|
18528
|
-
declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$
|
|
18528
|
+
declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileDeliveryRegionAddedType>>;
|
|
18529
18529
|
|
|
18530
18530
|
type _publicOnDeliveryProfileUpdatedType = typeof onDeliveryProfileUpdated$1;
|
|
18531
18531
|
/**
|
|
18532
18532
|
* Triggered when the delivery_carrier updated successfully
|
|
18533
18533
|
*/
|
|
18534
|
-
declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$
|
|
18534
|
+
declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileUpdatedType>>;
|
|
18535
18535
|
|
|
18536
18536
|
type _publicOnDeliveryProfileDeletedType = typeof onDeliveryProfileDeleted$1;
|
|
18537
18537
|
/** */
|
|
18538
|
-
declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$
|
|
18538
|
+
declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileDeletedType>>;
|
|
18539
18539
|
|
|
18540
18540
|
type _publicOnDeliveryProfileDeliveryRegionRemovedType = typeof onDeliveryProfileDeliveryRegionRemoved$1;
|
|
18541
18541
|
/**
|
|
18542
18542
|
* Triggered for each delivery_region assigned to the deleted delivery_profile
|
|
18543
18543
|
*/
|
|
18544
|
-
declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$
|
|
18544
|
+
declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileDeliveryRegionRemovedType>>;
|
|
18545
18545
|
|
|
18546
18546
|
type _publicOnDeliveryProfileDeliveryRegionUpdatedType = typeof onDeliveryProfileDeliveryRegionUpdated$1;
|
|
18547
18547
|
/**
|
|
18548
18548
|
* Triggered when the delivery_carrier updated successfully
|
|
18549
18549
|
*/
|
|
18550
|
-
declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$
|
|
18550
|
+
declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileDeliveryRegionUpdatedType>>;
|
|
18551
18551
|
|
|
18552
18552
|
type context$e_AddDeliveryCarrierOptions = AddDeliveryCarrierOptions;
|
|
18553
18553
|
type context$e_AddDeliveryCarrierRequest = AddDeliveryCarrierRequest;
|
|
@@ -18659,7 +18659,7 @@ declare const context$e_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
|
18659
18659
|
declare const context$e_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
18660
18660
|
declare const context$e_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
18661
18661
|
declare namespace context$e {
|
|
18662
|
-
export { type ActionEvent$b as ActionEvent, type context$e_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type context$e_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type context$e_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type context$e_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type AddDeliveryRegionOptions$1 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$1 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$1 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$1 as AddDeliveryRegionResponseNonNullableFields, type AdditionalCharge$1 as AdditionalCharge, type ApplicationError$7 as ApplicationError, type context$e_Asset as Asset, type context$e_BackupRate as BackupRate, type BaseEventMetadata$7 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type context$e_Column as Column, type context$e_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type context$e_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type context$e_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$7 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$7 as Cursors, type context$e_DashboardTable as DashboardTable, type context$e_DeleteContext as DeleteContext, type context$e_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type context$e_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, context$e_DeleteStatus as DeleteStatus, type context$e_DeliveryCarrier as DeliveryCarrier, type context$e_DeliveryCarrierDetails as DeliveryCarrierDetails, type context$e_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type context$e_DeliveryProfile as DeliveryProfile, type context$e_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type context$e_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type context$e_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type context$e_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type context$e_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type context$e_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type context$e_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type context$e_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type context$e_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type context$e_DeliveryRegion as DeliveryRegion, type context$e_DeliveryRegionAdded as DeliveryRegionAdded, type context$e_DeliveryRegionRemoved as DeliveryRegionRemoved, type context$e_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type ExtendedFields$5 as ExtendedFields, type context$e_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type context$e_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type context$e_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type context$e_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type context$e_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type context$e_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type context$e_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type context$e_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type context$e_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type context$e_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type context$e_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$a as MessageEnvelope, type context$e_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$e_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type context$e_NamespaceChanged as NamespaceChanged, type context$e_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type context$e_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type context$e_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type context$e_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type context$e_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type context$e_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type context$e_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type context$e_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions$1 as RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest$1 as RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse$1 as RemoveDeliveryRegionResponse, type RemoveDeliveryRegionResponseNonNullableFields$1 as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$b as RestoreInfo, type context$e_Row as Row, type context$e_ServiceProvisioned as ServiceProvisioned, type context$e_ServiceRemoved as ServiceRemoved, type context$e_SiteCreated as SiteCreated, context$e_SiteCreatedContext as SiteCreatedContext, type context$e_SiteDeleted as SiteDeleted, type context$e_SiteHardDeleted as SiteHardDeleted, type context$e_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$e_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$e_SitePublished as SitePublished, type context$e_SiteRenamed as SiteRenamed, type context$e_SiteTransferred as SiteTransferred, type context$e_SiteUndeleted as SiteUndeleted, type context$e_SiteUnpublished as SiteUnpublished, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, State$1 as State, type context$e_StudioAssigned as StudioAssigned, type context$e_StudioUnassigned as StudioUnassigned, type context$e_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type context$e_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type context$e_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type context$e_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type context$e_UpdateDeliveryProfile as UpdateDeliveryProfile, type context$e_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type context$e_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type context$e_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type context$e_UpdateDeliveryRegion as UpdateDeliveryRegion, type context$e_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type context$e_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type context$e_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type context$e_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type context$e_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$a as WebhookIdentityType, type context$e__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type context$e__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type context$e__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type context$e__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type context$e__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type context$e__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, context$e_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$2 as addDeliveryRegion, context$e_createDeliveryProfile as createDeliveryProfile, context$e_deleteDeliveryProfile as deleteDeliveryProfile, context$e_getDeliveryProfile as getDeliveryProfile, context$e_listDeliveryCarrierDetails as listDeliveryCarrierDetails, context$e_listDeliveryCarriers as listDeliveryCarriers, context$e_onDeliveryProfileCreated as onDeliveryProfileCreated, context$e_onDeliveryProfileDeleted as onDeliveryProfileDeleted, context$e_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, context$e_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, context$e_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, context$e_onDeliveryProfileUpdated as onDeliveryProfileUpdated, onDeliveryProfileCreated$1 as publicOnDeliveryProfileCreated, onDeliveryProfileDeleted$1 as publicOnDeliveryProfileDeleted, onDeliveryProfileDeliveryRegionAdded$1 as publicOnDeliveryProfileDeliveryRegionAdded, onDeliveryProfileDeliveryRegionRemoved$1 as publicOnDeliveryProfileDeliveryRegionRemoved, onDeliveryProfileDeliveryRegionUpdated$1 as publicOnDeliveryProfileDeliveryRegionUpdated, onDeliveryProfileUpdated$1 as publicOnDeliveryProfileUpdated, context$e_queryDeliveryProfiles as queryDeliveryProfiles, context$e_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$2 as removeDeliveryRegion, context$e_updateDeliveryCarrier as updateDeliveryCarrier, context$e_updateDeliveryProfile as updateDeliveryProfile, context$e_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18662
|
+
export { type ActionEvent$b as ActionEvent, type context$e_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type context$e_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type context$e_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type context$e_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type AddDeliveryRegionOptions$2 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$2 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$2 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$2 as AddDeliveryRegionResponseNonNullableFields, type AdditionalCharge$1 as AdditionalCharge, type ApplicationError$7 as ApplicationError, type context$e_Asset as Asset, type context$e_BackupRate as BackupRate, type BaseEventMetadata$6 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type context$e_Column as Column, type context$e_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type context$e_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type context$e_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$8 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$8 as Cursors, type context$e_DashboardTable as DashboardTable, type context$e_DeleteContext as DeleteContext, type context$e_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type context$e_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, context$e_DeleteStatus as DeleteStatus, type context$e_DeliveryCarrier as DeliveryCarrier, type context$e_DeliveryCarrierDetails as DeliveryCarrierDetails, type context$e_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type context$e_DeliveryProfile as DeliveryProfile, type context$e_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type context$e_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type context$e_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type context$e_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type context$e_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type context$e_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type context$e_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type context$e_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type context$e_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type context$e_DeliveryRegion as DeliveryRegion, type context$e_DeliveryRegionAdded as DeliveryRegionAdded, type context$e_DeliveryRegionRemoved as DeliveryRegionRemoved, type context$e_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type ExtendedFields$5 as ExtendedFields, type context$e_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type context$e_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type context$e_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type context$e_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type context$e_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type context$e_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type context$e_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type context$e_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type context$e_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type context$e_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type context$e_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$a as MessageEnvelope, type context$e_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$e_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type context$e_NamespaceChanged as NamespaceChanged, type context$e_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type context$e_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type context$e_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type context$e_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type context$e_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type context$e_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type context$e_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type context$e_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions$2 as RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest$2 as RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse$2 as RemoveDeliveryRegionResponse, type RemoveDeliveryRegionResponseNonNullableFields$2 as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$b as RestoreInfo, type context$e_Row as Row, type context$e_ServiceProvisioned as ServiceProvisioned, type context$e_ServiceRemoved as ServiceRemoved, type context$e_SiteCreated as SiteCreated, context$e_SiteCreatedContext as SiteCreatedContext, type context$e_SiteDeleted as SiteDeleted, type context$e_SiteHardDeleted as SiteHardDeleted, type context$e_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$e_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$e_SitePublished as SitePublished, type context$e_SiteRenamed as SiteRenamed, type context$e_SiteTransferred as SiteTransferred, type context$e_SiteUndeleted as SiteUndeleted, type context$e_SiteUnpublished as SiteUnpublished, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, State$1 as State, type context$e_StudioAssigned as StudioAssigned, type context$e_StudioUnassigned as StudioUnassigned, type context$e_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type context$e_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type context$e_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type context$e_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type context$e_UpdateDeliveryProfile as UpdateDeliveryProfile, type context$e_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type context$e_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type context$e_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type context$e_UpdateDeliveryRegion as UpdateDeliveryRegion, type context$e_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type context$e_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type context$e_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type context$e_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type context$e_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$a as WebhookIdentityType, type context$e__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type context$e__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type context$e__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type context$e__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type context$e__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type context$e__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, context$e_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, context$e_createDeliveryProfile as createDeliveryProfile, context$e_deleteDeliveryProfile as deleteDeliveryProfile, context$e_getDeliveryProfile as getDeliveryProfile, context$e_listDeliveryCarrierDetails as listDeliveryCarrierDetails, context$e_listDeliveryCarriers as listDeliveryCarriers, context$e_onDeliveryProfileCreated as onDeliveryProfileCreated, context$e_onDeliveryProfileDeleted as onDeliveryProfileDeleted, context$e_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, context$e_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, context$e_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, context$e_onDeliveryProfileUpdated as onDeliveryProfileUpdated, onDeliveryProfileCreated$1 as publicOnDeliveryProfileCreated, onDeliveryProfileDeleted$1 as publicOnDeliveryProfileDeleted, onDeliveryProfileDeliveryRegionAdded$1 as publicOnDeliveryProfileDeliveryRegionAdded, onDeliveryProfileDeliveryRegionRemoved$1 as publicOnDeliveryProfileDeliveryRegionRemoved, onDeliveryProfileDeliveryRegionUpdated$1 as publicOnDeliveryProfileDeliveryRegionUpdated, onDeliveryProfileUpdated$1 as publicOnDeliveryProfileUpdated, context$e_queryDeliveryProfiles as queryDeliveryProfiles, context$e_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, context$e_updateDeliveryCarrier as updateDeliveryCarrier, context$e_updateDeliveryProfile as updateDeliveryProfile, context$e_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18663
18663
|
}
|
|
18664
18664
|
|
|
18665
18665
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -20916,7 +20916,7 @@ interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
|
20916
20916
|
*
|
|
20917
20917
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
20918
20918
|
*/
|
|
20919
|
-
cursorPaging?: CursorPaging$
|
|
20919
|
+
cursorPaging?: CursorPaging$7;
|
|
20920
20920
|
/**
|
|
20921
20921
|
* Filter object.
|
|
20922
20922
|
*
|
|
@@ -20928,7 +20928,7 @@ interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
|
20928
20928
|
*
|
|
20929
20929
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
20930
20930
|
*/
|
|
20931
|
-
sort?: Sorting$
|
|
20931
|
+
sort?: Sorting$7[];
|
|
20932
20932
|
}
|
|
20933
20933
|
/** @oneof */
|
|
20934
20934
|
interface CursorQueryPagingMethodOneOf$4 {
|
|
@@ -20937,19 +20937,19 @@ interface CursorQueryPagingMethodOneOf$4 {
|
|
|
20937
20937
|
*
|
|
20938
20938
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
20939
20939
|
*/
|
|
20940
|
-
cursorPaging?: CursorPaging$
|
|
20940
|
+
cursorPaging?: CursorPaging$7;
|
|
20941
20941
|
}
|
|
20942
|
-
interface Sorting$
|
|
20942
|
+
interface Sorting$7 {
|
|
20943
20943
|
/** Name of the field to sort by. */
|
|
20944
20944
|
fieldName?: string;
|
|
20945
20945
|
/** Sort order. */
|
|
20946
|
-
order?: SortOrder$
|
|
20946
|
+
order?: SortOrder$7;
|
|
20947
20947
|
}
|
|
20948
|
-
declare enum SortOrder$
|
|
20948
|
+
declare enum SortOrder$7 {
|
|
20949
20949
|
ASC = "ASC",
|
|
20950
20950
|
DESC = "DESC"
|
|
20951
20951
|
}
|
|
20952
|
-
interface CursorPaging$
|
|
20952
|
+
interface CursorPaging$7 {
|
|
20953
20953
|
/** Maximum number of items to return in the results. */
|
|
20954
20954
|
limit?: number | null;
|
|
20955
20955
|
/**
|
|
@@ -20964,13 +20964,13 @@ interface QueryDraftOrdersResponse {
|
|
|
20964
20964
|
/** list of edits per order */
|
|
20965
20965
|
draftOrders?: DraftOrder[];
|
|
20966
20966
|
/** Paging metadata. */
|
|
20967
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
20967
|
+
pagingMetadata?: CursorPagingMetadata$7;
|
|
20968
20968
|
}
|
|
20969
|
-
interface CursorPagingMetadata$
|
|
20969
|
+
interface CursorPagingMetadata$7 {
|
|
20970
20970
|
/** Number of items returned in current page. */
|
|
20971
20971
|
count?: number | null;
|
|
20972
20972
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
20973
|
-
cursors?: Cursors$
|
|
20973
|
+
cursors?: Cursors$7;
|
|
20974
20974
|
/**
|
|
20975
20975
|
* Whether there are more pages to retrieve following the current page.
|
|
20976
20976
|
*
|
|
@@ -20979,7 +20979,7 @@ interface CursorPagingMetadata$6 {
|
|
|
20979
20979
|
*/
|
|
20980
20980
|
hasNext?: boolean | null;
|
|
20981
20981
|
}
|
|
20982
|
-
interface Cursors$
|
|
20982
|
+
interface Cursors$7 {
|
|
20983
20983
|
/** Cursor string pointing to the next page in the list of results. */
|
|
20984
20984
|
next?: string | null;
|
|
20985
20985
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -21783,14 +21783,14 @@ interface CommitDraftOrderOptions {
|
|
|
21783
21783
|
/** Reason for edit, given by user (optional). */
|
|
21784
21784
|
reason?: string | null;
|
|
21785
21785
|
}
|
|
21786
|
-
interface QueryCursorResult$
|
|
21787
|
-
cursors: Cursors$
|
|
21786
|
+
interface QueryCursorResult$5 {
|
|
21787
|
+
cursors: Cursors$7;
|
|
21788
21788
|
hasNext: () => boolean;
|
|
21789
21789
|
hasPrev: () => boolean;
|
|
21790
21790
|
length: number;
|
|
21791
21791
|
pageSize: number;
|
|
21792
21792
|
}
|
|
21793
|
-
interface DraftOrdersQueryResult extends QueryCursorResult$
|
|
21793
|
+
interface DraftOrdersQueryResult extends QueryCursorResult$5 {
|
|
21794
21794
|
items: DraftOrder[];
|
|
21795
21795
|
query: DraftOrdersQueryBuilder;
|
|
21796
21796
|
next: () => Promise<DraftOrdersQueryResult>;
|
|
@@ -22201,7 +22201,7 @@ declare const context$d_setRecipientInfo: typeof setRecipientInfo;
|
|
|
22201
22201
|
declare const context$d_setShippingInfo: typeof setShippingInfo;
|
|
22202
22202
|
declare const context$d_updateLineItems: typeof updateLineItems;
|
|
22203
22203
|
declare namespace context$d {
|
|
22204
|
-
export { type ActionEvent$a as ActionEvent, type Activity$2 as Activity, type ActivityContentOneOf$1 as ActivityContentOneOf, ActivityType$2 as ActivityType, type context$d_AddLineItemsToDraftOrderOptions as AddLineItemsToDraftOrderOptions, type context$d_AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequest, type context$d_AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponse, type context$d_AddLineItemsToDraftOrderResponseNonNullableFields as AddLineItemsToDraftOrderResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type context$d_AdditionalFeeDetails as AdditionalFeeDetails, type context$d_AdditionalFeeOption as AdditionalFeeOption, type Address$6 as Address, type AddressLocation$5 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type ApplicationError$6 as ApplicationError, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, context$d_AppliedDiscountDiscountType as AppliedDiscountDiscountType, AttributionSource$1 as AttributionSource, type AuthorizedPaymentCaptured$1 as AuthorizedPaymentCaptured, type AuthorizedPaymentCreated$1 as AuthorizedPaymentCreated, type AuthorizedPaymentVoided$1 as AuthorizedPaymentVoided, type Balance$1 as Balance, type BalanceSummary$1 as BalanceSummary, type context$d_BillingChangedDetails as BillingChangedDetails, type context$d_BillingDetails as BillingDetails, type context$d_BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOf, type context$d_BuyerChangedDetails as BuyerChangedDetails, type BuyerDetails$1 as BuyerDetails, type context$d_BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOf, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type context$d_CalculatedDraftOrder as CalculatedDraftOrder, type CalculationErrors$1 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$1 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$2 as CarrierError, type CarrierErrors$1 as CarrierErrors, type CatalogReference$3 as CatalogReference, type context$d_CatalogReferenceLineItem as CatalogReferenceLineItem, type ChannelInfo$2 as ChannelInfo, ChannelType$2 as ChannelType, type Color$1 as Color, type context$d_CommitDraftOrderOptions as CommitDraftOrderOptions, type context$d_CommitDraftOrderRequest as CommitDraftOrderRequest, type context$d_CommitDraftOrderResponse as CommitDraftOrderResponse, type context$d_CommitDraftOrderResponseNonNullableFields as CommitDraftOrderResponseNonNullableFields, type Coupon$2 as Coupon, type context$d_CreateCustomAdditionalFeesOptions as CreateCustomAdditionalFeesOptions, type context$d_CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequest, type context$d_CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponse, type context$d_CreateCustomAdditionalFeesResponseNonNullableFields as CreateCustomAdditionalFeesResponseNonNullableFields, type context$d_CreateCustomDiscountsOptions as CreateCustomDiscountsOptions, type context$d_CreateCustomDiscountsRequest as CreateCustomDiscountsRequest, type context$d_CreateCustomDiscountsResponse as CreateCustomDiscountsResponse, type context$d_CreateCustomDiscountsResponseNonNullableFields as CreateCustomDiscountsResponseNonNullableFields, type context$d_CreateDraftOrderRequest as CreateDraftOrderRequest, type context$d_CreateDraftOrderResponse as CreateDraftOrderResponse, type context$d_CreateDraftOrderResponseNonNullableFields as CreateDraftOrderResponseNonNullableFields, type context$d_CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequest, type context$d_CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponse, type context$d_CreateEmptyDraftOrderResponseNonNullableFields as CreateEmptyDraftOrderResponseNonNullableFields, type context$d_CreateOrderFromDraftRequest as CreateOrderFromDraftRequest, type context$d_CreateOrderFromDraftResponse as CreateOrderFromDraftResponse, type context$d_CreateOrderFromDraftResponseNonNullableFields as CreateOrderFromDraftResponseNonNullableFields, type CreatedBy$1 as CreatedBy, type CreatedByStringOneOf$1 as CreatedByStringOneOf, type CreditCardDetails$1 as CreditCardDetails, type CursorPaging$6 as CursorPaging, type CursorPagingMetadata$6 as CursorPagingMetadata, type CursorQuery$4 as CursorQuery, type CursorQueryPagingMethodOneOf$4 as CursorQueryPagingMethodOneOf, type Cursors$6 as Cursors, type CustomActivity$1 as CustomActivity, type CustomField$2 as CustomField, type context$d_CustomLineItem as CustomLineItem, type context$d_DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequest, type context$d_DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponse, type context$d_DeleteCustomAdditionalFeesResponseNonNullableFields as DeleteCustomAdditionalFeesResponseNonNullableFields, type context$d_DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequest, type context$d_DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponse, type context$d_DeleteCustomDiscountsResponseNonNullableFields as DeleteCustomDiscountsResponseNonNullableFields, type context$d_DeleteDraftOrderRequest as DeleteDraftOrderRequest, type context$d_DeleteDraftOrderResponse as DeleteDraftOrderResponse, type DeliveryLogistics$3 as DeliveryLogistics, type DeliveryTimeSlot$3 as DeliveryTimeSlot, type DescriptionLine$1 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$1 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$1 as DescriptionLineName, DescriptionLineType$1 as DescriptionLineType, type DescriptionLineValueOneOf$1 as DescriptionLineValueOneOf, type Details$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DigitalFile$2 as DigitalFile, type context$d_DiscountDetails as DiscountDetails, type context$d_DiscountOption as DiscountOption, type context$d_DiscountOptionDiscountAmountOneOf as DiscountOptionDiscountAmountOneOf, DiscountReason$1 as DiscountReason, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type context$d_DraftOrder as DraftOrder, type DraftOrderChangesApplied$1 as DraftOrderChangesApplied, type DraftOrderCommitSettings$1 as DraftOrderCommitSettings, type context$d_DraftOrdersQueryBuilder as DraftOrdersQueryBuilder, type context$d_DraftOrdersQueryResult as DraftOrdersQueryResult, context$d_EditingStatus as EditingStatus, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, type ExtendedFields$4 as ExtendedFields, type FieldViolation$2 as FieldViolation, context$d_FileType as FileType, FulfillmentStatus$3 as FulfillmentStatus, type FulfillmentStatusesAggregate$1 as FulfillmentStatusesAggregate, type FullAddressContactDetails$2 as FullAddressContactDetails, type context$d_GetDraftEditabilityStatusRequest as GetDraftEditabilityStatusRequest, type context$d_GetDraftEditabilityStatusResponse as GetDraftEditabilityStatusResponse, type context$d_GetDraftOrderRequest as GetDraftOrderRequest, type context$d_GetDraftOrderResponse as GetDraftOrderResponse, type context$d_GetDraftOrderResponseNonNullableFields as GetDraftOrderResponseNonNullableFields, type context$d_GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequest, type context$d_GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponse, type context$d_GetOrderDraftabilityStatusResponseNonNullableFields as GetOrderDraftabilityStatusResponseNonNullableFields, type GiftCardPaymentRefund$1 as GiftCardPaymentRefund, type context$d_IdAndApplied as IdAndApplied, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type context$d_InventoryUpdate as InventoryUpdate, type ItemChangedDetails$1 as ItemChangedDetails, type context$d_ItemDetails as ItemDetails, type context$d_ItemDetailsChangeTypeOneOf as ItemDetailsChangeTypeOneOf, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItemAmount$1 as LineItemAmount, type context$d_LineItemChangeDetails as LineItemChangeDetails, type LineItemChanges$1 as LineItemChanges, type LineItemDiscount$2 as LineItemDiscount, type LineItemExchangeData$1 as LineItemExchangeData, type LineItemPriceChange$1 as LineItemPriceChange, type LineItemQuantityChange$1 as LineItemQuantityChange, LineItemQuantityChangeType$1 as LineItemQuantityChangeType, type LineItemTaxBreakdown$1 as LineItemTaxBreakdown, type LineItemTaxInfo$1 as LineItemTaxInfo, type LocationAndQuantity$1 as LocationAndQuantity, type ManagedAdditionalFee$1 as ManagedAdditionalFee, type ManagedDiscount$1 as ManagedDiscount, type ManagedLineItem$1 as ManagedLineItem, type MembershipPaymentRefund$1 as MembershipPaymentRefund, type MerchantComment$1 as MerchantComment, type MerchantDiscount$2 as MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf$1 as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$9 as MessageEnvelope, type NewExchangeOrderCreated$1 as NewExchangeOrderCreated, context$d_NonDraftableReason as NonDraftableReason, type Order$2 as Order, type OrderChange$1 as OrderChange, type OrderChangeValueOneOf$1 as OrderChangeValueOneOf, type OrderCreateNotifications$1 as OrderCreateNotifications, type context$d_OrderCreateSettings as OrderCreateSettings, type OrderCreatedFromExchange$1 as OrderCreatedFromExchange, type OrderLineItem$1 as OrderLineItem, type OrderRefunded$2 as OrderRefunded, OrderStatus$1 as OrderStatus, type OrderTaxBreakdown$1 as OrderTaxBreakdown, type OrderTaxInfo$1 as OrderTaxInfo, type PaymentCanceled$1 as PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf$1 as PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined$1 as PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf$1 as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$2 as PaymentOptionType, type PaymentPending$1 as PaymentPending, type PaymentPendingPaymentDetailsOneOf$1 as PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed$1 as PaymentRefundFailed, type PaymentRefunded$1 as PaymentRefunded, PaymentStatus$2 as PaymentStatus, type PhysicalProperties$3 as PhysicalProperties, type PickupAddress$2 as PickupAddress, type PickupDetails$4 as PickupDetails, context$d_PickupDetailsPickupMethod as PickupDetailsPickupMethod, PickupMethod$3 as PickupMethod, type PlainTextValue$1 as PlainTextValue, type Price$3 as Price, type PriceDescription$1 as PriceDescription, type PriceSummary$2 as PriceSummary, type ProductName$1 as ProductName, type context$d_QueryDraftOrdersRequest as QueryDraftOrdersRequest, type context$d_QueryDraftOrdersResponse as QueryDraftOrdersResponse, type context$d_QueryDraftOrdersResponseNonNullableFields as QueryDraftOrdersResponseNonNullableFields, type context$d_RecipientInfoChangedDetails as RecipientInfoChangedDetails, type context$d_RecipientInfoDetails as RecipientInfoDetails, type context$d_RecipientInfoDetailsChangeTypeOneOf as RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated$1 as RefundInitiated, type RefundedAsStoreCredit$1 as RefundedAsStoreCredit, type RefundedPayment$1 as RefundedPayment, type RefundedPaymentKindOneOf$1 as RefundedPaymentKindOneOf, type RegularPayment$1 as RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf$1 as RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund$1 as RegularPaymentRefund, type RestoreInfo$a as RestoreInfo, RuleType$2 as RuleType, type SavedPaymentMethod$1 as SavedPaymentMethod, type context$d_SecuredMedia as SecuredMedia, type context$d_SetAdditionalFeesRequest as SetAdditionalFeesRequest, type context$d_SetAdditionalFeesResponse as SetAdditionalFeesResponse, type context$d_SetAdditionalFeesResponseNonNullableFields as SetAdditionalFeesResponseNonNullableFields, type context$d_SetBillingInfoRequest as SetBillingInfoRequest, type context$d_SetBillingInfoResponse as SetBillingInfoResponse, type context$d_SetBillingInfoResponseNonNullableFields as SetBillingInfoResponseNonNullableFields, type context$d_SetBuyerInfoRequest as SetBuyerInfoRequest, type context$d_SetBuyerInfoResponse as SetBuyerInfoResponse, type context$d_SetBuyerInfoResponseNonNullableFields as SetBuyerInfoResponseNonNullableFields, type context$d_SetDiscountsRequest as SetDiscountsRequest, type context$d_SetDiscountsResponse as SetDiscountsResponse, type context$d_SetDiscountsResponseNonNullableFields as SetDiscountsResponseNonNullableFields, type context$d_SetRecipientInfoRequest as SetRecipientInfoRequest, type context$d_SetRecipientInfoResponse as SetRecipientInfoResponse, type context$d_SetRecipientInfoResponseNonNullableFields as SetRecipientInfoResponseNonNullableFields, type context$d_SetShippingInfoRequest as SetShippingInfoRequest, type context$d_SetShippingInfoResponse as SetShippingInfoResponse, type context$d_SetShippingInfoResponseNonNullableFields as SetShippingInfoResponseNonNullableFields, type context$d_SetTaxExemptionRequest as SetTaxExemptionRequest, type context$d_SetTaxExemptionResponse as SetTaxExemptionResponse, type context$d_ShippingChangedDetails as ShippingChangedDetails, type context$d_ShippingDetails as ShippingDetails, type context$d_ShippingDetailsChangeTypeOneOf as ShippingDetailsChangeTypeOneOf, type ShippingInformation$2 as ShippingInformation, type ShippingInformationChange$1 as ShippingInformationChange, type ShippingOption$2 as ShippingOption, type ShippingPrice$2 as ShippingPrice, type ShippingRegion$2 as ShippingRegion, SortOrder$6 as SortOrder, type Sorting$6 as Sorting, SourceType$1 as SourceType, type StreetAddress$5 as StreetAddress, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionInfo$2 as SubscriptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type TagList$1 as TagList, type Tags$1 as Tags, type TaxDetails$1 as TaxDetails, type TaxSummary$2 as TaxSummary, type TaxableAddress$2 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$2 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$2 as TaxableAddressType, type TotalPriceChange$1 as TotalPriceChange, type TranslatedValue$1 as TranslatedValue, type UpdateExtendedFieldsRequest$3 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$3 as UpdateExtendedFieldsResponse, type context$d_UpdateLineItemsOptions as UpdateLineItemsOptions, type context$d_UpdateLineItemsRequest as UpdateLineItemsRequest, type context$d_UpdateLineItemsResponse as UpdateLineItemsResponse, type context$d_UpdateLineItemsResponseNonNullableFields as UpdateLineItemsResponseNonNullableFields, type context$d_UpdateShippingInfoRequest as UpdateShippingInfoRequest, type context$d_UpdateShippingInfoResponse as UpdateShippingInfoResponse, type context$d_V1BalanceSummary as V1BalanceSummary, type context$d_V1CreatedBy as V1CreatedBy, type context$d_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type context$d_V1DeliveryLogistics as V1DeliveryLogistics, type context$d_V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOf, type context$d_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type context$d_V1PickupDetails as V1PickupDetails, type V1ShippingInformation$1 as V1ShippingInformation, type context$d_V1ShippingPrice as V1ShippingPrice, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, WebhookIdentityType$9 as WebhookIdentityType, WeightUnit$4 as WeightUnit, context$d_addLineItemsToDraftOrder as addLineItemsToDraftOrder, context$d_commitDraftOrder as commitDraftOrder, context$d_createCustomAdditionalFees as createCustomAdditionalFees, context$d_createCustomDiscounts as createCustomDiscounts, context$d_createDraftOrder as createDraftOrder, context$d_createEmptyDraftOrder as createEmptyDraftOrder, context$d_createOrderFromDraft as createOrderFromDraft, context$d_deleteCustomAdditionalFees as deleteCustomAdditionalFees, context$d_deleteCustomDiscounts as deleteCustomDiscounts, context$d_deleteDraftOrder as deleteDraftOrder, context$d_getDraftOrder as getDraftOrder, context$d_getOrderDraftabilityStatus as getOrderDraftabilityStatus, context$d_queryDraftOrders as queryDraftOrders, context$d_setAdditionalFees as setAdditionalFees, context$d_setBillingInfo as setBillingInfo, context$d_setBuyerInfo as setBuyerInfo, context$d_setDiscounts as setDiscounts, context$d_setRecipientInfo as setRecipientInfo, context$d_setShippingInfo as setShippingInfo, context$d_updateLineItems as updateLineItems };
|
|
22204
|
+
export { type ActionEvent$a as ActionEvent, type Activity$2 as Activity, type ActivityContentOneOf$1 as ActivityContentOneOf, ActivityType$2 as ActivityType, type context$d_AddLineItemsToDraftOrderOptions as AddLineItemsToDraftOrderOptions, type context$d_AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequest, type context$d_AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponse, type context$d_AddLineItemsToDraftOrderResponseNonNullableFields as AddLineItemsToDraftOrderResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type context$d_AdditionalFeeDetails as AdditionalFeeDetails, type context$d_AdditionalFeeOption as AdditionalFeeOption, type Address$6 as Address, type AddressLocation$5 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type ApplicationError$6 as ApplicationError, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, context$d_AppliedDiscountDiscountType as AppliedDiscountDiscountType, AttributionSource$1 as AttributionSource, type AuthorizedPaymentCaptured$1 as AuthorizedPaymentCaptured, type AuthorizedPaymentCreated$1 as AuthorizedPaymentCreated, type AuthorizedPaymentVoided$1 as AuthorizedPaymentVoided, type Balance$1 as Balance, type BalanceSummary$1 as BalanceSummary, type context$d_BillingChangedDetails as BillingChangedDetails, type context$d_BillingDetails as BillingDetails, type context$d_BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOf, type context$d_BuyerChangedDetails as BuyerChangedDetails, type BuyerDetails$1 as BuyerDetails, type context$d_BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOf, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type context$d_CalculatedDraftOrder as CalculatedDraftOrder, type CalculationErrors$1 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$1 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$2 as CarrierError, type CarrierErrors$1 as CarrierErrors, type CatalogReference$3 as CatalogReference, type context$d_CatalogReferenceLineItem as CatalogReferenceLineItem, type ChannelInfo$2 as ChannelInfo, ChannelType$2 as ChannelType, type Color$1 as Color, type context$d_CommitDraftOrderOptions as CommitDraftOrderOptions, type context$d_CommitDraftOrderRequest as CommitDraftOrderRequest, type context$d_CommitDraftOrderResponse as CommitDraftOrderResponse, type context$d_CommitDraftOrderResponseNonNullableFields as CommitDraftOrderResponseNonNullableFields, type Coupon$2 as Coupon, type context$d_CreateCustomAdditionalFeesOptions as CreateCustomAdditionalFeesOptions, type context$d_CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequest, type context$d_CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponse, type context$d_CreateCustomAdditionalFeesResponseNonNullableFields as CreateCustomAdditionalFeesResponseNonNullableFields, type context$d_CreateCustomDiscountsOptions as CreateCustomDiscountsOptions, type context$d_CreateCustomDiscountsRequest as CreateCustomDiscountsRequest, type context$d_CreateCustomDiscountsResponse as CreateCustomDiscountsResponse, type context$d_CreateCustomDiscountsResponseNonNullableFields as CreateCustomDiscountsResponseNonNullableFields, type context$d_CreateDraftOrderRequest as CreateDraftOrderRequest, type context$d_CreateDraftOrderResponse as CreateDraftOrderResponse, type context$d_CreateDraftOrderResponseNonNullableFields as CreateDraftOrderResponseNonNullableFields, type context$d_CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequest, type context$d_CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponse, type context$d_CreateEmptyDraftOrderResponseNonNullableFields as CreateEmptyDraftOrderResponseNonNullableFields, type context$d_CreateOrderFromDraftRequest as CreateOrderFromDraftRequest, type context$d_CreateOrderFromDraftResponse as CreateOrderFromDraftResponse, type context$d_CreateOrderFromDraftResponseNonNullableFields as CreateOrderFromDraftResponseNonNullableFields, type CreatedBy$1 as CreatedBy, type CreatedByStringOneOf$1 as CreatedByStringOneOf, type CreditCardDetails$1 as CreditCardDetails, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$7 as CursorPagingMetadata, type CursorQuery$4 as CursorQuery, type CursorQueryPagingMethodOneOf$4 as CursorQueryPagingMethodOneOf, type Cursors$7 as Cursors, type CustomActivity$1 as CustomActivity, type CustomField$2 as CustomField, type context$d_CustomLineItem as CustomLineItem, type context$d_DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequest, type context$d_DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponse, type context$d_DeleteCustomAdditionalFeesResponseNonNullableFields as DeleteCustomAdditionalFeesResponseNonNullableFields, type context$d_DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequest, type context$d_DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponse, type context$d_DeleteCustomDiscountsResponseNonNullableFields as DeleteCustomDiscountsResponseNonNullableFields, type context$d_DeleteDraftOrderRequest as DeleteDraftOrderRequest, type context$d_DeleteDraftOrderResponse as DeleteDraftOrderResponse, type DeliveryLogistics$3 as DeliveryLogistics, type DeliveryTimeSlot$3 as DeliveryTimeSlot, type DescriptionLine$1 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$1 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$1 as DescriptionLineName, DescriptionLineType$1 as DescriptionLineType, type DescriptionLineValueOneOf$1 as DescriptionLineValueOneOf, type Details$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DigitalFile$2 as DigitalFile, type context$d_DiscountDetails as DiscountDetails, type context$d_DiscountOption as DiscountOption, type context$d_DiscountOptionDiscountAmountOneOf as DiscountOptionDiscountAmountOneOf, DiscountReason$1 as DiscountReason, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type context$d_DraftOrder as DraftOrder, type DraftOrderChangesApplied$1 as DraftOrderChangesApplied, type DraftOrderCommitSettings$1 as DraftOrderCommitSettings, type context$d_DraftOrdersQueryBuilder as DraftOrdersQueryBuilder, type context$d_DraftOrdersQueryResult as DraftOrdersQueryResult, context$d_EditingStatus as EditingStatus, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, type ExtendedFields$4 as ExtendedFields, type FieldViolation$2 as FieldViolation, context$d_FileType as FileType, FulfillmentStatus$3 as FulfillmentStatus, type FulfillmentStatusesAggregate$1 as FulfillmentStatusesAggregate, type FullAddressContactDetails$2 as FullAddressContactDetails, type context$d_GetDraftEditabilityStatusRequest as GetDraftEditabilityStatusRequest, type context$d_GetDraftEditabilityStatusResponse as GetDraftEditabilityStatusResponse, type context$d_GetDraftOrderRequest as GetDraftOrderRequest, type context$d_GetDraftOrderResponse as GetDraftOrderResponse, type context$d_GetDraftOrderResponseNonNullableFields as GetDraftOrderResponseNonNullableFields, type context$d_GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequest, type context$d_GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponse, type context$d_GetOrderDraftabilityStatusResponseNonNullableFields as GetOrderDraftabilityStatusResponseNonNullableFields, type GiftCardPaymentRefund$1 as GiftCardPaymentRefund, type context$d_IdAndApplied as IdAndApplied, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type context$d_InventoryUpdate as InventoryUpdate, type ItemChangedDetails$1 as ItemChangedDetails, type context$d_ItemDetails as ItemDetails, type context$d_ItemDetailsChangeTypeOneOf as ItemDetailsChangeTypeOneOf, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItemAmount$1 as LineItemAmount, type context$d_LineItemChangeDetails as LineItemChangeDetails, type LineItemChanges$1 as LineItemChanges, type LineItemDiscount$2 as LineItemDiscount, type LineItemExchangeData$1 as LineItemExchangeData, type LineItemPriceChange$1 as LineItemPriceChange, type LineItemQuantityChange$1 as LineItemQuantityChange, LineItemQuantityChangeType$1 as LineItemQuantityChangeType, type LineItemTaxBreakdown$1 as LineItemTaxBreakdown, type LineItemTaxInfo$1 as LineItemTaxInfo, type LocationAndQuantity$1 as LocationAndQuantity, type ManagedAdditionalFee$1 as ManagedAdditionalFee, type ManagedDiscount$1 as ManagedDiscount, type ManagedLineItem$1 as ManagedLineItem, type MembershipPaymentRefund$1 as MembershipPaymentRefund, type MerchantComment$1 as MerchantComment, type MerchantDiscount$2 as MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf$1 as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$9 as MessageEnvelope, type NewExchangeOrderCreated$1 as NewExchangeOrderCreated, context$d_NonDraftableReason as NonDraftableReason, type Order$2 as Order, type OrderChange$1 as OrderChange, type OrderChangeValueOneOf$1 as OrderChangeValueOneOf, type OrderCreateNotifications$1 as OrderCreateNotifications, type context$d_OrderCreateSettings as OrderCreateSettings, type OrderCreatedFromExchange$1 as OrderCreatedFromExchange, type OrderLineItem$1 as OrderLineItem, type OrderRefunded$2 as OrderRefunded, OrderStatus$1 as OrderStatus, type OrderTaxBreakdown$1 as OrderTaxBreakdown, type OrderTaxInfo$1 as OrderTaxInfo, type PaymentCanceled$1 as PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf$1 as PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined$1 as PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf$1 as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$2 as PaymentOptionType, type PaymentPending$1 as PaymentPending, type PaymentPendingPaymentDetailsOneOf$1 as PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed$1 as PaymentRefundFailed, type PaymentRefunded$1 as PaymentRefunded, PaymentStatus$2 as PaymentStatus, type PhysicalProperties$3 as PhysicalProperties, type PickupAddress$2 as PickupAddress, type PickupDetails$4 as PickupDetails, context$d_PickupDetailsPickupMethod as PickupDetailsPickupMethod, PickupMethod$3 as PickupMethod, type PlainTextValue$1 as PlainTextValue, type Price$3 as Price, type PriceDescription$1 as PriceDescription, type PriceSummary$2 as PriceSummary, type ProductName$1 as ProductName, type context$d_QueryDraftOrdersRequest as QueryDraftOrdersRequest, type context$d_QueryDraftOrdersResponse as QueryDraftOrdersResponse, type context$d_QueryDraftOrdersResponseNonNullableFields as QueryDraftOrdersResponseNonNullableFields, type context$d_RecipientInfoChangedDetails as RecipientInfoChangedDetails, type context$d_RecipientInfoDetails as RecipientInfoDetails, type context$d_RecipientInfoDetailsChangeTypeOneOf as RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated$1 as RefundInitiated, type RefundedAsStoreCredit$1 as RefundedAsStoreCredit, type RefundedPayment$1 as RefundedPayment, type RefundedPaymentKindOneOf$1 as RefundedPaymentKindOneOf, type RegularPayment$1 as RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf$1 as RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund$1 as RegularPaymentRefund, type RestoreInfo$a as RestoreInfo, RuleType$2 as RuleType, type SavedPaymentMethod$1 as SavedPaymentMethod, type context$d_SecuredMedia as SecuredMedia, type context$d_SetAdditionalFeesRequest as SetAdditionalFeesRequest, type context$d_SetAdditionalFeesResponse as SetAdditionalFeesResponse, type context$d_SetAdditionalFeesResponseNonNullableFields as SetAdditionalFeesResponseNonNullableFields, type context$d_SetBillingInfoRequest as SetBillingInfoRequest, type context$d_SetBillingInfoResponse as SetBillingInfoResponse, type context$d_SetBillingInfoResponseNonNullableFields as SetBillingInfoResponseNonNullableFields, type context$d_SetBuyerInfoRequest as SetBuyerInfoRequest, type context$d_SetBuyerInfoResponse as SetBuyerInfoResponse, type context$d_SetBuyerInfoResponseNonNullableFields as SetBuyerInfoResponseNonNullableFields, type context$d_SetDiscountsRequest as SetDiscountsRequest, type context$d_SetDiscountsResponse as SetDiscountsResponse, type context$d_SetDiscountsResponseNonNullableFields as SetDiscountsResponseNonNullableFields, type context$d_SetRecipientInfoRequest as SetRecipientInfoRequest, type context$d_SetRecipientInfoResponse as SetRecipientInfoResponse, type context$d_SetRecipientInfoResponseNonNullableFields as SetRecipientInfoResponseNonNullableFields, type context$d_SetShippingInfoRequest as SetShippingInfoRequest, type context$d_SetShippingInfoResponse as SetShippingInfoResponse, type context$d_SetShippingInfoResponseNonNullableFields as SetShippingInfoResponseNonNullableFields, type context$d_SetTaxExemptionRequest as SetTaxExemptionRequest, type context$d_SetTaxExemptionResponse as SetTaxExemptionResponse, type context$d_ShippingChangedDetails as ShippingChangedDetails, type context$d_ShippingDetails as ShippingDetails, type context$d_ShippingDetailsChangeTypeOneOf as ShippingDetailsChangeTypeOneOf, type ShippingInformation$2 as ShippingInformation, type ShippingInformationChange$1 as ShippingInformationChange, type ShippingOption$2 as ShippingOption, type ShippingPrice$2 as ShippingPrice, type ShippingRegion$2 as ShippingRegion, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, SourceType$1 as SourceType, type StreetAddress$5 as StreetAddress, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionInfo$2 as SubscriptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type TagList$1 as TagList, type Tags$1 as Tags, type TaxDetails$1 as TaxDetails, type TaxSummary$2 as TaxSummary, type TaxableAddress$2 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$2 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$2 as TaxableAddressType, type TotalPriceChange$1 as TotalPriceChange, type TranslatedValue$1 as TranslatedValue, type UpdateExtendedFieldsRequest$3 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$3 as UpdateExtendedFieldsResponse, type context$d_UpdateLineItemsOptions as UpdateLineItemsOptions, type context$d_UpdateLineItemsRequest as UpdateLineItemsRequest, type context$d_UpdateLineItemsResponse as UpdateLineItemsResponse, type context$d_UpdateLineItemsResponseNonNullableFields as UpdateLineItemsResponseNonNullableFields, type context$d_UpdateShippingInfoRequest as UpdateShippingInfoRequest, type context$d_UpdateShippingInfoResponse as UpdateShippingInfoResponse, type context$d_V1BalanceSummary as V1BalanceSummary, type context$d_V1CreatedBy as V1CreatedBy, type context$d_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type context$d_V1DeliveryLogistics as V1DeliveryLogistics, type context$d_V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOf, type context$d_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type context$d_V1PickupDetails as V1PickupDetails, type V1ShippingInformation$1 as V1ShippingInformation, type context$d_V1ShippingPrice as V1ShippingPrice, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, WebhookIdentityType$9 as WebhookIdentityType, WeightUnit$4 as WeightUnit, context$d_addLineItemsToDraftOrder as addLineItemsToDraftOrder, context$d_commitDraftOrder as commitDraftOrder, context$d_createCustomAdditionalFees as createCustomAdditionalFees, context$d_createCustomDiscounts as createCustomDiscounts, context$d_createDraftOrder as createDraftOrder, context$d_createEmptyDraftOrder as createEmptyDraftOrder, context$d_createOrderFromDraft as createOrderFromDraft, context$d_deleteCustomAdditionalFees as deleteCustomAdditionalFees, context$d_deleteCustomDiscounts as deleteCustomDiscounts, context$d_deleteDraftOrder as deleteDraftOrder, context$d_getDraftOrder as getDraftOrder, context$d_getOrderDraftabilityStatus as getOrderDraftabilityStatus, context$d_queryDraftOrders as queryDraftOrders, context$d_setAdditionalFees as setAdditionalFees, context$d_setBillingInfo as setBillingInfo, context$d_setBuyerInfo as setBuyerInfo, context$d_setDiscounts as setDiscounts, context$d_setRecipientInfo as setRecipientInfo, context$d_setShippingInfo as setShippingInfo, context$d_updateLineItems as updateLineItems };
|
|
22205
22205
|
}
|
|
22206
22206
|
|
|
22207
22207
|
interface OrderWithFulfillments {
|
|
@@ -22633,7 +22633,7 @@ interface BulkCreateFulfillmentResponseNonNullableFields {
|
|
|
22633
22633
|
results: BulkOrderFulfillmentsResultNonNullableFields[];
|
|
22634
22634
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
|
|
22635
22635
|
}
|
|
22636
|
-
interface BaseEventMetadata$
|
|
22636
|
+
interface BaseEventMetadata$5 {
|
|
22637
22637
|
/** App instance ID. */
|
|
22638
22638
|
instanceId?: string | null;
|
|
22639
22639
|
/** Event type. */
|
|
@@ -22641,7 +22641,7 @@ interface BaseEventMetadata$6 {
|
|
|
22641
22641
|
/** The identification type and identity data. */
|
|
22642
22642
|
identity?: IdentificationData$8;
|
|
22643
22643
|
}
|
|
22644
|
-
interface EventMetadata$
|
|
22644
|
+
interface EventMetadata$5 extends BaseEventMetadata$5 {
|
|
22645
22645
|
/**
|
|
22646
22646
|
* Unique event ID.
|
|
22647
22647
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -22681,7 +22681,7 @@ interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
|
22681
22681
|
}
|
|
22682
22682
|
interface FulfillmentsUpdatedEnvelope {
|
|
22683
22683
|
entity: OrderWithFulfillments;
|
|
22684
|
-
metadata: EventMetadata$
|
|
22684
|
+
metadata: EventMetadata$5;
|
|
22685
22685
|
}
|
|
22686
22686
|
interface UpdateFulfillmentOptions {
|
|
22687
22687
|
/** Fulfillment info. */
|
|
@@ -22808,7 +22808,7 @@ interface BulkCreateFulfillmentsSignature {
|
|
|
22808
22808
|
}
|
|
22809
22809
|
declare const onFulfillmentsUpdated$1: EventDefinition<FulfillmentsUpdatedEnvelope, "wix.ecom.v1.fulfillments_updated">;
|
|
22810
22810
|
|
|
22811
|
-
declare function createEventModule$
|
|
22811
|
+
declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
22812
22812
|
|
|
22813
22813
|
declare const listFulfillmentsForSingleOrder: MaybeContext<BuildRESTFunction<typeof listFulfillmentsForSingleOrder$1> & typeof listFulfillmentsForSingleOrder$1>;
|
|
22814
22814
|
declare const listFulfillmentsForMultipleOrders: MaybeContext<BuildRESTFunction<typeof listFulfillmentsForMultipleOrders$1> & typeof listFulfillmentsForMultipleOrders$1>;
|
|
@@ -22823,7 +22823,7 @@ type _publicOnFulfillmentsUpdatedType = typeof onFulfillmentsUpdated$1;
|
|
|
22823
22823
|
*
|
|
22824
22824
|
* The response contains the order's ID and details about all of its fulfillments following the change.
|
|
22825
22825
|
*/
|
|
22826
|
-
declare const onFulfillmentsUpdated: ReturnType<typeof createEventModule$
|
|
22826
|
+
declare const onFulfillmentsUpdated: ReturnType<typeof createEventModule$5<_publicOnFulfillmentsUpdatedType>>;
|
|
22827
22827
|
|
|
22828
22828
|
type context$c_BulkCreateFulfillmentRequest = BulkCreateFulfillmentRequest;
|
|
22829
22829
|
type context$c_BulkCreateFulfillmentResponse = BulkCreateFulfillmentResponse;
|
|
@@ -22866,7 +22866,7 @@ declare const context$c_listFulfillmentsForSingleOrder: typeof listFulfillmentsF
|
|
|
22866
22866
|
declare const context$c_onFulfillmentsUpdated: typeof onFulfillmentsUpdated;
|
|
22867
22867
|
declare const context$c_updateFulfillment: typeof updateFulfillment;
|
|
22868
22868
|
declare namespace context$c {
|
|
22869
|
-
export { type ActionEvent$9 as ActionEvent, type ApplicationError$5 as ApplicationError, type BaseEventMetadata$
|
|
22869
|
+
export { type ActionEvent$9 as ActionEvent, type ApplicationError$5 as ApplicationError, type BaseEventMetadata$5 as BaseEventMetadata, type BulkActionMetadata$2 as BulkActionMetadata, type context$c_BulkCreateFulfillmentRequest as BulkCreateFulfillmentRequest, type context$c_BulkCreateFulfillmentResponse as BulkCreateFulfillmentResponse, type context$c_BulkCreateFulfillmentResponseNonNullableFields as BulkCreateFulfillmentResponseNonNullableFields, type context$c_BulkCreateOrderWithFulfillments as BulkCreateOrderWithFulfillments, type context$c_BulkOrderFulfillmentsResult as BulkOrderFulfillmentsResult, type BuyerInfo$2 as BuyerInfo, type context$c_CreateFulfillmentRequest as CreateFulfillmentRequest, type context$c_CreateFulfillmentResponse as CreateFulfillmentResponse, type context$c_CreateFulfillmentResponseNonNullableFields as CreateFulfillmentResponseNonNullableFields, type context$c_CustomFulfillmentInfo as CustomFulfillmentInfo, type context$c_DeleteFulfillmentIdentifiers as DeleteFulfillmentIdentifiers, type context$c_DeleteFulfillmentRequest as DeleteFulfillmentRequest, type context$c_DeleteFulfillmentResponse as DeleteFulfillmentResponse, type context$c_DeleteFulfillmentResponseNonNullableFields as DeleteFulfillmentResponseNonNullableFields, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type Fulfillment$1 as Fulfillment, type context$c_FulfillmentCreated as FulfillmentCreated, type context$c_FulfillmentDeleted as FulfillmentDeleted, type context$c_FulfillmentFulfillmentInfoOneOf as FulfillmentFulfillmentInfoOneOf, type FulfillmentLineItem$1 as FulfillmentLineItem, FulfillmentStatus$2 as FulfillmentStatus, type FulfillmentTrackingInfo$1 as FulfillmentTrackingInfo, type context$c_FulfillmentUpdated as FulfillmentUpdated, type context$c_FulfillmentsUpdatedEnvelope as FulfillmentsUpdatedEnvelope, type IdentificationData$8 as IdentificationData, type IdentificationDataIdOneOf$8 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemMetadata$2 as ItemMetadata, type context$c_ListFulfillmentsForMultipleOrdersRequest as ListFulfillmentsForMultipleOrdersRequest, type context$c_ListFulfillmentsForMultipleOrdersResponse as ListFulfillmentsForMultipleOrdersResponse, type context$c_ListFulfillmentsForMultipleOrdersResponseNonNullableFields as ListFulfillmentsForMultipleOrdersResponseNonNullableFields, type context$c_ListFulfillmentsForSingleOrderRequest as ListFulfillmentsForSingleOrderRequest, type context$c_ListFulfillmentsForSingleOrderResponse as ListFulfillmentsForSingleOrderResponse, type context$c_ListFulfillmentsForSingleOrderResponseNonNullableFields as ListFulfillmentsForSingleOrderResponseNonNullableFields, type MessageEnvelope$8 as MessageEnvelope, type context$c_OrderWithFulfillments as OrderWithFulfillments, type context$c_OrderWithFulfillmentsNonNullableFields as OrderWithFulfillmentsNonNullableFields, type RestoreInfo$9 as RestoreInfo, type context$c_UpdateFulfillmentIdentifiers as UpdateFulfillmentIdentifiers, type context$c_UpdateFulfillmentOptions as UpdateFulfillmentOptions, type context$c_UpdateFulfillmentRequest as UpdateFulfillmentRequest, type context$c_UpdateFulfillmentResponse as UpdateFulfillmentResponse, type context$c_UpdateFulfillmentResponseNonNullableFields as UpdateFulfillmentResponseNonNullableFields, type context$c_V2FulfillmentTrackingInfo as V2FulfillmentTrackingInfo, WebhookIdentityType$8 as WebhookIdentityType, type context$c__publicOnFulfillmentsUpdatedType as _publicOnFulfillmentsUpdatedType, context$c_bulkCreateFulfillments as bulkCreateFulfillments, context$c_createFulfillment as createFulfillment, context$c_deleteFulfillment as deleteFulfillment, context$c_listFulfillmentsForMultipleOrders as listFulfillmentsForMultipleOrders, context$c_listFulfillmentsForSingleOrder as listFulfillmentsForSingleOrder, context$c_onFulfillmentsUpdated as onFulfillmentsUpdated, onFulfillmentsUpdated$1 as publicOnFulfillmentsUpdated, context$c_updateFulfillment as updateFulfillment };
|
|
22870
22870
|
}
|
|
22871
22871
|
|
|
22872
22872
|
interface GiftCard$2 {
|
|
@@ -23042,15 +23042,21 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
|
23042
23042
|
customAreaConfig?: CustomAreaConfig;
|
|
23043
23043
|
/** LocalDeliveryOptionId - unique identifier of local delivery option */
|
|
23044
23044
|
_id?: string | null;
|
|
23045
|
-
/**
|
|
23046
|
-
externalId?: string | null;
|
|
23047
|
-
/** Name of Local Delivery Option */
|
|
23045
|
+
/** Area name of Local Delivery Option */
|
|
23048
23046
|
areaName?: string | null;
|
|
23049
|
-
/**
|
|
23047
|
+
/**
|
|
23048
|
+
* Flat price of local delivery
|
|
23049
|
+
* @deprecated Flat price of local delivery
|
|
23050
|
+
* @targetRemovalDate 2025-01-12
|
|
23051
|
+
*/
|
|
23050
23052
|
rate?: string | null;
|
|
23051
23053
|
/** Estimated delivery time description text */
|
|
23052
23054
|
estimatedDeliveryTime?: string | null;
|
|
23053
|
-
/**
|
|
23055
|
+
/**
|
|
23056
|
+
* Minimum order total to be eligible for free delivery
|
|
23057
|
+
* @deprecated Minimum order total to be eligible for free delivery
|
|
23058
|
+
* @targetRemovalDate 2025-01-12
|
|
23059
|
+
*/
|
|
23054
23060
|
minimumFreeDeliveryOrderAmount?: number | null;
|
|
23055
23061
|
/** List of countries with subdivisions */
|
|
23056
23062
|
destinations?: Destination[];
|
|
@@ -23067,6 +23073,13 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
|
23067
23073
|
* @readonly
|
|
23068
23074
|
*/
|
|
23069
23075
|
_createdDate?: Date | null;
|
|
23076
|
+
/**
|
|
23077
|
+
* Date and time the LocalDeliveryOption was last updated.
|
|
23078
|
+
* @readonly
|
|
23079
|
+
*/
|
|
23080
|
+
_updatedDate?: Date | null;
|
|
23081
|
+
/** This local delivery is active for the following delivery regions. */
|
|
23082
|
+
deliveryRegionIds?: string[];
|
|
23070
23083
|
}
|
|
23071
23084
|
/** @oneof */
|
|
23072
23085
|
interface LocalDeliveryOptionConfigOneOf {
|
|
@@ -23231,7 +23244,12 @@ interface CreateLocalDeliveryOptionResponse {
|
|
|
23231
23244
|
localDeliveryOption?: LocalDeliveryOption;
|
|
23232
23245
|
}
|
|
23233
23246
|
interface GetLocalDeliveryOptionRequest {
|
|
23234
|
-
|
|
23247
|
+
/**
|
|
23248
|
+
* @deprecated
|
|
23249
|
+
* @targetRemovalDate 2025-01-12
|
|
23250
|
+
*/
|
|
23251
|
+
_id?: string;
|
|
23252
|
+
localDeliveryOptionId: string;
|
|
23235
23253
|
}
|
|
23236
23254
|
interface GetLocalDeliveryOptionResponse {
|
|
23237
23255
|
localDeliveryOption?: LocalDeliveryOption;
|
|
@@ -23242,6 +23260,91 @@ interface ListLocalDeliveryOptionsRequest {
|
|
|
23242
23260
|
interface ListLocalDeliveryOptionsResponse {
|
|
23243
23261
|
localDeliveryOptions?: LocalDeliveryOption[];
|
|
23244
23262
|
}
|
|
23263
|
+
interface QueryLocalDeliveryOptionsRequest {
|
|
23264
|
+
/** WQL expression */
|
|
23265
|
+
query: QueryV2$1;
|
|
23266
|
+
}
|
|
23267
|
+
interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
23268
|
+
/** Paging options to limit and skip the number of items. */
|
|
23269
|
+
paging?: Paging$1;
|
|
23270
|
+
/** 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`. */
|
|
23271
|
+
cursorPaging?: CursorPaging$6;
|
|
23272
|
+
/**
|
|
23273
|
+
* Filter object.
|
|
23274
|
+
*
|
|
23275
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
23276
|
+
*/
|
|
23277
|
+
filter?: Record<string, any> | null;
|
|
23278
|
+
/**
|
|
23279
|
+
* Sort object.
|
|
23280
|
+
*
|
|
23281
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
23282
|
+
*/
|
|
23283
|
+
sort?: Sorting$6[];
|
|
23284
|
+
/** 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. */
|
|
23285
|
+
fields?: string[];
|
|
23286
|
+
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
23287
|
+
fieldsets?: string[];
|
|
23288
|
+
}
|
|
23289
|
+
/** @oneof */
|
|
23290
|
+
interface QueryV2PagingMethodOneOf$1 {
|
|
23291
|
+
/** Paging options to limit and skip the number of items. */
|
|
23292
|
+
paging?: Paging$1;
|
|
23293
|
+
/** 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`. */
|
|
23294
|
+
cursorPaging?: CursorPaging$6;
|
|
23295
|
+
}
|
|
23296
|
+
interface Sorting$6 {
|
|
23297
|
+
/** Name of the field to sort by. */
|
|
23298
|
+
fieldName?: string;
|
|
23299
|
+
/** Sort order. */
|
|
23300
|
+
order?: SortOrder$6;
|
|
23301
|
+
}
|
|
23302
|
+
declare enum SortOrder$6 {
|
|
23303
|
+
ASC = "ASC",
|
|
23304
|
+
DESC = "DESC"
|
|
23305
|
+
}
|
|
23306
|
+
interface Paging$1 {
|
|
23307
|
+
/** Number of items to load. */
|
|
23308
|
+
limit?: number | null;
|
|
23309
|
+
/** Number of items to skip in the current sort order. */
|
|
23310
|
+
offset?: number | null;
|
|
23311
|
+
}
|
|
23312
|
+
interface CursorPaging$6 {
|
|
23313
|
+
/** Maximum number of items to return in the results. */
|
|
23314
|
+
limit?: number | null;
|
|
23315
|
+
/**
|
|
23316
|
+
* Pointer to the next or previous page in the list of results.
|
|
23317
|
+
*
|
|
23318
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
23319
|
+
* Not relevant for the first request.
|
|
23320
|
+
*/
|
|
23321
|
+
cursor?: string | null;
|
|
23322
|
+
}
|
|
23323
|
+
interface QueryLocalDeliveryOptionsResponse {
|
|
23324
|
+
/** Retrieved local delivery options. */
|
|
23325
|
+
localDeliveryOptions?: LocalDeliveryOption[];
|
|
23326
|
+
/** Paging metadata. */
|
|
23327
|
+
pagingMetadata?: CursorPagingMetadata$6;
|
|
23328
|
+
}
|
|
23329
|
+
interface CursorPagingMetadata$6 {
|
|
23330
|
+
/** Number of items returned in current page. */
|
|
23331
|
+
count?: number | null;
|
|
23332
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
23333
|
+
cursors?: Cursors$6;
|
|
23334
|
+
/**
|
|
23335
|
+
* Whether there are more pages to retrieve following the current page.
|
|
23336
|
+
*
|
|
23337
|
+
* + `true`: Another page of results can be retrieved.
|
|
23338
|
+
* + `false`: This is the last page.
|
|
23339
|
+
*/
|
|
23340
|
+
hasNext?: boolean | null;
|
|
23341
|
+
}
|
|
23342
|
+
interface Cursors$6 {
|
|
23343
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
23344
|
+
next?: string | null;
|
|
23345
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
23346
|
+
prev?: string | null;
|
|
23347
|
+
}
|
|
23245
23348
|
interface UpdateLocalDeliveryOptionRequest {
|
|
23246
23349
|
localDeliveryOption: LocalDeliveryOption;
|
|
23247
23350
|
}
|
|
@@ -23249,7 +23352,12 @@ interface UpdateLocalDeliveryOptionResponse {
|
|
|
23249
23352
|
localDeliveryOption?: LocalDeliveryOption;
|
|
23250
23353
|
}
|
|
23251
23354
|
interface DeleteLocalDeliveryOptionRequest {
|
|
23252
|
-
|
|
23355
|
+
/**
|
|
23356
|
+
* @deprecated
|
|
23357
|
+
* @targetRemovalDate 2025-01-12
|
|
23358
|
+
*/
|
|
23359
|
+
_id?: string;
|
|
23360
|
+
localDeliveryOptionId: string;
|
|
23253
23361
|
}
|
|
23254
23362
|
interface DeleteLocalDeliveryOptionResponse {
|
|
23255
23363
|
}
|
|
@@ -23348,6 +23456,24 @@ interface EntityDeletedEvent$8 {
|
|
|
23348
23456
|
interface ActionEvent$8 {
|
|
23349
23457
|
body?: string;
|
|
23350
23458
|
}
|
|
23459
|
+
interface AddDeliveryRegionRequest$1 {
|
|
23460
|
+
deliveryRegionId: string;
|
|
23461
|
+
localDeliveryOptionId: string;
|
|
23462
|
+
/** Revision of the PickupLocation */
|
|
23463
|
+
revision?: string | null;
|
|
23464
|
+
}
|
|
23465
|
+
interface AddDeliveryRegionResponse$1 {
|
|
23466
|
+
localDeliveryOption?: LocalDeliveryOption;
|
|
23467
|
+
}
|
|
23468
|
+
interface RemoveDeliveryRegionRequest$1 {
|
|
23469
|
+
deliveryRegionId: string;
|
|
23470
|
+
localDeliveryOptionId: string;
|
|
23471
|
+
/** Revision of the PickupLocation */
|
|
23472
|
+
revision?: string | null;
|
|
23473
|
+
}
|
|
23474
|
+
interface RemoveDeliveryRegionResponse$1 {
|
|
23475
|
+
localDeliveryOption?: LocalDeliveryOption;
|
|
23476
|
+
}
|
|
23351
23477
|
interface MessageEnvelope$7 {
|
|
23352
23478
|
/** App instance ID. */
|
|
23353
23479
|
instanceId?: string | null;
|
|
@@ -23426,6 +23552,7 @@ interface LocalDeliveryOptionNonNullableFields {
|
|
|
23426
23552
|
destinations: DestinationNonNullableFields[];
|
|
23427
23553
|
scheduledDeliveryConfig?: ScheduledDeliveryNonNullableFields;
|
|
23428
23554
|
rates: ConditionalRatesNonNullableFields$2[];
|
|
23555
|
+
deliveryRegionIds: string[];
|
|
23429
23556
|
}
|
|
23430
23557
|
interface CreateLocalDeliveryOptionResponseNonNullableFields {
|
|
23431
23558
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
@@ -23436,6 +23563,9 @@ interface GetLocalDeliveryOptionResponseNonNullableFields {
|
|
|
23436
23563
|
interface ListLocalDeliveryOptionsResponseNonNullableFields {
|
|
23437
23564
|
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
23438
23565
|
}
|
|
23566
|
+
interface QueryLocalDeliveryOptionsResponseNonNullableFields {
|
|
23567
|
+
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
23568
|
+
}
|
|
23439
23569
|
interface UpdateLocalDeliveryOptionResponseNonNullableFields {
|
|
23440
23570
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
23441
23571
|
}
|
|
@@ -23451,63 +23581,72 @@ interface BulkUpdateLocalDeliveryOptionResponseNonNullableFields {
|
|
|
23451
23581
|
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
23452
23582
|
errors: LocalDeliveryOptionErrorNonNullableFields[];
|
|
23453
23583
|
}
|
|
23454
|
-
interface
|
|
23455
|
-
|
|
23456
|
-
instanceId?: string | null;
|
|
23457
|
-
/** Event type. */
|
|
23458
|
-
eventType?: string;
|
|
23459
|
-
/** The identification type and identity data. */
|
|
23460
|
-
identity?: IdentificationData$7;
|
|
23584
|
+
interface AddDeliveryRegionResponseNonNullableFields$1 {
|
|
23585
|
+
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
23461
23586
|
}
|
|
23462
|
-
interface
|
|
23587
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$1 {
|
|
23588
|
+
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
23589
|
+
}
|
|
23590
|
+
interface GetLocalDeliveryOptionOptions {
|
|
23463
23591
|
/**
|
|
23464
|
-
*
|
|
23465
|
-
*
|
|
23592
|
+
* @deprecated
|
|
23593
|
+
* @targetRemovalDate 2025-01-12
|
|
23466
23594
|
*/
|
|
23467
23595
|
_id?: string;
|
|
23468
|
-
|
|
23469
|
-
|
|
23470
|
-
|
|
23596
|
+
}
|
|
23597
|
+
interface QueryCursorResult$4 {
|
|
23598
|
+
cursors: Cursors$6;
|
|
23599
|
+
hasNext: () => boolean;
|
|
23600
|
+
hasPrev: () => boolean;
|
|
23601
|
+
length: number;
|
|
23602
|
+
pageSize: number;
|
|
23603
|
+
}
|
|
23604
|
+
interface LocalDeliveryOptionsQueryResult extends QueryCursorResult$4 {
|
|
23605
|
+
items: LocalDeliveryOption[];
|
|
23606
|
+
query: LocalDeliveryOptionsQueryBuilder;
|
|
23607
|
+
next: () => Promise<LocalDeliveryOptionsQueryResult>;
|
|
23608
|
+
prev: () => Promise<LocalDeliveryOptionsQueryResult>;
|
|
23609
|
+
}
|
|
23610
|
+
interface LocalDeliveryOptionsQueryBuilder {
|
|
23611
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
23612
|
+
* @param value - Value to compare against.
|
|
23613
|
+
* @documentationMaturity preview
|
|
23471
23614
|
*/
|
|
23472
|
-
|
|
23473
|
-
/**
|
|
23474
|
-
*
|
|
23475
|
-
*
|
|
23476
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
23615
|
+
eq: (propertyName: '_id' | 'areaName' | 'estimatedDeliveryTime' | 'deliveryRegionIds', value: any) => LocalDeliveryOptionsQueryBuilder;
|
|
23616
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
23617
|
+
* @param value - Value to compare against.
|
|
23618
|
+
* @documentationMaturity preview
|
|
23477
23619
|
*/
|
|
23478
|
-
|
|
23479
|
-
/**
|
|
23480
|
-
|
|
23481
|
-
|
|
23482
|
-
eventTime?: Date | null;
|
|
23483
|
-
/**
|
|
23484
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
23485
|
-
* (for example, GDPR).
|
|
23620
|
+
ne: (propertyName: '_id' | 'areaName' | 'estimatedDeliveryTime' | 'deliveryRegionIds', value: any) => LocalDeliveryOptionsQueryBuilder;
|
|
23621
|
+
/** @param propertyName - Property whose value is compared with `string`.
|
|
23622
|
+
* @param string - String to compare against. Case-insensitive.
|
|
23623
|
+
* @documentationMaturity preview
|
|
23486
23624
|
*/
|
|
23487
|
-
|
|
23488
|
-
/**
|
|
23489
|
-
|
|
23490
|
-
|
|
23491
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
23492
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
23493
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
23494
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
23495
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
23496
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
23625
|
+
startsWith: (propertyName: '_id' | 'areaName' | 'estimatedDeliveryTime', value: string) => LocalDeliveryOptionsQueryBuilder;
|
|
23626
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
23627
|
+
* @param values - List of values to compare against.
|
|
23628
|
+
* @documentationMaturity preview
|
|
23497
23629
|
*/
|
|
23498
|
-
|
|
23499
|
-
|
|
23500
|
-
|
|
23501
|
-
|
|
23502
|
-
|
|
23503
|
-
|
|
23504
|
-
|
|
23505
|
-
|
|
23506
|
-
|
|
23507
|
-
|
|
23508
|
-
|
|
23509
|
-
|
|
23510
|
-
|
|
23630
|
+
hasSome: (propertyName: '_id' | 'areaName' | 'estimatedDeliveryTime' | 'deliveryRegionIds', value: any[]) => LocalDeliveryOptionsQueryBuilder;
|
|
23631
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
23632
|
+
* @param values - List of values to compare against.
|
|
23633
|
+
* @documentationMaturity preview
|
|
23634
|
+
*/
|
|
23635
|
+
hasAll: (propertyName: 'deliveryRegionIds', value: any[]) => LocalDeliveryOptionsQueryBuilder;
|
|
23636
|
+
/** @documentationMaturity preview */
|
|
23637
|
+
in: (propertyName: '_id' | 'areaName' | 'estimatedDeliveryTime' | 'deliveryRegionIds', value: any) => LocalDeliveryOptionsQueryBuilder;
|
|
23638
|
+
/** @documentationMaturity preview */
|
|
23639
|
+
exists: (propertyName: '_id' | 'areaName' | 'estimatedDeliveryTime' | 'deliveryRegionIds', value: boolean) => LocalDeliveryOptionsQueryBuilder;
|
|
23640
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
23641
|
+
* @documentationMaturity preview
|
|
23642
|
+
*/
|
|
23643
|
+
limit: (limit: number) => LocalDeliveryOptionsQueryBuilder;
|
|
23644
|
+
/** @param cursor - A pointer to specific record
|
|
23645
|
+
* @documentationMaturity preview
|
|
23646
|
+
*/
|
|
23647
|
+
skipTo: (cursor: string) => LocalDeliveryOptionsQueryBuilder;
|
|
23648
|
+
/** @documentationMaturity preview */
|
|
23649
|
+
find: () => Promise<LocalDeliveryOptionsQueryResult>;
|
|
23511
23650
|
}
|
|
23512
23651
|
interface UpdateLocalDeliveryOption {
|
|
23513
23652
|
zipConfig?: ZipCodeConfig;
|
|
@@ -23515,15 +23654,21 @@ interface UpdateLocalDeliveryOption {
|
|
|
23515
23654
|
customAreaConfig?: CustomAreaConfig;
|
|
23516
23655
|
/** LocalDeliveryOptionId - unique identifier of local delivery option */
|
|
23517
23656
|
_id?: string | null;
|
|
23518
|
-
/**
|
|
23519
|
-
externalId?: string | null;
|
|
23520
|
-
/** Name of Local Delivery Option */
|
|
23657
|
+
/** Area name of Local Delivery Option */
|
|
23521
23658
|
areaName?: string | null;
|
|
23522
|
-
/**
|
|
23659
|
+
/**
|
|
23660
|
+
* Flat price of local delivery
|
|
23661
|
+
* @deprecated Flat price of local delivery
|
|
23662
|
+
* @targetRemovalDate 2025-01-12
|
|
23663
|
+
*/
|
|
23523
23664
|
rate?: string | null;
|
|
23524
23665
|
/** Estimated delivery time description text */
|
|
23525
23666
|
estimatedDeliveryTime?: string | null;
|
|
23526
|
-
/**
|
|
23667
|
+
/**
|
|
23668
|
+
* Minimum order total to be eligible for free delivery
|
|
23669
|
+
* @deprecated Minimum order total to be eligible for free delivery
|
|
23670
|
+
* @targetRemovalDate 2025-01-12
|
|
23671
|
+
*/
|
|
23527
23672
|
minimumFreeDeliveryOrderAmount?: number | null;
|
|
23528
23673
|
/** List of countries with subdivisions */
|
|
23529
23674
|
destinations?: Destination[];
|
|
@@ -23540,6 +23685,30 @@ interface UpdateLocalDeliveryOption {
|
|
|
23540
23685
|
* @readonly
|
|
23541
23686
|
*/
|
|
23542
23687
|
_createdDate?: Date | null;
|
|
23688
|
+
/**
|
|
23689
|
+
* Date and time the LocalDeliveryOption was last updated.
|
|
23690
|
+
* @readonly
|
|
23691
|
+
*/
|
|
23692
|
+
_updatedDate?: Date | null;
|
|
23693
|
+
/** This local delivery is active for the following delivery regions. */
|
|
23694
|
+
deliveryRegionIds?: string[];
|
|
23695
|
+
}
|
|
23696
|
+
interface DeleteLocalDeliveryOptionOptions {
|
|
23697
|
+
/**
|
|
23698
|
+
* @deprecated
|
|
23699
|
+
* @targetRemovalDate 2025-01-12
|
|
23700
|
+
*/
|
|
23701
|
+
_id?: string;
|
|
23702
|
+
}
|
|
23703
|
+
interface AddDeliveryRegionOptions$1 {
|
|
23704
|
+
localDeliveryOptionId: string;
|
|
23705
|
+
/** Revision of the PickupLocation */
|
|
23706
|
+
revision?: string | null;
|
|
23707
|
+
}
|
|
23708
|
+
interface RemoveDeliveryRegionOptions$1 {
|
|
23709
|
+
localDeliveryOptionId: string;
|
|
23710
|
+
/** Revision of the PickupLocation */
|
|
23711
|
+
revision?: string | null;
|
|
23543
23712
|
}
|
|
23544
23713
|
|
|
23545
23714
|
declare function createLocalDeliveryOption$1(httpClient: HttpClient): CreateLocalDeliveryOptionSignature;
|
|
@@ -23550,13 +23719,27 @@ interface CreateLocalDeliveryOptionSignature {
|
|
|
23550
23719
|
declare function getLocalDeliveryOption$1(httpClient: HttpClient): GetLocalDeliveryOptionSignature;
|
|
23551
23720
|
interface GetLocalDeliveryOptionSignature {
|
|
23552
23721
|
/** */
|
|
23553
|
-
(
|
|
23722
|
+
(localDeliveryOptionId: string, options?: GetLocalDeliveryOptionOptions | undefined): Promise<LocalDeliveryOption & LocalDeliveryOptionNonNullableFields>;
|
|
23554
23723
|
}
|
|
23555
23724
|
declare function listLocalDeliveryOptions$1(httpClient: HttpClient): ListLocalDeliveryOptionsSignature;
|
|
23556
23725
|
interface ListLocalDeliveryOptionsSignature {
|
|
23557
|
-
/** */
|
|
23726
|
+
/** @deprecated method is deprecated due to the fact that external_id is deprecated */
|
|
23558
23727
|
(externalId: string): Promise<ListLocalDeliveryOptionsResponse & ListLocalDeliveryOptionsResponseNonNullableFields>;
|
|
23559
23728
|
}
|
|
23729
|
+
declare function queryLocalDeliveryOptions$1(httpClient: HttpClient): QueryLocalDeliveryOptionsSignature;
|
|
23730
|
+
interface QueryLocalDeliveryOptionsSignature {
|
|
23731
|
+
/**
|
|
23732
|
+
* Retrieves a list of local delivery options, given the provided paging, filtering, and sorting.
|
|
23733
|
+
*
|
|
23734
|
+
* For field support for filters and sorting, see [Local Delivery: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/payments/tax/tax-regions/supported-filters-and-sorting).
|
|
23735
|
+
*
|
|
23736
|
+
* To learn about working with _Query_ endpoints, see
|
|
23737
|
+
* [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
|
|
23738
|
+
* [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),
|
|
23739
|
+
* and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
23740
|
+
*/
|
|
23741
|
+
(): LocalDeliveryOptionsQueryBuilder;
|
|
23742
|
+
}
|
|
23560
23743
|
declare function updateLocalDeliveryOption$1(httpClient: HttpClient): UpdateLocalDeliveryOptionSignature;
|
|
23561
23744
|
interface UpdateLocalDeliveryOptionSignature {
|
|
23562
23745
|
/** @param - LocalDeliveryOptionId - unique identifier of local delivery option */
|
|
@@ -23565,7 +23748,7 @@ interface UpdateLocalDeliveryOptionSignature {
|
|
|
23565
23748
|
declare function deleteLocalDeliveryOption$1(httpClient: HttpClient): DeleteLocalDeliveryOptionSignature;
|
|
23566
23749
|
interface DeleteLocalDeliveryOptionSignature {
|
|
23567
23750
|
/** */
|
|
23568
|
-
(
|
|
23751
|
+
(localDeliveryOptionId: string, options?: DeleteLocalDeliveryOptionOptions | undefined): Promise<void>;
|
|
23569
23752
|
}
|
|
23570
23753
|
declare function bulkCreateLocalDeliveryOption$1(httpClient: HttpClient): BulkCreateLocalDeliveryOptionSignature;
|
|
23571
23754
|
interface BulkCreateLocalDeliveryOptionSignature {
|
|
@@ -23582,32 +23765,28 @@ interface BulkDeleteLocalDeliveryOptionSignature {
|
|
|
23582
23765
|
/** */
|
|
23583
23766
|
(ids: string[]): Promise<void>;
|
|
23584
23767
|
}
|
|
23585
|
-
declare
|
|
23586
|
-
|
|
23587
|
-
|
|
23588
|
-
|
|
23589
|
-
|
|
23768
|
+
declare function addDeliveryRegion$3(httpClient: HttpClient): AddDeliveryRegionSignature$1;
|
|
23769
|
+
interface AddDeliveryRegionSignature$1 {
|
|
23770
|
+
/** */
|
|
23771
|
+
(deliveryRegionId: string, options?: AddDeliveryRegionOptions$1 | undefined): Promise<AddDeliveryRegionResponse$1 & AddDeliveryRegionResponseNonNullableFields$1>;
|
|
23772
|
+
}
|
|
23773
|
+
declare function removeDeliveryRegion$3(httpClient: HttpClient): RemoveDeliveryRegionSignature$1;
|
|
23774
|
+
interface RemoveDeliveryRegionSignature$1 {
|
|
23775
|
+
/** */
|
|
23776
|
+
(deliveryRegionId: string, options?: RemoveDeliveryRegionOptions$1 | undefined): Promise<RemoveDeliveryRegionResponse$1 & RemoveDeliveryRegionResponseNonNullableFields$1>;
|
|
23777
|
+
}
|
|
23590
23778
|
|
|
23591
23779
|
declare const createLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof createLocalDeliveryOption$1> & typeof createLocalDeliveryOption$1>;
|
|
23592
23780
|
declare const getLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof getLocalDeliveryOption$1> & typeof getLocalDeliveryOption$1>;
|
|
23593
23781
|
declare const listLocalDeliveryOptions: MaybeContext<BuildRESTFunction<typeof listLocalDeliveryOptions$1> & typeof listLocalDeliveryOptions$1>;
|
|
23782
|
+
declare const queryLocalDeliveryOptions: MaybeContext<BuildRESTFunction<typeof queryLocalDeliveryOptions$1> & typeof queryLocalDeliveryOptions$1>;
|
|
23594
23783
|
declare const updateLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof updateLocalDeliveryOption$1> & typeof updateLocalDeliveryOption$1>;
|
|
23595
23784
|
declare const deleteLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof deleteLocalDeliveryOption$1> & typeof deleteLocalDeliveryOption$1>;
|
|
23596
23785
|
declare const bulkCreateLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof bulkCreateLocalDeliveryOption$1> & typeof bulkCreateLocalDeliveryOption$1>;
|
|
23597
23786
|
declare const bulkUpdateLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof bulkUpdateLocalDeliveryOption$1> & typeof bulkUpdateLocalDeliveryOption$1>;
|
|
23598
23787
|
declare const bulkDeleteLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof bulkDeleteLocalDeliveryOption$1> & typeof bulkDeleteLocalDeliveryOption$1>;
|
|
23599
|
-
|
|
23600
|
-
|
|
23601
|
-
/** */
|
|
23602
|
-
declare const onLocalDeliveryOptionCreated: ReturnType<typeof createEventModule$5<_publicOnLocalDeliveryOptionCreatedType>>;
|
|
23603
|
-
|
|
23604
|
-
type _publicOnLocalDeliveryOptionUpdatedType = typeof onLocalDeliveryOptionUpdated$1;
|
|
23605
|
-
/** */
|
|
23606
|
-
declare const onLocalDeliveryOptionUpdated: ReturnType<typeof createEventModule$5<_publicOnLocalDeliveryOptionUpdatedType>>;
|
|
23607
|
-
|
|
23608
|
-
type _publicOnLocalDeliveryOptionDeletedType = typeof onLocalDeliveryOptionDeleted$1;
|
|
23609
|
-
/** */
|
|
23610
|
-
declare const onLocalDeliveryOptionDeleted: ReturnType<typeof createEventModule$5<_publicOnLocalDeliveryOptionDeletedType>>;
|
|
23788
|
+
declare const addDeliveryRegion$2: MaybeContext<BuildRESTFunction<typeof addDeliveryRegion$3> & typeof addDeliveryRegion$3>;
|
|
23789
|
+
declare const removeDeliveryRegion$2: MaybeContext<BuildRESTFunction<typeof removeDeliveryRegion$3> & typeof removeDeliveryRegion$3>;
|
|
23611
23790
|
|
|
23612
23791
|
type context$a_BulkCreateLocalDeliveryOptionRequest = BulkCreateLocalDeliveryOptionRequest;
|
|
23613
23792
|
type context$a_BulkCreateLocalDeliveryOptionResponse = BulkCreateLocalDeliveryOptionResponse;
|
|
@@ -23625,9 +23804,11 @@ type context$a_DayOfWeek = DayOfWeek;
|
|
|
23625
23804
|
declare const context$a_DayOfWeek: typeof DayOfWeek;
|
|
23626
23805
|
type context$a_DaySlot = DaySlot;
|
|
23627
23806
|
type context$a_Days = Days;
|
|
23807
|
+
type context$a_DeleteLocalDeliveryOptionOptions = DeleteLocalDeliveryOptionOptions;
|
|
23628
23808
|
type context$a_DeleteLocalDeliveryOptionRequest = DeleteLocalDeliveryOptionRequest;
|
|
23629
23809
|
type context$a_DeleteLocalDeliveryOptionResponse = DeleteLocalDeliveryOptionResponse;
|
|
23630
23810
|
type context$a_Destination = Destination;
|
|
23811
|
+
type context$a_GetLocalDeliveryOptionOptions = GetLocalDeliveryOptionOptions;
|
|
23631
23812
|
type context$a_GetLocalDeliveryOptionRequest = GetLocalDeliveryOptionRequest;
|
|
23632
23813
|
type context$a_GetLocalDeliveryOptionResponse = GetLocalDeliveryOptionResponse;
|
|
23633
23814
|
type context$a_GetLocalDeliveryOptionResponseNonNullableFields = GetLocalDeliveryOptionResponseNonNullableFields;
|
|
@@ -23639,11 +23820,13 @@ type context$a_ListLocalDeliveryOptionsResponseNonNullableFields = ListLocalDeli
|
|
|
23639
23820
|
type context$a_LocalDeliveryAddress = LocalDeliveryAddress;
|
|
23640
23821
|
type context$a_LocalDeliveryOption = LocalDeliveryOption;
|
|
23641
23822
|
type context$a_LocalDeliveryOptionConfigOneOf = LocalDeliveryOptionConfigOneOf;
|
|
23642
|
-
type context$a_LocalDeliveryOptionCreatedEnvelope = LocalDeliveryOptionCreatedEnvelope;
|
|
23643
|
-
type context$a_LocalDeliveryOptionDeletedEnvelope = LocalDeliveryOptionDeletedEnvelope;
|
|
23644
23823
|
type context$a_LocalDeliveryOptionError = LocalDeliveryOptionError;
|
|
23645
23824
|
type context$a_LocalDeliveryOptionNonNullableFields = LocalDeliveryOptionNonNullableFields;
|
|
23646
|
-
type context$
|
|
23825
|
+
type context$a_LocalDeliveryOptionsQueryBuilder = LocalDeliveryOptionsQueryBuilder;
|
|
23826
|
+
type context$a_LocalDeliveryOptionsQueryResult = LocalDeliveryOptionsQueryResult;
|
|
23827
|
+
type context$a_QueryLocalDeliveryOptionsRequest = QueryLocalDeliveryOptionsRequest;
|
|
23828
|
+
type context$a_QueryLocalDeliveryOptionsResponse = QueryLocalDeliveryOptionsResponse;
|
|
23829
|
+
type context$a_QueryLocalDeliveryOptionsResponseNonNullableFields = QueryLocalDeliveryOptionsResponseNonNullableFields;
|
|
23647
23830
|
type context$a_RadiusConfig = RadiusConfig;
|
|
23648
23831
|
type context$a_ScheduledDelivery = ScheduledDelivery;
|
|
23649
23832
|
type context$a_TimeOfDay = TimeOfDay;
|
|
@@ -23655,9 +23838,6 @@ type context$a_UpdateLocalDeliveryOptionRequest = UpdateLocalDeliveryOptionReque
|
|
|
23655
23838
|
type context$a_UpdateLocalDeliveryOptionResponse = UpdateLocalDeliveryOptionResponse;
|
|
23656
23839
|
type context$a_UpdateLocalDeliveryOptionResponseNonNullableFields = UpdateLocalDeliveryOptionResponseNonNullableFields;
|
|
23657
23840
|
type context$a_ZipCodeConfig = ZipCodeConfig;
|
|
23658
|
-
type context$a__publicOnLocalDeliveryOptionCreatedType = _publicOnLocalDeliveryOptionCreatedType;
|
|
23659
|
-
type context$a__publicOnLocalDeliveryOptionDeletedType = _publicOnLocalDeliveryOptionDeletedType;
|
|
23660
|
-
type context$a__publicOnLocalDeliveryOptionUpdatedType = _publicOnLocalDeliveryOptionUpdatedType;
|
|
23661
23841
|
declare const context$a_bulkCreateLocalDeliveryOption: typeof bulkCreateLocalDeliveryOption;
|
|
23662
23842
|
declare const context$a_bulkDeleteLocalDeliveryOption: typeof bulkDeleteLocalDeliveryOption;
|
|
23663
23843
|
declare const context$a_bulkUpdateLocalDeliveryOption: typeof bulkUpdateLocalDeliveryOption;
|
|
@@ -23665,12 +23845,10 @@ declare const context$a_createLocalDeliveryOption: typeof createLocalDeliveryOpt
|
|
|
23665
23845
|
declare const context$a_deleteLocalDeliveryOption: typeof deleteLocalDeliveryOption;
|
|
23666
23846
|
declare const context$a_getLocalDeliveryOption: typeof getLocalDeliveryOption;
|
|
23667
23847
|
declare const context$a_listLocalDeliveryOptions: typeof listLocalDeliveryOptions;
|
|
23668
|
-
declare const context$
|
|
23669
|
-
declare const context$a_onLocalDeliveryOptionDeleted: typeof onLocalDeliveryOptionDeleted;
|
|
23670
|
-
declare const context$a_onLocalDeliveryOptionUpdated: typeof onLocalDeliveryOptionUpdated;
|
|
23848
|
+
declare const context$a_queryLocalDeliveryOptions: typeof queryLocalDeliveryOptions;
|
|
23671
23849
|
declare const context$a_updateLocalDeliveryOption: typeof updateLocalDeliveryOption;
|
|
23672
23850
|
declare namespace context$a {
|
|
23673
|
-
export { type ActionEvent$8 as ActionEvent, type
|
|
23851
|
+
export { type ActionEvent$8 as ActionEvent, type AddDeliveryRegionOptions$1 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$1 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$1 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$1 as AddDeliveryRegionResponseNonNullableFields, type AddressLocation$4 as AddressLocation, type context$a_BulkCreateLocalDeliveryOptionRequest as BulkCreateLocalDeliveryOptionRequest, type context$a_BulkCreateLocalDeliveryOptionResponse as BulkCreateLocalDeliveryOptionResponse, type context$a_BulkCreateLocalDeliveryOptionResponseNonNullableFields as BulkCreateLocalDeliveryOptionResponseNonNullableFields, type context$a_BulkDeleteLocalDeliveryOptionRequest as BulkDeleteLocalDeliveryOptionRequest, type context$a_BulkDeleteLocalDeliveryOptionResponse as BulkDeleteLocalDeliveryOptionResponse, type context$a_BulkUpdateLocalDeliveryOptionRequest as BulkUpdateLocalDeliveryOptionRequest, type context$a_BulkUpdateLocalDeliveryOptionResponse as BulkUpdateLocalDeliveryOptionResponse, type context$a_BulkUpdateLocalDeliveryOptionResponseNonNullableFields as BulkUpdateLocalDeliveryOptionResponseNonNullableFields, type Condition$2 as Condition, ConditionType$2 as ConditionType, type ConditionalRates$2 as ConditionalRates, type context$a_CreateLocalDeliveryOptionRequest as CreateLocalDeliveryOptionRequest, type context$a_CreateLocalDeliveryOptionResponse as CreateLocalDeliveryOptionResponse, type context$a_CreateLocalDeliveryOptionResponseNonNullableFields as CreateLocalDeliveryOptionResponseNonNullableFields, type CursorPaging$6 as CursorPaging, type CursorPagingMetadata$6 as CursorPagingMetadata, type Cursors$6 as Cursors, type context$a_CustomAreaConfig as CustomAreaConfig, context$a_DayOfWeek as DayOfWeek, type context$a_DaySlot as DaySlot, type context$a_Days as Days, type context$a_DeleteLocalDeliveryOptionOptions as DeleteLocalDeliveryOptionOptions, type context$a_DeleteLocalDeliveryOptionRequest as DeleteLocalDeliveryOptionRequest, type context$a_DeleteLocalDeliveryOptionResponse as DeleteLocalDeliveryOptionResponse, type context$a_Destination as Destination, type DomainEvent$8 as DomainEvent, type DomainEventBodyOneOf$8 as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$8 as EntityCreatedEvent, type EntityDeletedEvent$8 as EntityDeletedEvent, type EntityUpdatedEvent$8 as EntityUpdatedEvent, type context$a_GetLocalDeliveryOptionOptions as GetLocalDeliveryOptionOptions, type context$a_GetLocalDeliveryOptionRequest as GetLocalDeliveryOptionRequest, type context$a_GetLocalDeliveryOptionResponse as GetLocalDeliveryOptionResponse, type context$a_GetLocalDeliveryOptionResponseNonNullableFields as GetLocalDeliveryOptionResponseNonNullableFields, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, context$a_LengthUnit as LengthUnit, type context$a_ListLocalDeliveryOptionsRequest as ListLocalDeliveryOptionsRequest, type context$a_ListLocalDeliveryOptionsResponse as ListLocalDeliveryOptionsResponse, type context$a_ListLocalDeliveryOptionsResponseNonNullableFields as ListLocalDeliveryOptionsResponseNonNullableFields, type context$a_LocalDeliveryAddress as LocalDeliveryAddress, type context$a_LocalDeliveryOption as LocalDeliveryOption, type context$a_LocalDeliveryOptionConfigOneOf as LocalDeliveryOptionConfigOneOf, type context$a_LocalDeliveryOptionError as LocalDeliveryOptionError, type context$a_LocalDeliveryOptionNonNullableFields as LocalDeliveryOptionNonNullableFields, type context$a_LocalDeliveryOptionsQueryBuilder as LocalDeliveryOptionsQueryBuilder, type context$a_LocalDeliveryOptionsQueryResult as LocalDeliveryOptionsQueryResult, LogicalOperator$2 as LogicalOperator, type MessageEnvelope$7 as MessageEnvelope, type Paging$1 as Paging, type context$a_QueryLocalDeliveryOptionsRequest as QueryLocalDeliveryOptionsRequest, type context$a_QueryLocalDeliveryOptionsResponse as QueryLocalDeliveryOptionsResponse, type context$a_QueryLocalDeliveryOptionsResponseNonNullableFields as QueryLocalDeliveryOptionsResponseNonNullableFields, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type context$a_RadiusConfig as RadiusConfig, type RemoveDeliveryRegionOptions$1 as RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest$1 as RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse$1 as RemoveDeliveryRegionResponse, type RemoveDeliveryRegionResponseNonNullableFields$1 as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$8 as RestoreInfo, type context$a_ScheduledDelivery as ScheduledDelivery, SortOrder$6 as SortOrder, type Sorting$6 as Sorting, type context$a_TimeOfDay as TimeOfDay, type context$a_TimePoint as TimePoint, type context$a_TimeSlot as TimeSlot, type context$a_TimeWindow as TimeWindow, type context$a_UpdateLocalDeliveryOption as UpdateLocalDeliveryOption, type context$a_UpdateLocalDeliveryOptionRequest as UpdateLocalDeliveryOptionRequest, type context$a_UpdateLocalDeliveryOptionResponse as UpdateLocalDeliveryOptionResponse, type context$a_UpdateLocalDeliveryOptionResponseNonNullableFields as UpdateLocalDeliveryOptionResponseNonNullableFields, WebhookIdentityType$7 as WebhookIdentityType, type context$a_ZipCodeConfig as ZipCodeConfig, addDeliveryRegion$2 as addDeliveryRegion, context$a_bulkCreateLocalDeliveryOption as bulkCreateLocalDeliveryOption, context$a_bulkDeleteLocalDeliveryOption as bulkDeleteLocalDeliveryOption, context$a_bulkUpdateLocalDeliveryOption as bulkUpdateLocalDeliveryOption, context$a_createLocalDeliveryOption as createLocalDeliveryOption, context$a_deleteLocalDeliveryOption as deleteLocalDeliveryOption, context$a_getLocalDeliveryOption as getLocalDeliveryOption, context$a_listLocalDeliveryOptions as listLocalDeliveryOptions, context$a_queryLocalDeliveryOptions as queryLocalDeliveryOptions, removeDeliveryRegion$2 as removeDeliveryRegion, context$a_updateLocalDeliveryOption as updateLocalDeliveryOption };
|
|
23674
23852
|
}
|
|
23675
23853
|
|
|
23676
23854
|
interface Order$1 {
|