@wix/ecom 1.0.797 → 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.
|
@@ -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 index_d$q_ActiveTimeInfo = ActiveTimeInfo;
|
|
1669
1669
|
type index_d$q_And = And;
|
|
@@ -1728,7 +1728,7 @@ declare const index_d$q_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
|
|
|
1728
1728
|
declare const index_d$q_queryDiscountRules: typeof queryDiscountRules;
|
|
1729
1729
|
declare const index_d$q_updateDiscountRule: typeof updateDiscountRule;
|
|
1730
1730
|
declare namespace index_d$q {
|
|
1731
|
-
export { type ActionEvent$l as ActionEvent, type index_d$q_ActiveTimeInfo as ActiveTimeInfo, type index_d$q_And as And, type AppliedDiscount$8 as AppliedDiscount, type index_d$q_AppliedDiscountRule as AppliedDiscountRule, index_d$q_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$
|
|
1731
|
+
export { type ActionEvent$l as ActionEvent, type index_d$q_ActiveTimeInfo as ActiveTimeInfo, type index_d$q_And as And, type AppliedDiscount$8 as AppliedDiscount, type index_d$q_AppliedDiscountRule as AppliedDiscountRule, index_d$q_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$f as BaseEventMetadata, type index_d$q_BuyXGetYInfo as BuyXGetYInfo, type index_d$q_CatalogItemFilter as CatalogItemFilter, type CatalogReference$b as CatalogReference, type index_d$q_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$q_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$q_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$d as CursorPaging, type Cursors$d as Cursors, type index_d$q_Custom as Custom, type index_d$q_CustomFilter as CustomFilter, type index_d$q_CustomerBuy as CustomerBuy, type index_d$q_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$q_CustomerGet as CustomerGet, type index_d$q_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$q_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$q_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$8 as DiscountRule, type index_d$q_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$q_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$8 as DiscountRuleName, type DiscountRuleNonNullableFields$7 as DiscountRuleNonNullableFields, type index_d$q_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$q_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$q_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$q_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$q_DiscountSettings as DiscountSettings, type index_d$q_DiscountTrigger as DiscountTrigger, type index_d$q_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$8 as DiscountType, type index_d$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 index_d$q_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$q_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$q_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$q_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$q_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$k as IdentificationData, type IdentificationDataIdOneOf$k as IdentificationDataIdOneOf, type index_d$q_ItemQuantityRange as ItemQuantityRange, type LineItem$7 as LineItem, type MessageEnvelope$k as MessageEnvelope, type MultiCurrencyPrice$6 as MultiCurrencyPrice, type index_d$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 index_d$q_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$q_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$q_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$l as RestoreInfo, type Scope$5 as Scope, type index_d$q_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$q_ScopeType as ScopeType, SortOrder$d as SortOrder, type Sorting$d as Sorting, type index_d$q_SpecificItemsInfo as SpecificItemsInfo, Status$5 as Status, type index_d$q_SubtotalRange as SubtotalRange, index_d$q_TriggerType as TriggerType, index_d$q_Type as Type, type index_d$q_UpdateDiscountRule as UpdateDiscountRule, type index_d$q_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$q_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$q_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$k as WebhookIdentityType, type index_d$q__publicOnDiscountRuleCreatedType as _publicOnDiscountRuleCreatedType, type index_d$q__publicOnDiscountRuleDeletedType as _publicOnDiscountRuleDeletedType, type index_d$q__publicOnDiscountRuleUpdatedType as _publicOnDiscountRuleUpdatedType, index_d$q_createDiscountRule as createDiscountRule, index_d$q_deleteDiscountRule as deleteDiscountRule, index_d$q_getDiscountRule as getDiscountRule, index_d$q_onDiscountRuleCreated as onDiscountRuleCreated, index_d$q_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$q_onDiscountRuleUpdated as onDiscountRuleUpdated, onDiscountRuleCreated$1 as publicOnDiscountRuleCreated, onDiscountRuleDeleted$1 as publicOnDiscountRuleDeleted, onDiscountRuleUpdated$1 as publicOnDiscountRuleUpdated, index_d$q_queryDiscountRules as queryDiscountRules, index_d$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 index_d$n_CreateSubscriptionContractRequest = CreateSubscriptionContractRequest;
|
|
3677
3677
|
type index_d$n_CreateSubscriptionContractResponse = CreateSubscriptionContractResponse;
|
|
@@ -3701,7 +3701,7 @@ declare const index_d$n_onSubscriptionContractDeleted: typeof onSubscriptionCont
|
|
|
3701
3701
|
declare const index_d$n_onSubscriptionContractUpdated: typeof onSubscriptionContractUpdated;
|
|
3702
3702
|
declare const index_d$n_querySubscriptionContracts: typeof querySubscriptionContracts;
|
|
3703
3703
|
declare namespace index_d$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 index_d$n_CreateSubscriptionContractRequest as CreateSubscriptionContractRequest, type index_d$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 index_d$n_GetSubscriptionContractRequest as GetSubscriptionContractRequest, type index_d$n_GetSubscriptionContractResponse as GetSubscriptionContractResponse, type index_d$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 index_d$n_QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequest, type index_d$n_QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponse, type index_d$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 index_d$n_SubscriptionContract as SubscriptionContract, type index_d$n_SubscriptionContractCreatedEnvelope as SubscriptionContractCreatedEnvelope, type index_d$n_SubscriptionContractDeletedEnvelope as SubscriptionContractDeletedEnvelope, type index_d$n_SubscriptionContractNonNullableFields as SubscriptionContractNonNullableFields, type index_d$n_SubscriptionContractUpdatedEnvelope as SubscriptionContractUpdatedEnvelope, type index_d$n_SubscriptionContractsQueryBuilder as SubscriptionContractsQueryBuilder, type index_d$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 index_d$n_UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequest, type index_d$n_UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponse, type V1SubscriptionSettings$1 as V1SubscriptionSettings, index_d$n_V2SubscriptionFrequency as V2SubscriptionFrequency, type VatId$9 as VatId, VatType$9 as VatType, WebhookIdentityType$i as WebhookIdentityType, WeightUnit$9 as WeightUnit, type index_d$n__publicOnSubscriptionContractCreatedType as _publicOnSubscriptionContractCreatedType, type index_d$n__publicOnSubscriptionContractDeletedType as _publicOnSubscriptionContractDeletedType, type index_d$n__publicOnSubscriptionContractUpdatedType as _publicOnSubscriptionContractUpdatedType, index_d$n_getSubscriptionContract as getSubscriptionContract, index_d$n_onSubscriptionContractCreated as onSubscriptionContractCreated, index_d$n_onSubscriptionContractDeleted as onSubscriptionContractDeleted, index_d$n_onSubscriptionContractUpdated as onSubscriptionContractUpdated, onSubscriptionContractCreated$1 as publicOnSubscriptionContractCreated, onSubscriptionContractDeleted$1 as publicOnSubscriptionContractDeleted, onSubscriptionContractUpdated$1 as publicOnSubscriptionContractUpdated, index_d$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 index_d$m_AbandonedCheckout = AbandonedCheckout;
|
|
4540
4540
|
type index_d$m_AbandonedCheckoutNonNullableFields = AbandonedCheckoutNonNullableFields;
|
|
@@ -4583,7 +4583,7 @@ declare const index_d$m_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
|
4583
4583
|
declare const index_d$m_redirectToCheckout: typeof redirectToCheckout;
|
|
4584
4584
|
declare const index_d$m_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4585
4585
|
declare namespace index_d$m {
|
|
4586
|
-
export { type index_d$m_AbandonedCheckout as AbandonedCheckout, type index_d$m_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$m_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$m_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$m_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$m_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$i as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$m_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$m_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$
|
|
4586
|
+
export { type index_d$m_AbandonedCheckout as AbandonedCheckout, type index_d$m_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$m_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$m_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$m_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$m_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$i as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$m_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$m_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$d as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type index_d$m_CartAbandonedEvent as CartAbandonedEvent, type index_d$m_CartRecoveredEvent as CartRecoveredEvent, type index_d$m_CommonCursorPaging as CommonCursorPaging, type index_d$m_CommonCursors as CommonCursors, type index_d$m_CommonPaging as CommonPaging, type index_d$m_CommonPagingMetadataV2 as CommonPagingMetadataV2, index_d$m_CommonSortOrder as CommonSortOrder, type index_d$m_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type index_d$m_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type index_d$m_DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponse, type DomainEvent$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$d as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EventMetadata$d as EventMetadata, type FullAddressContactDetails$7 as FullAddressContactDetails, type index_d$m_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type index_d$m_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type index_d$m_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h as IdentificationDataIdOneOf, index_d$m_Identity as Identity, type MessageEnvelope$h as MessageEnvelope, index_d$m_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$2 as Paging, type index_d$m_PagingMetadataV2 as PagingMetadataV2, type index_d$m_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type index_d$m_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type index_d$m_QueryAbandonedCheckoutsResponseNonNullableFields as QueryAbandonedCheckoutsResponseNonNullableFields, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, type index_d$m_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$i as RestoreInfo, type index_d$m_Search as Search, type index_d$m_SearchAbandonedCheckoutsOptions as SearchAbandonedCheckoutsOptions, type index_d$m_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type index_d$m_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type index_d$m_SearchAbandonedCheckoutsResponseNonNullableFields as SearchAbandonedCheckoutsResponseNonNullableFields, type index_d$m_SearchDetails as SearchDetails, type index_d$m_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$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 index_d$m_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$8 as VatId, VatType$8 as VatType, WebhookIdentityType$h as WebhookIdentityType, type index_d$m__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, index_d$m_deleteAbandonedCheckout as deleteAbandonedCheckout, index_d$m_getAbandonedCheckout as getAbandonedCheckout, index_d$m_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, index_d$m_queryAbandonedCheckouts as queryAbandonedCheckouts, index_d$m_redirectToCheckout as redirectToCheckout, index_d$m_searchAbandonedCheckouts as searchAbandonedCheckouts };
|
|
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 index_d$l_BackInStockItemDetails = BackInStockItemDetails;
|
|
5317
5317
|
type index_d$l_BackInStockNotificationRequest = BackInStockNotificationRequest;
|
|
@@ -5361,7 +5361,7 @@ declare const index_d$l_onBackInStockNotificationRequestUpdated: typeof onBackIn
|
|
|
5361
5361
|
declare const index_d$l_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
5362
5362
|
declare const index_d$l_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
5363
5363
|
declare namespace index_d$l {
|
|
5364
|
-
export { type ActionEvent$h as ActionEvent, type App$1 as App, type index_d$l_BackInStockItemDetails as BackInStockItemDetails, type index_d$l_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$l_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$l_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$l_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$l_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$l_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$
|
|
5364
|
+
export { type ActionEvent$h as ActionEvent, type App$1 as App, type index_d$l_BackInStockItemDetails as BackInStockItemDetails, type index_d$l_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$l_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$l_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$l_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$l_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$l_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$c as BaseEventMetadata, type CatalogReference$8 as CatalogReference, type index_d$l_CreateBackInStockNotificationRequestRequest as CreateBackInStockNotificationRequestRequest, type index_d$l_CreateBackInStockNotificationRequestResponse as CreateBackInStockNotificationRequestResponse, type index_d$l_CreateBackInStockNotificationRequestResponseNonNullableFields as CreateBackInStockNotificationRequestResponseNonNullableFields, type CursorPaging$a as CursorPaging, type Cursors$a as Cursors, type index_d$l_DeleteBackInStockNotificationRequestRequest as DeleteBackInStockNotificationRequestRequest, type index_d$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 index_d$l_File as File, type index_d$l_GetBackInStockNotificationRequestRequest as GetBackInStockNotificationRequestRequest, type index_d$l_GetBackInStockNotificationRequestResponse as GetBackInStockNotificationRequestResponse, type index_d$l_GetBackInStockNotificationRequestResponseNonNullableFields as GetBackInStockNotificationRequestResponseNonNullableFields, type index_d$l_GetBackInStockNotificationRequestsCountByCatalogReferencesRequest as GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, type index_d$l_GetBackInStockNotificationRequestsCountByCatalogReferencesResponse as GetBackInStockNotificationRequestsCountByCatalogReferencesResponse, type index_d$l_GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields as GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, type IdentificationData$g as IdentificationData, type IdentificationDataIdOneOf$g as IdentificationDataIdOneOf, type index_d$l_InvalidateCache as InvalidateCache, type index_d$l_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$l_MarkAsNotificationSentRequest as MarkAsNotificationSentRequest, type index_d$l_MarkAsNotificationSentResponse as MarkAsNotificationSentResponse, type index_d$l_MarkAsNotificationSentResponseNonNullableFields as MarkAsNotificationSentResponseNonNullableFields, type MessageEnvelope$g as MessageEnvelope, type index_d$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 index_d$l_QueryBackInStockNotificationRequestsRequest as QueryBackInStockNotificationRequestsRequest, type index_d$l_QueryBackInStockNotificationRequestsResponse as QueryBackInStockNotificationRequestsResponse, type index_d$l_QueryBackInStockNotificationRequestsResponseNonNullableFields as QueryBackInStockNotificationRequestsResponseNonNullableFields, type index_d$l_ReportItemsBackInStockOptions as ReportItemsBackInStockOptions, type index_d$l_ReportItemsBackInStockRequest as ReportItemsBackInStockRequest, type index_d$l_ReportItemsBackInStockResponse as ReportItemsBackInStockResponse, type index_d$l_RequestsQueryBuilder as RequestsQueryBuilder, type index_d$l_RequestsQueryResult as RequestsQueryResult, type RestoreInfo$h as RestoreInfo, SortOrder$a as SortOrder, type Sorting$a as Sorting, Status$3 as Status, type index_d$l_URI as URI, WebhookIdentityType$g as WebhookIdentityType, type index_d$l__publicOnBackInStockNotificationRequestCreatedType as _publicOnBackInStockNotificationRequestCreatedType, type index_d$l__publicOnBackInStockNotificationRequestDeletedType as _publicOnBackInStockNotificationRequestDeletedType, type index_d$l__publicOnBackInStockNotificationRequestUpdatedType as _publicOnBackInStockNotificationRequestUpdatedType, index_d$l_createBackInStockNotificationRequest as createBackInStockNotificationRequest, index_d$l_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, index_d$l_getBackInStockNotificationRequest as getBackInStockNotificationRequest, index_d$l_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, index_d$l_markAsNotificationSent as markAsNotificationSent, index_d$l_onBackInStockNotificationRequestCreated as onBackInStockNotificationRequestCreated, index_d$l_onBackInStockNotificationRequestDeleted as onBackInStockNotificationRequestDeleted, index_d$l_onBackInStockNotificationRequestUpdated as onBackInStockNotificationRequestUpdated, onBackInStockNotificationRequestCreated$1 as publicOnBackInStockNotificationRequestCreated, onBackInStockNotificationRequestDeleted$1 as publicOnBackInStockNotificationRequestDeleted, onBackInStockNotificationRequestUpdated$1 as publicOnBackInStockNotificationRequestUpdated, index_d$l_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, index_d$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 index_d$j_AddToCartOptions = AddToCartOptions;
|
|
8150
8150
|
type index_d$j_CreateCartOptions = CreateCartOptions;
|
|
@@ -8157,7 +8157,7 @@ declare const index_d$j_estimateTotals: typeof estimateTotals;
|
|
|
8157
8157
|
declare const index_d$j_getCart: typeof getCart;
|
|
8158
8158
|
declare const index_d$j_updateCart: typeof updateCart;
|
|
8159
8159
|
declare namespace index_d$j {
|
|
8160
|
-
export { type ActionEvent$g as ActionEvent, type index_d$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 index_d$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 index_d$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 index_d$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, index_d$j_addToCart as addToCart, index_d$j_createCart as createCart, createCheckout$2 as createCheckout, index_d$j_deleteCart as deleteCart, index_d$j_estimateTotals as estimateTotals, index_d$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, index_d$j_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8160
|
+
export { type ActionEvent$g as ActionEvent, type index_d$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 index_d$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 index_d$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 index_d$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, index_d$j_addToCart as addToCart, index_d$j_createCart as createCart, createCheckout$2 as createCheckout, index_d$j_deleteCart as deleteCart, index_d$j_estimateTotals as estimateTotals, index_d$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, index_d$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 index_d$i_AddToCartRequest = AddToCartRequest;
|
|
10711
10711
|
type index_d$i_AddToCartResponse = AddToCartResponse;
|
|
@@ -10767,7 +10767,7 @@ declare const index_d$i_removeLineItemsFromCurrentCart: typeof removeLineItemsFr
|
|
|
10767
10767
|
declare const index_d$i_updateCurrentCart: typeof updateCurrentCart;
|
|
10768
10768
|
declare const index_d$i_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
10769
10769
|
declare namespace index_d$i {
|
|
10770
|
-
export { type ActionEvent$f as ActionEvent, type index_d$i_AddToCartRequest as AddToCartRequest, type index_d$i_AddToCartResponse as AddToCartResponse, type index_d$i_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$i_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$i_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$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 index_d$i_Cart as Cart, type index_d$i_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$i_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$i_CartDiscount as CartDiscount, type index_d$i_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$i_CartNonNullableFields as CartNonNullableFields, type index_d$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 index_d$i_CreateCartRequest as CreateCartRequest, type index_d$i_CreateCartResponse as CreateCartResponse, type index_d$i_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$i_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$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 index_d$i_DeleteCartRequest as DeleteCartRequest, type index_d$i_DeleteCartResponse as DeleteCartResponse, type index_d$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 index_d$i_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$i_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$i_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$i_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$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 index_d$i_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$i_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$i_GetCartRequest as GetCartRequest, type index_d$i_GetCartResponse as GetCartResponse, type index_d$i_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$i_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$i_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$i_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type index_d$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 index_d$i_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$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 index_d$i_UpdateCartRequest as UpdateCartRequest, type index_d$i_UpdateCartResponse as UpdateCartResponse, type index_d$i_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$i_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$i_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$i_V1Coupon as V1Coupon, type index_d$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 index_d$i__publicOnCartCreatedType as _publicOnCartCreatedType, type index_d$i__publicOnCartDeletedType as _publicOnCartDeletedType, type index_d$i__publicOnCartUpdatedType as _publicOnCartUpdatedType, index_d$i_addToCurrentCart as addToCurrentCart, index_d$i_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$i_deleteCurrentCart as deleteCurrentCart, index_d$i_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$i_getCurrentCart as getCurrentCart, index_d$i_onCartCreated as onCartCreated, index_d$i_onCartDeleted as onCartDeleted, index_d$i_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, index_d$i_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$i_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$i_updateCurrentCart as updateCurrentCart, index_d$i_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
10770
|
+
export { type ActionEvent$f as ActionEvent, type index_d$i_AddToCartRequest as AddToCartRequest, type index_d$i_AddToCartResponse as AddToCartResponse, type index_d$i_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$i_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$i_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$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 index_d$i_Cart as Cart, type index_d$i_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$i_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$i_CartDiscount as CartDiscount, type index_d$i_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$i_CartNonNullableFields as CartNonNullableFields, type index_d$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 index_d$i_CreateCartRequest as CreateCartRequest, type index_d$i_CreateCartResponse as CreateCartResponse, type index_d$i_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$i_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$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 index_d$i_DeleteCartRequest as DeleteCartRequest, type index_d$i_DeleteCartResponse as DeleteCartResponse, type index_d$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 index_d$i_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$i_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$i_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$i_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$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 index_d$i_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$i_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$i_GetCartRequest as GetCartRequest, type index_d$i_GetCartResponse as GetCartResponse, type index_d$i_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$i_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$i_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$i_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type index_d$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 index_d$i_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$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 index_d$i_UpdateCartRequest as UpdateCartRequest, type index_d$i_UpdateCartResponse as UpdateCartResponse, type index_d$i_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$i_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$i_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$i_V1Coupon as V1Coupon, type index_d$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 index_d$i__publicOnCartCreatedType as _publicOnCartCreatedType, type index_d$i__publicOnCartDeletedType as _publicOnCartDeletedType, type index_d$i__publicOnCartUpdatedType as _publicOnCartUpdatedType, index_d$i_addToCurrentCart as addToCurrentCart, index_d$i_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$i_deleteCurrentCart as deleteCurrentCart, index_d$i_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$i_getCurrentCart as getCurrentCart, index_d$i_onCartCreated as onCartCreated, index_d$i_onCartDeleted as onCartDeleted, index_d$i_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, index_d$i_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$i_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$i_updateCurrentCart as updateCurrentCart, index_d$i_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
10771
10771
|
}
|
|
10772
10772
|
|
|
10773
10773
|
interface Checkout$1 {
|
|
@@ -11026,6 +11026,11 @@ interface LineItem$4 {
|
|
|
11026
11026
|
* @readonly
|
|
11027
11027
|
*/
|
|
11028
11028
|
itemType?: ItemType$4;
|
|
11029
|
+
/**
|
|
11030
|
+
* Subscription option information.
|
|
11031
|
+
* @readonly
|
|
11032
|
+
*/
|
|
11033
|
+
subscriptionOptionInfo?: SubscriptionOptionInfo$2;
|
|
11029
11034
|
/**
|
|
11030
11035
|
* Type of selected payment option for current item. Defaults to `"FULL_PAYMENT_ONLINE"`.
|
|
11031
11036
|
* + `"FULL_PAYMENT_ONLINE"`: The entire payment for this item happens as part of the checkout.
|
|
@@ -13612,7 +13617,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
13612
13617
|
interface GetCheckoutPaymentSettingsResponseNonNullableFields {
|
|
13613
13618
|
blockedPaymentOptions: PaymentOption[];
|
|
13614
13619
|
}
|
|
13615
|
-
interface BaseEventMetadata$
|
|
13620
|
+
interface BaseEventMetadata$9 {
|
|
13616
13621
|
/** App instance ID. */
|
|
13617
13622
|
instanceId?: string | null;
|
|
13618
13623
|
/** Event type. */
|
|
@@ -13620,7 +13625,7 @@ interface BaseEventMetadata$a {
|
|
|
13620
13625
|
/** The identification type and identity data. */
|
|
13621
13626
|
identity?: IdentificationData$d;
|
|
13622
13627
|
}
|
|
13623
|
-
interface EventMetadata$
|
|
13628
|
+
interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
13624
13629
|
/**
|
|
13625
13630
|
* Unique event ID.
|
|
13626
13631
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -13660,15 +13665,15 @@ interface EventMetadata$a extends BaseEventMetadata$a {
|
|
|
13660
13665
|
}
|
|
13661
13666
|
interface CheckoutCreatedEnvelope {
|
|
13662
13667
|
entity: Checkout$1;
|
|
13663
|
-
metadata: EventMetadata$
|
|
13668
|
+
metadata: EventMetadata$9;
|
|
13664
13669
|
}
|
|
13665
13670
|
interface CheckoutUpdatedEnvelope {
|
|
13666
13671
|
entity: Checkout$1;
|
|
13667
|
-
metadata: EventMetadata$
|
|
13672
|
+
metadata: EventMetadata$9;
|
|
13668
13673
|
}
|
|
13669
13674
|
interface CheckoutCompletedEnvelope {
|
|
13670
13675
|
data: CheckoutMarkedAsCompleted;
|
|
13671
|
-
metadata: EventMetadata$
|
|
13676
|
+
metadata: EventMetadata$9;
|
|
13672
13677
|
}
|
|
13673
13678
|
interface CreateCheckoutOptions {
|
|
13674
13679
|
/** Checkout information. */
|
|
@@ -14092,7 +14097,7 @@ declare const onCheckoutCreated$1: EventDefinition<CheckoutCreatedEnvelope, "wix
|
|
|
14092
14097
|
declare const onCheckoutUpdated$1: EventDefinition<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
|
|
14093
14098
|
declare const onCheckoutCompleted$1: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
14094
14099
|
|
|
14095
|
-
declare function createEventModule$
|
|
14100
|
+
declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14096
14101
|
|
|
14097
14102
|
declare const createCheckout: MaybeContext<BuildRESTFunction<typeof createCheckout$1> & typeof createCheckout$1>;
|
|
14098
14103
|
declare const getCheckout: MaybeContext<BuildRESTFunction<typeof getCheckout$1> & typeof getCheckout$1>;
|
|
@@ -14113,20 +14118,20 @@ type _publicOnCheckoutCreatedType = typeof onCheckoutCreated$1;
|
|
|
14113
14118
|
/**
|
|
14114
14119
|
* Triggered when a checkout is created.
|
|
14115
14120
|
*/
|
|
14116
|
-
declare const onCheckoutCreated: ReturnType<typeof createEventModule$
|
|
14121
|
+
declare const onCheckoutCreated: ReturnType<typeof createEventModule$9<_publicOnCheckoutCreatedType>>;
|
|
14117
14122
|
|
|
14118
14123
|
type _publicOnCheckoutUpdatedType = typeof onCheckoutUpdated$1;
|
|
14119
14124
|
/**
|
|
14120
14125
|
* Triggered when a checkout is updated.
|
|
14121
14126
|
*/
|
|
14122
|
-
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$
|
|
14127
|
+
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$9<_publicOnCheckoutUpdatedType>>;
|
|
14123
14128
|
|
|
14124
14129
|
type _publicOnCheckoutCompletedType = typeof onCheckoutCompleted$1;
|
|
14125
14130
|
/**
|
|
14126
14131
|
* Triggered when an order created from this checkout is
|
|
14127
14132
|
* successfully paid for or when a checkout is marked as completed.
|
|
14128
14133
|
*/
|
|
14129
|
-
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$
|
|
14134
|
+
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$9<_publicOnCheckoutCompletedType>>;
|
|
14130
14135
|
|
|
14131
14136
|
type index_d$h_AddToCheckoutOptions = AddToCheckoutOptions;
|
|
14132
14137
|
type index_d$h_AddToCheckoutRequest = AddToCheckoutRequest;
|
|
@@ -14234,7 +14239,7 @@ declare const index_d$h_removeOverrideCheckoutUrl: typeof removeOverrideCheckout
|
|
|
14234
14239
|
declare const index_d$h_updateCheckout: typeof updateCheckout;
|
|
14235
14240
|
declare const index_d$h_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
14236
14241
|
declare namespace index_d$h {
|
|
14237
|
-
export { type ActionEvent$e as ActionEvent, type index_d$h_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$h_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$h_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$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 index_d$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, index_d$h_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type index_d$h_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type index_d$h_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$h_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$h_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$h_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$h_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type index_d$h_CommonVatId as CommonVatId, index_d$h_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type index_d$h_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$h_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$h_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$h_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$h_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$h_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$h_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type index_d$h_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$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, index_d$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 index_d$h_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$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 index_d$h_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$h_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$h_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type index_d$h_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type index_d$h_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type index_d$h_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, type index_d$h_GetCheckoutRequest as GetCheckoutRequest, type index_d$h_GetCheckoutResponse as GetCheckoutResponse, type index_d$h_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$h_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$h_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$h_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$h_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$h_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$h_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$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 index_d$h_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type index_d$h_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$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 index_d$h_PaymentErrorResponseData as PaymentErrorResponseData, index_d$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 index_d$h_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$h_RedeemErrorData as RedeemErrorData, type index_d$h_RemoveCouponRequest as RemoveCouponRequest, type index_d$h_RemoveCouponResponse as RemoveCouponResponse, type index_d$h_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$h_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$h_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$h_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$h_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$h_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$h_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$h_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$h_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$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 index_d$h_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$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 index_d$h_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type index_d$h_Subscription as Subscription, type index_d$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 index_d$h_UpdateCheckout as UpdateCheckout, type index_d$h_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$h_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$h_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$h_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$h_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$h_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$h_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$h_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$h_V1BuyerInfo as V1BuyerInfo, type index_d$h_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type index_d$h_V1ShippingInfo as V1ShippingInfo, type index_d$h_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$h_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$h_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type index_d$h_ViolationsList as ViolationsList, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$6 as WeightUnit, type index_d$h__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type index_d$h__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type index_d$h__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, index_d$h_addToCheckout as addToCheckout, index_d$h_createCheckout as createCheckout, createOrder$2 as createOrder, index_d$h_getCheckout as getCheckout, index_d$h_getCheckoutByCartId as getCheckoutByCartId, index_d$h_getCheckoutPaymentSettings as getCheckoutPaymentSettings, index_d$h_getCheckoutUrl as getCheckoutUrl, index_d$h_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$h_onCheckoutCompleted as onCheckoutCompleted, index_d$h_onCheckoutCreated as onCheckoutCreated, index_d$h_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, index_d$h_removeCoupon as removeCoupon, index_d$h_removeGiftCard as removeGiftCard, index_d$h_removeLineItems as removeLineItems, index_d$h_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$h_updateCheckout as updateCheckout, index_d$h_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14242
|
+
export { type ActionEvent$e as ActionEvent, type index_d$h_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$h_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$h_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$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 index_d$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, index_d$h_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type index_d$h_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type index_d$h_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$h_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$h_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$h_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$h_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type index_d$h_CommonVatId as CommonVatId, index_d$h_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type index_d$h_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$h_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$h_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$h_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$h_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$h_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$h_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type index_d$h_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$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, index_d$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 index_d$h_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$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 index_d$h_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$h_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$h_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type index_d$h_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type index_d$h_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type index_d$h_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, type index_d$h_GetCheckoutRequest as GetCheckoutRequest, type index_d$h_GetCheckoutResponse as GetCheckoutResponse, type index_d$h_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$h_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$h_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$h_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$h_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$h_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$h_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$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 index_d$h_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type index_d$h_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$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 index_d$h_PaymentErrorResponseData as PaymentErrorResponseData, index_d$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 index_d$h_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$h_RedeemErrorData as RedeemErrorData, type index_d$h_RemoveCouponRequest as RemoveCouponRequest, type index_d$h_RemoveCouponResponse as RemoveCouponResponse, type index_d$h_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$h_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$h_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$h_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$h_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$h_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$h_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$h_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$h_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$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 index_d$h_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$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 index_d$h_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type index_d$h_Subscription as Subscription, type index_d$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 index_d$h_UpdateCheckout as UpdateCheckout, type index_d$h_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$h_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$h_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$h_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$h_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$h_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$h_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$h_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$h_V1BuyerInfo as V1BuyerInfo, type index_d$h_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type index_d$h_V1ShippingInfo as V1ShippingInfo, type index_d$h_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$h_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$h_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type index_d$h_ViolationsList as ViolationsList, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$6 as WeightUnit, type index_d$h__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type index_d$h__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type index_d$h__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, index_d$h_addToCheckout as addToCheckout, index_d$h_createCheckout as createCheckout, createOrder$2 as createOrder, index_d$h_getCheckout as getCheckout, index_d$h_getCheckoutByCartId as getCheckoutByCartId, index_d$h_getCheckoutPaymentSettings as getCheckoutPaymentSettings, index_d$h_getCheckoutUrl as getCheckoutUrl, index_d$h_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$h_onCheckoutCompleted as onCheckoutCompleted, index_d$h_onCheckoutCreated as onCheckoutCreated, index_d$h_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, index_d$h_removeCoupon as removeCoupon, index_d$h_removeGiftCard as removeGiftCard, index_d$h_removeLineItems as removeLineItems, index_d$h_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$h_updateCheckout as updateCheckout, index_d$h_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14238
14243
|
}
|
|
14239
14244
|
|
|
14240
14245
|
interface CheckoutSettings {
|
|
@@ -14575,7 +14580,7 @@ interface GetCheckoutSettingsResponseNonNullableFields {
|
|
|
14575
14580
|
interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
14576
14581
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
14577
14582
|
}
|
|
14578
|
-
interface BaseEventMetadata$
|
|
14583
|
+
interface BaseEventMetadata$8 {
|
|
14579
14584
|
/** App instance ID. */
|
|
14580
14585
|
instanceId?: string | null;
|
|
14581
14586
|
/** Event type. */
|
|
@@ -14583,7 +14588,7 @@ interface BaseEventMetadata$9 {
|
|
|
14583
14588
|
/** The identification type and identity data. */
|
|
14584
14589
|
identity?: IdentificationData$c;
|
|
14585
14590
|
}
|
|
14586
|
-
interface EventMetadata$
|
|
14591
|
+
interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
14587
14592
|
/**
|
|
14588
14593
|
* Unique event ID.
|
|
14589
14594
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -14623,7 +14628,7 @@ interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
|
14623
14628
|
}
|
|
14624
14629
|
interface CheckoutSettingsUpdatedEnvelope {
|
|
14625
14630
|
entity: CheckoutSettings;
|
|
14626
|
-
metadata: EventMetadata$
|
|
14631
|
+
metadata: EventMetadata$8;
|
|
14627
14632
|
}
|
|
14628
14633
|
|
|
14629
14634
|
declare function getCheckoutSettings$1(httpClient: HttpClient): GetCheckoutSettingsSignature;
|
|
@@ -14651,7 +14656,7 @@ interface UpdateCheckoutSettingsSignature {
|
|
|
14651
14656
|
}
|
|
14652
14657
|
declare const onCheckoutSettingsUpdated$1: EventDefinition<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
|
|
14653
14658
|
|
|
14654
|
-
declare function createEventModule$
|
|
14659
|
+
declare function createEventModule$8<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14655
14660
|
|
|
14656
14661
|
declare const getCheckoutSettings: MaybeContext<BuildRESTFunction<typeof getCheckoutSettings$1> & typeof getCheckoutSettings$1>;
|
|
14657
14662
|
declare const updateCheckoutSettings: MaybeContext<BuildRESTFunction<typeof updateCheckoutSettings$1> & typeof updateCheckoutSettings$1>;
|
|
@@ -14660,7 +14665,7 @@ type _publicOnCheckoutSettingsUpdatedType = typeof onCheckoutSettingsUpdated$1;
|
|
|
14660
14665
|
/**
|
|
14661
14666
|
* Triggered when checkout settings are updated.
|
|
14662
14667
|
*/
|
|
14663
|
-
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$
|
|
14668
|
+
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$8<_publicOnCheckoutSettingsUpdatedType>>;
|
|
14664
14669
|
|
|
14665
14670
|
type index_d$g_Alignment = Alignment;
|
|
14666
14671
|
declare const index_d$g_Alignment: typeof Alignment;
|
|
@@ -14696,7 +14701,7 @@ declare const index_d$g_getCheckoutSettings: typeof getCheckoutSettings;
|
|
|
14696
14701
|
declare const index_d$g_onCheckoutSettingsUpdated: typeof onCheckoutSettingsUpdated;
|
|
14697
14702
|
declare const index_d$g_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
14698
14703
|
declare namespace index_d$g {
|
|
14699
|
-
export { type ActionEvent$d as ActionEvent, index_d$g_Alignment as Alignment, type BaseEventMetadata$
|
|
14704
|
+
export { type ActionEvent$d as ActionEvent, index_d$g_Alignment as Alignment, type BaseEventMetadata$8 as BaseEventMetadata, type index_d$g_CheckboxField as CheckboxField, type index_d$g_CheckoutBrand as CheckoutBrand, type index_d$g_CheckoutFields as CheckoutFields, type index_d$g_CheckoutHeader as CheckoutHeader, type index_d$g_CheckoutPolicies as CheckoutPolicies, type index_d$g_CheckoutSettings as CheckoutSettings, type index_d$g_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type index_d$g_ContactUsPolicy as ContactUsPolicy, type index_d$g_CustomCheckoutPolicy as CustomCheckoutPolicy, type index_d$g_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type index_d$g_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type index_d$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 index_d$g_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type index_d$g_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type index_d$g_GetCheckoutSettingsResponseNonNullableFields as GetCheckoutSettingsResponseNonNullableFields, type index_d$g_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type index_d$g_ListCheckoutSettingsRequest as ListCheckoutSettingsRequest, type index_d$g_ListCheckoutSettingsResponse as ListCheckoutSettingsResponse, type index_d$g_Logo as Logo, index_d$g_LogoSize as LogoSize, type MessageEnvelope$c as MessageEnvelope, type index_d$g_PrivacyPolicy as PrivacyPolicy, type RestoreInfo$d as RestoreInfo, type index_d$g_ReturnPolicy as ReturnPolicy, type index_d$g_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type index_d$g_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type index_d$g_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, type index_d$g_UpdateCheckoutSettingsResponseNonNullableFields as UpdateCheckoutSettingsResponseNonNullableFields, WebhookIdentityType$c as WebhookIdentityType, type index_d$g__publicOnCheckoutSettingsUpdatedType as _publicOnCheckoutSettingsUpdatedType, index_d$g_getCheckoutSettings as getCheckoutSettings, index_d$g_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, onCheckoutSettingsUpdated$1 as publicOnCheckoutSettingsUpdated, index_d$g_updateCheckoutSettings as updateCheckoutSettings };
|
|
14700
14705
|
}
|
|
14701
14706
|
|
|
14702
14707
|
interface CheckoutTemplate {
|
|
@@ -15193,7 +15198,7 @@ interface QueryCheckoutTemplatesRequest {
|
|
|
15193
15198
|
}
|
|
15194
15199
|
interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
15195
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`. */
|
|
15196
|
-
cursorPaging?: CursorPaging$
|
|
15201
|
+
cursorPaging?: CursorPaging$9;
|
|
15197
15202
|
/**
|
|
15198
15203
|
* Filter object in the following format:
|
|
15199
15204
|
* `"filter" : {
|
|
@@ -15208,24 +15213,24 @@ interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
|
15208
15213
|
* Sort object in the following format:
|
|
15209
15214
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
15210
15215
|
*/
|
|
15211
|
-
sort?: Sorting$
|
|
15216
|
+
sort?: Sorting$9[];
|
|
15212
15217
|
}
|
|
15213
15218
|
/** @oneof */
|
|
15214
15219
|
interface CursorQueryPagingMethodOneOf$6 {
|
|
15215
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`. */
|
|
15216
|
-
cursorPaging?: CursorPaging$
|
|
15221
|
+
cursorPaging?: CursorPaging$9;
|
|
15217
15222
|
}
|
|
15218
|
-
interface Sorting$
|
|
15223
|
+
interface Sorting$9 {
|
|
15219
15224
|
/** Name of the field to sort by. */
|
|
15220
15225
|
fieldName?: string;
|
|
15221
15226
|
/** Sort order. */
|
|
15222
|
-
order?: SortOrder$
|
|
15227
|
+
order?: SortOrder$9;
|
|
15223
15228
|
}
|
|
15224
|
-
declare enum SortOrder$
|
|
15229
|
+
declare enum SortOrder$9 {
|
|
15225
15230
|
ASC = "ASC",
|
|
15226
15231
|
DESC = "DESC"
|
|
15227
15232
|
}
|
|
15228
|
-
interface CursorPaging$
|
|
15233
|
+
interface CursorPaging$9 {
|
|
15229
15234
|
/** Number of items to load. */
|
|
15230
15235
|
limit?: number | null;
|
|
15231
15236
|
/**
|
|
@@ -15241,13 +15246,13 @@ interface QueryCheckoutTemplatesResponse {
|
|
|
15241
15246
|
/** Retrieved checkout templates. */
|
|
15242
15247
|
checkoutTemplates?: CheckoutTemplate[];
|
|
15243
15248
|
/** Paging metadata. */
|
|
15244
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
15249
|
+
pagingMetadata?: CursorPagingMetadata$9;
|
|
15245
15250
|
}
|
|
15246
|
-
interface CursorPagingMetadata$
|
|
15251
|
+
interface CursorPagingMetadata$9 {
|
|
15247
15252
|
/** Number of items returned in the response. */
|
|
15248
15253
|
count?: number | null;
|
|
15249
15254
|
/** Offset that was requested. */
|
|
15250
|
-
cursors?: Cursors$
|
|
15255
|
+
cursors?: Cursors$9;
|
|
15251
15256
|
/**
|
|
15252
15257
|
* Indicates if there are more results after the current page.
|
|
15253
15258
|
* If `true`, another page of results can be retrieved.
|
|
@@ -15255,7 +15260,7 @@ interface CursorPagingMetadata$8 {
|
|
|
15255
15260
|
*/
|
|
15256
15261
|
hasNext?: boolean | null;
|
|
15257
15262
|
}
|
|
15258
|
-
interface Cursors$
|
|
15263
|
+
interface Cursors$9 {
|
|
15259
15264
|
/** Cursor pointing to next page in the list of results. */
|
|
15260
15265
|
next?: string | null;
|
|
15261
15266
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -15540,6 +15545,11 @@ interface LineItem$3 {
|
|
|
15540
15545
|
* @readonly
|
|
15541
15546
|
*/
|
|
15542
15547
|
itemType?: ItemType$3;
|
|
15548
|
+
/**
|
|
15549
|
+
* Subscription option information.
|
|
15550
|
+
* @readonly
|
|
15551
|
+
*/
|
|
15552
|
+
subscriptionOptionInfo?: SubscriptionOptionInfo$1;
|
|
15543
15553
|
/**
|
|
15544
15554
|
* Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
|
|
15545
15555
|
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
@@ -16760,7 +16770,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
16760
16770
|
body: Uint8Array;
|
|
16761
16771
|
headers: HeadersEntryNonNullableFields[];
|
|
16762
16772
|
}
|
|
16763
|
-
interface BaseEventMetadata$
|
|
16773
|
+
interface BaseEventMetadata$7 {
|
|
16764
16774
|
/** App instance ID. */
|
|
16765
16775
|
instanceId?: string | null;
|
|
16766
16776
|
/** Event type. */
|
|
@@ -16768,7 +16778,7 @@ interface BaseEventMetadata$8 {
|
|
|
16768
16778
|
/** The identification type and identity data. */
|
|
16769
16779
|
identity?: IdentificationData$b;
|
|
16770
16780
|
}
|
|
16771
|
-
interface EventMetadata$
|
|
16781
|
+
interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
16772
16782
|
/**
|
|
16773
16783
|
* Unique event ID.
|
|
16774
16784
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -16808,18 +16818,18 @@ interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
|
16808
16818
|
}
|
|
16809
16819
|
interface CheckoutTemplateCreatedEnvelope {
|
|
16810
16820
|
entity: CheckoutTemplate;
|
|
16811
|
-
metadata: EventMetadata$
|
|
16821
|
+
metadata: EventMetadata$7;
|
|
16812
16822
|
}
|
|
16813
16823
|
interface CheckoutTemplateUpdatedEnvelope {
|
|
16814
16824
|
entity: CheckoutTemplate;
|
|
16815
|
-
metadata: EventMetadata$
|
|
16825
|
+
metadata: EventMetadata$7;
|
|
16816
16826
|
}
|
|
16817
16827
|
interface CheckoutTemplateDeletedEnvelope {
|
|
16818
|
-
metadata: EventMetadata$
|
|
16828
|
+
metadata: EventMetadata$7;
|
|
16819
16829
|
}
|
|
16820
16830
|
interface CheckoutTemplateUsedEnvelope {
|
|
16821
16831
|
data: CheckoutTemplateUsed;
|
|
16822
|
-
metadata: EventMetadata$
|
|
16832
|
+
metadata: EventMetadata$7;
|
|
16823
16833
|
}
|
|
16824
16834
|
interface UpdateCheckoutTemplate {
|
|
16825
16835
|
/**
|
|
@@ -16864,14 +16874,14 @@ interface UpdateCheckoutTemplate {
|
|
|
16864
16874
|
*/
|
|
16865
16875
|
customContentReference?: CustomContentReference;
|
|
16866
16876
|
}
|
|
16867
|
-
interface QueryCursorResult$
|
|
16868
|
-
cursors: Cursors$
|
|
16877
|
+
interface QueryCursorResult$7 {
|
|
16878
|
+
cursors: Cursors$9;
|
|
16869
16879
|
hasNext: () => boolean;
|
|
16870
16880
|
hasPrev: () => boolean;
|
|
16871
16881
|
length: number;
|
|
16872
16882
|
pageSize: number;
|
|
16873
16883
|
}
|
|
16874
|
-
interface CheckoutTemplatesQueryResult extends QueryCursorResult$
|
|
16884
|
+
interface CheckoutTemplatesQueryResult extends QueryCursorResult$7 {
|
|
16875
16885
|
items: CheckoutTemplate[];
|
|
16876
16886
|
query: CheckoutTemplatesQueryBuilder;
|
|
16877
16887
|
next: () => Promise<CheckoutTemplatesQueryResult>;
|
|
@@ -17028,7 +17038,7 @@ declare const onCheckoutTemplateUpdated$1: EventDefinition<CheckoutTemplateUpdat
|
|
|
17028
17038
|
declare const onCheckoutTemplateDeleted$1: EventDefinition<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
|
|
17029
17039
|
declare const onCheckoutTemplateUsed$1: EventDefinition<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
|
|
17030
17040
|
|
|
17031
|
-
declare function createEventModule$
|
|
17041
|
+
declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
17032
17042
|
|
|
17033
17043
|
declare const createCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof createCheckoutTemplate$1> & typeof createCheckoutTemplate$1>;
|
|
17034
17044
|
declare const getCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof getCheckoutTemplate$1> & typeof getCheckoutTemplate$1>;
|
|
@@ -17042,25 +17052,25 @@ type _publicOnCheckoutTemplateCreatedType = typeof onCheckoutTemplateCreated$1;
|
|
|
17042
17052
|
/**
|
|
17043
17053
|
* Triggered when a checkout template is created.
|
|
17044
17054
|
*/
|
|
17045
|
-
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$
|
|
17055
|
+
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$7<_publicOnCheckoutTemplateCreatedType>>;
|
|
17046
17056
|
|
|
17047
17057
|
type _publicOnCheckoutTemplateUpdatedType = typeof onCheckoutTemplateUpdated$1;
|
|
17048
17058
|
/**
|
|
17049
17059
|
* Triggered when a checkout template is updated.
|
|
17050
17060
|
*/
|
|
17051
|
-
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$
|
|
17061
|
+
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$7<_publicOnCheckoutTemplateUpdatedType>>;
|
|
17052
17062
|
|
|
17053
17063
|
type _publicOnCheckoutTemplateDeletedType = typeof onCheckoutTemplateDeleted$1;
|
|
17054
17064
|
/**
|
|
17055
17065
|
* Triggered when a checkout template is deleted.
|
|
17056
17066
|
*/
|
|
17057
|
-
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$
|
|
17067
|
+
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$7<_publicOnCheckoutTemplateDeletedType>>;
|
|
17058
17068
|
|
|
17059
17069
|
type _publicOnCheckoutTemplateUsedType = typeof onCheckoutTemplateUsed$1;
|
|
17060
17070
|
/**
|
|
17061
17071
|
* Triggered when a checkout is created from a checkout template.
|
|
17062
17072
|
*/
|
|
17063
|
-
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$
|
|
17073
|
+
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$7<_publicOnCheckoutTemplateUsedType>>;
|
|
17064
17074
|
|
|
17065
17075
|
type index_d$f_CatalogOverrideFields = CatalogOverrideFields;
|
|
17066
17076
|
type index_d$f_Checkout = Checkout;
|
|
@@ -17134,7 +17144,7 @@ declare const index_d$f_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
|
|
|
17134
17144
|
declare const index_d$f_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
17135
17145
|
declare const index_d$f_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
17136
17146
|
declare namespace index_d$f {
|
|
17137
|
-
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 index_d$f_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$4 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type index_d$f_Checkout as Checkout, type index_d$f_CheckoutCustomization as CheckoutCustomization, type index_d$f_CheckoutTemplate as CheckoutTemplate, type index_d$f_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$f_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$f_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$f_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$f_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$f_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$f_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$f_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$f_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type index_d$f_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$f_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$f_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$f_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$f_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$f_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$f_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$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 index_d$f_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$f_CustomSettings as CustomSettings, type index_d$f_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$f_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type index_d$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 index_d$f_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$f_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$f_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type index_d$f_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type index_d$f_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$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, index_d$f_NameInLineItem as NameInLineItem, index_d$f_NameInOther as NameInOther, type index_d$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 index_d$f_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$f_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$f_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type index_d$f_RawHttpResponse as RawHttpResponse, type index_d$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, index_d$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 index_d$f_Target as Target, type index_d$f_TargetLineItem as TargetLineItem, type index_d$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 index_d$f_Title as Title, type index_d$f_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$f_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$f_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$f_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$f_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type index_d$f_Violation as Violation, type index_d$f_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$5 as WeightUnit, type index_d$f__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type index_d$f__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type index_d$f__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type index_d$f__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, index_d$f_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$f_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$f_createCheckoutTemplate as createCheckoutTemplate, index_d$f_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$f_getCheckoutTemplate as getCheckoutTemplate, index_d$f_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$f_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$f_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$f_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, index_d$f_queryCheckoutTemplates as queryCheckoutTemplates, index_d$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 index_d$f_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$4 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type index_d$f_Checkout as Checkout, type index_d$f_CheckoutCustomization as CheckoutCustomization, type index_d$f_CheckoutTemplate as CheckoutTemplate, type index_d$f_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$f_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$f_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$f_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$f_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$f_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$f_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$f_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$f_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type index_d$f_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$f_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$f_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$f_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$f_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$f_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$f_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$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 index_d$f_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$f_CustomSettings as CustomSettings, type index_d$f_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$f_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type index_d$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 index_d$f_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$f_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$f_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type index_d$f_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type index_d$f_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$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, index_d$f_NameInLineItem as NameInLineItem, index_d$f_NameInOther as NameInOther, type index_d$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 index_d$f_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$f_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$f_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type index_d$f_RawHttpResponse as RawHttpResponse, type index_d$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, index_d$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 index_d$f_Target as Target, type index_d$f_TargetLineItem as TargetLineItem, type index_d$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 index_d$f_Title as Title, type index_d$f_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$f_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$f_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$f_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$f_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type index_d$f_Violation as Violation, type index_d$f_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$5 as WeightUnit, type index_d$f__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type index_d$f__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type index_d$f__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type index_d$f__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, index_d$f_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$f_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$f_createCheckoutTemplate as createCheckoutTemplate, index_d$f_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$f_getCheckoutTemplate as getCheckoutTemplate, index_d$f_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$f_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$f_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$f_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, index_d$f_queryCheckoutTemplates as queryCheckoutTemplates, index_d$f_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
17138
17148
|
}
|
|
17139
17149
|
|
|
17140
17150
|
/**
|
|
@@ -17315,7 +17325,7 @@ interface QueryDeliveryProfilesRequest {
|
|
|
17315
17325
|
}
|
|
17316
17326
|
interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
17317
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`. */
|
|
17318
|
-
cursorPaging?: CursorPaging$
|
|
17328
|
+
cursorPaging?: CursorPaging$8;
|
|
17319
17329
|
/**
|
|
17320
17330
|
* Filter object in the following format:
|
|
17321
17331
|
* `"filter" : {
|
|
@@ -17329,24 +17339,24 @@ interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
|
17329
17339
|
* Sort object in the following format:
|
|
17330
17340
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
17331
17341
|
*/
|
|
17332
|
-
sort?: Sorting$
|
|
17342
|
+
sort?: Sorting$8[];
|
|
17333
17343
|
}
|
|
17334
17344
|
/** @oneof */
|
|
17335
17345
|
interface CursorQueryPagingMethodOneOf$5 {
|
|
17336
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`. */
|
|
17337
|
-
cursorPaging?: CursorPaging$
|
|
17347
|
+
cursorPaging?: CursorPaging$8;
|
|
17338
17348
|
}
|
|
17339
|
-
interface Sorting$
|
|
17349
|
+
interface Sorting$8 {
|
|
17340
17350
|
/** Name of the field to sort by. */
|
|
17341
17351
|
fieldName?: string;
|
|
17342
17352
|
/** Sort order. */
|
|
17343
|
-
order?: SortOrder$
|
|
17353
|
+
order?: SortOrder$8;
|
|
17344
17354
|
}
|
|
17345
|
-
declare enum SortOrder$
|
|
17355
|
+
declare enum SortOrder$8 {
|
|
17346
17356
|
ASC = "ASC",
|
|
17347
17357
|
DESC = "DESC"
|
|
17348
17358
|
}
|
|
17349
|
-
interface CursorPaging$
|
|
17359
|
+
interface CursorPaging$8 {
|
|
17350
17360
|
/** Maximum number of items to return in the results. */
|
|
17351
17361
|
limit?: number | null;
|
|
17352
17362
|
/**
|
|
@@ -17361,13 +17371,13 @@ interface QueryDeliveryProfilesResponse {
|
|
|
17361
17371
|
/** List of DeliveryProfiles. */
|
|
17362
17372
|
deliveryProfiles?: DeliveryProfile[];
|
|
17363
17373
|
/** Paging metadata */
|
|
17364
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
17374
|
+
pagingMetadata?: CursorPagingMetadata$8;
|
|
17365
17375
|
}
|
|
17366
|
-
interface CursorPagingMetadata$
|
|
17376
|
+
interface CursorPagingMetadata$8 {
|
|
17367
17377
|
/** Number of items returned in the response. */
|
|
17368
17378
|
count?: number | null;
|
|
17369
17379
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
17370
|
-
cursors?: Cursors$
|
|
17380
|
+
cursors?: Cursors$8;
|
|
17371
17381
|
/**
|
|
17372
17382
|
* Whether there are more pages to retrieve following the current page.
|
|
17373
17383
|
*
|
|
@@ -17376,13 +17386,13 @@ interface CursorPagingMetadata$7 {
|
|
|
17376
17386
|
*/
|
|
17377
17387
|
hasNext?: boolean | null;
|
|
17378
17388
|
}
|
|
17379
|
-
interface Cursors$
|
|
17389
|
+
interface Cursors$8 {
|
|
17380
17390
|
/** Cursor string pointing to the next page in the list of results. */
|
|
17381
17391
|
next?: string | null;
|
|
17382
17392
|
/** Cursor pointing to the previous page in the list of results. */
|
|
17383
17393
|
prev?: string | null;
|
|
17384
17394
|
}
|
|
17385
|
-
interface AddDeliveryRegionRequest$
|
|
17395
|
+
interface AddDeliveryRegionRequest$2 {
|
|
17386
17396
|
/** delivery profile id to associated with the DeliveryRegion */
|
|
17387
17397
|
deliveryProfileId: string;
|
|
17388
17398
|
/** DeliveryRegion to be created */
|
|
@@ -17393,7 +17403,7 @@ interface AddDeliveryRegionRequest$1 {
|
|
|
17393
17403
|
*/
|
|
17394
17404
|
revision?: string | null;
|
|
17395
17405
|
}
|
|
17396
|
-
interface AddDeliveryRegionResponse$
|
|
17406
|
+
interface AddDeliveryRegionResponse$2 {
|
|
17397
17407
|
/** The updated DeliveryProfile with the new DeliveryRegion */
|
|
17398
17408
|
deliveryProfile?: DeliveryProfile;
|
|
17399
17409
|
}
|
|
@@ -17437,7 +17447,7 @@ interface DeliveryRegionUpdated {
|
|
|
17437
17447
|
*/
|
|
17438
17448
|
_createdDate?: Date | null;
|
|
17439
17449
|
}
|
|
17440
|
-
interface RemoveDeliveryRegionRequest$
|
|
17450
|
+
interface RemoveDeliveryRegionRequest$2 {
|
|
17441
17451
|
/** DeliveryProfile id that owns the DeliveryRegion */
|
|
17442
17452
|
deliveryProfileId: string;
|
|
17443
17453
|
/** Id of the DeliveryRegion to delete */
|
|
@@ -17448,7 +17458,7 @@ interface RemoveDeliveryRegionRequest$1 {
|
|
|
17448
17458
|
*/
|
|
17449
17459
|
revision?: string | null;
|
|
17450
17460
|
}
|
|
17451
|
-
interface RemoveDeliveryRegionResponse$
|
|
17461
|
+
interface RemoveDeliveryRegionResponse$2 {
|
|
17452
17462
|
/** The updated DeliveryProfile without DeliveryRegion */
|
|
17453
17463
|
deliveryProfile?: DeliveryProfile;
|
|
17454
17464
|
}
|
|
@@ -18017,13 +18027,13 @@ interface UpdateDeliveryProfileResponseNonNullableFields {
|
|
|
18017
18027
|
interface QueryDeliveryProfilesResponseNonNullableFields {
|
|
18018
18028
|
deliveryProfiles: DeliveryProfileNonNullableFields[];
|
|
18019
18029
|
}
|
|
18020
|
-
interface AddDeliveryRegionResponseNonNullableFields$
|
|
18030
|
+
interface AddDeliveryRegionResponseNonNullableFields$2 {
|
|
18021
18031
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18022
18032
|
}
|
|
18023
18033
|
interface UpdateDeliveryRegionResponseNonNullableFields {
|
|
18024
18034
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18025
18035
|
}
|
|
18026
|
-
interface RemoveDeliveryRegionResponseNonNullableFields$
|
|
18036
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$2 {
|
|
18027
18037
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18028
18038
|
}
|
|
18029
18039
|
interface AddDeliveryCarrierResponseNonNullableFields {
|
|
@@ -18084,7 +18094,7 @@ interface ListDeliveryCarriersResponseNonNullableFields {
|
|
|
18084
18094
|
interface UpdateExtendedFieldsResponseNonNullableFields$3 {
|
|
18085
18095
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18086
18096
|
}
|
|
18087
|
-
interface BaseEventMetadata$
|
|
18097
|
+
interface BaseEventMetadata$6 {
|
|
18088
18098
|
/** App instance ID. */
|
|
18089
18099
|
instanceId?: string | null;
|
|
18090
18100
|
/** Event type. */
|
|
@@ -18092,7 +18102,7 @@ interface BaseEventMetadata$7 {
|
|
|
18092
18102
|
/** The identification type and identity data. */
|
|
18093
18103
|
identity?: IdentificationData$a;
|
|
18094
18104
|
}
|
|
18095
|
-
interface EventMetadata$
|
|
18105
|
+
interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
18096
18106
|
/**
|
|
18097
18107
|
* Unique event ID.
|
|
18098
18108
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -18132,27 +18142,27 @@ interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
|
18132
18142
|
}
|
|
18133
18143
|
interface DeliveryProfileCreatedEnvelope {
|
|
18134
18144
|
entity: DeliveryProfile;
|
|
18135
|
-
metadata: EventMetadata$
|
|
18145
|
+
metadata: EventMetadata$6;
|
|
18136
18146
|
}
|
|
18137
18147
|
interface DeliveryProfileDeliveryRegionAddedEnvelope {
|
|
18138
18148
|
data: DeliveryRegionAdded;
|
|
18139
|
-
metadata: EventMetadata$
|
|
18149
|
+
metadata: EventMetadata$6;
|
|
18140
18150
|
}
|
|
18141
18151
|
interface DeliveryProfileUpdatedEnvelope {
|
|
18142
18152
|
entity: DeliveryProfile;
|
|
18143
|
-
metadata: EventMetadata$
|
|
18153
|
+
metadata: EventMetadata$6;
|
|
18144
18154
|
}
|
|
18145
18155
|
interface DeliveryProfileDeletedEnvelope {
|
|
18146
18156
|
entity: DeliveryProfile;
|
|
18147
|
-
metadata: EventMetadata$
|
|
18157
|
+
metadata: EventMetadata$6;
|
|
18148
18158
|
}
|
|
18149
18159
|
interface DeliveryProfileDeliveryRegionRemovedEnvelope {
|
|
18150
18160
|
data: DeliveryRegionRemoved;
|
|
18151
|
-
metadata: EventMetadata$
|
|
18161
|
+
metadata: EventMetadata$6;
|
|
18152
18162
|
}
|
|
18153
18163
|
interface DeliveryProfileDeliveryRegionUpdatedEnvelope {
|
|
18154
18164
|
data: DeliveryRegionUpdated;
|
|
18155
|
-
metadata: EventMetadata$
|
|
18165
|
+
metadata: EventMetadata$6;
|
|
18156
18166
|
}
|
|
18157
18167
|
interface UpdateDeliveryProfile {
|
|
18158
18168
|
/**
|
|
@@ -18187,14 +18197,14 @@ interface UpdateDeliveryProfile {
|
|
|
18187
18197
|
/** Extended fields. */
|
|
18188
18198
|
extendedFields?: ExtendedFields$5;
|
|
18189
18199
|
}
|
|
18190
|
-
interface QueryCursorResult$
|
|
18191
|
-
cursors: Cursors$
|
|
18192
|
-
hasNext: () => boolean;
|
|
18200
|
+
interface QueryCursorResult$6 {
|
|
18201
|
+
cursors: Cursors$8;
|
|
18202
|
+
hasNext: () => boolean;
|
|
18193
18203
|
hasPrev: () => boolean;
|
|
18194
18204
|
length: number;
|
|
18195
18205
|
pageSize: number;
|
|
18196
18206
|
}
|
|
18197
|
-
interface DeliveryProfilesQueryResult extends QueryCursorResult$
|
|
18207
|
+
interface DeliveryProfilesQueryResult extends QueryCursorResult$6 {
|
|
18198
18208
|
items: DeliveryProfile[];
|
|
18199
18209
|
query: DeliveryProfilesQueryBuilder;
|
|
18200
18210
|
next: () => Promise<DeliveryProfilesQueryResult>;
|
|
@@ -18264,7 +18274,7 @@ interface DeliveryProfilesQueryBuilder {
|
|
|
18264
18274
|
/** @documentationMaturity preview */
|
|
18265
18275
|
find: () => Promise<DeliveryProfilesQueryResult>;
|
|
18266
18276
|
}
|
|
18267
|
-
interface AddDeliveryRegionOptions$
|
|
18277
|
+
interface AddDeliveryRegionOptions$2 {
|
|
18268
18278
|
/**
|
|
18269
18279
|
* DeliveryProfile revision.
|
|
18270
18280
|
* @readonly
|
|
@@ -18316,7 +18326,7 @@ interface RemoveDeliveryRegionIdentifiers {
|
|
|
18316
18326
|
/** Id of the DeliveryRegion to delete */
|
|
18317
18327
|
deliveryRegionId: string;
|
|
18318
18328
|
}
|
|
18319
|
-
interface RemoveDeliveryRegionOptions$
|
|
18329
|
+
interface RemoveDeliveryRegionOptions$2 {
|
|
18320
18330
|
/**
|
|
18321
18331
|
* DeliveryProfile revision.
|
|
18322
18332
|
* @readonly
|
|
@@ -18407,14 +18417,14 @@ interface QueryDeliveryProfilesSignature {
|
|
|
18407
18417
|
*/
|
|
18408
18418
|
(): DeliveryProfilesQueryBuilder;
|
|
18409
18419
|
}
|
|
18410
|
-
declare function addDeliveryRegion$
|
|
18411
|
-
interface AddDeliveryRegionSignature$
|
|
18420
|
+
declare function addDeliveryRegion$5(httpClient: HttpClient): AddDeliveryRegionSignature$2;
|
|
18421
|
+
interface AddDeliveryRegionSignature$2 {
|
|
18412
18422
|
/**
|
|
18413
18423
|
* Creates a new DeliveryRegion in an existing DeliveryProfile.
|
|
18414
18424
|
* @param - delivery profile id to associated with the DeliveryRegion
|
|
18415
18425
|
* @param - DeliveryRegion to be created
|
|
18416
18426
|
*/
|
|
18417
|
-
(deliveryProfileId: string, deliveryRegion: DeliveryRegion, options?: AddDeliveryRegionOptions$
|
|
18427
|
+
(deliveryProfileId: string, deliveryRegion: DeliveryRegion, options?: AddDeliveryRegionOptions$2 | undefined): Promise<AddDeliveryRegionResponse$2 & AddDeliveryRegionResponseNonNullableFields$2>;
|
|
18418
18428
|
}
|
|
18419
18429
|
declare function updateDeliveryRegion$1(httpClient: HttpClient): UpdateDeliveryRegionSignature;
|
|
18420
18430
|
interface UpdateDeliveryRegionSignature {
|
|
@@ -18427,12 +18437,12 @@ interface UpdateDeliveryRegionSignature {
|
|
|
18427
18437
|
*/
|
|
18428
18438
|
(identifiers: UpdateDeliveryRegionIdentifiers, deliveryRegion: UpdateDeliveryRegion, options?: UpdateDeliveryRegionOptions | undefined): Promise<UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields>;
|
|
18429
18439
|
}
|
|
18430
|
-
declare function removeDeliveryRegion$
|
|
18431
|
-
interface RemoveDeliveryRegionSignature$
|
|
18440
|
+
declare function removeDeliveryRegion$5(httpClient: HttpClient): RemoveDeliveryRegionSignature$2;
|
|
18441
|
+
interface RemoveDeliveryRegionSignature$2 {
|
|
18432
18442
|
/**
|
|
18433
18443
|
* Delete a DeliveryRegion
|
|
18434
18444
|
*/
|
|
18435
|
-
(identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions$
|
|
18445
|
+
(identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions$2 | undefined): Promise<RemoveDeliveryRegionResponse$2 & RemoveDeliveryRegionResponseNonNullableFields$2>;
|
|
18436
18446
|
}
|
|
18437
18447
|
declare function addDeliveryCarrier$1(httpClient: HttpClient): AddDeliveryCarrierSignature;
|
|
18438
18448
|
interface AddDeliveryCarrierSignature {
|
|
@@ -18490,16 +18500,16 @@ declare const onDeliveryProfileDeleted$1: EventDefinition<DeliveryProfileDeleted
|
|
|
18490
18500
|
declare const onDeliveryProfileDeliveryRegionRemoved$1: EventDefinition<DeliveryProfileDeliveryRegionRemovedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_removed">;
|
|
18491
18501
|
declare const onDeliveryProfileDeliveryRegionUpdated$1: EventDefinition<DeliveryProfileDeliveryRegionUpdatedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_updated">;
|
|
18492
18502
|
|
|
18493
|
-
declare function createEventModule$
|
|
18503
|
+
declare function createEventModule$6<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
18494
18504
|
|
|
18495
18505
|
declare const createDeliveryProfile: MaybeContext<BuildRESTFunction<typeof createDeliveryProfile$1> & typeof createDeliveryProfile$1>;
|
|
18496
18506
|
declare const getDeliveryProfile: MaybeContext<BuildRESTFunction<typeof getDeliveryProfile$1> & typeof getDeliveryProfile$1>;
|
|
18497
18507
|
declare const updateDeliveryProfile: MaybeContext<BuildRESTFunction<typeof updateDeliveryProfile$1> & typeof updateDeliveryProfile$1>;
|
|
18498
18508
|
declare const deleteDeliveryProfile: MaybeContext<BuildRESTFunction<typeof deleteDeliveryProfile$1> & typeof deleteDeliveryProfile$1>;
|
|
18499
18509
|
declare const queryDeliveryProfiles: MaybeContext<BuildRESTFunction<typeof queryDeliveryProfiles$1> & typeof queryDeliveryProfiles$1>;
|
|
18500
|
-
declare const addDeliveryRegion$
|
|
18510
|
+
declare const addDeliveryRegion$4: MaybeContext<BuildRESTFunction<typeof addDeliveryRegion$5> & typeof addDeliveryRegion$5>;
|
|
18501
18511
|
declare const updateDeliveryRegion: MaybeContext<BuildRESTFunction<typeof updateDeliveryRegion$1> & typeof updateDeliveryRegion$1>;
|
|
18502
|
-
declare const removeDeliveryRegion$
|
|
18512
|
+
declare const removeDeliveryRegion$4: MaybeContext<BuildRESTFunction<typeof removeDeliveryRegion$5> & typeof removeDeliveryRegion$5>;
|
|
18503
18513
|
declare const addDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof addDeliveryCarrier$1> & typeof addDeliveryCarrier$1>;
|
|
18504
18514
|
declare const removeDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof removeDeliveryCarrier$1> & typeof removeDeliveryCarrier$1>;
|
|
18505
18515
|
declare const updateDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof updateDeliveryCarrier$1> & typeof updateDeliveryCarrier$1>;
|
|
@@ -18509,35 +18519,35 @@ declare const updateExtendedFields$6: MaybeContext<BuildRESTFunction<typeof upda
|
|
|
18509
18519
|
|
|
18510
18520
|
type _publicOnDeliveryProfileCreatedType = typeof onDeliveryProfileCreated$1;
|
|
18511
18521
|
/** */
|
|
18512
|
-
declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$
|
|
18522
|
+
declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileCreatedType>>;
|
|
18513
18523
|
|
|
18514
18524
|
type _publicOnDeliveryProfileDeliveryRegionAddedType = typeof onDeliveryProfileDeliveryRegionAdded$1;
|
|
18515
18525
|
/**
|
|
18516
18526
|
* Triggered when a delivery_region is added to a delivery_profile.
|
|
18517
18527
|
*/
|
|
18518
|
-
declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$
|
|
18528
|
+
declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileDeliveryRegionAddedType>>;
|
|
18519
18529
|
|
|
18520
18530
|
type _publicOnDeliveryProfileUpdatedType = typeof onDeliveryProfileUpdated$1;
|
|
18521
18531
|
/**
|
|
18522
18532
|
* Triggered when the delivery_carrier updated successfully
|
|
18523
18533
|
*/
|
|
18524
|
-
declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$
|
|
18534
|
+
declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileUpdatedType>>;
|
|
18525
18535
|
|
|
18526
18536
|
type _publicOnDeliveryProfileDeletedType = typeof onDeliveryProfileDeleted$1;
|
|
18527
18537
|
/** */
|
|
18528
|
-
declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$
|
|
18538
|
+
declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileDeletedType>>;
|
|
18529
18539
|
|
|
18530
18540
|
type _publicOnDeliveryProfileDeliveryRegionRemovedType = typeof onDeliveryProfileDeliveryRegionRemoved$1;
|
|
18531
18541
|
/**
|
|
18532
18542
|
* Triggered for each delivery_region assigned to the deleted delivery_profile
|
|
18533
18543
|
*/
|
|
18534
|
-
declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$
|
|
18544
|
+
declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileDeliveryRegionRemovedType>>;
|
|
18535
18545
|
|
|
18536
18546
|
type _publicOnDeliveryProfileDeliveryRegionUpdatedType = typeof onDeliveryProfileDeliveryRegionUpdated$1;
|
|
18537
18547
|
/**
|
|
18538
18548
|
* Triggered when the delivery_carrier updated successfully
|
|
18539
18549
|
*/
|
|
18540
|
-
declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$
|
|
18550
|
+
declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$6<_publicOnDeliveryProfileDeliveryRegionUpdatedType>>;
|
|
18541
18551
|
|
|
18542
18552
|
type index_d$e_AddDeliveryCarrierOptions = AddDeliveryCarrierOptions;
|
|
18543
18553
|
type index_d$e_AddDeliveryCarrierRequest = AddDeliveryCarrierRequest;
|
|
@@ -18649,7 +18659,7 @@ declare const index_d$e_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
|
18649
18659
|
declare const index_d$e_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
18650
18660
|
declare const index_d$e_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
18651
18661
|
declare namespace index_d$e {
|
|
18652
|
-
export { type ActionEvent$b as ActionEvent, type index_d$e_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$e_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$e_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$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 index_d$e_Asset as Asset, type index_d$e_BackupRate as BackupRate, type BaseEventMetadata$7 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type index_d$e_Column as Column, type index_d$e_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$e_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$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 index_d$e_DashboardTable as DashboardTable, type index_d$e_DeleteContext as DeleteContext, type index_d$e_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$e_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$e_DeleteStatus as DeleteStatus, type index_d$e_DeliveryCarrier as DeliveryCarrier, type index_d$e_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$e_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$e_DeliveryProfile as DeliveryProfile, type index_d$e_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type index_d$e_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type index_d$e_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type index_d$e_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type index_d$e_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type index_d$e_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$e_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type index_d$e_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$e_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$e_DeliveryRegion as DeliveryRegion, type index_d$e_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$e_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$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 index_d$e_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$e_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$e_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$e_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$e_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$e_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$e_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$e_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$e_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$e_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$e_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$a as MessageEnvelope, type index_d$e_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$e_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$e_NamespaceChanged as NamespaceChanged, type index_d$e_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$e_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$e_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$e_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$e_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$e_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$e_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$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 index_d$e_Row as Row, type index_d$e_ServiceProvisioned as ServiceProvisioned, type index_d$e_ServiceRemoved as ServiceRemoved, type index_d$e_SiteCreated as SiteCreated, index_d$e_SiteCreatedContext as SiteCreatedContext, type index_d$e_SiteDeleted as SiteDeleted, type index_d$e_SiteHardDeleted as SiteHardDeleted, type index_d$e_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$e_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$e_SitePublished as SitePublished, type index_d$e_SiteRenamed as SiteRenamed, type index_d$e_SiteTransferred as SiteTransferred, type index_d$e_SiteUndeleted as SiteUndeleted, type index_d$e_SiteUnpublished as SiteUnpublished, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, State$1 as State, type index_d$e_StudioAssigned as StudioAssigned, type index_d$e_StudioUnassigned as StudioUnassigned, type index_d$e_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$e_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$e_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$e_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$e_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$e_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$e_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$e_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$e_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$e_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$e_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$e_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$e_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$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 index_d$e__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type index_d$e__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type index_d$e__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type index_d$e__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type index_d$e__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type index_d$e__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, index_d$e_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$2 as addDeliveryRegion, index_d$e_createDeliveryProfile as createDeliveryProfile, index_d$e_deleteDeliveryProfile as deleteDeliveryProfile, index_d$e_getDeliveryProfile as getDeliveryProfile, index_d$e_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$e_listDeliveryCarriers as listDeliveryCarriers, index_d$e_onDeliveryProfileCreated as onDeliveryProfileCreated, index_d$e_onDeliveryProfileDeleted as onDeliveryProfileDeleted, index_d$e_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, index_d$e_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, index_d$e_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, index_d$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, index_d$e_queryDeliveryProfiles as queryDeliveryProfiles, index_d$e_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$2 as removeDeliveryRegion, index_d$e_updateDeliveryCarrier as updateDeliveryCarrier, index_d$e_updateDeliveryProfile as updateDeliveryProfile, index_d$e_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18662
|
+
export { type ActionEvent$b as ActionEvent, type index_d$e_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$e_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$e_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$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 index_d$e_Asset as Asset, type index_d$e_BackupRate as BackupRate, type BaseEventMetadata$6 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type index_d$e_Column as Column, type index_d$e_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$e_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$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 index_d$e_DashboardTable as DashboardTable, type index_d$e_DeleteContext as DeleteContext, type index_d$e_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$e_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$e_DeleteStatus as DeleteStatus, type index_d$e_DeliveryCarrier as DeliveryCarrier, type index_d$e_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$e_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$e_DeliveryProfile as DeliveryProfile, type index_d$e_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type index_d$e_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type index_d$e_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type index_d$e_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type index_d$e_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type index_d$e_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$e_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type index_d$e_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$e_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$e_DeliveryRegion as DeliveryRegion, type index_d$e_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$e_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$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 index_d$e_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$e_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$e_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$e_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$e_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$e_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$e_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$e_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$e_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$e_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$e_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$a as MessageEnvelope, type index_d$e_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$e_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$e_NamespaceChanged as NamespaceChanged, type index_d$e_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$e_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$e_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$e_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$e_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$e_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$e_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$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 index_d$e_Row as Row, type index_d$e_ServiceProvisioned as ServiceProvisioned, type index_d$e_ServiceRemoved as ServiceRemoved, type index_d$e_SiteCreated as SiteCreated, index_d$e_SiteCreatedContext as SiteCreatedContext, type index_d$e_SiteDeleted as SiteDeleted, type index_d$e_SiteHardDeleted as SiteHardDeleted, type index_d$e_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$e_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$e_SitePublished as SitePublished, type index_d$e_SiteRenamed as SiteRenamed, type index_d$e_SiteTransferred as SiteTransferred, type index_d$e_SiteUndeleted as SiteUndeleted, type index_d$e_SiteUnpublished as SiteUnpublished, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, State$1 as State, type index_d$e_StudioAssigned as StudioAssigned, type index_d$e_StudioUnassigned as StudioUnassigned, type index_d$e_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$e_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$e_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$e_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$e_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$e_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$e_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$e_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$e_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$e_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$e_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$e_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$e_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$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 index_d$e__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type index_d$e__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type index_d$e__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type index_d$e__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type index_d$e__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type index_d$e__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, index_d$e_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, index_d$e_createDeliveryProfile as createDeliveryProfile, index_d$e_deleteDeliveryProfile as deleteDeliveryProfile, index_d$e_getDeliveryProfile as getDeliveryProfile, index_d$e_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$e_listDeliveryCarriers as listDeliveryCarriers, index_d$e_onDeliveryProfileCreated as onDeliveryProfileCreated, index_d$e_onDeliveryProfileDeleted as onDeliveryProfileDeleted, index_d$e_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, index_d$e_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, index_d$e_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, index_d$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, index_d$e_queryDeliveryProfiles as queryDeliveryProfiles, index_d$e_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, index_d$e_updateDeliveryCarrier as updateDeliveryCarrier, index_d$e_updateDeliveryProfile as updateDeliveryProfile, index_d$e_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18653
18663
|
}
|
|
18654
18664
|
|
|
18655
18665
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -20906,7 +20916,7 @@ interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
|
20906
20916
|
*
|
|
20907
20917
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
20908
20918
|
*/
|
|
20909
|
-
cursorPaging?: CursorPaging$
|
|
20919
|
+
cursorPaging?: CursorPaging$7;
|
|
20910
20920
|
/**
|
|
20911
20921
|
* Filter object.
|
|
20912
20922
|
*
|
|
@@ -20918,7 +20928,7 @@ interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
|
20918
20928
|
*
|
|
20919
20929
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
20920
20930
|
*/
|
|
20921
|
-
sort?: Sorting$
|
|
20931
|
+
sort?: Sorting$7[];
|
|
20922
20932
|
}
|
|
20923
20933
|
/** @oneof */
|
|
20924
20934
|
interface CursorQueryPagingMethodOneOf$4 {
|
|
@@ -20927,19 +20937,19 @@ interface CursorQueryPagingMethodOneOf$4 {
|
|
|
20927
20937
|
*
|
|
20928
20938
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
20929
20939
|
*/
|
|
20930
|
-
cursorPaging?: CursorPaging$
|
|
20940
|
+
cursorPaging?: CursorPaging$7;
|
|
20931
20941
|
}
|
|
20932
|
-
interface Sorting$
|
|
20942
|
+
interface Sorting$7 {
|
|
20933
20943
|
/** Name of the field to sort by. */
|
|
20934
20944
|
fieldName?: string;
|
|
20935
20945
|
/** Sort order. */
|
|
20936
|
-
order?: SortOrder$
|
|
20946
|
+
order?: SortOrder$7;
|
|
20937
20947
|
}
|
|
20938
|
-
declare enum SortOrder$
|
|
20948
|
+
declare enum SortOrder$7 {
|
|
20939
20949
|
ASC = "ASC",
|
|
20940
20950
|
DESC = "DESC"
|
|
20941
20951
|
}
|
|
20942
|
-
interface CursorPaging$
|
|
20952
|
+
interface CursorPaging$7 {
|
|
20943
20953
|
/** Maximum number of items to return in the results. */
|
|
20944
20954
|
limit?: number | null;
|
|
20945
20955
|
/**
|
|
@@ -20954,13 +20964,13 @@ interface QueryDraftOrdersResponse {
|
|
|
20954
20964
|
/** list of edits per order */
|
|
20955
20965
|
draftOrders?: DraftOrder[];
|
|
20956
20966
|
/** Paging metadata. */
|
|
20957
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
20967
|
+
pagingMetadata?: CursorPagingMetadata$7;
|
|
20958
20968
|
}
|
|
20959
|
-
interface CursorPagingMetadata$
|
|
20969
|
+
interface CursorPagingMetadata$7 {
|
|
20960
20970
|
/** Number of items returned in current page. */
|
|
20961
20971
|
count?: number | null;
|
|
20962
20972
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
20963
|
-
cursors?: Cursors$
|
|
20973
|
+
cursors?: Cursors$7;
|
|
20964
20974
|
/**
|
|
20965
20975
|
* Whether there are more pages to retrieve following the current page.
|
|
20966
20976
|
*
|
|
@@ -20969,7 +20979,7 @@ interface CursorPagingMetadata$6 {
|
|
|
20969
20979
|
*/
|
|
20970
20980
|
hasNext?: boolean | null;
|
|
20971
20981
|
}
|
|
20972
|
-
interface Cursors$
|
|
20982
|
+
interface Cursors$7 {
|
|
20973
20983
|
/** Cursor string pointing to the next page in the list of results. */
|
|
20974
20984
|
next?: string | null;
|
|
20975
20985
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -21773,14 +21783,14 @@ interface CommitDraftOrderOptions {
|
|
|
21773
21783
|
/** Reason for edit, given by user (optional). */
|
|
21774
21784
|
reason?: string | null;
|
|
21775
21785
|
}
|
|
21776
|
-
interface QueryCursorResult$
|
|
21777
|
-
cursors: Cursors$
|
|
21786
|
+
interface QueryCursorResult$5 {
|
|
21787
|
+
cursors: Cursors$7;
|
|
21778
21788
|
hasNext: () => boolean;
|
|
21779
21789
|
hasPrev: () => boolean;
|
|
21780
21790
|
length: number;
|
|
21781
21791
|
pageSize: number;
|
|
21782
21792
|
}
|
|
21783
|
-
interface DraftOrdersQueryResult extends QueryCursorResult$
|
|
21793
|
+
interface DraftOrdersQueryResult extends QueryCursorResult$5 {
|
|
21784
21794
|
items: DraftOrder[];
|
|
21785
21795
|
query: DraftOrdersQueryBuilder;
|
|
21786
21796
|
next: () => Promise<DraftOrdersQueryResult>;
|
|
@@ -22191,7 +22201,7 @@ declare const index_d$d_setRecipientInfo: typeof setRecipientInfo;
|
|
|
22191
22201
|
declare const index_d$d_setShippingInfo: typeof setShippingInfo;
|
|
22192
22202
|
declare const index_d$d_updateLineItems: typeof updateLineItems;
|
|
22193
22203
|
declare namespace index_d$d {
|
|
22194
|
-
export { type ActionEvent$a as ActionEvent, type Activity$2 as Activity, type ActivityContentOneOf$1 as ActivityContentOneOf, ActivityType$2 as ActivityType, type index_d$d_AddLineItemsToDraftOrderOptions as AddLineItemsToDraftOrderOptions, type index_d$d_AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequest, type index_d$d_AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponse, type index_d$d_AddLineItemsToDraftOrderResponseNonNullableFields as AddLineItemsToDraftOrderResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type index_d$d_AdditionalFeeDetails as AdditionalFeeDetails, type index_d$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, index_d$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 index_d$d_BillingChangedDetails as BillingChangedDetails, type index_d$d_BillingDetails as BillingDetails, type index_d$d_BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOf, type index_d$d_BuyerChangedDetails as BuyerChangedDetails, type BuyerDetails$1 as BuyerDetails, type index_d$d_BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOf, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type index_d$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 index_d$d_CatalogReferenceLineItem as CatalogReferenceLineItem, type ChannelInfo$2 as ChannelInfo, ChannelType$2 as ChannelType, type Color$1 as Color, type index_d$d_CommitDraftOrderOptions as CommitDraftOrderOptions, type index_d$d_CommitDraftOrderRequest as CommitDraftOrderRequest, type index_d$d_CommitDraftOrderResponse as CommitDraftOrderResponse, type index_d$d_CommitDraftOrderResponseNonNullableFields as CommitDraftOrderResponseNonNullableFields, type Coupon$2 as Coupon, type index_d$d_CreateCustomAdditionalFeesOptions as CreateCustomAdditionalFeesOptions, type index_d$d_CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequest, type index_d$d_CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponse, type index_d$d_CreateCustomAdditionalFeesResponseNonNullableFields as CreateCustomAdditionalFeesResponseNonNullableFields, type index_d$d_CreateCustomDiscountsOptions as CreateCustomDiscountsOptions, type index_d$d_CreateCustomDiscountsRequest as CreateCustomDiscountsRequest, type index_d$d_CreateCustomDiscountsResponse as CreateCustomDiscountsResponse, type index_d$d_CreateCustomDiscountsResponseNonNullableFields as CreateCustomDiscountsResponseNonNullableFields, type index_d$d_CreateDraftOrderRequest as CreateDraftOrderRequest, type index_d$d_CreateDraftOrderResponse as CreateDraftOrderResponse, type index_d$d_CreateDraftOrderResponseNonNullableFields as CreateDraftOrderResponseNonNullableFields, type index_d$d_CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequest, type index_d$d_CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponse, type index_d$d_CreateEmptyDraftOrderResponseNonNullableFields as CreateEmptyDraftOrderResponseNonNullableFields, type index_d$d_CreateOrderFromDraftRequest as CreateOrderFromDraftRequest, type index_d$d_CreateOrderFromDraftResponse as CreateOrderFromDraftResponse, type index_d$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 index_d$d_CustomLineItem as CustomLineItem, type index_d$d_DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequest, type index_d$d_DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponse, type index_d$d_DeleteCustomAdditionalFeesResponseNonNullableFields as DeleteCustomAdditionalFeesResponseNonNullableFields, type index_d$d_DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequest, type index_d$d_DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponse, type index_d$d_DeleteCustomDiscountsResponseNonNullableFields as DeleteCustomDiscountsResponseNonNullableFields, type index_d$d_DeleteDraftOrderRequest as DeleteDraftOrderRequest, type index_d$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 index_d$d_DiscountDetails as DiscountDetails, type index_d$d_DiscountOption as DiscountOption, type index_d$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 index_d$d_DraftOrder as DraftOrder, type DraftOrderChangesApplied$1 as DraftOrderChangesApplied, type DraftOrderCommitSettings$1 as DraftOrderCommitSettings, type index_d$d_DraftOrdersQueryBuilder as DraftOrdersQueryBuilder, type index_d$d_DraftOrdersQueryResult as DraftOrdersQueryResult, index_d$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, index_d$d_FileType as FileType, FulfillmentStatus$3 as FulfillmentStatus, type FulfillmentStatusesAggregate$1 as FulfillmentStatusesAggregate, type FullAddressContactDetails$2 as FullAddressContactDetails, type index_d$d_GetDraftEditabilityStatusRequest as GetDraftEditabilityStatusRequest, type index_d$d_GetDraftEditabilityStatusResponse as GetDraftEditabilityStatusResponse, type index_d$d_GetDraftOrderRequest as GetDraftOrderRequest, type index_d$d_GetDraftOrderResponse as GetDraftOrderResponse, type index_d$d_GetDraftOrderResponseNonNullableFields as GetDraftOrderResponseNonNullableFields, type index_d$d_GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequest, type index_d$d_GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponse, type index_d$d_GetOrderDraftabilityStatusResponseNonNullableFields as GetOrderDraftabilityStatusResponseNonNullableFields, type GiftCardPaymentRefund$1 as GiftCardPaymentRefund, type index_d$d_IdAndApplied as IdAndApplied, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type index_d$d_InventoryUpdate as InventoryUpdate, type ItemChangedDetails$1 as ItemChangedDetails, type index_d$d_ItemDetails as ItemDetails, type index_d$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 index_d$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, index_d$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 index_d$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, index_d$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 index_d$d_QueryDraftOrdersRequest as QueryDraftOrdersRequest, type index_d$d_QueryDraftOrdersResponse as QueryDraftOrdersResponse, type index_d$d_QueryDraftOrdersResponseNonNullableFields as QueryDraftOrdersResponseNonNullableFields, type index_d$d_RecipientInfoChangedDetails as RecipientInfoChangedDetails, type index_d$d_RecipientInfoDetails as RecipientInfoDetails, type index_d$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 index_d$d_SecuredMedia as SecuredMedia, type index_d$d_SetAdditionalFeesRequest as SetAdditionalFeesRequest, type index_d$d_SetAdditionalFeesResponse as SetAdditionalFeesResponse, type index_d$d_SetAdditionalFeesResponseNonNullableFields as SetAdditionalFeesResponseNonNullableFields, type index_d$d_SetBillingInfoRequest as SetBillingInfoRequest, type index_d$d_SetBillingInfoResponse as SetBillingInfoResponse, type index_d$d_SetBillingInfoResponseNonNullableFields as SetBillingInfoResponseNonNullableFields, type index_d$d_SetBuyerInfoRequest as SetBuyerInfoRequest, type index_d$d_SetBuyerInfoResponse as SetBuyerInfoResponse, type index_d$d_SetBuyerInfoResponseNonNullableFields as SetBuyerInfoResponseNonNullableFields, type index_d$d_SetDiscountsRequest as SetDiscountsRequest, type index_d$d_SetDiscountsResponse as SetDiscountsResponse, type index_d$d_SetDiscountsResponseNonNullableFields as SetDiscountsResponseNonNullableFields, type index_d$d_SetRecipientInfoRequest as SetRecipientInfoRequest, type index_d$d_SetRecipientInfoResponse as SetRecipientInfoResponse, type index_d$d_SetRecipientInfoResponseNonNullableFields as SetRecipientInfoResponseNonNullableFields, type index_d$d_SetShippingInfoRequest as SetShippingInfoRequest, type index_d$d_SetShippingInfoResponse as SetShippingInfoResponse, type index_d$d_SetShippingInfoResponseNonNullableFields as SetShippingInfoResponseNonNullableFields, type index_d$d_SetTaxExemptionRequest as SetTaxExemptionRequest, type index_d$d_SetTaxExemptionResponse as SetTaxExemptionResponse, type index_d$d_ShippingChangedDetails as ShippingChangedDetails, type index_d$d_ShippingDetails as ShippingDetails, type index_d$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 index_d$d_UpdateLineItemsOptions as UpdateLineItemsOptions, type index_d$d_UpdateLineItemsRequest as UpdateLineItemsRequest, type index_d$d_UpdateLineItemsResponse as UpdateLineItemsResponse, type index_d$d_UpdateLineItemsResponseNonNullableFields as UpdateLineItemsResponseNonNullableFields, type index_d$d_UpdateShippingInfoRequest as UpdateShippingInfoRequest, type index_d$d_UpdateShippingInfoResponse as UpdateShippingInfoResponse, type index_d$d_V1BalanceSummary as V1BalanceSummary, type index_d$d_V1CreatedBy as V1CreatedBy, type index_d$d_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type index_d$d_V1DeliveryLogistics as V1DeliveryLogistics, type index_d$d_V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOf, type index_d$d_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type index_d$d_V1PickupDetails as V1PickupDetails, type V1ShippingInformation$1 as V1ShippingInformation, type index_d$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, index_d$d_addLineItemsToDraftOrder as addLineItemsToDraftOrder, index_d$d_commitDraftOrder as commitDraftOrder, index_d$d_createCustomAdditionalFees as createCustomAdditionalFees, index_d$d_createCustomDiscounts as createCustomDiscounts, index_d$d_createDraftOrder as createDraftOrder, index_d$d_createEmptyDraftOrder as createEmptyDraftOrder, index_d$d_createOrderFromDraft as createOrderFromDraft, index_d$d_deleteCustomAdditionalFees as deleteCustomAdditionalFees, index_d$d_deleteCustomDiscounts as deleteCustomDiscounts, index_d$d_deleteDraftOrder as deleteDraftOrder, index_d$d_getDraftOrder as getDraftOrder, index_d$d_getOrderDraftabilityStatus as getOrderDraftabilityStatus, index_d$d_queryDraftOrders as queryDraftOrders, index_d$d_setAdditionalFees as setAdditionalFees, index_d$d_setBillingInfo as setBillingInfo, index_d$d_setBuyerInfo as setBuyerInfo, index_d$d_setDiscounts as setDiscounts, index_d$d_setRecipientInfo as setRecipientInfo, index_d$d_setShippingInfo as setShippingInfo, index_d$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 index_d$d_AddLineItemsToDraftOrderOptions as AddLineItemsToDraftOrderOptions, type index_d$d_AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequest, type index_d$d_AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponse, type index_d$d_AddLineItemsToDraftOrderResponseNonNullableFields as AddLineItemsToDraftOrderResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type index_d$d_AdditionalFeeDetails as AdditionalFeeDetails, type index_d$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, index_d$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 index_d$d_BillingChangedDetails as BillingChangedDetails, type index_d$d_BillingDetails as BillingDetails, type index_d$d_BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOf, type index_d$d_BuyerChangedDetails as BuyerChangedDetails, type BuyerDetails$1 as BuyerDetails, type index_d$d_BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOf, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type index_d$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 index_d$d_CatalogReferenceLineItem as CatalogReferenceLineItem, type ChannelInfo$2 as ChannelInfo, ChannelType$2 as ChannelType, type Color$1 as Color, type index_d$d_CommitDraftOrderOptions as CommitDraftOrderOptions, type index_d$d_CommitDraftOrderRequest as CommitDraftOrderRequest, type index_d$d_CommitDraftOrderResponse as CommitDraftOrderResponse, type index_d$d_CommitDraftOrderResponseNonNullableFields as CommitDraftOrderResponseNonNullableFields, type Coupon$2 as Coupon, type index_d$d_CreateCustomAdditionalFeesOptions as CreateCustomAdditionalFeesOptions, type index_d$d_CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequest, type index_d$d_CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponse, type index_d$d_CreateCustomAdditionalFeesResponseNonNullableFields as CreateCustomAdditionalFeesResponseNonNullableFields, type index_d$d_CreateCustomDiscountsOptions as CreateCustomDiscountsOptions, type index_d$d_CreateCustomDiscountsRequest as CreateCustomDiscountsRequest, type index_d$d_CreateCustomDiscountsResponse as CreateCustomDiscountsResponse, type index_d$d_CreateCustomDiscountsResponseNonNullableFields as CreateCustomDiscountsResponseNonNullableFields, type index_d$d_CreateDraftOrderRequest as CreateDraftOrderRequest, type index_d$d_CreateDraftOrderResponse as CreateDraftOrderResponse, type index_d$d_CreateDraftOrderResponseNonNullableFields as CreateDraftOrderResponseNonNullableFields, type index_d$d_CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequest, type index_d$d_CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponse, type index_d$d_CreateEmptyDraftOrderResponseNonNullableFields as CreateEmptyDraftOrderResponseNonNullableFields, type index_d$d_CreateOrderFromDraftRequest as CreateOrderFromDraftRequest, type index_d$d_CreateOrderFromDraftResponse as CreateOrderFromDraftResponse, type index_d$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 index_d$d_CustomLineItem as CustomLineItem, type index_d$d_DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequest, type index_d$d_DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponse, type index_d$d_DeleteCustomAdditionalFeesResponseNonNullableFields as DeleteCustomAdditionalFeesResponseNonNullableFields, type index_d$d_DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequest, type index_d$d_DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponse, type index_d$d_DeleteCustomDiscountsResponseNonNullableFields as DeleteCustomDiscountsResponseNonNullableFields, type index_d$d_DeleteDraftOrderRequest as DeleteDraftOrderRequest, type index_d$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 index_d$d_DiscountDetails as DiscountDetails, type index_d$d_DiscountOption as DiscountOption, type index_d$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 index_d$d_DraftOrder as DraftOrder, type DraftOrderChangesApplied$1 as DraftOrderChangesApplied, type DraftOrderCommitSettings$1 as DraftOrderCommitSettings, type index_d$d_DraftOrdersQueryBuilder as DraftOrdersQueryBuilder, type index_d$d_DraftOrdersQueryResult as DraftOrdersQueryResult, index_d$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, index_d$d_FileType as FileType, FulfillmentStatus$3 as FulfillmentStatus, type FulfillmentStatusesAggregate$1 as FulfillmentStatusesAggregate, type FullAddressContactDetails$2 as FullAddressContactDetails, type index_d$d_GetDraftEditabilityStatusRequest as GetDraftEditabilityStatusRequest, type index_d$d_GetDraftEditabilityStatusResponse as GetDraftEditabilityStatusResponse, type index_d$d_GetDraftOrderRequest as GetDraftOrderRequest, type index_d$d_GetDraftOrderResponse as GetDraftOrderResponse, type index_d$d_GetDraftOrderResponseNonNullableFields as GetDraftOrderResponseNonNullableFields, type index_d$d_GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequest, type index_d$d_GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponse, type index_d$d_GetOrderDraftabilityStatusResponseNonNullableFields as GetOrderDraftabilityStatusResponseNonNullableFields, type GiftCardPaymentRefund$1 as GiftCardPaymentRefund, type index_d$d_IdAndApplied as IdAndApplied, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type index_d$d_InventoryUpdate as InventoryUpdate, type ItemChangedDetails$1 as ItemChangedDetails, type index_d$d_ItemDetails as ItemDetails, type index_d$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 index_d$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, index_d$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 index_d$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, index_d$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 index_d$d_QueryDraftOrdersRequest as QueryDraftOrdersRequest, type index_d$d_QueryDraftOrdersResponse as QueryDraftOrdersResponse, type index_d$d_QueryDraftOrdersResponseNonNullableFields as QueryDraftOrdersResponseNonNullableFields, type index_d$d_RecipientInfoChangedDetails as RecipientInfoChangedDetails, type index_d$d_RecipientInfoDetails as RecipientInfoDetails, type index_d$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 index_d$d_SecuredMedia as SecuredMedia, type index_d$d_SetAdditionalFeesRequest as SetAdditionalFeesRequest, type index_d$d_SetAdditionalFeesResponse as SetAdditionalFeesResponse, type index_d$d_SetAdditionalFeesResponseNonNullableFields as SetAdditionalFeesResponseNonNullableFields, type index_d$d_SetBillingInfoRequest as SetBillingInfoRequest, type index_d$d_SetBillingInfoResponse as SetBillingInfoResponse, type index_d$d_SetBillingInfoResponseNonNullableFields as SetBillingInfoResponseNonNullableFields, type index_d$d_SetBuyerInfoRequest as SetBuyerInfoRequest, type index_d$d_SetBuyerInfoResponse as SetBuyerInfoResponse, type index_d$d_SetBuyerInfoResponseNonNullableFields as SetBuyerInfoResponseNonNullableFields, type index_d$d_SetDiscountsRequest as SetDiscountsRequest, type index_d$d_SetDiscountsResponse as SetDiscountsResponse, type index_d$d_SetDiscountsResponseNonNullableFields as SetDiscountsResponseNonNullableFields, type index_d$d_SetRecipientInfoRequest as SetRecipientInfoRequest, type index_d$d_SetRecipientInfoResponse as SetRecipientInfoResponse, type index_d$d_SetRecipientInfoResponseNonNullableFields as SetRecipientInfoResponseNonNullableFields, type index_d$d_SetShippingInfoRequest as SetShippingInfoRequest, type index_d$d_SetShippingInfoResponse as SetShippingInfoResponse, type index_d$d_SetShippingInfoResponseNonNullableFields as SetShippingInfoResponseNonNullableFields, type index_d$d_SetTaxExemptionRequest as SetTaxExemptionRequest, type index_d$d_SetTaxExemptionResponse as SetTaxExemptionResponse, type index_d$d_ShippingChangedDetails as ShippingChangedDetails, type index_d$d_ShippingDetails as ShippingDetails, type index_d$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 index_d$d_UpdateLineItemsOptions as UpdateLineItemsOptions, type index_d$d_UpdateLineItemsRequest as UpdateLineItemsRequest, type index_d$d_UpdateLineItemsResponse as UpdateLineItemsResponse, type index_d$d_UpdateLineItemsResponseNonNullableFields as UpdateLineItemsResponseNonNullableFields, type index_d$d_UpdateShippingInfoRequest as UpdateShippingInfoRequest, type index_d$d_UpdateShippingInfoResponse as UpdateShippingInfoResponse, type index_d$d_V1BalanceSummary as V1BalanceSummary, type index_d$d_V1CreatedBy as V1CreatedBy, type index_d$d_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type index_d$d_V1DeliveryLogistics as V1DeliveryLogistics, type index_d$d_V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOf, type index_d$d_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type index_d$d_V1PickupDetails as V1PickupDetails, type V1ShippingInformation$1 as V1ShippingInformation, type index_d$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, index_d$d_addLineItemsToDraftOrder as addLineItemsToDraftOrder, index_d$d_commitDraftOrder as commitDraftOrder, index_d$d_createCustomAdditionalFees as createCustomAdditionalFees, index_d$d_createCustomDiscounts as createCustomDiscounts, index_d$d_createDraftOrder as createDraftOrder, index_d$d_createEmptyDraftOrder as createEmptyDraftOrder, index_d$d_createOrderFromDraft as createOrderFromDraft, index_d$d_deleteCustomAdditionalFees as deleteCustomAdditionalFees, index_d$d_deleteCustomDiscounts as deleteCustomDiscounts, index_d$d_deleteDraftOrder as deleteDraftOrder, index_d$d_getDraftOrder as getDraftOrder, index_d$d_getOrderDraftabilityStatus as getOrderDraftabilityStatus, index_d$d_queryDraftOrders as queryDraftOrders, index_d$d_setAdditionalFees as setAdditionalFees, index_d$d_setBillingInfo as setBillingInfo, index_d$d_setBuyerInfo as setBuyerInfo, index_d$d_setDiscounts as setDiscounts, index_d$d_setRecipientInfo as setRecipientInfo, index_d$d_setShippingInfo as setShippingInfo, index_d$d_updateLineItems as updateLineItems };
|
|
22195
22205
|
}
|
|
22196
22206
|
|
|
22197
22207
|
interface OrderWithFulfillments {
|
|
@@ -22623,7 +22633,7 @@ interface BulkCreateFulfillmentResponseNonNullableFields {
|
|
|
22623
22633
|
results: BulkOrderFulfillmentsResultNonNullableFields[];
|
|
22624
22634
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
|
|
22625
22635
|
}
|
|
22626
|
-
interface BaseEventMetadata$
|
|
22636
|
+
interface BaseEventMetadata$5 {
|
|
22627
22637
|
/** App instance ID. */
|
|
22628
22638
|
instanceId?: string | null;
|
|
22629
22639
|
/** Event type. */
|
|
@@ -22631,7 +22641,7 @@ interface BaseEventMetadata$6 {
|
|
|
22631
22641
|
/** The identification type and identity data. */
|
|
22632
22642
|
identity?: IdentificationData$8;
|
|
22633
22643
|
}
|
|
22634
|
-
interface EventMetadata$
|
|
22644
|
+
interface EventMetadata$5 extends BaseEventMetadata$5 {
|
|
22635
22645
|
/**
|
|
22636
22646
|
* Unique event ID.
|
|
22637
22647
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -22671,7 +22681,7 @@ interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
|
22671
22681
|
}
|
|
22672
22682
|
interface FulfillmentsUpdatedEnvelope {
|
|
22673
22683
|
entity: OrderWithFulfillments;
|
|
22674
|
-
metadata: EventMetadata$
|
|
22684
|
+
metadata: EventMetadata$5;
|
|
22675
22685
|
}
|
|
22676
22686
|
interface UpdateFulfillmentOptions {
|
|
22677
22687
|
/** Fulfillment info. */
|
|
@@ -22798,7 +22808,7 @@ interface BulkCreateFulfillmentsSignature {
|
|
|
22798
22808
|
}
|
|
22799
22809
|
declare const onFulfillmentsUpdated$1: EventDefinition<FulfillmentsUpdatedEnvelope, "wix.ecom.v1.fulfillments_updated">;
|
|
22800
22810
|
|
|
22801
|
-
declare function createEventModule$
|
|
22811
|
+
declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
22802
22812
|
|
|
22803
22813
|
declare const listFulfillmentsForSingleOrder: MaybeContext<BuildRESTFunction<typeof listFulfillmentsForSingleOrder$1> & typeof listFulfillmentsForSingleOrder$1>;
|
|
22804
22814
|
declare const listFulfillmentsForMultipleOrders: MaybeContext<BuildRESTFunction<typeof listFulfillmentsForMultipleOrders$1> & typeof listFulfillmentsForMultipleOrders$1>;
|
|
@@ -22813,7 +22823,7 @@ type _publicOnFulfillmentsUpdatedType = typeof onFulfillmentsUpdated$1;
|
|
|
22813
22823
|
*
|
|
22814
22824
|
* The response contains the order's ID and details about all of its fulfillments following the change.
|
|
22815
22825
|
*/
|
|
22816
|
-
declare const onFulfillmentsUpdated: ReturnType<typeof createEventModule$
|
|
22826
|
+
declare const onFulfillmentsUpdated: ReturnType<typeof createEventModule$5<_publicOnFulfillmentsUpdatedType>>;
|
|
22817
22827
|
|
|
22818
22828
|
type index_d$c_BulkCreateFulfillmentRequest = BulkCreateFulfillmentRequest;
|
|
22819
22829
|
type index_d$c_BulkCreateFulfillmentResponse = BulkCreateFulfillmentResponse;
|
|
@@ -22856,7 +22866,7 @@ declare const index_d$c_listFulfillmentsForSingleOrder: typeof listFulfillmentsF
|
|
|
22856
22866
|
declare const index_d$c_onFulfillmentsUpdated: typeof onFulfillmentsUpdated;
|
|
22857
22867
|
declare const index_d$c_updateFulfillment: typeof updateFulfillment;
|
|
22858
22868
|
declare namespace index_d$c {
|
|
22859
|
-
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 index_d$c_BulkCreateFulfillmentRequest as BulkCreateFulfillmentRequest, type index_d$c_BulkCreateFulfillmentResponse as BulkCreateFulfillmentResponse, type index_d$c_BulkCreateFulfillmentResponseNonNullableFields as BulkCreateFulfillmentResponseNonNullableFields, type index_d$c_BulkCreateOrderWithFulfillments as BulkCreateOrderWithFulfillments, type index_d$c_BulkOrderFulfillmentsResult as BulkOrderFulfillmentsResult, type BuyerInfo$2 as BuyerInfo, type index_d$c_CreateFulfillmentRequest as CreateFulfillmentRequest, type index_d$c_CreateFulfillmentResponse as CreateFulfillmentResponse, type index_d$c_CreateFulfillmentResponseNonNullableFields as CreateFulfillmentResponseNonNullableFields, type index_d$c_CustomFulfillmentInfo as CustomFulfillmentInfo, type index_d$c_DeleteFulfillmentIdentifiers as DeleteFulfillmentIdentifiers, type index_d$c_DeleteFulfillmentRequest as DeleteFulfillmentRequest, type index_d$c_DeleteFulfillmentResponse as DeleteFulfillmentResponse, type index_d$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 index_d$c_FulfillmentCreated as FulfillmentCreated, type index_d$c_FulfillmentDeleted as FulfillmentDeleted, type index_d$c_FulfillmentFulfillmentInfoOneOf as FulfillmentFulfillmentInfoOneOf, type FulfillmentLineItem$1 as FulfillmentLineItem, FulfillmentStatus$2 as FulfillmentStatus, type FulfillmentTrackingInfo$1 as FulfillmentTrackingInfo, type index_d$c_FulfillmentUpdated as FulfillmentUpdated, type index_d$c_FulfillmentsUpdatedEnvelope as FulfillmentsUpdatedEnvelope, type IdentificationData$8 as IdentificationData, type IdentificationDataIdOneOf$8 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemMetadata$2 as ItemMetadata, type index_d$c_ListFulfillmentsForMultipleOrdersRequest as ListFulfillmentsForMultipleOrdersRequest, type index_d$c_ListFulfillmentsForMultipleOrdersResponse as ListFulfillmentsForMultipleOrdersResponse, type index_d$c_ListFulfillmentsForMultipleOrdersResponseNonNullableFields as ListFulfillmentsForMultipleOrdersResponseNonNullableFields, type index_d$c_ListFulfillmentsForSingleOrderRequest as ListFulfillmentsForSingleOrderRequest, type index_d$c_ListFulfillmentsForSingleOrderResponse as ListFulfillmentsForSingleOrderResponse, type index_d$c_ListFulfillmentsForSingleOrderResponseNonNullableFields as ListFulfillmentsForSingleOrderResponseNonNullableFields, type MessageEnvelope$8 as MessageEnvelope, type index_d$c_OrderWithFulfillments as OrderWithFulfillments, type index_d$c_OrderWithFulfillmentsNonNullableFields as OrderWithFulfillmentsNonNullableFields, type RestoreInfo$9 as RestoreInfo, type index_d$c_UpdateFulfillmentIdentifiers as UpdateFulfillmentIdentifiers, type index_d$c_UpdateFulfillmentOptions as UpdateFulfillmentOptions, type index_d$c_UpdateFulfillmentRequest as UpdateFulfillmentRequest, type index_d$c_UpdateFulfillmentResponse as UpdateFulfillmentResponse, type index_d$c_UpdateFulfillmentResponseNonNullableFields as UpdateFulfillmentResponseNonNullableFields, type index_d$c_V2FulfillmentTrackingInfo as V2FulfillmentTrackingInfo, WebhookIdentityType$8 as WebhookIdentityType, type index_d$c__publicOnFulfillmentsUpdatedType as _publicOnFulfillmentsUpdatedType, index_d$c_bulkCreateFulfillments as bulkCreateFulfillments, index_d$c_createFulfillment as createFulfillment, index_d$c_deleteFulfillment as deleteFulfillment, index_d$c_listFulfillmentsForMultipleOrders as listFulfillmentsForMultipleOrders, index_d$c_listFulfillmentsForSingleOrder as listFulfillmentsForSingleOrder, index_d$c_onFulfillmentsUpdated as onFulfillmentsUpdated, onFulfillmentsUpdated$1 as publicOnFulfillmentsUpdated, index_d$c_updateFulfillment as updateFulfillment };
|
|
22860
22870
|
}
|
|
22861
22871
|
|
|
22862
22872
|
interface GiftCard$2 {
|
|
@@ -23032,15 +23042,21 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
|
23032
23042
|
customAreaConfig?: CustomAreaConfig;
|
|
23033
23043
|
/** LocalDeliveryOptionId - unique identifier of local delivery option */
|
|
23034
23044
|
_id?: string | null;
|
|
23035
|
-
/**
|
|
23036
|
-
externalId?: string | null;
|
|
23037
|
-
/** Name of Local Delivery Option */
|
|
23045
|
+
/** Area name of Local Delivery Option */
|
|
23038
23046
|
areaName?: string | null;
|
|
23039
|
-
/**
|
|
23047
|
+
/**
|
|
23048
|
+
* Flat price of local delivery
|
|
23049
|
+
* @deprecated Flat price of local delivery
|
|
23050
|
+
* @targetRemovalDate 2025-01-12
|
|
23051
|
+
*/
|
|
23040
23052
|
rate?: string | null;
|
|
23041
23053
|
/** Estimated delivery time description text */
|
|
23042
23054
|
estimatedDeliveryTime?: string | null;
|
|
23043
|
-
/**
|
|
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
|
+
*/
|
|
23044
23060
|
minimumFreeDeliveryOrderAmount?: number | null;
|
|
23045
23061
|
/** List of countries with subdivisions */
|
|
23046
23062
|
destinations?: Destination[];
|
|
@@ -23057,6 +23073,13 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
|
23057
23073
|
* @readonly
|
|
23058
23074
|
*/
|
|
23059
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[];
|
|
23060
23083
|
}
|
|
23061
23084
|
/** @oneof */
|
|
23062
23085
|
interface LocalDeliveryOptionConfigOneOf {
|
|
@@ -23221,7 +23244,12 @@ interface CreateLocalDeliveryOptionResponse {
|
|
|
23221
23244
|
localDeliveryOption?: LocalDeliveryOption;
|
|
23222
23245
|
}
|
|
23223
23246
|
interface GetLocalDeliveryOptionRequest {
|
|
23224
|
-
|
|
23247
|
+
/**
|
|
23248
|
+
* @deprecated
|
|
23249
|
+
* @targetRemovalDate 2025-01-12
|
|
23250
|
+
*/
|
|
23251
|
+
_id?: string;
|
|
23252
|
+
localDeliveryOptionId: string;
|
|
23225
23253
|
}
|
|
23226
23254
|
interface GetLocalDeliveryOptionResponse {
|
|
23227
23255
|
localDeliveryOption?: LocalDeliveryOption;
|
|
@@ -23232,6 +23260,91 @@ interface ListLocalDeliveryOptionsRequest {
|
|
|
23232
23260
|
interface ListLocalDeliveryOptionsResponse {
|
|
23233
23261
|
localDeliveryOptions?: LocalDeliveryOption[];
|
|
23234
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
|
+
}
|
|
23235
23348
|
interface UpdateLocalDeliveryOptionRequest {
|
|
23236
23349
|
localDeliveryOption: LocalDeliveryOption;
|
|
23237
23350
|
}
|
|
@@ -23239,7 +23352,12 @@ interface UpdateLocalDeliveryOptionResponse {
|
|
|
23239
23352
|
localDeliveryOption?: LocalDeliveryOption;
|
|
23240
23353
|
}
|
|
23241
23354
|
interface DeleteLocalDeliveryOptionRequest {
|
|
23242
|
-
|
|
23355
|
+
/**
|
|
23356
|
+
* @deprecated
|
|
23357
|
+
* @targetRemovalDate 2025-01-12
|
|
23358
|
+
*/
|
|
23359
|
+
_id?: string;
|
|
23360
|
+
localDeliveryOptionId: string;
|
|
23243
23361
|
}
|
|
23244
23362
|
interface DeleteLocalDeliveryOptionResponse {
|
|
23245
23363
|
}
|
|
@@ -23338,6 +23456,24 @@ interface EntityDeletedEvent$8 {
|
|
|
23338
23456
|
interface ActionEvent$8 {
|
|
23339
23457
|
body?: string;
|
|
23340
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
|
+
}
|
|
23341
23477
|
interface MessageEnvelope$7 {
|
|
23342
23478
|
/** App instance ID. */
|
|
23343
23479
|
instanceId?: string | null;
|
|
@@ -23416,6 +23552,7 @@ interface LocalDeliveryOptionNonNullableFields {
|
|
|
23416
23552
|
destinations: DestinationNonNullableFields[];
|
|
23417
23553
|
scheduledDeliveryConfig?: ScheduledDeliveryNonNullableFields;
|
|
23418
23554
|
rates: ConditionalRatesNonNullableFields$2[];
|
|
23555
|
+
deliveryRegionIds: string[];
|
|
23419
23556
|
}
|
|
23420
23557
|
interface CreateLocalDeliveryOptionResponseNonNullableFields {
|
|
23421
23558
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
@@ -23426,6 +23563,9 @@ interface GetLocalDeliveryOptionResponseNonNullableFields {
|
|
|
23426
23563
|
interface ListLocalDeliveryOptionsResponseNonNullableFields {
|
|
23427
23564
|
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
23428
23565
|
}
|
|
23566
|
+
interface QueryLocalDeliveryOptionsResponseNonNullableFields {
|
|
23567
|
+
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
23568
|
+
}
|
|
23429
23569
|
interface UpdateLocalDeliveryOptionResponseNonNullableFields {
|
|
23430
23570
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
23431
23571
|
}
|
|
@@ -23441,63 +23581,72 @@ interface BulkUpdateLocalDeliveryOptionResponseNonNullableFields {
|
|
|
23441
23581
|
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
23442
23582
|
errors: LocalDeliveryOptionErrorNonNullableFields[];
|
|
23443
23583
|
}
|
|
23444
|
-
interface
|
|
23445
|
-
|
|
23446
|
-
instanceId?: string | null;
|
|
23447
|
-
/** Event type. */
|
|
23448
|
-
eventType?: string;
|
|
23449
|
-
/** The identification type and identity data. */
|
|
23450
|
-
identity?: IdentificationData$7;
|
|
23584
|
+
interface AddDeliveryRegionResponseNonNullableFields$1 {
|
|
23585
|
+
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
23451
23586
|
}
|
|
23452
|
-
interface
|
|
23587
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$1 {
|
|
23588
|
+
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
23589
|
+
}
|
|
23590
|
+
interface GetLocalDeliveryOptionOptions {
|
|
23453
23591
|
/**
|
|
23454
|
-
*
|
|
23455
|
-
*
|
|
23592
|
+
* @deprecated
|
|
23593
|
+
* @targetRemovalDate 2025-01-12
|
|
23456
23594
|
*/
|
|
23457
23595
|
_id?: string;
|
|
23458
|
-
|
|
23459
|
-
|
|
23460
|
-
|
|
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
|
|
23461
23614
|
*/
|
|
23462
|
-
|
|
23463
|
-
/**
|
|
23464
|
-
*
|
|
23465
|
-
*
|
|
23466
|
-
* 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
|
|
23467
23619
|
*/
|
|
23468
|
-
|
|
23469
|
-
/**
|
|
23470
|
-
|
|
23471
|
-
|
|
23472
|
-
eventTime?: Date | null;
|
|
23473
|
-
/**
|
|
23474
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
23475
|
-
* (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
|
|
23476
23624
|
*/
|
|
23477
|
-
|
|
23478
|
-
/**
|
|
23479
|
-
|
|
23480
|
-
|
|
23481
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
23482
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
23483
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
23484
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
23485
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
23486
|
-
* 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
|
|
23487
23629
|
*/
|
|
23488
|
-
|
|
23489
|
-
|
|
23490
|
-
|
|
23491
|
-
|
|
23492
|
-
|
|
23493
|
-
|
|
23494
|
-
|
|
23495
|
-
|
|
23496
|
-
|
|
23497
|
-
|
|
23498
|
-
|
|
23499
|
-
|
|
23500
|
-
|
|
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>;
|
|
23501
23650
|
}
|
|
23502
23651
|
interface UpdateLocalDeliveryOption {
|
|
23503
23652
|
zipConfig?: ZipCodeConfig;
|
|
@@ -23505,15 +23654,21 @@ interface UpdateLocalDeliveryOption {
|
|
|
23505
23654
|
customAreaConfig?: CustomAreaConfig;
|
|
23506
23655
|
/** LocalDeliveryOptionId - unique identifier of local delivery option */
|
|
23507
23656
|
_id?: string | null;
|
|
23508
|
-
/**
|
|
23509
|
-
externalId?: string | null;
|
|
23510
|
-
/** Name of Local Delivery Option */
|
|
23657
|
+
/** Area name of Local Delivery Option */
|
|
23511
23658
|
areaName?: string | null;
|
|
23512
|
-
/**
|
|
23659
|
+
/**
|
|
23660
|
+
* Flat price of local delivery
|
|
23661
|
+
* @deprecated Flat price of local delivery
|
|
23662
|
+
* @targetRemovalDate 2025-01-12
|
|
23663
|
+
*/
|
|
23513
23664
|
rate?: string | null;
|
|
23514
23665
|
/** Estimated delivery time description text */
|
|
23515
23666
|
estimatedDeliveryTime?: string | null;
|
|
23516
|
-
/**
|
|
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
|
+
*/
|
|
23517
23672
|
minimumFreeDeliveryOrderAmount?: number | null;
|
|
23518
23673
|
/** List of countries with subdivisions */
|
|
23519
23674
|
destinations?: Destination[];
|
|
@@ -23530,6 +23685,30 @@ interface UpdateLocalDeliveryOption {
|
|
|
23530
23685
|
* @readonly
|
|
23531
23686
|
*/
|
|
23532
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;
|
|
23533
23712
|
}
|
|
23534
23713
|
|
|
23535
23714
|
declare function createLocalDeliveryOption$1(httpClient: HttpClient): CreateLocalDeliveryOptionSignature;
|
|
@@ -23540,13 +23719,27 @@ interface CreateLocalDeliveryOptionSignature {
|
|
|
23540
23719
|
declare function getLocalDeliveryOption$1(httpClient: HttpClient): GetLocalDeliveryOptionSignature;
|
|
23541
23720
|
interface GetLocalDeliveryOptionSignature {
|
|
23542
23721
|
/** */
|
|
23543
|
-
(
|
|
23722
|
+
(localDeliveryOptionId: string, options?: GetLocalDeliveryOptionOptions | undefined): Promise<LocalDeliveryOption & LocalDeliveryOptionNonNullableFields>;
|
|
23544
23723
|
}
|
|
23545
23724
|
declare function listLocalDeliveryOptions$1(httpClient: HttpClient): ListLocalDeliveryOptionsSignature;
|
|
23546
23725
|
interface ListLocalDeliveryOptionsSignature {
|
|
23547
|
-
/** */
|
|
23726
|
+
/** @deprecated method is deprecated due to the fact that external_id is deprecated */
|
|
23548
23727
|
(externalId: string): Promise<ListLocalDeliveryOptionsResponse & ListLocalDeliveryOptionsResponseNonNullableFields>;
|
|
23549
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
|
+
}
|
|
23550
23743
|
declare function updateLocalDeliveryOption$1(httpClient: HttpClient): UpdateLocalDeliveryOptionSignature;
|
|
23551
23744
|
interface UpdateLocalDeliveryOptionSignature {
|
|
23552
23745
|
/** @param - LocalDeliveryOptionId - unique identifier of local delivery option */
|
|
@@ -23555,7 +23748,7 @@ interface UpdateLocalDeliveryOptionSignature {
|
|
|
23555
23748
|
declare function deleteLocalDeliveryOption$1(httpClient: HttpClient): DeleteLocalDeliveryOptionSignature;
|
|
23556
23749
|
interface DeleteLocalDeliveryOptionSignature {
|
|
23557
23750
|
/** */
|
|
23558
|
-
(
|
|
23751
|
+
(localDeliveryOptionId: string, options?: DeleteLocalDeliveryOptionOptions | undefined): Promise<void>;
|
|
23559
23752
|
}
|
|
23560
23753
|
declare function bulkCreateLocalDeliveryOption$1(httpClient: HttpClient): BulkCreateLocalDeliveryOptionSignature;
|
|
23561
23754
|
interface BulkCreateLocalDeliveryOptionSignature {
|
|
@@ -23572,32 +23765,28 @@ interface BulkDeleteLocalDeliveryOptionSignature {
|
|
|
23572
23765
|
/** */
|
|
23573
23766
|
(ids: string[]): Promise<void>;
|
|
23574
23767
|
}
|
|
23575
|
-
declare
|
|
23576
|
-
|
|
23577
|
-
|
|
23578
|
-
|
|
23579
|
-
|
|
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
|
+
}
|
|
23580
23778
|
|
|
23581
23779
|
declare const createLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof createLocalDeliveryOption$1> & typeof createLocalDeliveryOption$1>;
|
|
23582
23780
|
declare const getLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof getLocalDeliveryOption$1> & typeof getLocalDeliveryOption$1>;
|
|
23583
23781
|
declare const listLocalDeliveryOptions: MaybeContext<BuildRESTFunction<typeof listLocalDeliveryOptions$1> & typeof listLocalDeliveryOptions$1>;
|
|
23782
|
+
declare const queryLocalDeliveryOptions: MaybeContext<BuildRESTFunction<typeof queryLocalDeliveryOptions$1> & typeof queryLocalDeliveryOptions$1>;
|
|
23584
23783
|
declare const updateLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof updateLocalDeliveryOption$1> & typeof updateLocalDeliveryOption$1>;
|
|
23585
23784
|
declare const deleteLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof deleteLocalDeliveryOption$1> & typeof deleteLocalDeliveryOption$1>;
|
|
23586
23785
|
declare const bulkCreateLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof bulkCreateLocalDeliveryOption$1> & typeof bulkCreateLocalDeliveryOption$1>;
|
|
23587
23786
|
declare const bulkUpdateLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof bulkUpdateLocalDeliveryOption$1> & typeof bulkUpdateLocalDeliveryOption$1>;
|
|
23588
23787
|
declare const bulkDeleteLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof bulkDeleteLocalDeliveryOption$1> & typeof bulkDeleteLocalDeliveryOption$1>;
|
|
23589
|
-
|
|
23590
|
-
|
|
23591
|
-
/** */
|
|
23592
|
-
declare const onLocalDeliveryOptionCreated: ReturnType<typeof createEventModule$5<_publicOnLocalDeliveryOptionCreatedType>>;
|
|
23593
|
-
|
|
23594
|
-
type _publicOnLocalDeliveryOptionUpdatedType = typeof onLocalDeliveryOptionUpdated$1;
|
|
23595
|
-
/** */
|
|
23596
|
-
declare const onLocalDeliveryOptionUpdated: ReturnType<typeof createEventModule$5<_publicOnLocalDeliveryOptionUpdatedType>>;
|
|
23597
|
-
|
|
23598
|
-
type _publicOnLocalDeliveryOptionDeletedType = typeof onLocalDeliveryOptionDeleted$1;
|
|
23599
|
-
/** */
|
|
23600
|
-
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>;
|
|
23601
23790
|
|
|
23602
23791
|
type index_d$a_BulkCreateLocalDeliveryOptionRequest = BulkCreateLocalDeliveryOptionRequest;
|
|
23603
23792
|
type index_d$a_BulkCreateLocalDeliveryOptionResponse = BulkCreateLocalDeliveryOptionResponse;
|
|
@@ -23615,9 +23804,11 @@ type index_d$a_DayOfWeek = DayOfWeek;
|
|
|
23615
23804
|
declare const index_d$a_DayOfWeek: typeof DayOfWeek;
|
|
23616
23805
|
type index_d$a_DaySlot = DaySlot;
|
|
23617
23806
|
type index_d$a_Days = Days;
|
|
23807
|
+
type index_d$a_DeleteLocalDeliveryOptionOptions = DeleteLocalDeliveryOptionOptions;
|
|
23618
23808
|
type index_d$a_DeleteLocalDeliveryOptionRequest = DeleteLocalDeliveryOptionRequest;
|
|
23619
23809
|
type index_d$a_DeleteLocalDeliveryOptionResponse = DeleteLocalDeliveryOptionResponse;
|
|
23620
23810
|
type index_d$a_Destination = Destination;
|
|
23811
|
+
type index_d$a_GetLocalDeliveryOptionOptions = GetLocalDeliveryOptionOptions;
|
|
23621
23812
|
type index_d$a_GetLocalDeliveryOptionRequest = GetLocalDeliveryOptionRequest;
|
|
23622
23813
|
type index_d$a_GetLocalDeliveryOptionResponse = GetLocalDeliveryOptionResponse;
|
|
23623
23814
|
type index_d$a_GetLocalDeliveryOptionResponseNonNullableFields = GetLocalDeliveryOptionResponseNonNullableFields;
|
|
@@ -23629,11 +23820,13 @@ type index_d$a_ListLocalDeliveryOptionsResponseNonNullableFields = ListLocalDeli
|
|
|
23629
23820
|
type index_d$a_LocalDeliveryAddress = LocalDeliveryAddress;
|
|
23630
23821
|
type index_d$a_LocalDeliveryOption = LocalDeliveryOption;
|
|
23631
23822
|
type index_d$a_LocalDeliveryOptionConfigOneOf = LocalDeliveryOptionConfigOneOf;
|
|
23632
|
-
type index_d$a_LocalDeliveryOptionCreatedEnvelope = LocalDeliveryOptionCreatedEnvelope;
|
|
23633
|
-
type index_d$a_LocalDeliveryOptionDeletedEnvelope = LocalDeliveryOptionDeletedEnvelope;
|
|
23634
23823
|
type index_d$a_LocalDeliveryOptionError = LocalDeliveryOptionError;
|
|
23635
23824
|
type index_d$a_LocalDeliveryOptionNonNullableFields = LocalDeliveryOptionNonNullableFields;
|
|
23636
|
-
type index_d$
|
|
23825
|
+
type index_d$a_LocalDeliveryOptionsQueryBuilder = LocalDeliveryOptionsQueryBuilder;
|
|
23826
|
+
type index_d$a_LocalDeliveryOptionsQueryResult = LocalDeliveryOptionsQueryResult;
|
|
23827
|
+
type index_d$a_QueryLocalDeliveryOptionsRequest = QueryLocalDeliveryOptionsRequest;
|
|
23828
|
+
type index_d$a_QueryLocalDeliveryOptionsResponse = QueryLocalDeliveryOptionsResponse;
|
|
23829
|
+
type index_d$a_QueryLocalDeliveryOptionsResponseNonNullableFields = QueryLocalDeliveryOptionsResponseNonNullableFields;
|
|
23637
23830
|
type index_d$a_RadiusConfig = RadiusConfig;
|
|
23638
23831
|
type index_d$a_ScheduledDelivery = ScheduledDelivery;
|
|
23639
23832
|
type index_d$a_TimeOfDay = TimeOfDay;
|
|
@@ -23645,9 +23838,6 @@ type index_d$a_UpdateLocalDeliveryOptionRequest = UpdateLocalDeliveryOptionReque
|
|
|
23645
23838
|
type index_d$a_UpdateLocalDeliveryOptionResponse = UpdateLocalDeliveryOptionResponse;
|
|
23646
23839
|
type index_d$a_UpdateLocalDeliveryOptionResponseNonNullableFields = UpdateLocalDeliveryOptionResponseNonNullableFields;
|
|
23647
23840
|
type index_d$a_ZipCodeConfig = ZipCodeConfig;
|
|
23648
|
-
type index_d$a__publicOnLocalDeliveryOptionCreatedType = _publicOnLocalDeliveryOptionCreatedType;
|
|
23649
|
-
type index_d$a__publicOnLocalDeliveryOptionDeletedType = _publicOnLocalDeliveryOptionDeletedType;
|
|
23650
|
-
type index_d$a__publicOnLocalDeliveryOptionUpdatedType = _publicOnLocalDeliveryOptionUpdatedType;
|
|
23651
23841
|
declare const index_d$a_bulkCreateLocalDeliveryOption: typeof bulkCreateLocalDeliveryOption;
|
|
23652
23842
|
declare const index_d$a_bulkDeleteLocalDeliveryOption: typeof bulkDeleteLocalDeliveryOption;
|
|
23653
23843
|
declare const index_d$a_bulkUpdateLocalDeliveryOption: typeof bulkUpdateLocalDeliveryOption;
|
|
@@ -23655,12 +23845,10 @@ declare const index_d$a_createLocalDeliveryOption: typeof createLocalDeliveryOpt
|
|
|
23655
23845
|
declare const index_d$a_deleteLocalDeliveryOption: typeof deleteLocalDeliveryOption;
|
|
23656
23846
|
declare const index_d$a_getLocalDeliveryOption: typeof getLocalDeliveryOption;
|
|
23657
23847
|
declare const index_d$a_listLocalDeliveryOptions: typeof listLocalDeliveryOptions;
|
|
23658
|
-
declare const index_d$
|
|
23659
|
-
declare const index_d$a_onLocalDeliveryOptionDeleted: typeof onLocalDeliveryOptionDeleted;
|
|
23660
|
-
declare const index_d$a_onLocalDeliveryOptionUpdated: typeof onLocalDeliveryOptionUpdated;
|
|
23848
|
+
declare const index_d$a_queryLocalDeliveryOptions: typeof queryLocalDeliveryOptions;
|
|
23661
23849
|
declare const index_d$a_updateLocalDeliveryOption: typeof updateLocalDeliveryOption;
|
|
23662
23850
|
declare namespace index_d$a {
|
|
23663
|
-
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 index_d$a_BulkCreateLocalDeliveryOptionRequest as BulkCreateLocalDeliveryOptionRequest, type index_d$a_BulkCreateLocalDeliveryOptionResponse as BulkCreateLocalDeliveryOptionResponse, type index_d$a_BulkCreateLocalDeliveryOptionResponseNonNullableFields as BulkCreateLocalDeliveryOptionResponseNonNullableFields, type index_d$a_BulkDeleteLocalDeliveryOptionRequest as BulkDeleteLocalDeliveryOptionRequest, type index_d$a_BulkDeleteLocalDeliveryOptionResponse as BulkDeleteLocalDeliveryOptionResponse, type index_d$a_BulkUpdateLocalDeliveryOptionRequest as BulkUpdateLocalDeliveryOptionRequest, type index_d$a_BulkUpdateLocalDeliveryOptionResponse as BulkUpdateLocalDeliveryOptionResponse, type index_d$a_BulkUpdateLocalDeliveryOptionResponseNonNullableFields as BulkUpdateLocalDeliveryOptionResponseNonNullableFields, type Condition$2 as Condition, ConditionType$2 as ConditionType, type ConditionalRates$2 as ConditionalRates, type index_d$a_CreateLocalDeliveryOptionRequest as CreateLocalDeliveryOptionRequest, type index_d$a_CreateLocalDeliveryOptionResponse as CreateLocalDeliveryOptionResponse, type index_d$a_CreateLocalDeliveryOptionResponseNonNullableFields as CreateLocalDeliveryOptionResponseNonNullableFields, type CursorPaging$6 as CursorPaging, type CursorPagingMetadata$6 as CursorPagingMetadata, type Cursors$6 as Cursors, type index_d$a_CustomAreaConfig as CustomAreaConfig, index_d$a_DayOfWeek as DayOfWeek, type index_d$a_DaySlot as DaySlot, type index_d$a_Days as Days, type index_d$a_DeleteLocalDeliveryOptionOptions as DeleteLocalDeliveryOptionOptions, type index_d$a_DeleteLocalDeliveryOptionRequest as DeleteLocalDeliveryOptionRequest, type index_d$a_DeleteLocalDeliveryOptionResponse as DeleteLocalDeliveryOptionResponse, type index_d$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 index_d$a_GetLocalDeliveryOptionOptions as GetLocalDeliveryOptionOptions, type index_d$a_GetLocalDeliveryOptionRequest as GetLocalDeliveryOptionRequest, type index_d$a_GetLocalDeliveryOptionResponse as GetLocalDeliveryOptionResponse, type index_d$a_GetLocalDeliveryOptionResponseNonNullableFields as GetLocalDeliveryOptionResponseNonNullableFields, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, index_d$a_LengthUnit as LengthUnit, type index_d$a_ListLocalDeliveryOptionsRequest as ListLocalDeliveryOptionsRequest, type index_d$a_ListLocalDeliveryOptionsResponse as ListLocalDeliveryOptionsResponse, type index_d$a_ListLocalDeliveryOptionsResponseNonNullableFields as ListLocalDeliveryOptionsResponseNonNullableFields, type index_d$a_LocalDeliveryAddress as LocalDeliveryAddress, type index_d$a_LocalDeliveryOption as LocalDeliveryOption, type index_d$a_LocalDeliveryOptionConfigOneOf as LocalDeliveryOptionConfigOneOf, type index_d$a_LocalDeliveryOptionError as LocalDeliveryOptionError, type index_d$a_LocalDeliveryOptionNonNullableFields as LocalDeliveryOptionNonNullableFields, type index_d$a_LocalDeliveryOptionsQueryBuilder as LocalDeliveryOptionsQueryBuilder, type index_d$a_LocalDeliveryOptionsQueryResult as LocalDeliveryOptionsQueryResult, LogicalOperator$2 as LogicalOperator, type MessageEnvelope$7 as MessageEnvelope, type Paging$1 as Paging, type index_d$a_QueryLocalDeliveryOptionsRequest as QueryLocalDeliveryOptionsRequest, type index_d$a_QueryLocalDeliveryOptionsResponse as QueryLocalDeliveryOptionsResponse, type index_d$a_QueryLocalDeliveryOptionsResponseNonNullableFields as QueryLocalDeliveryOptionsResponseNonNullableFields, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type index_d$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 index_d$a_ScheduledDelivery as ScheduledDelivery, SortOrder$6 as SortOrder, type Sorting$6 as Sorting, type index_d$a_TimeOfDay as TimeOfDay, type index_d$a_TimePoint as TimePoint, type index_d$a_TimeSlot as TimeSlot, type index_d$a_TimeWindow as TimeWindow, type index_d$a_UpdateLocalDeliveryOption as UpdateLocalDeliveryOption, type index_d$a_UpdateLocalDeliveryOptionRequest as UpdateLocalDeliveryOptionRequest, type index_d$a_UpdateLocalDeliveryOptionResponse as UpdateLocalDeliveryOptionResponse, type index_d$a_UpdateLocalDeliveryOptionResponseNonNullableFields as UpdateLocalDeliveryOptionResponseNonNullableFields, WebhookIdentityType$7 as WebhookIdentityType, type index_d$a_ZipCodeConfig as ZipCodeConfig, addDeliveryRegion$2 as addDeliveryRegion, index_d$a_bulkCreateLocalDeliveryOption as bulkCreateLocalDeliveryOption, index_d$a_bulkDeleteLocalDeliveryOption as bulkDeleteLocalDeliveryOption, index_d$a_bulkUpdateLocalDeliveryOption as bulkUpdateLocalDeliveryOption, index_d$a_createLocalDeliveryOption as createLocalDeliveryOption, index_d$a_deleteLocalDeliveryOption as deleteLocalDeliveryOption, index_d$a_getLocalDeliveryOption as getLocalDeliveryOption, index_d$a_listLocalDeliveryOptions as listLocalDeliveryOptions, index_d$a_queryLocalDeliveryOptions as queryLocalDeliveryOptions, removeDeliveryRegion$2 as removeDeliveryRegion, index_d$a_updateLocalDeliveryOption as updateLocalDeliveryOption };
|
|
23664
23852
|
}
|
|
23665
23853
|
|
|
23666
23854
|
interface Order$1 {
|