@wix/ecom 1.0.845 → 1.0.847
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.
|
@@ -1389,7 +1389,7 @@ interface UpdateDiscountRuleResponseNonNullableFields {
|
|
|
1389
1389
|
interface QueryDiscountRulesResponseNonNullableFields {
|
|
1390
1390
|
discountRules: DiscountRuleNonNullableFields$7[];
|
|
1391
1391
|
}
|
|
1392
|
-
interface BaseEventMetadata$
|
|
1392
|
+
interface BaseEventMetadata$d {
|
|
1393
1393
|
/** App instance ID. */
|
|
1394
1394
|
instanceId?: string | null;
|
|
1395
1395
|
/** Event type. */
|
|
@@ -1397,7 +1397,7 @@ interface BaseEventMetadata$e {
|
|
|
1397
1397
|
/** The identification type and identity data. */
|
|
1398
1398
|
identity?: IdentificationData$n;
|
|
1399
1399
|
}
|
|
1400
|
-
interface EventMetadata$
|
|
1400
|
+
interface EventMetadata$d extends BaseEventMetadata$d {
|
|
1401
1401
|
/**
|
|
1402
1402
|
* Unique event ID.
|
|
1403
1403
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -1437,14 +1437,14 @@ interface EventMetadata$e extends BaseEventMetadata$e {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
interface DiscountRuleCreatedEnvelope {
|
|
1439
1439
|
entity: DiscountRule$8;
|
|
1440
|
-
metadata: EventMetadata$
|
|
1440
|
+
metadata: EventMetadata$d;
|
|
1441
1441
|
}
|
|
1442
1442
|
interface DiscountRuleUpdatedEnvelope {
|
|
1443
1443
|
entity: DiscountRule$8;
|
|
1444
|
-
metadata: EventMetadata$
|
|
1444
|
+
metadata: EventMetadata$d;
|
|
1445
1445
|
}
|
|
1446
1446
|
interface DiscountRuleDeletedEnvelope {
|
|
1447
|
-
metadata: EventMetadata$
|
|
1447
|
+
metadata: EventMetadata$d;
|
|
1448
1448
|
}
|
|
1449
1449
|
interface UpdateDiscountRule {
|
|
1450
1450
|
/**
|
|
@@ -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$d<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$d<_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$d<_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$d<_publicOnDiscountRuleDeletedType>>;
|
|
1667
1667
|
|
|
1668
1668
|
type context$t_ActiveTimeInfo = ActiveTimeInfo;
|
|
1669
1669
|
type context$t_And = And;
|
|
@@ -1728,7 +1728,7 @@ declare const context$t_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
|
|
|
1728
1728
|
declare const context$t_queryDiscountRules: typeof queryDiscountRules;
|
|
1729
1729
|
declare const context$t_updateDiscountRule: typeof updateDiscountRule;
|
|
1730
1730
|
declare namespace context$t {
|
|
1731
|
-
export { type ActionEvent$n as ActionEvent, type context$t_ActiveTimeInfo as ActiveTimeInfo, type context$t_And as And, type AppliedDiscount$8 as AppliedDiscount, type context$t_AppliedDiscountRule as AppliedDiscountRule, context$t_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$
|
|
1731
|
+
export { type ActionEvent$n as ActionEvent, type context$t_ActiveTimeInfo as ActiveTimeInfo, type context$t_And as And, type AppliedDiscount$8 as AppliedDiscount, type context$t_AppliedDiscountRule as AppliedDiscountRule, context$t_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$d as BaseEventMetadata, type context$t_BuyXGetYInfo as BuyXGetYInfo, type context$t_CatalogItemFilter as CatalogItemFilter, type CatalogReference$c as CatalogReference, type context$t_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type context$t_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type context$t_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$f as CursorPaging, type Cursors$f as Cursors, type context$t_Custom as Custom, type context$t_CustomFilter as CustomFilter, type context$t_CustomerBuy as CustomerBuy, type context$t_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type context$t_CustomerGet as CustomerGet, type context$t_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type context$t_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type context$t_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$8 as DiscountRule, type context$t_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type context$t_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$8 as DiscountRuleName, type DiscountRuleNonNullableFields$7 as DiscountRuleNonNullableFields, type context$t_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type context$t_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type context$t_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type context$t_DiscountRulesQueryResult as DiscountRulesQueryResult, type context$t_DiscountSettings as DiscountSettings, type context$t_DiscountTrigger as DiscountTrigger, type context$t_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$8 as DiscountType, type context$t_Discounts as Discounts, type DomainEvent$n as DomainEvent, type DomainEventBodyOneOf$n as DomainEventBodyOneOf, type Empty$g as Empty, type EntityCreatedEvent$n as EntityCreatedEvent, type EntityDeletedEvent$n as EntityDeletedEvent, type EntityUpdatedEvent$n as EntityUpdatedEvent, type EventMetadata$d as EventMetadata, type ExtendedFields$c as ExtendedFields, type context$t_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type context$t_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type context$t_GetDiscountRuleRequest as GetDiscountRuleRequest, type context$t_GetDiscountRuleResponse as GetDiscountRuleResponse, type context$t_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$n as IdentificationData, type IdentificationDataIdOneOf$n as IdentificationDataIdOneOf, type context$t_ItemQuantityRange as ItemQuantityRange, type LineItem$7 as LineItem, type MessageEnvelope$m as MessageEnvelope, type MultiCurrencyPrice$6 as MultiCurrencyPrice, type context$t_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type context$t_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type context$t_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type context$t_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$n as RestoreInfo, type Scope$5 as Scope, type context$t_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, context$t_ScopeType as ScopeType, SortOrder$f as SortOrder, type Sorting$f as Sorting, type context$t_SpecificItemsInfo as SpecificItemsInfo, Status$5 as Status, type context$t_SubtotalRange as SubtotalRange, context$t_TriggerType as TriggerType, context$t_Type as Type, type context$t_UpdateDiscountRule as UpdateDiscountRule, type context$t_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type context$t_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type context$t_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$m as WebhookIdentityType, type context$t__publicOnDiscountRuleCreatedType as _publicOnDiscountRuleCreatedType, type context$t__publicOnDiscountRuleDeletedType as _publicOnDiscountRuleDeletedType, type context$t__publicOnDiscountRuleUpdatedType as _publicOnDiscountRuleUpdatedType, context$t_createDiscountRule as createDiscountRule, context$t_deleteDiscountRule as deleteDiscountRule, context$t_getDiscountRule as getDiscountRule, context$t_onDiscountRuleCreated as onDiscountRuleCreated, context$t_onDiscountRuleDeleted as onDiscountRuleDeleted, context$t_onDiscountRuleUpdated as onDiscountRuleUpdated, onDiscountRuleCreated$1 as publicOnDiscountRuleCreated, onDiscountRuleDeleted$1 as publicOnDiscountRuleDeleted, onDiscountRuleUpdated$1 as publicOnDiscountRuleUpdated, context$t_queryDiscountRules as queryDiscountRules, context$t_updateDiscountRule as updateDiscountRule };
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
1734
|
interface Invoice {
|
|
@@ -2515,6 +2515,16 @@ declare enum DescriptionLineType$6 {
|
|
|
2515
2515
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
2516
2516
|
COLOR = "COLOR"
|
|
2517
2517
|
}
|
|
2518
|
+
interface FocalPoint$7 {
|
|
2519
|
+
/** X-coordinate of the focal point. */
|
|
2520
|
+
x?: number;
|
|
2521
|
+
/** Y-coordinate of the focal point. */
|
|
2522
|
+
y?: number;
|
|
2523
|
+
/** crop by height */
|
|
2524
|
+
height?: number | null;
|
|
2525
|
+
/** crop by width */
|
|
2526
|
+
width?: number | null;
|
|
2527
|
+
}
|
|
2518
2528
|
interface PhysicalProperties$8 {
|
|
2519
2529
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
2520
2530
|
weight?: number | null;
|
|
@@ -3515,7 +3525,7 @@ interface GetSubscriptionContractResponseNonNullableFields {
|
|
|
3515
3525
|
interface QuerySubscriptionContractsResponseNonNullableFields {
|
|
3516
3526
|
subscriptionContracts: SubscriptionContractNonNullableFields[];
|
|
3517
3527
|
}
|
|
3518
|
-
interface BaseEventMetadata$
|
|
3528
|
+
interface BaseEventMetadata$c {
|
|
3519
3529
|
/** App instance ID. */
|
|
3520
3530
|
instanceId?: string | null;
|
|
3521
3531
|
/** Event type. */
|
|
@@ -3523,7 +3533,7 @@ interface BaseEventMetadata$d {
|
|
|
3523
3533
|
/** The identification type and identity data. */
|
|
3524
3534
|
identity?: IdentificationData$l;
|
|
3525
3535
|
}
|
|
3526
|
-
interface EventMetadata$
|
|
3536
|
+
interface EventMetadata$c extends BaseEventMetadata$c {
|
|
3527
3537
|
/**
|
|
3528
3538
|
* Unique event ID.
|
|
3529
3539
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -3563,14 +3573,14 @@ interface EventMetadata$d extends BaseEventMetadata$d {
|
|
|
3563
3573
|
}
|
|
3564
3574
|
interface SubscriptionContractCreatedEnvelope {
|
|
3565
3575
|
entity: SubscriptionContract;
|
|
3566
|
-
metadata: EventMetadata$
|
|
3576
|
+
metadata: EventMetadata$c;
|
|
3567
3577
|
}
|
|
3568
3578
|
interface SubscriptionContractDeletedEnvelope {
|
|
3569
|
-
metadata: EventMetadata$
|
|
3579
|
+
metadata: EventMetadata$c;
|
|
3570
3580
|
}
|
|
3571
3581
|
interface SubscriptionContractUpdatedEnvelope {
|
|
3572
3582
|
entity: SubscriptionContract;
|
|
3573
|
-
metadata: EventMetadata$
|
|
3583
|
+
metadata: EventMetadata$c;
|
|
3574
3584
|
}
|
|
3575
3585
|
interface QueryCursorResult$c {
|
|
3576
3586
|
cursors: Cursors$e;
|
|
@@ -3657,22 +3667,22 @@ declare const onSubscriptionContractCreated$1: EventDefinition<SubscriptionContr
|
|
|
3657
3667
|
declare const onSubscriptionContractDeleted$1: EventDefinition<SubscriptionContractDeletedEnvelope, "wix.ecom.subscription_contracts.v1.subscription_contract_deleted">;
|
|
3658
3668
|
declare const onSubscriptionContractUpdated$1: EventDefinition<SubscriptionContractUpdatedEnvelope, "wix.ecom.subscription_contracts.v1.subscription_contract_updated">;
|
|
3659
3669
|
|
|
3660
|
-
declare function createEventModule$
|
|
3670
|
+
declare function createEventModule$c<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3661
3671
|
|
|
3662
3672
|
declare const getSubscriptionContract: MaybeContext<BuildRESTFunction<typeof getSubscriptionContract$1> & typeof getSubscriptionContract$1>;
|
|
3663
3673
|
declare const querySubscriptionContracts: MaybeContext<BuildRESTFunction<typeof querySubscriptionContracts$1> & typeof querySubscriptionContracts$1>;
|
|
3664
3674
|
|
|
3665
3675
|
type _publicOnSubscriptionContractCreatedType = typeof onSubscriptionContractCreated$1;
|
|
3666
3676
|
/** */
|
|
3667
|
-
declare const onSubscriptionContractCreated: ReturnType<typeof createEventModule$
|
|
3677
|
+
declare const onSubscriptionContractCreated: ReturnType<typeof createEventModule$c<_publicOnSubscriptionContractCreatedType>>;
|
|
3668
3678
|
|
|
3669
3679
|
type _publicOnSubscriptionContractDeletedType = typeof onSubscriptionContractDeleted$1;
|
|
3670
3680
|
/** */
|
|
3671
|
-
declare const onSubscriptionContractDeleted: ReturnType<typeof createEventModule$
|
|
3681
|
+
declare const onSubscriptionContractDeleted: ReturnType<typeof createEventModule$c<_publicOnSubscriptionContractDeletedType>>;
|
|
3672
3682
|
|
|
3673
3683
|
type _publicOnSubscriptionContractUpdatedType = typeof onSubscriptionContractUpdated$1;
|
|
3674
3684
|
/** */
|
|
3675
|
-
declare const onSubscriptionContractUpdated: ReturnType<typeof createEventModule$
|
|
3685
|
+
declare const onSubscriptionContractUpdated: ReturnType<typeof createEventModule$c<_publicOnSubscriptionContractUpdatedType>>;
|
|
3676
3686
|
|
|
3677
3687
|
type context$q_CreateSubscriptionContractRequest = CreateSubscriptionContractRequest;
|
|
3678
3688
|
type context$q_CreateSubscriptionContractResponse = CreateSubscriptionContractResponse;
|
|
@@ -3702,7 +3712,7 @@ declare const context$q_onSubscriptionContractDeleted: typeof onSubscriptionCont
|
|
|
3702
3712
|
declare const context$q_onSubscriptionContractUpdated: typeof onSubscriptionContractUpdated;
|
|
3703
3713
|
declare const context$q_querySubscriptionContracts: typeof querySubscriptionContracts;
|
|
3704
3714
|
declare namespace context$q {
|
|
3705
|
-
export { type ActionEvent$l 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$
|
|
3715
|
+
export { type ActionEvent$l 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$c as BaseEventMetadata, type BuyerInfo$9 as BuyerInfo, type BuyerInfoIdOneOf$6 as BuyerInfoIdOneOf, type CatalogReference$a as CatalogReference, type ChannelInfo$4 as ChannelInfo, ChannelType$7 as ChannelType, type Color$6 as Color, type Coupon$7 as Coupon, type context$q_CreateSubscriptionContractRequest as CreateSubscriptionContractRequest, type context$q_CreateSubscriptionContractResponse as CreateSubscriptionContractResponse, type CursorPaging$e as CursorPaging, type CursorPagingMetadata$b as CursorPagingMetadata, type CursorQuery$8 as CursorQuery, type CursorQueryPagingMethodOneOf$8 as CursorQueryPagingMethodOneOf, type Cursors$e 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$l as DomainEvent, type DomainEventBodyOneOf$l as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$l as EntityCreatedEvent, type EntityDeletedEvent$l as EntityDeletedEvent, type EntityUpdatedEvent$l as EntityUpdatedEvent, type EventMetadata$c as EventMetadata, type ExtendedFields$b as ExtendedFields, type FocalPoint$7 as FocalPoint, type FullAddressContactDetails$8 as FullAddressContactDetails, type context$q_GetSubscriptionContractRequest as GetSubscriptionContractRequest, type context$q_GetSubscriptionContractResponse as GetSubscriptionContractResponse, type context$q_GetSubscriptionContractResponseNonNullableFields as GetSubscriptionContractResponseNonNullableFields, type IdentificationData$l as IdentificationData, type IdentificationDataIdOneOf$l 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$k 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$5 as Price, type PriceDescription$6 as PriceDescription, type PriceSummary$7 as PriceSummary, type ProductName$6 as ProductName, type context$q_QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequest, type context$q_QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponse, type context$q_QuerySubscriptionContractsResponseNonNullableFields as QuerySubscriptionContractsResponseNonNullableFields, type RestoreInfo$l as RestoreInfo, type ShippingInformation$5 as ShippingInformation, type ShippingPrice$7 as ShippingPrice, type ShippingRegion$7 as ShippingRegion, SortOrder$e as SortOrder, type Sorting$e as Sorting, type StreetAddress$a as StreetAddress, type context$q_SubscriptionContract as SubscriptionContract, type context$q_SubscriptionContractCreatedEnvelope as SubscriptionContractCreatedEnvelope, type context$q_SubscriptionContractDeletedEnvelope as SubscriptionContractDeletedEnvelope, type context$q_SubscriptionContractNonNullableFields as SubscriptionContractNonNullableFields, type context$q_SubscriptionContractUpdatedEnvelope as SubscriptionContractUpdatedEnvelope, type context$q_SubscriptionContractsQueryBuilder as SubscriptionContractsQueryBuilder, type context$q_SubscriptionContractsQueryResult as SubscriptionContractsQueryResult, SubscriptionFrequency$8 as SubscriptionFrequency, type SubscriptionInfo$3 as SubscriptionInfo, type SubscriptionSettings$8 as SubscriptionSettings, type TaxableAddress$7 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$7 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$7 as TaxableAddressType, type context$q_UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequest, type context$q_UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponse, type V1SubscriptionSettings$1 as V1SubscriptionSettings, context$q_V2SubscriptionFrequency as V2SubscriptionFrequency, type VatId$9 as VatId, VatType$9 as VatType, WebhookIdentityType$k as WebhookIdentityType, WeightUnit$9 as WeightUnit, type context$q__publicOnSubscriptionContractCreatedType as _publicOnSubscriptionContractCreatedType, type context$q__publicOnSubscriptionContractDeletedType as _publicOnSubscriptionContractDeletedType, type context$q__publicOnSubscriptionContractUpdatedType as _publicOnSubscriptionContractUpdatedType, context$q_getSubscriptionContract as getSubscriptionContract, context$q_onSubscriptionContractCreated as onSubscriptionContractCreated, context$q_onSubscriptionContractDeleted as onSubscriptionContractDeleted, context$q_onSubscriptionContractUpdated as onSubscriptionContractUpdated, onSubscriptionContractCreated$1 as publicOnSubscriptionContractCreated, onSubscriptionContractDeleted$1 as publicOnSubscriptionContractDeleted, onSubscriptionContractUpdated$1 as publicOnSubscriptionContractUpdated, context$q_querySubscriptionContracts as querySubscriptionContracts };
|
|
3706
3716
|
}
|
|
3707
3717
|
|
|
3708
3718
|
interface AbandonedCheckout {
|
|
@@ -4343,7 +4353,7 @@ interface RawHttpResponseNonNullableFields$1 {
|
|
|
4343
4353
|
body: Uint8Array;
|
|
4344
4354
|
headers: HeadersEntryNonNullableFields$1[];
|
|
4345
4355
|
}
|
|
4346
|
-
interface BaseEventMetadata$
|
|
4356
|
+
interface BaseEventMetadata$b {
|
|
4347
4357
|
/** App instance ID. */
|
|
4348
4358
|
instanceId?: string | null;
|
|
4349
4359
|
/** Event type. */
|
|
@@ -4351,7 +4361,7 @@ interface BaseEventMetadata$c {
|
|
|
4351
4361
|
/** The identification type and identity data. */
|
|
4352
4362
|
identity?: IdentificationData$k;
|
|
4353
4363
|
}
|
|
4354
|
-
interface EventMetadata$
|
|
4364
|
+
interface EventMetadata$b extends BaseEventMetadata$b {
|
|
4355
4365
|
/**
|
|
4356
4366
|
* Unique event ID.
|
|
4357
4367
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -4391,7 +4401,7 @@ interface EventMetadata$c extends BaseEventMetadata$c {
|
|
|
4391
4401
|
}
|
|
4392
4402
|
interface AbandonedCheckoutRecoveredEnvelope {
|
|
4393
4403
|
data: AbandonedCheckoutRecovered;
|
|
4394
|
-
metadata: EventMetadata$
|
|
4404
|
+
metadata: EventMetadata$b;
|
|
4395
4405
|
}
|
|
4396
4406
|
interface QueryCursorResult$b {
|
|
4397
4407
|
cursors: CommonCursors;
|
|
@@ -4523,7 +4533,7 @@ interface RedirectToCheckoutSignature {
|
|
|
4523
4533
|
}
|
|
4524
4534
|
declare const onAbandonedCheckoutRecovered$1: EventDefinition<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
|
|
4525
4535
|
|
|
4526
|
-
declare function createEventModule$
|
|
4536
|
+
declare function createEventModule$b<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4527
4537
|
|
|
4528
4538
|
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
4529
4539
|
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
@@ -4535,7 +4545,7 @@ type _publicOnAbandonedCheckoutRecoveredType = typeof onAbandonedCheckoutRecover
|
|
|
4535
4545
|
/**
|
|
4536
4546
|
* Triggered when an abandoned checkout is recovered (the customer completes the checkout).
|
|
4537
4547
|
*/
|
|
4538
|
-
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$
|
|
4548
|
+
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$b<_publicOnAbandonedCheckoutRecoveredType>>;
|
|
4539
4549
|
|
|
4540
4550
|
type context$p_AbandonedCheckout = AbandonedCheckout;
|
|
4541
4551
|
type context$p_AbandonedCheckoutNonNullableFields = AbandonedCheckoutNonNullableFields;
|
|
@@ -4583,7 +4593,7 @@ declare const context$p_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
|
4583
4593
|
declare const context$p_redirectToCheckout: typeof redirectToCheckout;
|
|
4584
4594
|
declare const context$p_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4585
4595
|
declare namespace context$p {
|
|
4586
|
-
export { type context$p_AbandonedCheckout as AbandonedCheckout, type context$p_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type context$p_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type context$p_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type context$p_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type context$p_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$k as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type context$p_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type context$p_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$
|
|
4596
|
+
export { type context$p_AbandonedCheckout as AbandonedCheckout, type context$p_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type context$p_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type context$p_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type context$p_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type context$p_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$k as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type context$p_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type context$p_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$b as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type context$p_CartAbandonedEvent as CartAbandonedEvent, type context$p_CartRecoveredEvent as CartRecoveredEvent, type context$p_CommonCursorPaging as CommonCursorPaging, type context$p_CommonCursors as CommonCursors, type context$p_CommonPaging as CommonPaging, type context$p_CommonPagingMetadataV2 as CommonPagingMetadataV2, context$p_CommonSortOrder as CommonSortOrder, type context$p_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$d as CursorPaging, type Cursors$d as Cursors, type context$p_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type context$p_DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponse, type DomainEvent$k as DomainEvent, type DomainEventBodyOneOf$k as DomainEventBodyOneOf, type Empty$d as Empty, type EntityCreatedEvent$k as EntityCreatedEvent, type EntityDeletedEvent$k as EntityDeletedEvent, type EntityUpdatedEvent$k as EntityUpdatedEvent, type EventMetadata$b as EventMetadata, type FullAddressContactDetails$7 as FullAddressContactDetails, type context$p_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type context$p_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type context$p_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$k as IdentificationData, type IdentificationDataIdOneOf$k as IdentificationDataIdOneOf, context$p_Identity as Identity, type MessageEnvelope$j as MessageEnvelope, context$p_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$3 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$p_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type context$p_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type context$p_QueryAbandonedCheckoutsResponseNonNullableFields as QueryAbandonedCheckoutsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, type context$p_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$k as RestoreInfo, type context$p_Search as Search, type context$p_SearchAbandonedCheckoutsOptions as SearchAbandonedCheckoutsOptions, type context$p_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type context$p_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type context$p_SearchAbandonedCheckoutsResponseNonNullableFields as SearchAbandonedCheckoutsResponseNonNullableFields, type context$p_SearchDetails as SearchDetails, type context$p_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$d as SortOrder, type Sorting$d as Sorting, Status$4 as Status, type Task$1 as Task, type TaskAction$1 as TaskAction, type TaskActionActionOneOf$1 as TaskActionActionOneOf, type TaskKey$1 as TaskKey, type Totals$2 as Totals, type V1BuyerInfo$1 as V1BuyerInfo, type context$p_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$8 as VatId, VatType$8 as VatType, WebhookIdentityType$j as WebhookIdentityType, type context$p__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, context$p_deleteAbandonedCheckout as deleteAbandonedCheckout, context$p_getAbandonedCheckout as getAbandonedCheckout, context$p_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, context$p_queryAbandonedCheckouts as queryAbandonedCheckouts, context$p_redirectToCheckout as redirectToCheckout, context$p_searchAbandonedCheckouts as searchAbandonedCheckouts };
|
|
4587
4597
|
}
|
|
4588
4598
|
|
|
4589
4599
|
/**
|
|
@@ -5030,7 +5040,7 @@ interface BackInStockNotificationRequestsCountNonNullableFields {
|
|
|
5030
5040
|
interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields {
|
|
5031
5041
|
countsPerCatalogReference: BackInStockNotificationRequestsCountNonNullableFields[];
|
|
5032
5042
|
}
|
|
5033
|
-
interface BaseEventMetadata$
|
|
5043
|
+
interface BaseEventMetadata$a {
|
|
5034
5044
|
/** App instance ID. */
|
|
5035
5045
|
instanceId?: string | null;
|
|
5036
5046
|
/** Event type. */
|
|
@@ -5038,7 +5048,7 @@ interface BaseEventMetadata$b {
|
|
|
5038
5048
|
/** The identification type and identity data. */
|
|
5039
5049
|
identity?: IdentificationData$j;
|
|
5040
5050
|
}
|
|
5041
|
-
interface EventMetadata$
|
|
5051
|
+
interface EventMetadata$a extends BaseEventMetadata$a {
|
|
5042
5052
|
/**
|
|
5043
5053
|
* Unique event ID.
|
|
5044
5054
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -5078,14 +5088,14 @@ interface EventMetadata$b extends BaseEventMetadata$b {
|
|
|
5078
5088
|
}
|
|
5079
5089
|
interface BackInStockNotificationRequestCreatedEnvelope {
|
|
5080
5090
|
entity: BackInStockNotificationRequest;
|
|
5081
|
-
metadata: EventMetadata$
|
|
5091
|
+
metadata: EventMetadata$a;
|
|
5082
5092
|
}
|
|
5083
5093
|
interface BackInStockNotificationRequestUpdatedEnvelope {
|
|
5084
5094
|
entity: BackInStockNotificationRequest;
|
|
5085
|
-
metadata: EventMetadata$
|
|
5095
|
+
metadata: EventMetadata$a;
|
|
5086
5096
|
}
|
|
5087
5097
|
interface BackInStockNotificationRequestDeletedEnvelope {
|
|
5088
|
-
metadata: EventMetadata$
|
|
5098
|
+
metadata: EventMetadata$a;
|
|
5089
5099
|
}
|
|
5090
5100
|
interface QueryCursorResult$a {
|
|
5091
5101
|
cursors: Cursors$c;
|
|
@@ -5285,7 +5295,7 @@ declare const onBackInStockNotificationRequestCreated$1: EventDefinition<BackInS
|
|
|
5285
5295
|
declare const onBackInStockNotificationRequestUpdated$1: EventDefinition<BackInStockNotificationRequestUpdatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_updated">;
|
|
5286
5296
|
declare const onBackInStockNotificationRequestDeleted$1: EventDefinition<BackInStockNotificationRequestDeletedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_deleted">;
|
|
5287
5297
|
|
|
5288
|
-
declare function createEventModule$
|
|
5298
|
+
declare function createEventModule$a<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
5289
5299
|
|
|
5290
5300
|
declare const createBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof createBackInStockNotificationRequest$1> & typeof createBackInStockNotificationRequest$1>;
|
|
5291
5301
|
declare const getBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof getBackInStockNotificationRequest$1> & typeof getBackInStockNotificationRequest$1>;
|
|
@@ -5297,15 +5307,15 @@ declare const reportItemsBackInStock: MaybeContext<BuildRESTFunction<typeof repo
|
|
|
5297
5307
|
|
|
5298
5308
|
type _publicOnBackInStockNotificationRequestCreatedType = typeof onBackInStockNotificationRequestCreated$1;
|
|
5299
5309
|
/** */
|
|
5300
|
-
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$
|
|
5310
|
+
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$a<_publicOnBackInStockNotificationRequestCreatedType>>;
|
|
5301
5311
|
|
|
5302
5312
|
type _publicOnBackInStockNotificationRequestUpdatedType = typeof onBackInStockNotificationRequestUpdated$1;
|
|
5303
5313
|
/** */
|
|
5304
|
-
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$
|
|
5314
|
+
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$a<_publicOnBackInStockNotificationRequestUpdatedType>>;
|
|
5305
5315
|
|
|
5306
5316
|
type _publicOnBackInStockNotificationRequestDeletedType = typeof onBackInStockNotificationRequestDeleted$1;
|
|
5307
5317
|
/** */
|
|
5308
|
-
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$
|
|
5318
|
+
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$a<_publicOnBackInStockNotificationRequestDeletedType>>;
|
|
5309
5319
|
|
|
5310
5320
|
type context$o_BackInStockItemDetails = BackInStockItemDetails;
|
|
5311
5321
|
type context$o_BackInStockNotificationRequest = BackInStockNotificationRequest;
|
|
@@ -5355,7 +5365,7 @@ declare const context$o_onBackInStockNotificationRequestUpdated: typeof onBackIn
|
|
|
5355
5365
|
declare const context$o_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
5356
5366
|
declare const context$o_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
5357
5367
|
declare namespace context$o {
|
|
5358
|
-
export { type ActionEvent$j as ActionEvent, type App$1 as App, type context$o_BackInStockItemDetails as BackInStockItemDetails, type context$o_BackInStockNotificationRequest as BackInStockNotificationRequest, type context$o_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type context$o_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type context$o_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type context$o_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type context$o_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$
|
|
5368
|
+
export { type ActionEvent$j as ActionEvent, type App$1 as App, type context$o_BackInStockItemDetails as BackInStockItemDetails, type context$o_BackInStockNotificationRequest as BackInStockNotificationRequest, type context$o_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type context$o_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type context$o_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type context$o_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type context$o_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$a as BaseEventMetadata, type CatalogReference$9 as CatalogReference, type context$o_CreateBackInStockNotificationRequestRequest as CreateBackInStockNotificationRequestRequest, type context$o_CreateBackInStockNotificationRequestResponse as CreateBackInStockNotificationRequestResponse, type context$o_CreateBackInStockNotificationRequestResponseNonNullableFields as CreateBackInStockNotificationRequestResponseNonNullableFields, type CursorPaging$c as CursorPaging, type Cursors$c as Cursors, type context$o_DeleteBackInStockNotificationRequestRequest as DeleteBackInStockNotificationRequestRequest, type context$o_DeleteBackInStockNotificationRequestResponse as DeleteBackInStockNotificationRequestResponse, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$c as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$a as EventMetadata, type context$o_File as File, type context$o_GetBackInStockNotificationRequestRequest as GetBackInStockNotificationRequestRequest, type context$o_GetBackInStockNotificationRequestResponse as GetBackInStockNotificationRequestResponse, type context$o_GetBackInStockNotificationRequestResponseNonNullableFields as GetBackInStockNotificationRequestResponseNonNullableFields, type context$o_GetBackInStockNotificationRequestsCountByCatalogReferencesRequest as GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, type context$o_GetBackInStockNotificationRequestsCountByCatalogReferencesResponse as GetBackInStockNotificationRequestsCountByCatalogReferencesResponse, type context$o_GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields as GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type context$o_InvalidateCache as InvalidateCache, type context$o_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context$o_MarkAsNotificationSentRequest as MarkAsNotificationSentRequest, type context$o_MarkAsNotificationSentResponse as MarkAsNotificationSentResponse, type context$o_MarkAsNotificationSentResponseNonNullableFields as MarkAsNotificationSentResponseNonNullableFields, type MessageEnvelope$i as MessageEnvelope, type context$o_Page as Page, type PlatformPaging$1 as PlatformPaging, type PlatformPagingMetadata$1 as PlatformPagingMetadata, type PlatformQuery$1 as PlatformQuery, type PlatformQueryPagingMethodOneOf$1 as PlatformQueryPagingMethodOneOf, type context$o_QueryBackInStockNotificationRequestsRequest as QueryBackInStockNotificationRequestsRequest, type context$o_QueryBackInStockNotificationRequestsResponse as QueryBackInStockNotificationRequestsResponse, type context$o_QueryBackInStockNotificationRequestsResponseNonNullableFields as QueryBackInStockNotificationRequestsResponseNonNullableFields, type context$o_ReportItemsBackInStockOptions as ReportItemsBackInStockOptions, type context$o_ReportItemsBackInStockRequest as ReportItemsBackInStockRequest, type context$o_ReportItemsBackInStockResponse as ReportItemsBackInStockResponse, type context$o_RequestsQueryBuilder as RequestsQueryBuilder, type context$o_RequestsQueryResult as RequestsQueryResult, type RestoreInfo$j as RestoreInfo, SortOrder$c as SortOrder, type Sorting$c as Sorting, Status$3 as Status, type context$o_URI as URI, WebhookIdentityType$i as WebhookIdentityType, type context$o__publicOnBackInStockNotificationRequestCreatedType as _publicOnBackInStockNotificationRequestCreatedType, type context$o__publicOnBackInStockNotificationRequestDeletedType as _publicOnBackInStockNotificationRequestDeletedType, type context$o__publicOnBackInStockNotificationRequestUpdatedType as _publicOnBackInStockNotificationRequestUpdatedType, context$o_createBackInStockNotificationRequest as createBackInStockNotificationRequest, context$o_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, context$o_getBackInStockNotificationRequest as getBackInStockNotificationRequest, context$o_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, context$o_markAsNotificationSent as markAsNotificationSent, context$o_onBackInStockNotificationRequestCreated as onBackInStockNotificationRequestCreated, context$o_onBackInStockNotificationRequestDeleted as onBackInStockNotificationRequestDeleted, context$o_onBackInStockNotificationRequestUpdated as onBackInStockNotificationRequestUpdated, onBackInStockNotificationRequestCreated$1 as publicOnBackInStockNotificationRequestCreated, onBackInStockNotificationRequestDeleted$1 as publicOnBackInStockNotificationRequestDeleted, onBackInStockNotificationRequestUpdated$1 as publicOnBackInStockNotificationRequestUpdated, context$o_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, context$o_reportItemsBackInStock as reportItemsBackInStock };
|
|
5359
5369
|
}
|
|
5360
5370
|
|
|
5361
5371
|
/**
|
|
@@ -5768,6 +5778,16 @@ declare enum DescriptionLineType$5 {
|
|
|
5768
5778
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
5769
5779
|
COLOR = "COLOR"
|
|
5770
5780
|
}
|
|
5781
|
+
interface FocalPoint$6 {
|
|
5782
|
+
/** X-coordinate of the focal point. */
|
|
5783
|
+
x?: number;
|
|
5784
|
+
/** Y-coordinate of the focal point. */
|
|
5785
|
+
y?: number;
|
|
5786
|
+
/** crop by height */
|
|
5787
|
+
height?: number | null;
|
|
5788
|
+
/** crop by width */
|
|
5789
|
+
width?: number | null;
|
|
5790
|
+
}
|
|
5771
5791
|
interface ItemAvailabilityInfo$3 {
|
|
5772
5792
|
/**
|
|
5773
5793
|
* Item availability status.
|
|
@@ -5850,18 +5870,6 @@ interface SubscriptionSettings$7 {
|
|
|
5850
5870
|
autoRenewal?: boolean;
|
|
5851
5871
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
5852
5872
|
billingCycles?: number | null;
|
|
5853
|
-
/**
|
|
5854
|
-
* Period until first cycle starts. If applied payNow will be 0
|
|
5855
|
-
* If None => no free trial
|
|
5856
|
-
*/
|
|
5857
|
-
freeTrialPeriod?: FreeTrialPeriod$3;
|
|
5858
|
-
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
5859
|
-
startDate?: Date | null;
|
|
5860
|
-
/**
|
|
5861
|
-
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
5862
|
-
* Default None => will behave like true
|
|
5863
|
-
*/
|
|
5864
|
-
generateOrderEachBillingCycle?: boolean | null;
|
|
5865
5873
|
}
|
|
5866
5874
|
/** Frequency unit of recurring payment */
|
|
5867
5875
|
declare enum SubscriptionFrequency$7 {
|
|
@@ -6006,7 +6014,7 @@ interface ExtendedFields$a {
|
|
|
6006
6014
|
}
|
|
6007
6015
|
interface Policy$3 {
|
|
6008
6016
|
/** Policy title - should be translated */
|
|
6009
|
-
title?: string;
|
|
6017
|
+
title?: string | null;
|
|
6010
6018
|
/** Policy content - should be translated */
|
|
6011
6019
|
content?: string;
|
|
6012
6020
|
}
|
|
@@ -6081,6 +6089,20 @@ interface MerchantDiscount$6 {
|
|
|
6081
6089
|
/** Discount value. */
|
|
6082
6090
|
amount?: MultiCurrencyPrice$4;
|
|
6083
6091
|
}
|
|
6092
|
+
interface DiscountRule$6 {
|
|
6093
|
+
/** Discount rule ID */
|
|
6094
|
+
_id?: string;
|
|
6095
|
+
/** Discount rule name */
|
|
6096
|
+
name?: DiscountRuleName$6;
|
|
6097
|
+
/** Discount value. */
|
|
6098
|
+
amount?: MultiCurrencyPrice$4;
|
|
6099
|
+
}
|
|
6100
|
+
interface DiscountRuleName$6 {
|
|
6101
|
+
/** Original discount rule name (in site's default language). */
|
|
6102
|
+
original?: string;
|
|
6103
|
+
/** Discount rule name translated into buyer's language. Defaults to `original` when not defined. */
|
|
6104
|
+
translated?: string | null;
|
|
6105
|
+
}
|
|
6084
6106
|
/** Billing Info and shipping details */
|
|
6085
6107
|
interface AddressWithContact$5 {
|
|
6086
6108
|
/** Address. */
|
|
@@ -6728,13 +6750,37 @@ interface OtherCharge$4 {
|
|
|
6728
6750
|
/** Price of added cost. */
|
|
6729
6751
|
price?: MultiCurrencyPrice$4;
|
|
6730
6752
|
}
|
|
6753
|
+
interface DeliveryAllocation$5 {
|
|
6754
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
6755
|
+
deliveryCarrier?: Carrier$5;
|
|
6756
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
6757
|
+
deliveryRegion?: Region$5;
|
|
6758
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
6759
|
+
applicableLineItems?: ApplicableLineItems$5;
|
|
6760
|
+
}
|
|
6761
|
+
interface Carrier$5 {
|
|
6762
|
+
/** The carrier app id */
|
|
6763
|
+
appId?: string | null;
|
|
6764
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
6765
|
+
code?: string;
|
|
6766
|
+
}
|
|
6767
|
+
interface Region$5 {
|
|
6768
|
+
/** The delivery region id. */
|
|
6769
|
+
_id?: string | null;
|
|
6770
|
+
/** The delivery region name. */
|
|
6771
|
+
name?: string | null;
|
|
6772
|
+
}
|
|
6773
|
+
interface ApplicableLineItems$5 {
|
|
6774
|
+
/** Line items that the delivery solution is for. */
|
|
6775
|
+
lineItemIds?: string[];
|
|
6776
|
+
}
|
|
6731
6777
|
interface AppliedDiscount$6 extends AppliedDiscountDiscountSourceOneOf$6 {
|
|
6732
6778
|
/** Coupon details. */
|
|
6733
6779
|
coupon?: V1Coupon$1;
|
|
6734
6780
|
/** Merchant discount. */
|
|
6735
6781
|
merchantDiscount?: V1MerchantDiscount$1;
|
|
6736
6782
|
/** Discount rule */
|
|
6737
|
-
discountRule?:
|
|
6783
|
+
discountRule?: V1DiscountRule$1;
|
|
6738
6784
|
/** Discount type. */
|
|
6739
6785
|
discountType?: DiscountType$6;
|
|
6740
6786
|
/**
|
|
@@ -6752,7 +6798,7 @@ interface AppliedDiscountDiscountSourceOneOf$6 {
|
|
|
6752
6798
|
/** Merchant discount. */
|
|
6753
6799
|
merchantDiscount?: V1MerchantDiscount$1;
|
|
6754
6800
|
/** Discount rule */
|
|
6755
|
-
discountRule?:
|
|
6801
|
+
discountRule?: V1DiscountRule$1;
|
|
6756
6802
|
}
|
|
6757
6803
|
declare enum DiscountType$6 {
|
|
6758
6804
|
GLOBAL = "GLOBAL",
|
|
@@ -6776,18 +6822,18 @@ interface V1MerchantDiscount$1 {
|
|
|
6776
6822
|
/** Discount Percentage. Will be calculated from items price before other discounts. */
|
|
6777
6823
|
percentage?: number | null;
|
|
6778
6824
|
}
|
|
6779
|
-
interface
|
|
6825
|
+
interface V1DiscountRule$1 {
|
|
6780
6826
|
/** Discount rule ID */
|
|
6781
6827
|
_id?: string;
|
|
6782
6828
|
/** Discount rule name */
|
|
6783
|
-
name?:
|
|
6829
|
+
name?: V1DiscountRuleName$1;
|
|
6784
6830
|
/** Discount value. */
|
|
6785
6831
|
amount?: MultiCurrencyPrice$4;
|
|
6786
6832
|
}
|
|
6787
|
-
interface
|
|
6833
|
+
interface V1DiscountRuleName$1 {
|
|
6788
6834
|
/** Original discount rule name (in site's default language). */
|
|
6789
6835
|
original?: string;
|
|
6790
|
-
/**
|
|
6836
|
+
/** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
|
|
6791
6837
|
translated?: string | null;
|
|
6792
6838
|
}
|
|
6793
6839
|
interface LineItemDiscount$6 {
|
|
@@ -7442,7 +7488,6 @@ interface TaxableAddressNonNullableFields$5 {
|
|
|
7442
7488
|
addressType: TaxableAddressType$6;
|
|
7443
7489
|
}
|
|
7444
7490
|
interface PolicyNonNullableFields$3 {
|
|
7445
|
-
title: string;
|
|
7446
7491
|
content: string;
|
|
7447
7492
|
}
|
|
7448
7493
|
interface LineItemNonNullableFields$2 {
|
|
@@ -7453,6 +7498,7 @@ interface LineItemNonNullableFields$2 {
|
|
|
7453
7498
|
price?: MultiCurrencyPriceNonNullableFields$3;
|
|
7454
7499
|
fullPrice?: MultiCurrencyPriceNonNullableFields$3;
|
|
7455
7500
|
priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$3;
|
|
7501
|
+
lineItemPrice?: MultiCurrencyPriceNonNullableFields$3;
|
|
7456
7502
|
descriptionLines: DescriptionLineNonNullableFields$5[];
|
|
7457
7503
|
image: string;
|
|
7458
7504
|
availability?: ItemAvailabilityInfoNonNullableFields$2;
|
|
@@ -7481,13 +7527,24 @@ interface BuyerInfoNonNullableFields$4 {
|
|
|
7481
7527
|
interface CouponNonNullableFields$5 {
|
|
7482
7528
|
_id: string;
|
|
7483
7529
|
code: string;
|
|
7530
|
+
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7484
7531
|
}
|
|
7485
7532
|
interface MerchantDiscountNonNullableFields$5 {
|
|
7486
7533
|
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7487
7534
|
}
|
|
7535
|
+
interface DiscountRuleNameNonNullableFields$5 {
|
|
7536
|
+
original: string;
|
|
7537
|
+
}
|
|
7538
|
+
interface DiscountRuleNonNullableFields$5 {
|
|
7539
|
+
_id: string;
|
|
7540
|
+
name?: DiscountRuleNameNonNullableFields$5;
|
|
7541
|
+
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7542
|
+
}
|
|
7488
7543
|
interface CartDiscountNonNullableFields$1 {
|
|
7489
7544
|
coupon?: CouponNonNullableFields$5;
|
|
7490
7545
|
merchantDiscount?: MerchantDiscountNonNullableFields$5;
|
|
7546
|
+
discountRule?: DiscountRuleNonNullableFields$5;
|
|
7547
|
+
lineItemIds: string[];
|
|
7491
7548
|
}
|
|
7492
7549
|
interface StreetAddressNonNullableFields$8 {
|
|
7493
7550
|
number: string;
|
|
@@ -7664,11 +7721,22 @@ interface ShippingPriceNonNullableFields$5 {
|
|
|
7664
7721
|
price?: MultiCurrencyPriceNonNullableFields$3;
|
|
7665
7722
|
otherCharges: OtherChargeNonNullableFields$3[];
|
|
7666
7723
|
}
|
|
7724
|
+
interface CarrierNonNullableFields$4 {
|
|
7725
|
+
code: string;
|
|
7726
|
+
}
|
|
7727
|
+
interface ApplicableLineItemsNonNullableFields$4 {
|
|
7728
|
+
lineItemIds: string[];
|
|
7729
|
+
}
|
|
7730
|
+
interface DeliveryAllocationNonNullableFields$4 {
|
|
7731
|
+
deliveryCarrier?: CarrierNonNullableFields$4;
|
|
7732
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$4;
|
|
7733
|
+
}
|
|
7667
7734
|
interface ShippingOptionNonNullableFields$5 {
|
|
7668
7735
|
code: string;
|
|
7669
7736
|
title: string;
|
|
7670
7737
|
logistics?: DeliveryLogisticsNonNullableFields$6;
|
|
7671
7738
|
cost?: ShippingPriceNonNullableFields$5;
|
|
7739
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$4[];
|
|
7672
7740
|
}
|
|
7673
7741
|
interface CarrierServiceOptionNonNullableFields$3 {
|
|
7674
7742
|
carrierId: string;
|
|
@@ -7689,12 +7757,12 @@ interface V1CouponNonNullableFields$1 {
|
|
|
7689
7757
|
interface V1MerchantDiscountNonNullableFields$1 {
|
|
7690
7758
|
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7691
7759
|
}
|
|
7692
|
-
interface
|
|
7760
|
+
interface V1DiscountRuleNameNonNullableFields$1 {
|
|
7693
7761
|
original: string;
|
|
7694
7762
|
}
|
|
7695
|
-
interface
|
|
7763
|
+
interface V1DiscountRuleNonNullableFields$1 {
|
|
7696
7764
|
_id: string;
|
|
7697
|
-
name?:
|
|
7765
|
+
name?: V1DiscountRuleNameNonNullableFields$1;
|
|
7698
7766
|
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7699
7767
|
}
|
|
7700
7768
|
interface LineItemDiscountNonNullableFields$5 {
|
|
@@ -7704,7 +7772,7 @@ interface LineItemDiscountNonNullableFields$5 {
|
|
|
7704
7772
|
interface AppliedDiscountNonNullableFields$5 {
|
|
7705
7773
|
coupon?: V1CouponNonNullableFields$1;
|
|
7706
7774
|
merchantDiscount?: V1MerchantDiscountNonNullableFields$1;
|
|
7707
|
-
discountRule?:
|
|
7775
|
+
discountRule?: V1DiscountRuleNonNullableFields$1;
|
|
7708
7776
|
discountType: DiscountType$6;
|
|
7709
7777
|
lineItemIds: string[];
|
|
7710
7778
|
lineItemDiscounts: LineItemDiscountNonNullableFields$5[];
|
|
@@ -7812,7 +7880,7 @@ interface CreateCartResponseNonNullableFields$1 {
|
|
|
7812
7880
|
interface GetCartResponseNonNullableFields$1 {
|
|
7813
7881
|
cart?: CartNonNullableFields$1;
|
|
7814
7882
|
}
|
|
7815
|
-
interface BaseEventMetadata$
|
|
7883
|
+
interface BaseEventMetadata$9 {
|
|
7816
7884
|
/** App instance ID. */
|
|
7817
7885
|
instanceId?: string | null;
|
|
7818
7886
|
/** Event type. */
|
|
@@ -7820,7 +7888,7 @@ interface BaseEventMetadata$a {
|
|
|
7820
7888
|
/** The identification type and identity data. */
|
|
7821
7889
|
identity?: IdentificationData$i;
|
|
7822
7890
|
}
|
|
7823
|
-
interface EventMetadata$
|
|
7891
|
+
interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
7824
7892
|
/**
|
|
7825
7893
|
* Unique event ID.
|
|
7826
7894
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -7859,15 +7927,15 @@ interface EventMetadata$a extends BaseEventMetadata$a {
|
|
|
7859
7927
|
entityEventSequence?: string | null;
|
|
7860
7928
|
}
|
|
7861
7929
|
interface CartDeletedEnvelope$1 {
|
|
7862
|
-
metadata: EventMetadata$
|
|
7930
|
+
metadata: EventMetadata$9;
|
|
7863
7931
|
}
|
|
7864
7932
|
interface CartUpdatedEnvelope$1 {
|
|
7865
7933
|
entity: Cart$1;
|
|
7866
|
-
metadata: EventMetadata$
|
|
7934
|
+
metadata: EventMetadata$9;
|
|
7867
7935
|
}
|
|
7868
7936
|
interface CartCreatedEnvelope$1 {
|
|
7869
7937
|
entity: Cart$1;
|
|
7870
|
-
metadata: EventMetadata$
|
|
7938
|
+
metadata: EventMetadata$9;
|
|
7871
7939
|
}
|
|
7872
7940
|
interface CreateCartOptions {
|
|
7873
7941
|
/** Cart info. */
|
|
@@ -8175,7 +8243,7 @@ declare const onCartDeleted$3: EventDefinition<CartDeletedEnvelope$1, "wix.ecom.
|
|
|
8175
8243
|
declare const onCartUpdated$3: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
|
|
8176
8244
|
declare const onCartCreated$3: EventDefinition<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
|
|
8177
8245
|
|
|
8178
|
-
declare function createEventModule$
|
|
8246
|
+
declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
8179
8247
|
|
|
8180
8248
|
declare const createCart: MaybeContext<BuildRESTFunction<typeof createCart$1> & typeof createCart$1>;
|
|
8181
8249
|
declare const updateCart: MaybeContext<BuildRESTFunction<typeof updateCart$1> & typeof updateCart$1>;
|
|
@@ -8192,19 +8260,19 @@ type _publicOnCartDeletedType$1 = typeof onCartDeleted$3;
|
|
|
8192
8260
|
/**
|
|
8193
8261
|
* Triggered when a cart is deleted.
|
|
8194
8262
|
*/
|
|
8195
|
-
declare const onCartDeleted$2: ReturnType<typeof createEventModule$
|
|
8263
|
+
declare const onCartDeleted$2: ReturnType<typeof createEventModule$9<_publicOnCartDeletedType>>;
|
|
8196
8264
|
|
|
8197
8265
|
type _publicOnCartUpdatedType$1 = typeof onCartUpdated$3;
|
|
8198
8266
|
/**
|
|
8199
8267
|
* Triggered when a cart is updated.
|
|
8200
8268
|
*/
|
|
8201
|
-
declare const onCartUpdated$2: ReturnType<typeof createEventModule$
|
|
8269
|
+
declare const onCartUpdated$2: ReturnType<typeof createEventModule$9<_publicOnCartUpdatedType>>;
|
|
8202
8270
|
|
|
8203
8271
|
type _publicOnCartCreatedType$1 = typeof onCartCreated$3;
|
|
8204
8272
|
/**
|
|
8205
8273
|
* Triggered when a cart is created.
|
|
8206
8274
|
*/
|
|
8207
|
-
declare const onCartCreated$2: ReturnType<typeof createEventModule$
|
|
8275
|
+
declare const onCartCreated$2: ReturnType<typeof createEventModule$9<_publicOnCartCreatedType>>;
|
|
8208
8276
|
|
|
8209
8277
|
type context$m_AddToCartOptions = AddToCartOptions;
|
|
8210
8278
|
type context$m_CreateCartOptions = CreateCartOptions;
|
|
@@ -8217,7 +8285,7 @@ declare const context$m_estimateTotals: typeof estimateTotals;
|
|
|
8217
8285
|
declare const context$m_getCart: typeof getCart;
|
|
8218
8286
|
declare const context$m_updateCart: typeof updateCart;
|
|
8219
8287
|
declare namespace context$m {
|
|
8220
|
-
export { type ActionEvent$i as ActionEvent, type context$m_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$a 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$8 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$6 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type context$m_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$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$b as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type context$m_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$a as EventMetadata, type ExtendedFields$a as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$6 as FieldViolation, FileType$4 as FileType, type FreeTrialPeriod$3 as FreeTrialPeriod, 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$i as IdentificationData, type IdentificationDataIdOneOf$i 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$6 as MembershipName, type MembershipOptions$4 as MembershipOptions, type MembershipPaymentCredits$4 as MembershipPaymentCredits, type MerchantDiscount$6 as MerchantDiscount, type MerchantDiscountInput$3 as MerchantDiscountInput, type MessageEnvelope$h 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, type PaymentOption$3 as PaymentOption, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$7 as PhysicalProperties, type PickupDetails$8 as PickupDetails, PickupMethod$7 as PickupMethod, type PlainTextValue$5 as PlainTextValue, type Policy$3 as Policy, 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$i 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, SuggestedFix$3 as SuggestedFix, type SystemError$6 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$4 as TaxBreakdown, type TaxCalculationDetails$4 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$4 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$4 as TaxRateBreakdown, type TaxSummary$6 as TaxSummary, type TaxableAddress$6 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$6 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$6 as TaxableAddressType, type Title$3 as Title, type context$m_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$h as WebhookIdentityType, WeightUnit$8 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, context$m_addToCart as addToCart, context$m_createCart as createCart, createCheckout$2 as createCheckout, context$m_deleteCart as deleteCart, context$m_estimateTotals as estimateTotals, context$m_getCart as getCart, onCartCreated$2 as onCartCreated, onCartDeleted$2 as onCartDeleted, onCartUpdated$2 as onCartUpdated, onCartCreated$3 as publicOnCartCreated, onCartDeleted$3 as publicOnCartDeleted, onCartUpdated$3 as publicOnCartUpdated, removeCoupon$2 as removeCoupon, removeLineItems$2 as removeLineItems, context$m_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8288
|
+
export { type ActionEvent$i as ActionEvent, type context$m_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 ApplicableLineItems$5 as ApplicableLineItems, type ApplicationError$b as ApplicationError, type AppliedDiscount$6 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$6 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$4 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 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 Carrier$5 as Carrier, 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$8 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$6 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type context$m_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 DeliveryAllocation$5 as DeliveryAllocation, 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$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$b as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type context$m_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$9 as EventMetadata, type ExtendedFields$a as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$6 as FieldViolation, FileType$4 as FileType, type FocalPoint$6 as FocalPoint, type FreeTrialPeriod$3 as FreeTrialPeriod, 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$i as IdentificationData, type IdentificationDataIdOneOf$i 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$6 as MembershipName, type MembershipOptions$4 as MembershipOptions, type MembershipPaymentCredits$4 as MembershipPaymentCredits, type MerchantDiscount$6 as MerchantDiscount, type MerchantDiscountInput$3 as MerchantDiscountInput, type MessageEnvelope$h 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, type PaymentOption$3 as PaymentOption, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$7 as PhysicalProperties, type PickupDetails$8 as PickupDetails, PickupMethod$7 as PickupMethod, type PlainTextValue$5 as PlainTextValue, type Policy$3 as Policy, type PriceDescription$5 as PriceDescription, type PriceSummary$6 as PriceSummary, type ProductName$5 as ProductName, RateType$4 as RateType, type Region$5 as Region, 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$i 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, SuggestedFix$3 as SuggestedFix, type SystemError$6 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$4 as TaxBreakdown, type TaxCalculationDetails$4 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$4 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$4 as TaxRateBreakdown, type TaxSummary$6 as TaxSummary, type TaxableAddress$6 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$6 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$6 as TaxableAddressType, type Title$3 as Title, type context$m_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 V1DiscountRule$1 as V1DiscountRule, type V1DiscountRuleName$1 as V1DiscountRuleName, 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$h as WebhookIdentityType, WeightUnit$8 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, context$m_addToCart as addToCart, context$m_createCart as createCart, createCheckout$2 as createCheckout, context$m_deleteCart as deleteCart, context$m_estimateTotals as estimateTotals, context$m_getCart as getCart, onCartCreated$2 as onCartCreated, onCartDeleted$2 as onCartDeleted, onCartUpdated$2 as onCartUpdated, onCartCreated$3 as publicOnCartCreated, onCartDeleted$3 as publicOnCartDeleted, onCartUpdated$3 as publicOnCartUpdated, removeCoupon$2 as removeCoupon, removeLineItems$2 as removeLineItems, context$m_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8221
8289
|
}
|
|
8222
8290
|
|
|
8223
8291
|
interface Cart {
|
|
@@ -8521,6 +8589,16 @@ declare enum DescriptionLineType$4 {
|
|
|
8521
8589
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
8522
8590
|
COLOR = "COLOR"
|
|
8523
8591
|
}
|
|
8592
|
+
interface FocalPoint$5 {
|
|
8593
|
+
/** X-coordinate of the focal point. */
|
|
8594
|
+
x?: number;
|
|
8595
|
+
/** Y-coordinate of the focal point. */
|
|
8596
|
+
y?: number;
|
|
8597
|
+
/** crop by height */
|
|
8598
|
+
height?: number | null;
|
|
8599
|
+
/** crop by width */
|
|
8600
|
+
width?: number | null;
|
|
8601
|
+
}
|
|
8524
8602
|
interface ItemAvailabilityInfo$2 {
|
|
8525
8603
|
/**
|
|
8526
8604
|
* Item availability status.
|
|
@@ -8603,18 +8681,6 @@ interface SubscriptionSettings$6 {
|
|
|
8603
8681
|
autoRenewal?: boolean;
|
|
8604
8682
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
8605
8683
|
billingCycles?: number | null;
|
|
8606
|
-
/**
|
|
8607
|
-
* Period until first cycle starts. If applied payNow will be 0
|
|
8608
|
-
* If None => no free trial
|
|
8609
|
-
*/
|
|
8610
|
-
freeTrialPeriod?: FreeTrialPeriod$2;
|
|
8611
|
-
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
8612
|
-
startDate?: Date | null;
|
|
8613
|
-
/**
|
|
8614
|
-
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
8615
|
-
* Default None => will behave like true
|
|
8616
|
-
*/
|
|
8617
|
-
generateOrderEachBillingCycle?: boolean | null;
|
|
8618
8684
|
}
|
|
8619
8685
|
/** Frequency unit of recurring payment */
|
|
8620
8686
|
declare enum SubscriptionFrequency$6 {
|
|
@@ -8759,7 +8825,7 @@ interface ExtendedFields$9 {
|
|
|
8759
8825
|
}
|
|
8760
8826
|
interface Policy$2 {
|
|
8761
8827
|
/** Policy title - should be translated */
|
|
8762
|
-
title?: string;
|
|
8828
|
+
title?: string | null;
|
|
8763
8829
|
/** Policy content - should be translated */
|
|
8764
8830
|
content?: string;
|
|
8765
8831
|
}
|
|
@@ -8834,6 +8900,20 @@ interface MerchantDiscount$5 {
|
|
|
8834
8900
|
/** Discount value. */
|
|
8835
8901
|
amount?: MultiCurrencyPrice$3;
|
|
8836
8902
|
}
|
|
8903
|
+
interface DiscountRule$5 {
|
|
8904
|
+
/** Discount rule ID */
|
|
8905
|
+
_id?: string;
|
|
8906
|
+
/** Discount rule name */
|
|
8907
|
+
name?: DiscountRuleName$5;
|
|
8908
|
+
/** Discount value. */
|
|
8909
|
+
amount?: MultiCurrencyPrice$3;
|
|
8910
|
+
}
|
|
8911
|
+
interface DiscountRuleName$5 {
|
|
8912
|
+
/** Original discount rule name (in site's default language). */
|
|
8913
|
+
original?: string;
|
|
8914
|
+
/** Discount rule name translated into buyer's language. Defaults to `original` when not defined. */
|
|
8915
|
+
translated?: string | null;
|
|
8916
|
+
}
|
|
8837
8917
|
/** Billing Info and shipping details */
|
|
8838
8918
|
interface AddressWithContact$4 {
|
|
8839
8919
|
/** Address. */
|
|
@@ -9481,13 +9561,37 @@ interface OtherCharge$3 {
|
|
|
9481
9561
|
/** Price of added cost. */
|
|
9482
9562
|
price?: MultiCurrencyPrice$3;
|
|
9483
9563
|
}
|
|
9564
|
+
interface DeliveryAllocation$4 {
|
|
9565
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
9566
|
+
deliveryCarrier?: Carrier$4;
|
|
9567
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
9568
|
+
deliveryRegion?: Region$4;
|
|
9569
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
9570
|
+
applicableLineItems?: ApplicableLineItems$4;
|
|
9571
|
+
}
|
|
9572
|
+
interface Carrier$4 {
|
|
9573
|
+
/** The carrier app id */
|
|
9574
|
+
appId?: string | null;
|
|
9575
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
9576
|
+
code?: string;
|
|
9577
|
+
}
|
|
9578
|
+
interface Region$4 {
|
|
9579
|
+
/** The delivery region id. */
|
|
9580
|
+
_id?: string | null;
|
|
9581
|
+
/** The delivery region name. */
|
|
9582
|
+
name?: string | null;
|
|
9583
|
+
}
|
|
9584
|
+
interface ApplicableLineItems$4 {
|
|
9585
|
+
/** Line items that the delivery solution is for. */
|
|
9586
|
+
lineItemIds?: string[];
|
|
9587
|
+
}
|
|
9484
9588
|
interface AppliedDiscount$5 extends AppliedDiscountDiscountSourceOneOf$5 {
|
|
9485
9589
|
/** Coupon details. */
|
|
9486
9590
|
coupon?: V1Coupon;
|
|
9487
9591
|
/** Merchant discount. */
|
|
9488
9592
|
merchantDiscount?: V1MerchantDiscount;
|
|
9489
9593
|
/** Discount rule */
|
|
9490
|
-
discountRule?:
|
|
9594
|
+
discountRule?: V1DiscountRule;
|
|
9491
9595
|
/** Discount type. */
|
|
9492
9596
|
discountType?: DiscountType$5;
|
|
9493
9597
|
/**
|
|
@@ -9505,7 +9609,7 @@ interface AppliedDiscountDiscountSourceOneOf$5 {
|
|
|
9505
9609
|
/** Merchant discount. */
|
|
9506
9610
|
merchantDiscount?: V1MerchantDiscount;
|
|
9507
9611
|
/** Discount rule */
|
|
9508
|
-
discountRule?:
|
|
9612
|
+
discountRule?: V1DiscountRule;
|
|
9509
9613
|
}
|
|
9510
9614
|
declare enum DiscountType$5 {
|
|
9511
9615
|
GLOBAL = "GLOBAL",
|
|
@@ -9529,18 +9633,18 @@ interface V1MerchantDiscount {
|
|
|
9529
9633
|
/** Discount Percentage. Will be calculated from items price before other discounts. */
|
|
9530
9634
|
percentage?: number | null;
|
|
9531
9635
|
}
|
|
9532
|
-
interface
|
|
9636
|
+
interface V1DiscountRule {
|
|
9533
9637
|
/** Discount rule ID */
|
|
9534
9638
|
_id?: string;
|
|
9535
9639
|
/** Discount rule name */
|
|
9536
|
-
name?:
|
|
9640
|
+
name?: V1DiscountRuleName;
|
|
9537
9641
|
/** Discount value. */
|
|
9538
9642
|
amount?: MultiCurrencyPrice$3;
|
|
9539
9643
|
}
|
|
9540
|
-
interface
|
|
9644
|
+
interface V1DiscountRuleName {
|
|
9541
9645
|
/** Original discount rule name (in site's default language). */
|
|
9542
9646
|
original?: string;
|
|
9543
|
-
/**
|
|
9647
|
+
/** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
|
|
9544
9648
|
translated?: string | null;
|
|
9545
9649
|
}
|
|
9546
9650
|
interface LineItemDiscount$5 {
|
|
@@ -10195,7 +10299,6 @@ interface TaxableAddressNonNullableFields$4 {
|
|
|
10195
10299
|
addressType: TaxableAddressType$5;
|
|
10196
10300
|
}
|
|
10197
10301
|
interface PolicyNonNullableFields$2 {
|
|
10198
|
-
title: string;
|
|
10199
10302
|
content: string;
|
|
10200
10303
|
}
|
|
10201
10304
|
interface LineItemNonNullableFields$1 {
|
|
@@ -10206,6 +10309,7 @@ interface LineItemNonNullableFields$1 {
|
|
|
10206
10309
|
price?: MultiCurrencyPriceNonNullableFields$2;
|
|
10207
10310
|
fullPrice?: MultiCurrencyPriceNonNullableFields$2;
|
|
10208
10311
|
priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$2;
|
|
10312
|
+
lineItemPrice?: MultiCurrencyPriceNonNullableFields$2;
|
|
10209
10313
|
descriptionLines: DescriptionLineNonNullableFields$4[];
|
|
10210
10314
|
image: string;
|
|
10211
10315
|
availability?: ItemAvailabilityInfoNonNullableFields$1;
|
|
@@ -10234,13 +10338,24 @@ interface BuyerInfoNonNullableFields$3 {
|
|
|
10234
10338
|
interface CouponNonNullableFields$4 {
|
|
10235
10339
|
_id: string;
|
|
10236
10340
|
code: string;
|
|
10341
|
+
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10237
10342
|
}
|
|
10238
10343
|
interface MerchantDiscountNonNullableFields$4 {
|
|
10239
10344
|
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10240
10345
|
}
|
|
10346
|
+
interface DiscountRuleNameNonNullableFields$4 {
|
|
10347
|
+
original: string;
|
|
10348
|
+
}
|
|
10349
|
+
interface DiscountRuleNonNullableFields$4 {
|
|
10350
|
+
_id: string;
|
|
10351
|
+
name?: DiscountRuleNameNonNullableFields$4;
|
|
10352
|
+
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10353
|
+
}
|
|
10241
10354
|
interface CartDiscountNonNullableFields {
|
|
10242
10355
|
coupon?: CouponNonNullableFields$4;
|
|
10243
10356
|
merchantDiscount?: MerchantDiscountNonNullableFields$4;
|
|
10357
|
+
discountRule?: DiscountRuleNonNullableFields$4;
|
|
10358
|
+
lineItemIds: string[];
|
|
10244
10359
|
}
|
|
10245
10360
|
interface StreetAddressNonNullableFields$7 {
|
|
10246
10361
|
number: string;
|
|
@@ -10417,11 +10532,22 @@ interface ShippingPriceNonNullableFields$4 {
|
|
|
10417
10532
|
price?: MultiCurrencyPriceNonNullableFields$2;
|
|
10418
10533
|
otherCharges: OtherChargeNonNullableFields$2[];
|
|
10419
10534
|
}
|
|
10535
|
+
interface CarrierNonNullableFields$3 {
|
|
10536
|
+
code: string;
|
|
10537
|
+
}
|
|
10538
|
+
interface ApplicableLineItemsNonNullableFields$3 {
|
|
10539
|
+
lineItemIds: string[];
|
|
10540
|
+
}
|
|
10541
|
+
interface DeliveryAllocationNonNullableFields$3 {
|
|
10542
|
+
deliveryCarrier?: CarrierNonNullableFields$3;
|
|
10543
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$3;
|
|
10544
|
+
}
|
|
10420
10545
|
interface ShippingOptionNonNullableFields$4 {
|
|
10421
10546
|
code: string;
|
|
10422
10547
|
title: string;
|
|
10423
10548
|
logistics?: DeliveryLogisticsNonNullableFields$5;
|
|
10424
10549
|
cost?: ShippingPriceNonNullableFields$4;
|
|
10550
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$3[];
|
|
10425
10551
|
}
|
|
10426
10552
|
interface CarrierServiceOptionNonNullableFields$2 {
|
|
10427
10553
|
carrierId: string;
|
|
@@ -10442,12 +10568,12 @@ interface V1CouponNonNullableFields {
|
|
|
10442
10568
|
interface V1MerchantDiscountNonNullableFields {
|
|
10443
10569
|
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10444
10570
|
}
|
|
10445
|
-
interface
|
|
10571
|
+
interface V1DiscountRuleNameNonNullableFields {
|
|
10446
10572
|
original: string;
|
|
10447
10573
|
}
|
|
10448
|
-
interface
|
|
10574
|
+
interface V1DiscountRuleNonNullableFields {
|
|
10449
10575
|
_id: string;
|
|
10450
|
-
name?:
|
|
10576
|
+
name?: V1DiscountRuleNameNonNullableFields;
|
|
10451
10577
|
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10452
10578
|
}
|
|
10453
10579
|
interface LineItemDiscountNonNullableFields$4 {
|
|
@@ -10457,7 +10583,7 @@ interface LineItemDiscountNonNullableFields$4 {
|
|
|
10457
10583
|
interface AppliedDiscountNonNullableFields$4 {
|
|
10458
10584
|
coupon?: V1CouponNonNullableFields;
|
|
10459
10585
|
merchantDiscount?: V1MerchantDiscountNonNullableFields;
|
|
10460
|
-
discountRule?:
|
|
10586
|
+
discountRule?: V1DiscountRuleNonNullableFields;
|
|
10461
10587
|
discountType: DiscountType$5;
|
|
10462
10588
|
lineItemIds: string[];
|
|
10463
10589
|
lineItemDiscounts: LineItemDiscountNonNullableFields$4[];
|
|
@@ -10565,7 +10691,7 @@ interface CreateCartResponseNonNullableFields {
|
|
|
10565
10691
|
interface GetCartResponseNonNullableFields {
|
|
10566
10692
|
cart?: CartNonNullableFields;
|
|
10567
10693
|
}
|
|
10568
|
-
interface BaseEventMetadata$
|
|
10694
|
+
interface BaseEventMetadata$8 {
|
|
10569
10695
|
/** App instance ID. */
|
|
10570
10696
|
instanceId?: string | null;
|
|
10571
10697
|
/** Event type. */
|
|
@@ -10573,7 +10699,7 @@ interface BaseEventMetadata$9 {
|
|
|
10573
10699
|
/** The identification type and identity data. */
|
|
10574
10700
|
identity?: IdentificationData$h;
|
|
10575
10701
|
}
|
|
10576
|
-
interface EventMetadata$
|
|
10702
|
+
interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
10577
10703
|
/**
|
|
10578
10704
|
* Unique event ID.
|
|
10579
10705
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -10612,15 +10738,15 @@ interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
|
10612
10738
|
entityEventSequence?: string | null;
|
|
10613
10739
|
}
|
|
10614
10740
|
interface CartDeletedEnvelope {
|
|
10615
|
-
metadata: EventMetadata$
|
|
10741
|
+
metadata: EventMetadata$8;
|
|
10616
10742
|
}
|
|
10617
10743
|
interface CartUpdatedEnvelope {
|
|
10618
10744
|
entity: Cart;
|
|
10619
|
-
metadata: EventMetadata$
|
|
10745
|
+
metadata: EventMetadata$8;
|
|
10620
10746
|
}
|
|
10621
10747
|
interface CartCreatedEnvelope {
|
|
10622
10748
|
entity: Cart;
|
|
10623
|
-
metadata: EventMetadata$
|
|
10749
|
+
metadata: EventMetadata$8;
|
|
10624
10750
|
}
|
|
10625
10751
|
interface UpdateCurrentCartOptions {
|
|
10626
10752
|
/** Cart info. */
|
|
@@ -10803,7 +10929,7 @@ declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope, "wix.ecom.v1
|
|
|
10803
10929
|
declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
|
|
10804
10930
|
declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
|
|
10805
10931
|
|
|
10806
|
-
declare function createEventModule$
|
|
10932
|
+
declare function createEventModule$8<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
10807
10933
|
|
|
10808
10934
|
declare const getCurrentCart: MaybeContext<BuildRESTFunction<typeof getCurrentCart$1> & typeof getCurrentCart$1>;
|
|
10809
10935
|
declare const updateCurrentCart: MaybeContext<BuildRESTFunction<typeof updateCurrentCart$1> & typeof updateCurrentCart$1>;
|
|
@@ -10819,19 +10945,19 @@ type _publicOnCartDeletedType = typeof onCartDeleted$1;
|
|
|
10819
10945
|
/**
|
|
10820
10946
|
* Triggered when a cart is deleted.
|
|
10821
10947
|
*/
|
|
10822
|
-
declare const onCartDeleted: ReturnType<typeof createEventModule$
|
|
10948
|
+
declare const onCartDeleted: ReturnType<typeof createEventModule$8<_publicOnCartDeletedType>>;
|
|
10823
10949
|
|
|
10824
10950
|
type _publicOnCartUpdatedType = typeof onCartUpdated$1;
|
|
10825
10951
|
/**
|
|
10826
10952
|
* Triggered when a cart is updated.
|
|
10827
10953
|
*/
|
|
10828
|
-
declare const onCartUpdated: ReturnType<typeof createEventModule$
|
|
10954
|
+
declare const onCartUpdated: ReturnType<typeof createEventModule$8<_publicOnCartUpdatedType>>;
|
|
10829
10955
|
|
|
10830
10956
|
type _publicOnCartCreatedType = typeof onCartCreated$1;
|
|
10831
10957
|
/**
|
|
10832
10958
|
* Triggered when a cart is created.
|
|
10833
10959
|
*/
|
|
10834
|
-
declare const onCartCreated: ReturnType<typeof createEventModule$
|
|
10960
|
+
declare const onCartCreated: ReturnType<typeof createEventModule$8<_publicOnCartCreatedType>>;
|
|
10835
10961
|
|
|
10836
10962
|
type context$l_AddToCartRequest = AddToCartRequest;
|
|
10837
10963
|
type context$l_AddToCartResponse = AddToCartResponse;
|
|
@@ -10876,6 +11002,8 @@ type context$l_UpdateCartResponseNonNullableFields = UpdateCartResponseNonNullab
|
|
|
10876
11002
|
type context$l_UpdateCurrentCartLineItemQuantityRequest = UpdateCurrentCartLineItemQuantityRequest;
|
|
10877
11003
|
type context$l_UpdateCurrentCartOptions = UpdateCurrentCartOptions;
|
|
10878
11004
|
type context$l_V1Coupon = V1Coupon;
|
|
11005
|
+
type context$l_V1DiscountRule = V1DiscountRule;
|
|
11006
|
+
type context$l_V1DiscountRuleName = V1DiscountRuleName;
|
|
10879
11007
|
type context$l_V1MerchantDiscount = V1MerchantDiscount;
|
|
10880
11008
|
type context$l__publicOnCartCreatedType = _publicOnCartCreatedType;
|
|
10881
11009
|
type context$l__publicOnCartDeletedType = _publicOnCartDeletedType;
|
|
@@ -10893,7 +11021,7 @@ declare const context$l_removeLineItemsFromCurrentCart: typeof removeLineItemsFr
|
|
|
10893
11021
|
declare const context$l_updateCurrentCart: typeof updateCurrentCart;
|
|
10894
11022
|
declare const context$l_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
10895
11023
|
declare namespace context$l {
|
|
10896
|
-
export { type ActionEvent$h as ActionEvent, type context$l_AddToCartRequest as AddToCartRequest, type context$l_AddToCartResponse as AddToCartResponse, type context$l_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type context$l_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type context$l_AddToCurrentCartOptions as AddToCurrentCartOptions, type context$l_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$9 as BaseEventMetadata, type BuyerInfo$6 as BuyerInfo, type BuyerInfoIdOneOf$4 as BuyerInfoIdOneOf, type CalculatedLineItem$1 as CalculatedLineItem, type CalculationErrors$4 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$4 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$5 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type context$l_Cart as Cart, type context$l_CartCreatedEnvelope as CartCreatedEnvelope, type context$l_CartDeletedEnvelope as CartDeletedEnvelope, type context$l_CartDiscount as CartDiscount, type context$l_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type context$l_CartNonNullableFields as CartNonNullableFields, type context$l_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$7 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$5 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type context$l_CreateCartRequest as CreateCartRequest, type context$l_CreateCartResponse as CreateCartResponse, type context$l_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type context$l_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type context$l_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type context$l_DeleteCartRequest as DeleteCartRequest, type context$l_DeleteCartResponse as DeleteCartResponse, type context$l_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$h as DomainEvent, type DomainEventBodyOneOf$h as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$h as EntityCreatedEvent, type EntityDeletedEvent$h as EntityDeletedEvent, type EntityUpdatedEvent$h as EntityUpdatedEvent, type context$l_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type context$l_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type context$l_EstimateTotalsRequest as EstimateTotalsRequest, type context$l_EstimateTotalsResponse as EstimateTotalsResponse, type context$l_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$9 as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$3 as FileType, type FreeTrialPeriod$2 as FreeTrialPeriod, type FullAddressContactDetails$5 as FullAddressContactDetails, type context$l_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type context$l_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type context$l_GetCartRequest as GetCartRequest, type context$l_GetCartResponse as GetCartResponse, type context$l_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type context$l_GetCurrentCartRequest as GetCurrentCartRequest, type context$l_GetCurrentCartResponse as GetCurrentCartResponse, type context$l_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type context$l_HostSelectedMembership as HostSelectedMembership, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h 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$5 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$5 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$g 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, type PaymentOption$2 as PaymentOption, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type Policy$2 as Policy, type PriceDescription$4 as PriceDescription, type PriceSummary$5 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type context$l_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type context$l_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$h 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, SuggestedFix$2 as SuggestedFix, type SystemError$5 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$5 as TaxSummary, type TaxableAddress$5 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$5 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$5 as TaxableAddressType, type Title$2 as Title, type context$l_UpdateCartRequest as UpdateCartRequest, type context$l_UpdateCartResponse as UpdateCartResponse, type context$l_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type context$l_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type context$l_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type context$l_V1Coupon as V1Coupon, type context$l_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$2 as Violation, WebhookIdentityType$g as WebhookIdentityType, WeightUnit$7 as WeightUnit, type context$l__publicOnCartCreatedType as _publicOnCartCreatedType, type context$l__publicOnCartDeletedType as _publicOnCartDeletedType, type context$l__publicOnCartUpdatedType as _publicOnCartUpdatedType, context$l_addToCurrentCart as addToCurrentCart, context$l_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, context$l_deleteCurrentCart as deleteCurrentCart, context$l_estimateCurrentCartTotals as estimateCurrentCartTotals, context$l_getCurrentCart as getCurrentCart, context$l_onCartCreated as onCartCreated, context$l_onCartDeleted as onCartDeleted, context$l_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, context$l_removeCouponFromCurrentCart as removeCouponFromCurrentCart, context$l_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, context$l_updateCurrentCart as updateCurrentCart, context$l_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
11024
|
+
export { type ActionEvent$h as ActionEvent, type context$l_AddToCartRequest as AddToCartRequest, type context$l_AddToCartResponse as AddToCartResponse, type context$l_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type context$l_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type context$l_AddToCurrentCartOptions as AddToCurrentCartOptions, type context$l_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 ApplicableLineItems$4 as ApplicableLineItems, type ApplicationError$a as ApplicationError, type AppliedDiscount$5 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$5 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$8 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 Carrier$4 as Carrier, type CarrierError$5 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type context$l_Cart as Cart, type context$l_CartCreatedEnvelope as CartCreatedEnvelope, type context$l_CartDeletedEnvelope as CartDeletedEnvelope, type context$l_CartDiscount as CartDiscount, type context$l_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type context$l_CartNonNullableFields as CartNonNullableFields, type context$l_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$7 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$5 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type context$l_CreateCartRequest as CreateCartRequest, type context$l_CreateCartResponse as CreateCartResponse, type context$l_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type context$l_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type context$l_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type context$l_DeleteCartRequest as DeleteCartRequest, type context$l_DeleteCartResponse as DeleteCartResponse, type context$l_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryAllocation$4 as DeliveryAllocation, 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$h as DomainEvent, type DomainEventBodyOneOf$h as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$h as EntityCreatedEvent, type EntityDeletedEvent$h as EntityDeletedEvent, type EntityUpdatedEvent$h as EntityUpdatedEvent, type context$l_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type context$l_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type context$l_EstimateTotalsRequest as EstimateTotalsRequest, type context$l_EstimateTotalsResponse as EstimateTotalsResponse, type context$l_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$8 as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$3 as FileType, type FocalPoint$5 as FocalPoint, type FreeTrialPeriod$2 as FreeTrialPeriod, type FullAddressContactDetails$5 as FullAddressContactDetails, type context$l_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type context$l_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type context$l_GetCartRequest as GetCartRequest, type context$l_GetCartResponse as GetCartResponse, type context$l_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type context$l_GetCurrentCartRequest as GetCurrentCartRequest, type context$l_GetCurrentCartResponse as GetCurrentCartResponse, type context$l_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type context$l_HostSelectedMembership as HostSelectedMembership, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h 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$5 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$5 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$g 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, type PaymentOption$2 as PaymentOption, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type Policy$2 as Policy, type PriceDescription$4 as PriceDescription, type PriceSummary$5 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type Region$4 as Region, type context$l_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type context$l_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$h 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, SuggestedFix$2 as SuggestedFix, type SystemError$5 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$5 as TaxSummary, type TaxableAddress$5 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$5 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$5 as TaxableAddressType, type Title$2 as Title, type context$l_UpdateCartRequest as UpdateCartRequest, type context$l_UpdateCartResponse as UpdateCartResponse, type context$l_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type context$l_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type context$l_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type context$l_V1Coupon as V1Coupon, type context$l_V1DiscountRule as V1DiscountRule, type context$l_V1DiscountRuleName as V1DiscountRuleName, type context$l_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$2 as Violation, WebhookIdentityType$g as WebhookIdentityType, WeightUnit$7 as WeightUnit, type context$l__publicOnCartCreatedType as _publicOnCartCreatedType, type context$l__publicOnCartDeletedType as _publicOnCartDeletedType, type context$l__publicOnCartUpdatedType as _publicOnCartUpdatedType, context$l_addToCurrentCart as addToCurrentCart, context$l_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, context$l_deleteCurrentCart as deleteCurrentCart, context$l_estimateCurrentCartTotals as estimateCurrentCartTotals, context$l_getCurrentCart as getCurrentCart, context$l_onCartCreated as onCartCreated, context$l_onCartDeleted as onCartDeleted, context$l_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, context$l_removeCouponFromCurrentCart as removeCouponFromCurrentCart, context$l_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, context$l_updateCurrentCart as updateCurrentCart, context$l_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
10897
11025
|
}
|
|
10898
11026
|
|
|
10899
11027
|
interface Checkout$1 {
|
|
@@ -11385,6 +11513,16 @@ declare enum DescriptionLineType$3 {
|
|
|
11385
11513
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
11386
11514
|
COLOR = "COLOR"
|
|
11387
11515
|
}
|
|
11516
|
+
interface FocalPoint$4 {
|
|
11517
|
+
/** X-coordinate of the focal point. */
|
|
11518
|
+
x?: number;
|
|
11519
|
+
/** Y-coordinate of the focal point. */
|
|
11520
|
+
y?: number;
|
|
11521
|
+
/** crop by height */
|
|
11522
|
+
height?: number | null;
|
|
11523
|
+
/** crop by width */
|
|
11524
|
+
width?: number | null;
|
|
11525
|
+
}
|
|
11388
11526
|
interface ItemAvailabilityInfo$1 {
|
|
11389
11527
|
/**
|
|
11390
11528
|
* Item availability status.
|
|
@@ -11466,18 +11604,6 @@ interface SubscriptionSettings$5 {
|
|
|
11466
11604
|
autoRenewal?: boolean;
|
|
11467
11605
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
11468
11606
|
billingCycles?: number | null;
|
|
11469
|
-
/**
|
|
11470
|
-
* Period until first cycle starts. If applied payNow will be 0
|
|
11471
|
-
* If None => no free trial
|
|
11472
|
-
*/
|
|
11473
|
-
freeTrialPeriod?: FreeTrialPeriod$1;
|
|
11474
|
-
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
11475
|
-
startDate?: Date | null;
|
|
11476
|
-
/**
|
|
11477
|
-
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
11478
|
-
* Default None => will behave like true
|
|
11479
|
-
*/
|
|
11480
|
-
generateOrderEachBillingCycle?: boolean | null;
|
|
11481
11607
|
}
|
|
11482
11608
|
/** Frequency unit of recurring payment */
|
|
11483
11609
|
declare enum SubscriptionFrequency$5 {
|
|
@@ -11619,7 +11745,7 @@ interface ExtendedFields$8 {
|
|
|
11619
11745
|
}
|
|
11620
11746
|
interface Policy$1 {
|
|
11621
11747
|
/** Policy title - should be translated */
|
|
11622
|
-
title?: string;
|
|
11748
|
+
title?: string | null;
|
|
11623
11749
|
/** Policy content - should be translated */
|
|
11624
11750
|
content?: string;
|
|
11625
11751
|
}
|
|
@@ -11834,6 +11960,30 @@ interface OtherCharge$2 {
|
|
|
11834
11960
|
/** Price of added cost. */
|
|
11835
11961
|
price?: MultiCurrencyPrice$2;
|
|
11836
11962
|
}
|
|
11963
|
+
interface DeliveryAllocation$3 {
|
|
11964
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
11965
|
+
deliveryCarrier?: Carrier$3;
|
|
11966
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
11967
|
+
deliveryRegion?: Region$3;
|
|
11968
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
11969
|
+
applicableLineItems?: ApplicableLineItems$3;
|
|
11970
|
+
}
|
|
11971
|
+
interface Carrier$3 {
|
|
11972
|
+
/** The carrier app id */
|
|
11973
|
+
appId?: string | null;
|
|
11974
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
11975
|
+
code?: string;
|
|
11976
|
+
}
|
|
11977
|
+
interface Region$3 {
|
|
11978
|
+
/** The delivery region id. */
|
|
11979
|
+
_id?: string | null;
|
|
11980
|
+
/** The delivery region name. */
|
|
11981
|
+
name?: string | null;
|
|
11982
|
+
}
|
|
11983
|
+
interface ApplicableLineItems$3 {
|
|
11984
|
+
/** Line items that the delivery solution is for. */
|
|
11985
|
+
lineItemIds?: string[];
|
|
11986
|
+
}
|
|
11837
11987
|
interface BuyerInfo$5 extends BuyerInfoIdOneOf$3 {
|
|
11838
11988
|
/**
|
|
11839
11989
|
* Visitor ID - if the buyer is **not** a site member.
|
|
@@ -11986,7 +12136,8 @@ declare enum RuleType$4 {
|
|
|
11986
12136
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
11987
12137
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
11988
12138
|
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
11989
|
-
EXACT_LENGTH = "EXACT_LENGTH"
|
|
12139
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
12140
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
11990
12141
|
}
|
|
11991
12142
|
interface FieldViolation$4 {
|
|
11992
12143
|
field?: string;
|
|
@@ -12824,7 +12975,7 @@ interface UpdateLineItemsQuantityResponse {
|
|
|
12824
12975
|
}
|
|
12825
12976
|
interface GetCheckoutPaymentSettingsRequest {
|
|
12826
12977
|
/** Checkout ID. */
|
|
12827
|
-
_id
|
|
12978
|
+
_id?: string;
|
|
12828
12979
|
}
|
|
12829
12980
|
interface GetCheckoutPaymentSettingsResponse {
|
|
12830
12981
|
blockedPaymentOptions?: GetCheckoutPaymentSettingsResponsePaymentOption[];
|
|
@@ -13434,7 +13585,6 @@ interface TaxableAddressNonNullableFields$3 {
|
|
|
13434
13585
|
addressType: TaxableAddressType$4;
|
|
13435
13586
|
}
|
|
13436
13587
|
interface PolicyNonNullableFields$1 {
|
|
13437
|
-
title: string;
|
|
13438
13588
|
content: string;
|
|
13439
13589
|
}
|
|
13440
13590
|
interface LineItemNonNullableFields {
|
|
@@ -13527,11 +13677,22 @@ interface ShippingPriceNonNullableFields$3 {
|
|
|
13527
13677
|
price?: MultiCurrencyPriceNonNullableFields$1;
|
|
13528
13678
|
otherCharges: OtherChargeNonNullableFields$1[];
|
|
13529
13679
|
}
|
|
13680
|
+
interface CarrierNonNullableFields$2 {
|
|
13681
|
+
code: string;
|
|
13682
|
+
}
|
|
13683
|
+
interface ApplicableLineItemsNonNullableFields$2 {
|
|
13684
|
+
lineItemIds: string[];
|
|
13685
|
+
}
|
|
13686
|
+
interface DeliveryAllocationNonNullableFields$2 {
|
|
13687
|
+
deliveryCarrier?: CarrierNonNullableFields$2;
|
|
13688
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$2;
|
|
13689
|
+
}
|
|
13530
13690
|
interface ShippingOptionNonNullableFields$3 {
|
|
13531
13691
|
code: string;
|
|
13532
13692
|
title: string;
|
|
13533
13693
|
logistics?: DeliveryLogisticsNonNullableFields$4;
|
|
13534
13694
|
cost?: ShippingPriceNonNullableFields$3;
|
|
13695
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$2[];
|
|
13535
13696
|
}
|
|
13536
13697
|
interface CarrierServiceOptionNonNullableFields$1 {
|
|
13537
13698
|
carrierId: string;
|
|
@@ -13762,6 +13923,7 @@ interface CheckoutNonNullableFields {
|
|
|
13762
13923
|
customSettings?: CustomSettingsNonNullableFields;
|
|
13763
13924
|
customContentReference?: CustomContentReferenceNonNullableFields$1;
|
|
13764
13925
|
externalReference?: ExternalReferenceNonNullableFields$1;
|
|
13926
|
+
payAfterFreeTrial?: PriceSummaryNonNullableFields$3;
|
|
13765
13927
|
}
|
|
13766
13928
|
interface CreateCheckoutResponseNonNullableFields {
|
|
13767
13929
|
checkout?: CheckoutNonNullableFields;
|
|
@@ -13800,10 +13962,7 @@ interface CreateOrderResponseNonNullableFields$1 {
|
|
|
13800
13962
|
interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
13801
13963
|
checkout?: CheckoutNonNullableFields;
|
|
13802
13964
|
}
|
|
13803
|
-
interface
|
|
13804
|
-
blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption[];
|
|
13805
|
-
}
|
|
13806
|
-
interface BaseEventMetadata$8 {
|
|
13965
|
+
interface BaseEventMetadata$7 {
|
|
13807
13966
|
/** App instance ID. */
|
|
13808
13967
|
instanceId?: string | null;
|
|
13809
13968
|
/** Event type. */
|
|
@@ -13811,7 +13970,7 @@ interface BaseEventMetadata$8 {
|
|
|
13811
13970
|
/** The identification type and identity data. */
|
|
13812
13971
|
identity?: IdentificationData$g;
|
|
13813
13972
|
}
|
|
13814
|
-
interface EventMetadata$
|
|
13973
|
+
interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
13815
13974
|
/**
|
|
13816
13975
|
* Unique event ID.
|
|
13817
13976
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -13849,17 +14008,17 @@ interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
|
13849
14008
|
*/
|
|
13850
14009
|
entityEventSequence?: string | null;
|
|
13851
14010
|
}
|
|
14011
|
+
interface CheckoutCompletedEnvelope {
|
|
14012
|
+
data: CheckoutMarkedAsCompleted;
|
|
14013
|
+
metadata: EventMetadata$7;
|
|
14014
|
+
}
|
|
13852
14015
|
interface CheckoutCreatedEnvelope {
|
|
13853
14016
|
entity: Checkout$1;
|
|
13854
|
-
metadata: EventMetadata$
|
|
14017
|
+
metadata: EventMetadata$7;
|
|
13855
14018
|
}
|
|
13856
14019
|
interface CheckoutUpdatedEnvelope {
|
|
13857
14020
|
entity: Checkout$1;
|
|
13858
|
-
metadata: EventMetadata$
|
|
13859
|
-
}
|
|
13860
|
-
interface CheckoutCompletedEnvelope {
|
|
13861
|
-
data: CheckoutMarkedAsCompleted;
|
|
13862
|
-
metadata: EventMetadata$8;
|
|
14021
|
+
metadata: EventMetadata$7;
|
|
13863
14022
|
}
|
|
13864
14023
|
interface CreateCheckoutOptions {
|
|
13865
14024
|
/** Checkout information. */
|
|
@@ -14274,16 +14433,11 @@ interface UpdateLineItemsQuantitySignature {
|
|
|
14274
14433
|
*/
|
|
14275
14434
|
(_id: string, lineItems: LineItemQuantityUpdate[]): Promise<UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields>;
|
|
14276
14435
|
}
|
|
14277
|
-
declare
|
|
14278
|
-
interface GetCheckoutPaymentSettingsSignature {
|
|
14279
|
-
/** @param - Checkout ID. */
|
|
14280
|
-
(_id: string): Promise<GetCheckoutPaymentSettingsResponse & GetCheckoutPaymentSettingsResponseNonNullableFields>;
|
|
14281
|
-
}
|
|
14436
|
+
declare const onCheckoutCompleted$1: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
14282
14437
|
declare const onCheckoutCreated$1: EventDefinition<CheckoutCreatedEnvelope, "wix.ecom.v1.checkout_created">;
|
|
14283
14438
|
declare const onCheckoutUpdated$1: EventDefinition<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
|
|
14284
|
-
declare const onCheckoutCompleted$1: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
14285
14439
|
|
|
14286
|
-
declare function createEventModule$
|
|
14440
|
+
declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14287
14441
|
|
|
14288
14442
|
declare const createCheckout: MaybeContext<BuildRESTFunction<typeof createCheckout$1> & typeof createCheckout$1>;
|
|
14289
14443
|
declare const getCheckout: MaybeContext<BuildRESTFunction<typeof getCheckout$1> & typeof getCheckout$1>;
|
|
@@ -14298,26 +14452,25 @@ declare const removeLineItems: MaybeContext<BuildRESTFunction<typeof removeLineI
|
|
|
14298
14452
|
declare const createOrder$2: MaybeContext<BuildRESTFunction<typeof createOrder$3> & typeof createOrder$3>;
|
|
14299
14453
|
declare const markCheckoutAsCompleted: MaybeContext<BuildRESTFunction<typeof markCheckoutAsCompleted$1> & typeof markCheckoutAsCompleted$1>;
|
|
14300
14454
|
declare const updateLineItemsQuantity: MaybeContext<BuildRESTFunction<typeof updateLineItemsQuantity$1> & typeof updateLineItemsQuantity$1>;
|
|
14301
|
-
|
|
14455
|
+
|
|
14456
|
+
type _publicOnCheckoutCompletedType = typeof onCheckoutCompleted$1;
|
|
14457
|
+
/**
|
|
14458
|
+
* Triggered when an order created from this checkout is
|
|
14459
|
+
* successfully paid for or when a checkout is marked as completed.
|
|
14460
|
+
*/
|
|
14461
|
+
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$7<_publicOnCheckoutCompletedType>>;
|
|
14302
14462
|
|
|
14303
14463
|
type _publicOnCheckoutCreatedType = typeof onCheckoutCreated$1;
|
|
14304
14464
|
/**
|
|
14305
14465
|
* Triggered when a checkout is created.
|
|
14306
14466
|
*/
|
|
14307
|
-
declare const onCheckoutCreated: ReturnType<typeof createEventModule$
|
|
14467
|
+
declare const onCheckoutCreated: ReturnType<typeof createEventModule$7<_publicOnCheckoutCreatedType>>;
|
|
14308
14468
|
|
|
14309
14469
|
type _publicOnCheckoutUpdatedType = typeof onCheckoutUpdated$1;
|
|
14310
14470
|
/**
|
|
14311
14471
|
* Triggered when a checkout is updated.
|
|
14312
14472
|
*/
|
|
14313
|
-
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$
|
|
14314
|
-
|
|
14315
|
-
type _publicOnCheckoutCompletedType = typeof onCheckoutCompleted$1;
|
|
14316
|
-
/**
|
|
14317
|
-
* Triggered when an order created from this checkout is
|
|
14318
|
-
* successfully paid for or when a checkout is marked as completed.
|
|
14319
|
-
*/
|
|
14320
|
-
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$8<_publicOnCheckoutCompletedType>>;
|
|
14473
|
+
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$7<_publicOnCheckoutUpdatedType>>;
|
|
14321
14474
|
|
|
14322
14475
|
type context$k_AddToCheckoutOptions = AddToCheckoutOptions;
|
|
14323
14476
|
type context$k_AddToCheckoutRequest = AddToCheckoutRequest;
|
|
@@ -14353,7 +14506,6 @@ type context$k_GetCheckoutByCartIdResponse = GetCheckoutByCartIdResponse;
|
|
|
14353
14506
|
type context$k_GetCheckoutByCartIdResponseNonNullableFields = GetCheckoutByCartIdResponseNonNullableFields;
|
|
14354
14507
|
type context$k_GetCheckoutPaymentSettingsRequest = GetCheckoutPaymentSettingsRequest;
|
|
14355
14508
|
type context$k_GetCheckoutPaymentSettingsResponse = GetCheckoutPaymentSettingsResponse;
|
|
14356
|
-
type context$k_GetCheckoutPaymentSettingsResponseNonNullableFields = GetCheckoutPaymentSettingsResponseNonNullableFields;
|
|
14357
14509
|
type context$k_GetCheckoutPaymentSettingsResponsePaymentOption = GetCheckoutPaymentSettingsResponsePaymentOption;
|
|
14358
14510
|
declare const context$k_GetCheckoutPaymentSettingsResponsePaymentOption: typeof GetCheckoutPaymentSettingsResponsePaymentOption;
|
|
14359
14511
|
type context$k_GetCheckoutRequest = GetCheckoutRequest;
|
|
@@ -14412,7 +14564,6 @@ declare const context$k_addToCheckout: typeof addToCheckout;
|
|
|
14412
14564
|
declare const context$k_createCheckout: typeof createCheckout;
|
|
14413
14565
|
declare const context$k_getCheckout: typeof getCheckout;
|
|
14414
14566
|
declare const context$k_getCheckoutByCartId: typeof getCheckoutByCartId;
|
|
14415
|
-
declare const context$k_getCheckoutPaymentSettings: typeof getCheckoutPaymentSettings;
|
|
14416
14567
|
declare const context$k_getCheckoutUrl: typeof getCheckoutUrl;
|
|
14417
14568
|
declare const context$k_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
|
|
14418
14569
|
declare const context$k_onCheckoutCompleted: typeof onCheckoutCompleted;
|
|
@@ -14425,7 +14576,7 @@ declare const context$k_removeOverrideCheckoutUrl: typeof removeOverrideCheckout
|
|
|
14425
14576
|
declare const context$k_updateCheckout: typeof updateCheckout;
|
|
14426
14577
|
declare const context$k_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
14427
14578
|
declare namespace context$k {
|
|
14428
|
-
export { type ActionEvent$g as ActionEvent, type context$k_AddToCheckoutOptions as AddToCheckoutOptions, type context$k_AddToCheckoutRequest as AddToCheckoutRequest, type context$k_AddToCheckoutResponse as AddToCheckoutResponse, type context$k_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$8 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$7 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type context$k_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$8 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$6 as CatalogReference, type ChannelInfo$3 as ChannelInfo, context$k_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type context$k_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type context$k_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type context$k_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type context$k_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type context$k_CheckoutNonNullableFields as CheckoutNonNullableFields, type context$k_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type context$k_CommonVatId as CommonVatId, context$k_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type context$k_CreateCheckoutOptions as CreateCheckoutOptions, type context$k_CreateCheckoutRequest as CreateCheckoutRequest, type context$k_CreateCheckoutResponse as CreateCheckoutResponse, type context$k_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type context$k_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type context$k_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type context$k_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type context$k_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type context$k_CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOf, type CreateOrderResponseNonNullableFields$1 as CreateOrderResponseNonNullableFields, type CreatedBy$3 as CreatedBy, type CreatedByIdOneOf$1 as CreatedByIdOneOf, type CustomContentReference$1 as CustomContentReference, type CustomField$4 as CustomField, type CustomLineItem$2 as CustomLineItem, type CustomSettings$1 as CustomSettings, type CustomTextFieldSelection$1 as CustomTextFieldSelection, type DeliveryLogistics$5 as DeliveryLogistics, type DeliveryTimeSlot$5 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type Discount$2 as Discount, context$k_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$g as DomainEvent, type DomainEventBodyOneOf$g as DomainEventBodyOneOf, type context$k_DoublePaymentErrorData as DoublePaymentErrorData, type context$k_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$9 as Empty, type EntityCreatedEvent$g as EntityCreatedEvent, type EntityDeletedEvent$g as EntityDeletedEvent, type EntityUpdatedEvent$g as EntityUpdatedEvent, type EventMetadata$8 as EventMetadata, type ExtendedFields$8 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$2 as FileType, type FreeTrialPeriod$1 as FreeTrialPeriod, type FullAddressContactDetails$4 as FullAddressContactDetails, type FullName$1 as FullName, type context$k_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type context$k_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type context$k_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type context$k_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type context$k_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type context$k_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, context$k_GetCheckoutPaymentSettingsResponsePaymentOption as GetCheckoutPaymentSettingsResponsePaymentOption, type context$k_GetCheckoutRequest as GetCheckoutRequest, type context$k_GetCheckoutResponse as GetCheckoutResponse, type context$k_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type context$k_GetCheckoutURLRequest as GetCheckoutURLRequest, type context$k_GetCheckoutURLResponse as GetCheckoutURLResponse, type context$k_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type context$k_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type context$k_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type context$k_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type context$k_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$g as IdentificationData, type IdentificationDataIdOneOf$g as IdentificationDataIdOneOf, IdentityType$4 as IdentityType, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type context$k_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type context$k_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type context$k_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$2 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$f as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$2 as OtherCharge, type context$k_PaymentErrorResponseData as PaymentErrorResponseData, type PaymentOption$1 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 Policy$1 as Policy, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type context$k_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type context$k_RedeemErrorData as RedeemErrorData, type context$k_RemoveCouponRequest as RemoveCouponRequest, type context$k_RemoveCouponResponse as RemoveCouponResponse, type context$k_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type context$k_RemoveGiftCardRequest as RemoveGiftCardRequest, type context$k_RemoveGiftCardResponse as RemoveGiftCardResponse, type context$k_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type context$k_RemoveLineItemsRequest as RemoveLineItemsRequest, type context$k_RemoveLineItemsResponse as RemoveLineItemsResponse, type context$k_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type context$k_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type context$k_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type context$k_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$g as RestoreInfo, RuleType$4 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type ServiceProperties$3 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type context$k_ShippingCalculationErrorData as ShippingCalculationErrorData, type context$k_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$4 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type context$k_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type context$k_Subscription as Subscription, type context$k_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type SystemError$4 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type TaxableAddress$4 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$4 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$4 as TaxableAddressType, type Title$1 as Title, type Totals$1 as Totals, type context$k_UpdateCheckout as UpdateCheckout, type context$k_UpdateCheckoutOptions as UpdateCheckoutOptions, type context$k_UpdateCheckoutRequest as UpdateCheckoutRequest, type context$k_UpdateCheckoutResponse as UpdateCheckoutResponse, type context$k_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type context$k_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type context$k_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type context$k_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type context$k_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type context$k_V1BuyerInfo as V1BuyerInfo, type context$k_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type context$k_V1ShippingInfo as V1ShippingInfo, type context$k_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type context$k_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type context$k_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type context$k_ViolationsList as ViolationsList, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$6 as WeightUnit, type context$k__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type context$k__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type context$k__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, context$k_addToCheckout as addToCheckout, context$k_createCheckout as createCheckout, createOrder$2 as createOrder, context$k_getCheckout as getCheckout, context$k_getCheckoutByCartId as getCheckoutByCartId, context$k_getCheckoutPaymentSettings as getCheckoutPaymentSettings, context$k_getCheckoutUrl as getCheckoutUrl, context$k_markCheckoutAsCompleted as markCheckoutAsCompleted, context$k_onCheckoutCompleted as onCheckoutCompleted, context$k_onCheckoutCreated as onCheckoutCreated, context$k_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, context$k_removeCoupon as removeCoupon, context$k_removeGiftCard as removeGiftCard, context$k_removeLineItems as removeLineItems, context$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, context$k_updateCheckout as updateCheckout, context$k_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14579
|
+
export { type ActionEvent$g as ActionEvent, type context$k_AddToCheckoutOptions as AddToCheckoutOptions, type context$k_AddToCheckoutRequest as AddToCheckoutRequest, type context$k_AddToCheckoutResponse as AddToCheckoutResponse, type context$k_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$8 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$7 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type context$k_ApiAddress as ApiAddress, type ApplicableLineItems$3 as ApplicableLineItems, 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$7 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 Carrier$3 as Carrier, type CarrierError$4 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$6 as CatalogReference, type ChannelInfo$3 as ChannelInfo, context$k_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type context$k_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type context$k_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type context$k_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type context$k_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type context$k_CheckoutNonNullableFields as CheckoutNonNullableFields, type context$k_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type context$k_CommonVatId as CommonVatId, context$k_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type context$k_CreateCheckoutOptions as CreateCheckoutOptions, type context$k_CreateCheckoutRequest as CreateCheckoutRequest, type context$k_CreateCheckoutResponse as CreateCheckoutResponse, type context$k_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type context$k_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type context$k_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type context$k_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type context$k_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type context$k_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 DeliveryAllocation$3 as DeliveryAllocation, type DeliveryLogistics$5 as DeliveryLogistics, type DeliveryTimeSlot$5 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type Discount$2 as Discount, context$k_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$g as DomainEvent, type DomainEventBodyOneOf$g as DomainEventBodyOneOf, type context$k_DoublePaymentErrorData as DoublePaymentErrorData, type context$k_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$9 as Empty, type EntityCreatedEvent$g as EntityCreatedEvent, type EntityDeletedEvent$g as EntityDeletedEvent, type EntityUpdatedEvent$g as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type ExtendedFields$8 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$2 as FileType, type FocalPoint$4 as FocalPoint, type FreeTrialPeriod$1 as FreeTrialPeriod, type FullAddressContactDetails$4 as FullAddressContactDetails, type FullName$1 as FullName, type context$k_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type context$k_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type context$k_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type context$k_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type context$k_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, context$k_GetCheckoutPaymentSettingsResponsePaymentOption as GetCheckoutPaymentSettingsResponsePaymentOption, type context$k_GetCheckoutRequest as GetCheckoutRequest, type context$k_GetCheckoutResponse as GetCheckoutResponse, type context$k_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type context$k_GetCheckoutURLRequest as GetCheckoutURLRequest, type context$k_GetCheckoutURLResponse as GetCheckoutURLResponse, type context$k_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type context$k_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type context$k_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type context$k_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type context$k_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$g as IdentificationData, type IdentificationDataIdOneOf$g as IdentificationDataIdOneOf, IdentityType$4 as IdentityType, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type context$k_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type context$k_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type context$k_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$2 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$f as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$2 as OtherCharge, type context$k_PaymentErrorResponseData as PaymentErrorResponseData, type PaymentOption$1 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 Policy$1 as Policy, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type context$k_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type context$k_RedeemErrorData as RedeemErrorData, type Region$3 as Region, type context$k_RemoveCouponRequest as RemoveCouponRequest, type context$k_RemoveCouponResponse as RemoveCouponResponse, type context$k_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type context$k_RemoveGiftCardRequest as RemoveGiftCardRequest, type context$k_RemoveGiftCardResponse as RemoveGiftCardResponse, type context$k_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type context$k_RemoveLineItemsRequest as RemoveLineItemsRequest, type context$k_RemoveLineItemsResponse as RemoveLineItemsResponse, type context$k_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type context$k_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type context$k_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type context$k_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$g as RestoreInfo, RuleType$4 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type ServiceProperties$3 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type context$k_ShippingCalculationErrorData as ShippingCalculationErrorData, type context$k_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$4 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type context$k_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type context$k_Subscription as Subscription, type context$k_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type SystemError$4 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type TaxableAddress$4 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$4 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$4 as TaxableAddressType, type Title$1 as Title, type Totals$1 as Totals, type context$k_UpdateCheckout as UpdateCheckout, type context$k_UpdateCheckoutOptions as UpdateCheckoutOptions, type context$k_UpdateCheckoutRequest as UpdateCheckoutRequest, type context$k_UpdateCheckoutResponse as UpdateCheckoutResponse, type context$k_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type context$k_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type context$k_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type context$k_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type context$k_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type context$k_V1BuyerInfo as V1BuyerInfo, type context$k_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type context$k_V1ShippingInfo as V1ShippingInfo, type context$k_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type context$k_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type context$k_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type context$k_ViolationsList as ViolationsList, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$6 as WeightUnit, type context$k__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type context$k__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type context$k__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, context$k_addToCheckout as addToCheckout, context$k_createCheckout as createCheckout, createOrder$2 as createOrder, context$k_getCheckout as getCheckout, context$k_getCheckoutByCartId as getCheckoutByCartId, context$k_getCheckoutUrl as getCheckoutUrl, context$k_markCheckoutAsCompleted as markCheckoutAsCompleted, context$k_onCheckoutCompleted as onCheckoutCompleted, context$k_onCheckoutCreated as onCheckoutCreated, context$k_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, context$k_removeCoupon as removeCoupon, context$k_removeGiftCard as removeGiftCard, context$k_removeLineItems as removeLineItems, context$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, context$k_updateCheckout as updateCheckout, context$k_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14429
14580
|
}
|
|
14430
14581
|
|
|
14431
14582
|
interface CheckoutSettings {
|
|
@@ -14594,6 +14745,16 @@ interface Logo {
|
|
|
14594
14745
|
/** Size of the logo. */
|
|
14595
14746
|
size?: LogoSize;
|
|
14596
14747
|
}
|
|
14748
|
+
interface FocalPoint$3 {
|
|
14749
|
+
/** X-coordinate of the focal point. */
|
|
14750
|
+
x?: number;
|
|
14751
|
+
/** Y-coordinate of the focal point. */
|
|
14752
|
+
y?: number;
|
|
14753
|
+
/** crop by height */
|
|
14754
|
+
height?: number | null;
|
|
14755
|
+
/** crop by width */
|
|
14756
|
+
width?: number | null;
|
|
14757
|
+
}
|
|
14597
14758
|
declare enum LogoSize {
|
|
14598
14759
|
UNKNOWN_LOGO_SIZE = "UNKNOWN_LOGO_SIZE",
|
|
14599
14760
|
SMALL = "SMALL",
|
|
@@ -14766,7 +14927,7 @@ interface GetCheckoutSettingsResponseNonNullableFields {
|
|
|
14766
14927
|
interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
14767
14928
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
14768
14929
|
}
|
|
14769
|
-
interface BaseEventMetadata$
|
|
14930
|
+
interface BaseEventMetadata$6 {
|
|
14770
14931
|
/** App instance ID. */
|
|
14771
14932
|
instanceId?: string | null;
|
|
14772
14933
|
/** Event type. */
|
|
@@ -14774,7 +14935,7 @@ interface BaseEventMetadata$7 {
|
|
|
14774
14935
|
/** The identification type and identity data. */
|
|
14775
14936
|
identity?: IdentificationData$f;
|
|
14776
14937
|
}
|
|
14777
|
-
interface EventMetadata$
|
|
14938
|
+
interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
14778
14939
|
/**
|
|
14779
14940
|
* Unique event ID.
|
|
14780
14941
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -14814,7 +14975,7 @@ interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
|
14814
14975
|
}
|
|
14815
14976
|
interface CheckoutSettingsUpdatedEnvelope {
|
|
14816
14977
|
entity: CheckoutSettings;
|
|
14817
|
-
metadata: EventMetadata$
|
|
14978
|
+
metadata: EventMetadata$6;
|
|
14818
14979
|
}
|
|
14819
14980
|
|
|
14820
14981
|
declare function getCheckoutSettings$1(httpClient: HttpClient): GetCheckoutSettingsSignature;
|
|
@@ -14842,7 +15003,7 @@ interface UpdateCheckoutSettingsSignature {
|
|
|
14842
15003
|
}
|
|
14843
15004
|
declare const onCheckoutSettingsUpdated$1: EventDefinition<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
|
|
14844
15005
|
|
|
14845
|
-
declare function createEventModule$
|
|
15006
|
+
declare function createEventModule$6<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14846
15007
|
|
|
14847
15008
|
declare const getCheckoutSettings: MaybeContext<BuildRESTFunction<typeof getCheckoutSettings$1> & typeof getCheckoutSettings$1>;
|
|
14848
15009
|
declare const updateCheckoutSettings: MaybeContext<BuildRESTFunction<typeof updateCheckoutSettings$1> & typeof updateCheckoutSettings$1>;
|
|
@@ -14851,7 +15012,7 @@ type _publicOnCheckoutSettingsUpdatedType = typeof onCheckoutSettingsUpdated$1;
|
|
|
14851
15012
|
/**
|
|
14852
15013
|
* Triggered when checkout settings are updated.
|
|
14853
15014
|
*/
|
|
14854
|
-
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$
|
|
15015
|
+
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$6<_publicOnCheckoutSettingsUpdatedType>>;
|
|
14855
15016
|
|
|
14856
15017
|
type context$j_Alignment = Alignment;
|
|
14857
15018
|
declare const context$j_Alignment: typeof Alignment;
|
|
@@ -14887,7 +15048,7 @@ declare const context$j_getCheckoutSettings: typeof getCheckoutSettings;
|
|
|
14887
15048
|
declare const context$j_onCheckoutSettingsUpdated: typeof onCheckoutSettingsUpdated;
|
|
14888
15049
|
declare const context$j_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
14889
15050
|
declare namespace context$j {
|
|
14890
|
-
export { type ActionEvent$f as ActionEvent, context$j_Alignment as Alignment, type BaseEventMetadata$
|
|
15051
|
+
export { type ActionEvent$f as ActionEvent, context$j_Alignment as Alignment, type BaseEventMetadata$6 as BaseEventMetadata, type context$j_CheckboxField as CheckboxField, type context$j_CheckoutBrand as CheckoutBrand, type context$j_CheckoutFields as CheckoutFields, type context$j_CheckoutHeader as CheckoutHeader, type context$j_CheckoutPolicies as CheckoutPolicies, type context$j_CheckoutSettings as CheckoutSettings, type context$j_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type context$j_ContactUsPolicy as ContactUsPolicy, type context$j_CustomCheckoutPolicy as CustomCheckoutPolicy, type context$j_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type context$j_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type context$j_DigitalItemPolicy as DigitalItemPolicy, type DomainEvent$f as DomainEvent, type DomainEventBodyOneOf$f as DomainEventBodyOneOf, type Empty$8 as Empty, type EntityCreatedEvent$f as EntityCreatedEvent, type EntityDeletedEvent$f as EntityDeletedEvent, type EntityUpdatedEvent$f as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type FocalPoint$3 as FocalPoint, type context$j_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type context$j_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type context$j_GetCheckoutSettingsResponseNonNullableFields as GetCheckoutSettingsResponseNonNullableFields, type context$j_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$f as IdentificationData, type IdentificationDataIdOneOf$f as IdentificationDataIdOneOf, type context$j_ListCheckoutSettingsRequest as ListCheckoutSettingsRequest, type context$j_ListCheckoutSettingsResponse as ListCheckoutSettingsResponse, type context$j_Logo as Logo, context$j_LogoSize as LogoSize, type MessageEnvelope$e as MessageEnvelope, type context$j_PrivacyPolicy as PrivacyPolicy, type RestoreInfo$f as RestoreInfo, type context$j_ReturnPolicy as ReturnPolicy, type context$j_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type context$j_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type context$j_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, type context$j_UpdateCheckoutSettingsResponseNonNullableFields as UpdateCheckoutSettingsResponseNonNullableFields, WebhookIdentityType$e as WebhookIdentityType, type context$j__publicOnCheckoutSettingsUpdatedType as _publicOnCheckoutSettingsUpdatedType, context$j_getCheckoutSettings as getCheckoutSettings, context$j_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, onCheckoutSettingsUpdated$1 as publicOnCheckoutSettingsUpdated, context$j_updateCheckoutSettings as updateCheckoutSettings };
|
|
14891
15052
|
}
|
|
14892
15053
|
|
|
14893
15054
|
interface CheckoutTemplate {
|
|
@@ -15275,18 +15436,6 @@ interface SubscriptionSettings$4 {
|
|
|
15275
15436
|
autoRenewal?: boolean;
|
|
15276
15437
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
15277
15438
|
billingCycles?: number | null;
|
|
15278
|
-
/**
|
|
15279
|
-
* Period until first cycle starts. If applied payNow will be 0
|
|
15280
|
-
* If None => no free trial
|
|
15281
|
-
*/
|
|
15282
|
-
freeTrialPeriod?: FreeTrialPeriod;
|
|
15283
|
-
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
15284
|
-
startDate?: Date | null;
|
|
15285
|
-
/**
|
|
15286
|
-
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
15287
|
-
* Default None => will behave like true
|
|
15288
|
-
*/
|
|
15289
|
-
generateOrderEachBillingCycle?: boolean | null;
|
|
15290
15439
|
}
|
|
15291
15440
|
/** Frequency unit of recurring payment */
|
|
15292
15441
|
declare enum SubscriptionFrequency$4 {
|
|
@@ -15345,7 +15494,7 @@ interface ServiceProperties$2 {
|
|
|
15345
15494
|
}
|
|
15346
15495
|
interface Policy {
|
|
15347
15496
|
/** Policy title - should be translated */
|
|
15348
|
-
title?: string;
|
|
15497
|
+
title?: string | null;
|
|
15349
15498
|
/** Policy content - should be translated */
|
|
15350
15499
|
content?: string;
|
|
15351
15500
|
}
|
|
@@ -15907,6 +16056,16 @@ declare enum JurisdictionType$3 {
|
|
|
15907
16056
|
CITY = "CITY",
|
|
15908
16057
|
SPECIAL = "SPECIAL"
|
|
15909
16058
|
}
|
|
16059
|
+
interface FocalPoint$2 {
|
|
16060
|
+
/** X-coordinate of the focal point. */
|
|
16061
|
+
x?: number;
|
|
16062
|
+
/** Y-coordinate of the focal point. */
|
|
16063
|
+
y?: number;
|
|
16064
|
+
/** crop by height */
|
|
16065
|
+
height?: number | null;
|
|
16066
|
+
/** crop by width */
|
|
16067
|
+
width?: number | null;
|
|
16068
|
+
}
|
|
15910
16069
|
interface ItemAvailabilityInfo {
|
|
15911
16070
|
/**
|
|
15912
16071
|
* Item availability status.
|
|
@@ -16164,6 +16323,30 @@ interface OtherCharge$1 {
|
|
|
16164
16323
|
/** Price of added cost. */
|
|
16165
16324
|
price?: MultiCurrencyPrice$1;
|
|
16166
16325
|
}
|
|
16326
|
+
interface DeliveryAllocation$2 {
|
|
16327
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
16328
|
+
deliveryCarrier?: Carrier$2;
|
|
16329
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
16330
|
+
deliveryRegion?: Region$2;
|
|
16331
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
16332
|
+
applicableLineItems?: ApplicableLineItems$2;
|
|
16333
|
+
}
|
|
16334
|
+
interface Carrier$2 {
|
|
16335
|
+
/** The carrier app id */
|
|
16336
|
+
appId?: string | null;
|
|
16337
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
16338
|
+
code?: string;
|
|
16339
|
+
}
|
|
16340
|
+
interface Region$2 {
|
|
16341
|
+
/** The delivery region id. */
|
|
16342
|
+
_id?: string | null;
|
|
16343
|
+
/** The delivery region name. */
|
|
16344
|
+
name?: string | null;
|
|
16345
|
+
}
|
|
16346
|
+
interface ApplicableLineItems$2 {
|
|
16347
|
+
/** Line items that the delivery solution is for. */
|
|
16348
|
+
lineItemIds?: string[];
|
|
16349
|
+
}
|
|
16167
16350
|
interface BuyerInfo$4 extends BuyerInfoIdOneOf$2 {
|
|
16168
16351
|
/**
|
|
16169
16352
|
* Visitor ID (if site visitor is **not** a member).
|
|
@@ -16316,7 +16499,8 @@ declare enum RuleType$3 {
|
|
|
16316
16499
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
16317
16500
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
16318
16501
|
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
16319
|
-
EXACT_LENGTH = "EXACT_LENGTH"
|
|
16502
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
16503
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
16320
16504
|
}
|
|
16321
16505
|
interface FieldViolation$3 {
|
|
16322
16506
|
field?: string;
|
|
@@ -16954,7 +17138,6 @@ interface SecuredMediaNonNullableFields {
|
|
|
16954
17138
|
fileType: FileType$1;
|
|
16955
17139
|
}
|
|
16956
17140
|
interface PolicyNonNullableFields {
|
|
16957
|
-
title: string;
|
|
16958
17141
|
content: string;
|
|
16959
17142
|
}
|
|
16960
17143
|
interface CustomLineItemNonNullableFields {
|
|
@@ -17015,7 +17198,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
17015
17198
|
body: Uint8Array;
|
|
17016
17199
|
headers: HeadersEntryNonNullableFields[];
|
|
17017
17200
|
}
|
|
17018
|
-
interface BaseEventMetadata$
|
|
17201
|
+
interface BaseEventMetadata$5 {
|
|
17019
17202
|
/** App instance ID. */
|
|
17020
17203
|
instanceId?: string | null;
|
|
17021
17204
|
/** Event type. */
|
|
@@ -17023,7 +17206,7 @@ interface BaseEventMetadata$6 {
|
|
|
17023
17206
|
/** The identification type and identity data. */
|
|
17024
17207
|
identity?: IdentificationData$e;
|
|
17025
17208
|
}
|
|
17026
|
-
interface EventMetadata$
|
|
17209
|
+
interface EventMetadata$5 extends BaseEventMetadata$5 {
|
|
17027
17210
|
/**
|
|
17028
17211
|
* Unique event ID.
|
|
17029
17212
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -17063,18 +17246,18 @@ interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
|
17063
17246
|
}
|
|
17064
17247
|
interface CheckoutTemplateCreatedEnvelope {
|
|
17065
17248
|
entity: CheckoutTemplate;
|
|
17066
|
-
metadata: EventMetadata$
|
|
17249
|
+
metadata: EventMetadata$5;
|
|
17250
|
+
}
|
|
17251
|
+
interface CheckoutTemplateDeletedEnvelope {
|
|
17252
|
+
metadata: EventMetadata$5;
|
|
17067
17253
|
}
|
|
17068
17254
|
interface CheckoutTemplateUpdatedEnvelope {
|
|
17069
17255
|
entity: CheckoutTemplate;
|
|
17070
|
-
metadata: EventMetadata$
|
|
17071
|
-
}
|
|
17072
|
-
interface CheckoutTemplateDeletedEnvelope {
|
|
17073
|
-
metadata: EventMetadata$6;
|
|
17256
|
+
metadata: EventMetadata$5;
|
|
17074
17257
|
}
|
|
17075
17258
|
interface CheckoutTemplateUsedEnvelope {
|
|
17076
17259
|
data: CheckoutTemplateUsed;
|
|
17077
|
-
metadata: EventMetadata$
|
|
17260
|
+
metadata: EventMetadata$5;
|
|
17078
17261
|
}
|
|
17079
17262
|
interface UpdateCheckoutTemplate {
|
|
17080
17263
|
/**
|
|
@@ -17279,11 +17462,11 @@ interface CreateAndRedirectToCheckoutSignature {
|
|
|
17279
17462
|
(checkoutTemplateId: string, siteId: string): Promise<RawHttpResponse & RawHttpResponseNonNullableFields>;
|
|
17280
17463
|
}
|
|
17281
17464
|
declare const onCheckoutTemplateCreated$1: EventDefinition<CheckoutTemplateCreatedEnvelope, "wix.ecom.v1.checkout_template_created">;
|
|
17282
|
-
declare const onCheckoutTemplateUpdated$1: EventDefinition<CheckoutTemplateUpdatedEnvelope, "wix.ecom.v1.checkout_template_updated">;
|
|
17283
17465
|
declare const onCheckoutTemplateDeleted$1: EventDefinition<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
|
|
17466
|
+
declare const onCheckoutTemplateUpdated$1: EventDefinition<CheckoutTemplateUpdatedEnvelope, "wix.ecom.v1.checkout_template_updated">;
|
|
17284
17467
|
declare const onCheckoutTemplateUsed$1: EventDefinition<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
|
|
17285
17468
|
|
|
17286
|
-
declare function createEventModule$
|
|
17469
|
+
declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
17287
17470
|
|
|
17288
17471
|
declare const createCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof createCheckoutTemplate$1> & typeof createCheckoutTemplate$1>;
|
|
17289
17472
|
declare const getCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof getCheckoutTemplate$1> & typeof getCheckoutTemplate$1>;
|
|
@@ -17297,25 +17480,25 @@ type _publicOnCheckoutTemplateCreatedType = typeof onCheckoutTemplateCreated$1;
|
|
|
17297
17480
|
/**
|
|
17298
17481
|
* Triggered when a checkout template is created.
|
|
17299
17482
|
*/
|
|
17300
|
-
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$
|
|
17483
|
+
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$5<_publicOnCheckoutTemplateCreatedType>>;
|
|
17301
17484
|
|
|
17302
|
-
type
|
|
17485
|
+
type _publicOnCheckoutTemplateDeletedType = typeof onCheckoutTemplateDeleted$1;
|
|
17303
17486
|
/**
|
|
17304
|
-
* Triggered when a checkout template is
|
|
17487
|
+
* Triggered when a checkout template is deleted.
|
|
17305
17488
|
*/
|
|
17306
|
-
declare const
|
|
17489
|
+
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$5<_publicOnCheckoutTemplateDeletedType>>;
|
|
17307
17490
|
|
|
17308
|
-
type
|
|
17491
|
+
type _publicOnCheckoutTemplateUpdatedType = typeof onCheckoutTemplateUpdated$1;
|
|
17309
17492
|
/**
|
|
17310
|
-
* Triggered when a checkout template is
|
|
17493
|
+
* Triggered when a checkout template is updated.
|
|
17311
17494
|
*/
|
|
17312
|
-
declare const
|
|
17495
|
+
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$5<_publicOnCheckoutTemplateUpdatedType>>;
|
|
17313
17496
|
|
|
17314
17497
|
type _publicOnCheckoutTemplateUsedType = typeof onCheckoutTemplateUsed$1;
|
|
17315
17498
|
/**
|
|
17316
17499
|
* Triggered when a checkout is created from a checkout template.
|
|
17317
17500
|
*/
|
|
17318
|
-
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$
|
|
17501
|
+
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$5<_publicOnCheckoutTemplateUsedType>>;
|
|
17319
17502
|
|
|
17320
17503
|
type context$i_CatalogOverrideFields = CatalogOverrideFields;
|
|
17321
17504
|
type context$i_Checkout = Checkout;
|
|
@@ -17394,7 +17577,7 @@ declare const context$i_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
|
|
|
17394
17577
|
declare const context$i_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
17395
17578
|
declare const context$i_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
17396
17579
|
declare namespace context$i {
|
|
17397
|
-
export { type ActionEvent$e 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$6 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type context$i_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type context$i_Checkout as Checkout, type context$i_CheckoutCustomization as CheckoutCustomization, type context$i_CheckoutTemplate as CheckoutTemplate, type context$i_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type context$i_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type context$i_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type context$i_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type context$i_CheckoutTemplateUsed as CheckoutTemplateUsed, type context$i_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type context$i_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type context$i_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type context$i_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type context$i_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type context$i_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type context$i_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type context$i_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type context$i_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type context$i_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type context$i_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type context$i_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$b as CursorPaging, type CursorPagingMetadata$a as CursorPagingMetadata, type CursorQuery$7 as CursorQuery, type CursorQueryPagingMethodOneOf$7 as CursorQueryPagingMethodOneOf, type Cursors$b as Cursors, type context$i_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type context$i_CustomSettings as CustomSettings, type context$i_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type context$i_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type context$i_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$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$1 as FileType, type context$i_FreeTrialPeriod as FreeTrialPeriod, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$i_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type context$i_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type context$i_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type context$i_HeadersEntry as HeadersEntry, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type context$i_ItemAvailabilityInfo as ItemAvailabilityInfo, context$i_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$3 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MessageEnvelope$d as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, context$i_NameInLineItem as NameInLineItem, context$i_NameInOther as NameInOther, type context$i_Other as Other, type OtherCharge$1 as OtherCharge, type context$i_PaymentOption as PaymentOption, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type context$i_Policy as Policy, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type context$i_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type context$i_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type context$i_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type context$i_RawHttpResponse as RawHttpResponse, type context$i_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$e as RestoreInfo, RuleType$3 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, context$i_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$b as SortOrder, type Sorting$b 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, context$i_SuggestedFix as SuggestedFix, type SystemError$3 as SystemError, type context$i_Target as Target, type context$i_TargetLineItem as TargetLineItem, type context$i_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type TaxableAddress$3 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$3 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$3 as TaxableAddressType, type context$i_Title as Title, type context$i_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type context$i_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type context$i_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type context$i_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type context$i_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type context$i_Violation as Violation, type context$i_WebClientCustomization as WebClientCustomization, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type context$i__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type context$i__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type context$i__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type context$i__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, context$i_createAndRedirectToCheckout as createAndRedirectToCheckout, context$i_createCheckoutFromTemplate as createCheckoutFromTemplate, context$i_createCheckoutTemplate as createCheckoutTemplate, context$i_deleteCheckoutTemplate as deleteCheckoutTemplate, context$i_getCheckoutTemplate as getCheckoutTemplate, context$i_onCheckoutTemplateCreated as onCheckoutTemplateCreated, context$i_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, context$i_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, context$i_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, context$i_queryCheckoutTemplates as queryCheckoutTemplates, context$i_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
17580
|
+
export { type ActionEvent$e 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 ApplicableLineItems$2 as ApplicableLineItems, type ApplicationError$8 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$5 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$2 as Carrier, type CarrierError$3 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type context$i_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type context$i_Checkout as Checkout, type context$i_CheckoutCustomization as CheckoutCustomization, type context$i_CheckoutTemplate as CheckoutTemplate, type context$i_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type context$i_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type context$i_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type context$i_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type context$i_CheckoutTemplateUsed as CheckoutTemplateUsed, type context$i_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type context$i_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type context$i_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type context$i_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type context$i_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type context$i_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type context$i_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type context$i_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type context$i_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type context$i_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type context$i_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type context$i_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$b as CursorPaging, type CursorPagingMetadata$a as CursorPagingMetadata, type CursorQuery$7 as CursorQuery, type CursorQueryPagingMethodOneOf$7 as CursorQueryPagingMethodOneOf, type Cursors$b as Cursors, type context$i_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type context$i_CustomSettings as CustomSettings, type context$i_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type context$i_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryAllocation$2 as DeliveryAllocation, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type context$i_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$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$1 as FileType, type FocalPoint$2 as FocalPoint, type context$i_FreeTrialPeriod as FreeTrialPeriod, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$i_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type context$i_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type context$i_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type context$i_HeadersEntry as HeadersEntry, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type context$i_ItemAvailabilityInfo as ItemAvailabilityInfo, context$i_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$3 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MessageEnvelope$d as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, context$i_NameInLineItem as NameInLineItem, context$i_NameInOther as NameInOther, type context$i_Other as Other, type OtherCharge$1 as OtherCharge, type context$i_PaymentOption as PaymentOption, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type context$i_Policy as Policy, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type context$i_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type context$i_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type context$i_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type context$i_RawHttpResponse as RawHttpResponse, type context$i_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type Region$2 as Region, type RestoreInfo$e as RestoreInfo, RuleType$3 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, context$i_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$b as SortOrder, type Sorting$b 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, context$i_SuggestedFix as SuggestedFix, type SystemError$3 as SystemError, type context$i_Target as Target, type context$i_TargetLineItem as TargetLineItem, type context$i_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type TaxableAddress$3 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$3 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$3 as TaxableAddressType, type context$i_Title as Title, type context$i_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type context$i_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type context$i_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type context$i_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type context$i_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type context$i_Violation as Violation, type context$i_WebClientCustomization as WebClientCustomization, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type context$i__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type context$i__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type context$i__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type context$i__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, context$i_createAndRedirectToCheckout as createAndRedirectToCheckout, context$i_createCheckoutFromTemplate as createCheckoutFromTemplate, context$i_createCheckoutTemplate as createCheckoutTemplate, context$i_deleteCheckoutTemplate as deleteCheckoutTemplate, context$i_getCheckoutTemplate as getCheckoutTemplate, context$i_onCheckoutTemplateCreated as onCheckoutTemplateCreated, context$i_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, context$i_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, context$i_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, context$i_queryCheckoutTemplates as queryCheckoutTemplates, context$i_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
17398
17581
|
}
|
|
17399
17582
|
|
|
17400
17583
|
/**
|
|
@@ -17508,14 +17691,6 @@ interface ExtendedFields$6 {
|
|
|
17508
17691
|
*/
|
|
17509
17692
|
namespaces?: Record<string, Record<string, any>>;
|
|
17510
17693
|
}
|
|
17511
|
-
interface CreateDeliveryProfileRequest {
|
|
17512
|
-
/** DeliveryProfile to be created. */
|
|
17513
|
-
deliveryProfile: DeliveryProfile;
|
|
17514
|
-
}
|
|
17515
|
-
interface CreateDeliveryProfileResponse {
|
|
17516
|
-
/** The created DeliveryProfile. */
|
|
17517
|
-
deliveryProfile?: DeliveryProfile;
|
|
17518
|
-
}
|
|
17519
17694
|
interface DeliveryRegionAdded {
|
|
17520
17695
|
/** The DeliveryProfile owns this region. */
|
|
17521
17696
|
deliveryProfileId?: string;
|
|
@@ -17541,6 +17716,45 @@ interface DeliveryRegionAdded {
|
|
|
17541
17716
|
*/
|
|
17542
17717
|
_createdDate?: Date | null;
|
|
17543
17718
|
}
|
|
17719
|
+
interface DeliveryRegionRemoved {
|
|
17720
|
+
/** The DeliveryProfile owns this region. */
|
|
17721
|
+
deliveryProfileId?: string;
|
|
17722
|
+
/** The removed DeliveryRegion id. */
|
|
17723
|
+
deliveryRegionId?: string;
|
|
17724
|
+
}
|
|
17725
|
+
interface DeliveryRegionUpdated {
|
|
17726
|
+
/** The DeliveryProfile owns this DeliveryRegion. */
|
|
17727
|
+
deliveryProfileId?: string;
|
|
17728
|
+
/**
|
|
17729
|
+
* The delivery region id.
|
|
17730
|
+
* @readonly
|
|
17731
|
+
*/
|
|
17732
|
+
deliveryRegionId?: string | null;
|
|
17733
|
+
/** Optional name of the rule, for example: "Domestic". */
|
|
17734
|
+
name?: string | null;
|
|
17735
|
+
/** Indicates that this rule is active, default value is true. */
|
|
17736
|
+
active?: boolean | null;
|
|
17737
|
+
/**
|
|
17738
|
+
* The spi implementers id of shipping-rates spi, assigned to this rule.
|
|
17739
|
+
* @readonly
|
|
17740
|
+
*/
|
|
17741
|
+
deliveryCarriers?: DeliveryCarrier[];
|
|
17742
|
+
/** The operation region of this rule, if empty than it is global. */
|
|
17743
|
+
destinations?: Destination$1[];
|
|
17744
|
+
/**
|
|
17745
|
+
* Represents the time this Profile was created
|
|
17746
|
+
* @readonly
|
|
17747
|
+
*/
|
|
17748
|
+
_createdDate?: Date | null;
|
|
17749
|
+
}
|
|
17750
|
+
interface CreateDeliveryProfileRequest {
|
|
17751
|
+
/** DeliveryProfile to be created. */
|
|
17752
|
+
deliveryProfile: DeliveryProfile;
|
|
17753
|
+
}
|
|
17754
|
+
interface CreateDeliveryProfileResponse {
|
|
17755
|
+
/** The created DeliveryProfile. */
|
|
17756
|
+
deliveryProfile?: DeliveryProfile;
|
|
17757
|
+
}
|
|
17544
17758
|
interface GetDeliveryProfileRequest {
|
|
17545
17759
|
/** ID of the DeliveryProfile to retrieve. */
|
|
17546
17760
|
deliveryProfileId: string;
|
|
@@ -17563,12 +17777,6 @@ interface DeleteDeliveryProfileRequest {
|
|
|
17563
17777
|
}
|
|
17564
17778
|
interface DeleteDeliveryProfileResponse {
|
|
17565
17779
|
}
|
|
17566
|
-
interface DeliveryRegionRemoved {
|
|
17567
|
-
/** The DeliveryProfile owns this region. */
|
|
17568
|
-
deliveryProfileId?: string;
|
|
17569
|
-
/** The removed DeliveryRegion id. */
|
|
17570
|
-
deliveryRegionId?: string;
|
|
17571
|
-
}
|
|
17572
17780
|
interface QueryDeliveryProfilesRequest {
|
|
17573
17781
|
/** WQL expression. */
|
|
17574
17782
|
query?: CursorQuery$6;
|
|
@@ -17672,31 +17880,6 @@ interface UpdateDeliveryRegionResponse {
|
|
|
17672
17880
|
/** The updated DeliveryProfile with the updated DeliveryRegion */
|
|
17673
17881
|
deliveryProfile?: DeliveryProfile;
|
|
17674
17882
|
}
|
|
17675
|
-
interface DeliveryRegionUpdated {
|
|
17676
|
-
/** The DeliveryProfile owns this DeliveryRegion. */
|
|
17677
|
-
deliveryProfileId?: string;
|
|
17678
|
-
/**
|
|
17679
|
-
* The delivery region id.
|
|
17680
|
-
* @readonly
|
|
17681
|
-
*/
|
|
17682
|
-
deliveryRegionId?: string | null;
|
|
17683
|
-
/** Optional name of the rule, for example: "Domestic". */
|
|
17684
|
-
name?: string | null;
|
|
17685
|
-
/** Indicates that this rule is active, default value is true. */
|
|
17686
|
-
active?: boolean | null;
|
|
17687
|
-
/**
|
|
17688
|
-
* The spi implementers id of shipping-rates spi, assigned to this rule.
|
|
17689
|
-
* @readonly
|
|
17690
|
-
*/
|
|
17691
|
-
deliveryCarriers?: DeliveryCarrier[];
|
|
17692
|
-
/** The operation region of this rule, if empty than it is global. */
|
|
17693
|
-
destinations?: Destination$1[];
|
|
17694
|
-
/**
|
|
17695
|
-
* Represents the time this Profile was created
|
|
17696
|
-
* @readonly
|
|
17697
|
-
*/
|
|
17698
|
-
_createdDate?: Date | null;
|
|
17699
|
-
}
|
|
17700
17883
|
interface RemoveDeliveryRegionRequest$2 {
|
|
17701
17884
|
/** DeliveryProfile id that owns the DeliveryRegion */
|
|
17702
17885
|
deliveryProfileId: string;
|
|
@@ -18344,76 +18527,6 @@ interface ListDeliveryCarriersResponseNonNullableFields {
|
|
|
18344
18527
|
interface UpdateExtendedFieldsResponseNonNullableFields$3 {
|
|
18345
18528
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18346
18529
|
}
|
|
18347
|
-
interface BaseEventMetadata$5 {
|
|
18348
|
-
/** App instance ID. */
|
|
18349
|
-
instanceId?: string | null;
|
|
18350
|
-
/** Event type. */
|
|
18351
|
-
eventType?: string;
|
|
18352
|
-
/** The identification type and identity data. */
|
|
18353
|
-
identity?: IdentificationData$d;
|
|
18354
|
-
}
|
|
18355
|
-
interface EventMetadata$5 extends BaseEventMetadata$5 {
|
|
18356
|
-
/**
|
|
18357
|
-
* Unique event ID.
|
|
18358
|
-
* Allows clients to ignore duplicate webhooks.
|
|
18359
|
-
*/
|
|
18360
|
-
_id?: string;
|
|
18361
|
-
/**
|
|
18362
|
-
* Assumes actions are also always typed to an entity_type
|
|
18363
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
18364
|
-
*/
|
|
18365
|
-
entityFqdn?: string;
|
|
18366
|
-
/**
|
|
18367
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
18368
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
18369
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
18370
|
-
*/
|
|
18371
|
-
slug?: string;
|
|
18372
|
-
/** ID of the entity associated with the event. */
|
|
18373
|
-
entityId?: string;
|
|
18374
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
18375
|
-
eventTime?: Date | null;
|
|
18376
|
-
/**
|
|
18377
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
18378
|
-
* (for example, GDPR).
|
|
18379
|
-
*/
|
|
18380
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
18381
|
-
/** If present, indicates the action that triggered the event. */
|
|
18382
|
-
originatedFrom?: string | null;
|
|
18383
|
-
/**
|
|
18384
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
18385
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
18386
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
18387
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
18388
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
18389
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
18390
|
-
*/
|
|
18391
|
-
entityEventSequence?: string | null;
|
|
18392
|
-
}
|
|
18393
|
-
interface DeliveryProfileCreatedEnvelope {
|
|
18394
|
-
entity: DeliveryProfile;
|
|
18395
|
-
metadata: EventMetadata$5;
|
|
18396
|
-
}
|
|
18397
|
-
interface DeliveryProfileDeliveryRegionAddedEnvelope {
|
|
18398
|
-
data: DeliveryRegionAdded;
|
|
18399
|
-
metadata: EventMetadata$5;
|
|
18400
|
-
}
|
|
18401
|
-
interface DeliveryProfileUpdatedEnvelope {
|
|
18402
|
-
entity: DeliveryProfile;
|
|
18403
|
-
metadata: EventMetadata$5;
|
|
18404
|
-
}
|
|
18405
|
-
interface DeliveryProfileDeletedEnvelope {
|
|
18406
|
-
entity: DeliveryProfile;
|
|
18407
|
-
metadata: EventMetadata$5;
|
|
18408
|
-
}
|
|
18409
|
-
interface DeliveryProfileDeliveryRegionRemovedEnvelope {
|
|
18410
|
-
data: DeliveryRegionRemoved;
|
|
18411
|
-
metadata: EventMetadata$5;
|
|
18412
|
-
}
|
|
18413
|
-
interface DeliveryProfileDeliveryRegionUpdatedEnvelope {
|
|
18414
|
-
data: DeliveryRegionUpdated;
|
|
18415
|
-
metadata: EventMetadata$5;
|
|
18416
|
-
}
|
|
18417
18530
|
interface UpdateDeliveryProfile {
|
|
18418
18531
|
/**
|
|
18419
18532
|
* DeliveryProfile ID.
|
|
@@ -18743,14 +18856,6 @@ interface UpdateExtendedFieldsSignature$3 {
|
|
|
18743
18856
|
*/
|
|
18744
18857
|
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions$3): Promise<UpdateExtendedFieldsResponse$4 & UpdateExtendedFieldsResponseNonNullableFields$3>;
|
|
18745
18858
|
}
|
|
18746
|
-
declare const onDeliveryProfileCreated$1: EventDefinition<DeliveryProfileCreatedEnvelope, "wix.ecom.v1.delivery_profile_created">;
|
|
18747
|
-
declare const onDeliveryProfileDeliveryRegionAdded$1: EventDefinition<DeliveryProfileDeliveryRegionAddedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_added">;
|
|
18748
|
-
declare const onDeliveryProfileUpdated$1: EventDefinition<DeliveryProfileUpdatedEnvelope, "wix.ecom.v1.delivery_profile_updated">;
|
|
18749
|
-
declare const onDeliveryProfileDeleted$1: EventDefinition<DeliveryProfileDeletedEnvelope, "wix.ecom.v1.delivery_profile_deleted">;
|
|
18750
|
-
declare const onDeliveryProfileDeliveryRegionRemoved$1: EventDefinition<DeliveryProfileDeliveryRegionRemovedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_removed">;
|
|
18751
|
-
declare const onDeliveryProfileDeliveryRegionUpdated$1: EventDefinition<DeliveryProfileDeliveryRegionUpdatedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_updated">;
|
|
18752
|
-
|
|
18753
|
-
declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
18754
18859
|
|
|
18755
18860
|
declare const createDeliveryProfile: MaybeContext<BuildRESTFunction<typeof createDeliveryProfile$1> & typeof createDeliveryProfile$1>;
|
|
18756
18861
|
declare const getDeliveryProfile: MaybeContext<BuildRESTFunction<typeof getDeliveryProfile$1> & typeof getDeliveryProfile$1>;
|
|
@@ -18767,38 +18872,6 @@ declare const listDeliveryCarrierDetails: MaybeContext<BuildRESTFunction<typeof
|
|
|
18767
18872
|
declare const listDeliveryCarriers: MaybeContext<BuildRESTFunction<typeof listDeliveryCarriers$1> & typeof listDeliveryCarriers$1>;
|
|
18768
18873
|
declare const updateExtendedFields$6: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$7> & typeof updateExtendedFields$7>;
|
|
18769
18874
|
|
|
18770
|
-
type _publicOnDeliveryProfileCreatedType = typeof onDeliveryProfileCreated$1;
|
|
18771
|
-
/** */
|
|
18772
|
-
declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileCreatedType>>;
|
|
18773
|
-
|
|
18774
|
-
type _publicOnDeliveryProfileDeliveryRegionAddedType = typeof onDeliveryProfileDeliveryRegionAdded$1;
|
|
18775
|
-
/**
|
|
18776
|
-
* Triggered when a delivery_region is added to a delivery_profile.
|
|
18777
|
-
*/
|
|
18778
|
-
declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileDeliveryRegionAddedType>>;
|
|
18779
|
-
|
|
18780
|
-
type _publicOnDeliveryProfileUpdatedType = typeof onDeliveryProfileUpdated$1;
|
|
18781
|
-
/**
|
|
18782
|
-
* Triggered when the delivery_carrier updated successfully
|
|
18783
|
-
*/
|
|
18784
|
-
declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileUpdatedType>>;
|
|
18785
|
-
|
|
18786
|
-
type _publicOnDeliveryProfileDeletedType = typeof onDeliveryProfileDeleted$1;
|
|
18787
|
-
/** */
|
|
18788
|
-
declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileDeletedType>>;
|
|
18789
|
-
|
|
18790
|
-
type _publicOnDeliveryProfileDeliveryRegionRemovedType = typeof onDeliveryProfileDeliveryRegionRemoved$1;
|
|
18791
|
-
/**
|
|
18792
|
-
* Triggered for each delivery_region assigned to the deleted delivery_profile
|
|
18793
|
-
*/
|
|
18794
|
-
declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileDeliveryRegionRemovedType>>;
|
|
18795
|
-
|
|
18796
|
-
type _publicOnDeliveryProfileDeliveryRegionUpdatedType = typeof onDeliveryProfileDeliveryRegionUpdated$1;
|
|
18797
|
-
/**
|
|
18798
|
-
* Triggered when the delivery_carrier updated successfully
|
|
18799
|
-
*/
|
|
18800
|
-
declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileDeliveryRegionUpdatedType>>;
|
|
18801
|
-
|
|
18802
18875
|
type context$h_AddDeliveryCarrierOptions = AddDeliveryCarrierOptions;
|
|
18803
18876
|
type context$h_AddDeliveryCarrierRequest = AddDeliveryCarrierRequest;
|
|
18804
18877
|
type context$h_AddDeliveryCarrierResponse = AddDeliveryCarrierResponse;
|
|
@@ -18819,13 +18892,7 @@ type context$h_DeliveryCarrier = DeliveryCarrier;
|
|
|
18819
18892
|
type context$h_DeliveryCarrierDetails = DeliveryCarrierDetails;
|
|
18820
18893
|
type context$h_DeliveryCarrierRegionalSettings = DeliveryCarrierRegionalSettings;
|
|
18821
18894
|
type context$h_DeliveryProfile = DeliveryProfile;
|
|
18822
|
-
type context$h_DeliveryProfileCreatedEnvelope = DeliveryProfileCreatedEnvelope;
|
|
18823
|
-
type context$h_DeliveryProfileDeletedEnvelope = DeliveryProfileDeletedEnvelope;
|
|
18824
|
-
type context$h_DeliveryProfileDeliveryRegionAddedEnvelope = DeliveryProfileDeliveryRegionAddedEnvelope;
|
|
18825
|
-
type context$h_DeliveryProfileDeliveryRegionRemovedEnvelope = DeliveryProfileDeliveryRegionRemovedEnvelope;
|
|
18826
|
-
type context$h_DeliveryProfileDeliveryRegionUpdatedEnvelope = DeliveryProfileDeliveryRegionUpdatedEnvelope;
|
|
18827
18895
|
type context$h_DeliveryProfileNonNullableFields = DeliveryProfileNonNullableFields;
|
|
18828
|
-
type context$h_DeliveryProfileUpdatedEnvelope = DeliveryProfileUpdatedEnvelope;
|
|
18829
18896
|
type context$h_DeliveryProfilesQueryBuilder = DeliveryProfilesQueryBuilder;
|
|
18830
18897
|
type context$h_DeliveryProfilesQueryResult = DeliveryProfilesQueryResult;
|
|
18831
18898
|
type context$h_DeliveryRegion = DeliveryRegion;
|
|
@@ -18885,31 +18952,19 @@ type context$h_UpdateDeliveryRegionOptions = UpdateDeliveryRegionOptions;
|
|
|
18885
18952
|
type context$h_UpdateDeliveryRegionRequest = UpdateDeliveryRegionRequest;
|
|
18886
18953
|
type context$h_UpdateDeliveryRegionResponse = UpdateDeliveryRegionResponse;
|
|
18887
18954
|
type context$h_UpdateDeliveryRegionResponseNonNullableFields = UpdateDeliveryRegionResponseNonNullableFields;
|
|
18888
|
-
type context$h__publicOnDeliveryProfileCreatedType = _publicOnDeliveryProfileCreatedType;
|
|
18889
|
-
type context$h__publicOnDeliveryProfileDeletedType = _publicOnDeliveryProfileDeletedType;
|
|
18890
|
-
type context$h__publicOnDeliveryProfileDeliveryRegionAddedType = _publicOnDeliveryProfileDeliveryRegionAddedType;
|
|
18891
|
-
type context$h__publicOnDeliveryProfileDeliveryRegionRemovedType = _publicOnDeliveryProfileDeliveryRegionRemovedType;
|
|
18892
|
-
type context$h__publicOnDeliveryProfileDeliveryRegionUpdatedType = _publicOnDeliveryProfileDeliveryRegionUpdatedType;
|
|
18893
|
-
type context$h__publicOnDeliveryProfileUpdatedType = _publicOnDeliveryProfileUpdatedType;
|
|
18894
18955
|
declare const context$h_addDeliveryCarrier: typeof addDeliveryCarrier;
|
|
18895
18956
|
declare const context$h_createDeliveryProfile: typeof createDeliveryProfile;
|
|
18896
18957
|
declare const context$h_deleteDeliveryProfile: typeof deleteDeliveryProfile;
|
|
18897
18958
|
declare const context$h_getDeliveryProfile: typeof getDeliveryProfile;
|
|
18898
18959
|
declare const context$h_listDeliveryCarrierDetails: typeof listDeliveryCarrierDetails;
|
|
18899
18960
|
declare const context$h_listDeliveryCarriers: typeof listDeliveryCarriers;
|
|
18900
|
-
declare const context$h_onDeliveryProfileCreated: typeof onDeliveryProfileCreated;
|
|
18901
|
-
declare const context$h_onDeliveryProfileDeleted: typeof onDeliveryProfileDeleted;
|
|
18902
|
-
declare const context$h_onDeliveryProfileDeliveryRegionAdded: typeof onDeliveryProfileDeliveryRegionAdded;
|
|
18903
|
-
declare const context$h_onDeliveryProfileDeliveryRegionRemoved: typeof onDeliveryProfileDeliveryRegionRemoved;
|
|
18904
|
-
declare const context$h_onDeliveryProfileDeliveryRegionUpdated: typeof onDeliveryProfileDeliveryRegionUpdated;
|
|
18905
|
-
declare const context$h_onDeliveryProfileUpdated: typeof onDeliveryProfileUpdated;
|
|
18906
18961
|
declare const context$h_queryDeliveryProfiles: typeof queryDeliveryProfiles;
|
|
18907
18962
|
declare const context$h_removeDeliveryCarrier: typeof removeDeliveryCarrier;
|
|
18908
18963
|
declare const context$h_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
18909
18964
|
declare const context$h_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
18910
18965
|
declare const context$h_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
18911
18966
|
declare namespace context$h {
|
|
18912
|
-
export { type ActionEvent$d as ActionEvent, type context$h_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type context$h_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type context$h_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type context$h_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type AddDeliveryRegionOptions$2 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$2 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$2 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$2 as AddDeliveryRegionResponseNonNullableFields, type AdditionalCharge$1 as AdditionalCharge, type ApplicationError$7 as ApplicationError, type context$h_Asset as Asset, type context$h_BackupRate as BackupRate, type BaseEventMetadata$5 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type context$h_Column as Column, type context$h_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type context$h_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type context$h_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$a as CursorPaging, type CursorPagingMetadata$9 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$a as Cursors, type context$h_DashboardTable as DashboardTable, type context$h_DeleteContext as DeleteContext, type context$h_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type context$h_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, context$h_DeleteStatus as DeleteStatus, type context$h_DeliveryCarrier as DeliveryCarrier, type context$h_DeliveryCarrierDetails as DeliveryCarrierDetails, type context$h_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type context$h_DeliveryProfile as DeliveryProfile, type context$h_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type context$h_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type context$h_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type context$h_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type context$h_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type context$h_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type context$h_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type context$h_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type context$h_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type context$h_DeliveryRegion as DeliveryRegion, type context$h_DeliveryRegionAdded as DeliveryRegionAdded, type context$h_DeliveryRegionRemoved as DeliveryRegionRemoved, type context$h_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type context$h_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type context$h_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type context$h_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type context$h_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type context$h_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type context$h_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type context$h_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type context$h_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type context$h_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type context$h_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type context$h_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$c as MessageEnvelope, type context$h_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$h_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type context$h_NamespaceChanged as NamespaceChanged, type context$h_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type context$h_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type context$h_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type context$h_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type context$h_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type context$h_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type context$h_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type context$h_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$d as RestoreInfo, type context$h_Row as Row, type context$h_ServiceProvisioned as ServiceProvisioned, type context$h_ServiceRemoved as ServiceRemoved, type context$h_SiteCreated as SiteCreated, context$h_SiteCreatedContext as SiteCreatedContext, type context$h_SiteDeleted as SiteDeleted, type context$h_SiteHardDeleted as SiteHardDeleted, type context$h_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$h_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$h_SitePublished as SitePublished, type context$h_SiteRenamed as SiteRenamed, type context$h_SiteTransferred as SiteTransferred, type context$h_SiteUndeleted as SiteUndeleted, type context$h_SiteUnpublished as SiteUnpublished, SortOrder$a as SortOrder, type Sorting$a as Sorting, State$1 as State, type context$h_StudioAssigned as StudioAssigned, type context$h_StudioUnassigned as StudioUnassigned, type context$h_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type context$h_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type context$h_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type context$h_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type context$h_UpdateDeliveryProfile as UpdateDeliveryProfile, type context$h_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type context$h_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type context$h_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type context$h_UpdateDeliveryRegion as UpdateDeliveryRegion, type context$h_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type context$h_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type context$h_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type context$h_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type context$h_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$c as WebhookIdentityType, type context$h__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type context$h__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type context$h__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type context$h__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type context$h__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type context$h__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, context$h_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, context$h_createDeliveryProfile as createDeliveryProfile, context$h_deleteDeliveryProfile as deleteDeliveryProfile, context$h_getDeliveryProfile as getDeliveryProfile, context$h_listDeliveryCarrierDetails as listDeliveryCarrierDetails, context$h_listDeliveryCarriers as listDeliveryCarriers, context$h_onDeliveryProfileCreated as onDeliveryProfileCreated, context$h_onDeliveryProfileDeleted as onDeliveryProfileDeleted, context$h_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, context$h_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, context$h_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, context$h_onDeliveryProfileUpdated as onDeliveryProfileUpdated, onDeliveryProfileCreated$1 as publicOnDeliveryProfileCreated, onDeliveryProfileDeleted$1 as publicOnDeliveryProfileDeleted, onDeliveryProfileDeliveryRegionAdded$1 as publicOnDeliveryProfileDeliveryRegionAdded, onDeliveryProfileDeliveryRegionRemoved$1 as publicOnDeliveryProfileDeliveryRegionRemoved, onDeliveryProfileDeliveryRegionUpdated$1 as publicOnDeliveryProfileDeliveryRegionUpdated, onDeliveryProfileUpdated$1 as publicOnDeliveryProfileUpdated, context$h_queryDeliveryProfiles as queryDeliveryProfiles, context$h_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, context$h_updateDeliveryCarrier as updateDeliveryCarrier, context$h_updateDeliveryProfile as updateDeliveryProfile, context$h_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18967
|
+
export { type ActionEvent$d as ActionEvent, type context$h_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type context$h_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type context$h_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type context$h_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type AddDeliveryRegionOptions$2 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$2 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$2 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$2 as AddDeliveryRegionResponseNonNullableFields, type AdditionalCharge$1 as AdditionalCharge, type ApplicationError$7 as ApplicationError, type context$h_Asset as Asset, type context$h_BackupRate as BackupRate, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type context$h_Column as Column, type context$h_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type context$h_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type context$h_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$a as CursorPaging, type CursorPagingMetadata$9 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$a as Cursors, type context$h_DashboardTable as DashboardTable, type context$h_DeleteContext as DeleteContext, type context$h_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type context$h_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, context$h_DeleteStatus as DeleteStatus, type context$h_DeliveryCarrier as DeliveryCarrier, type context$h_DeliveryCarrierDetails as DeliveryCarrierDetails, type context$h_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type context$h_DeliveryProfile as DeliveryProfile, type context$h_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type context$h_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type context$h_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type context$h_DeliveryRegion as DeliveryRegion, type context$h_DeliveryRegionAdded as DeliveryRegionAdded, type context$h_DeliveryRegionRemoved as DeliveryRegionRemoved, type context$h_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type ExtendedFields$6 as ExtendedFields, type context$h_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type context$h_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type context$h_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type context$h_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type context$h_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type context$h_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type context$h_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type context$h_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type context$h_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type context$h_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type context$h_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$c as MessageEnvelope, type context$h_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$h_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type context$h_NamespaceChanged as NamespaceChanged, type context$h_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type context$h_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type context$h_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type context$h_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type context$h_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type context$h_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type context$h_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type context$h_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$d as RestoreInfo, type context$h_Row as Row, type context$h_ServiceProvisioned as ServiceProvisioned, type context$h_ServiceRemoved as ServiceRemoved, type context$h_SiteCreated as SiteCreated, context$h_SiteCreatedContext as SiteCreatedContext, type context$h_SiteDeleted as SiteDeleted, type context$h_SiteHardDeleted as SiteHardDeleted, type context$h_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$h_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$h_SitePublished as SitePublished, type context$h_SiteRenamed as SiteRenamed, type context$h_SiteTransferred as SiteTransferred, type context$h_SiteUndeleted as SiteUndeleted, type context$h_SiteUnpublished as SiteUnpublished, SortOrder$a as SortOrder, type Sorting$a as Sorting, State$1 as State, type context$h_StudioAssigned as StudioAssigned, type context$h_StudioUnassigned as StudioUnassigned, type context$h_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type context$h_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type context$h_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type context$h_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type context$h_UpdateDeliveryProfile as UpdateDeliveryProfile, type context$h_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type context$h_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type context$h_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type context$h_UpdateDeliveryRegion as UpdateDeliveryRegion, type context$h_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type context$h_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type context$h_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type context$h_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type context$h_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$c as WebhookIdentityType, context$h_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, context$h_createDeliveryProfile as createDeliveryProfile, context$h_deleteDeliveryProfile as deleteDeliveryProfile, context$h_getDeliveryProfile as getDeliveryProfile, context$h_listDeliveryCarrierDetails as listDeliveryCarrierDetails, context$h_listDeliveryCarriers as listDeliveryCarriers, context$h_queryDeliveryProfiles as queryDeliveryProfiles, context$h_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, context$h_updateDeliveryCarrier as updateDeliveryCarrier, context$h_updateDeliveryProfile as updateDeliveryProfile, context$h_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18913
18968
|
}
|
|
18914
18969
|
|
|
18915
18970
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -19235,6 +19290,16 @@ declare enum DescriptionLineType$1 {
|
|
|
19235
19290
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
19236
19291
|
COLOR = "COLOR"
|
|
19237
19292
|
}
|
|
19293
|
+
interface FocalPoint$1 {
|
|
19294
|
+
/** X-coordinate of the focal point. */
|
|
19295
|
+
x?: number;
|
|
19296
|
+
/** Y-coordinate of the focal point. */
|
|
19297
|
+
y?: number;
|
|
19298
|
+
/** crop by height */
|
|
19299
|
+
height?: number | null;
|
|
19300
|
+
/** crop by width */
|
|
19301
|
+
width?: number | null;
|
|
19302
|
+
}
|
|
19238
19303
|
interface PhysicalProperties$3 {
|
|
19239
19304
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
19240
19305
|
weight?: number | null;
|
|
@@ -19976,6 +20041,25 @@ interface BillingDetailsChangeTypeOneOf {
|
|
|
19976
20041
|
}
|
|
19977
20042
|
interface BillingChangedDetails {
|
|
19978
20043
|
}
|
|
20044
|
+
interface BusinessLocationDetails extends BusinessLocationDetailsChangeTypeOneOf {
|
|
20045
|
+
}
|
|
20046
|
+
/** @oneof */
|
|
20047
|
+
interface BusinessLocationDetailsChangeTypeOneOf {
|
|
20048
|
+
}
|
|
20049
|
+
interface Location$1 {
|
|
20050
|
+
/**
|
|
20051
|
+
* Location ID.
|
|
20052
|
+
* Learn more about the [Wix Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
|
|
20053
|
+
*/
|
|
20054
|
+
_id?: string;
|
|
20055
|
+
/**
|
|
20056
|
+
* Location name.
|
|
20057
|
+
* @readonly
|
|
20058
|
+
*/
|
|
20059
|
+
name?: string;
|
|
20060
|
+
}
|
|
20061
|
+
interface BusinessLocationChangedDetails {
|
|
20062
|
+
}
|
|
19979
20063
|
interface CreateDraftOrderRequest {
|
|
19980
20064
|
/** To create a draft from existing order, provide its id. Otherwise, an empty draft will be created. */
|
|
19981
20065
|
orderId: string | null;
|
|
@@ -20450,19 +20534,6 @@ declare enum NonDraftableReason {
|
|
|
20450
20534
|
UNSUPPORTED_CATALOG_ITEM = "UNSUPPORTED_CATALOG_ITEM",
|
|
20451
20535
|
TAXABLE_EXISTING_ADDITIONAL_FEE = "TAXABLE_EXISTING_ADDITIONAL_FEE"
|
|
20452
20536
|
}
|
|
20453
|
-
interface GetDraftEditabilityStatusRequest {
|
|
20454
|
-
/** Draft order ID. */
|
|
20455
|
-
draftOrderId?: string | null;
|
|
20456
|
-
}
|
|
20457
|
-
interface GetDraftEditabilityStatusResponse {
|
|
20458
|
-
/** Draft order ID. */
|
|
20459
|
-
draftOrderId?: string | null;
|
|
20460
|
-
/**
|
|
20461
|
-
* Draft order status.
|
|
20462
|
-
* @readonly
|
|
20463
|
-
*/
|
|
20464
|
-
status?: EditingStatus;
|
|
20465
|
-
}
|
|
20466
20537
|
interface CommitDraftOrderRequest {
|
|
20467
20538
|
/** The draft order id */
|
|
20468
20539
|
draftOrderId: string;
|
|
@@ -21259,6 +21330,28 @@ interface SetTaxExemptionRequest {
|
|
|
21259
21330
|
}
|
|
21260
21331
|
interface SetTaxExemptionResponse {
|
|
21261
21332
|
}
|
|
21333
|
+
interface GetDraftEditabilityStatusRequest {
|
|
21334
|
+
/** Draft order ID. */
|
|
21335
|
+
draftOrderId?: string | null;
|
|
21336
|
+
}
|
|
21337
|
+
interface GetDraftEditabilityStatusResponse {
|
|
21338
|
+
/** Draft order ID. */
|
|
21339
|
+
draftOrderId?: string | null;
|
|
21340
|
+
/**
|
|
21341
|
+
* Draft order status.
|
|
21342
|
+
* @readonly
|
|
21343
|
+
*/
|
|
21344
|
+
status?: EditingStatus;
|
|
21345
|
+
}
|
|
21346
|
+
interface SetBusinessLocationRequest {
|
|
21347
|
+
/**
|
|
21348
|
+
* Location ID.
|
|
21349
|
+
* Learn more about the [Wix Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
|
|
21350
|
+
*/
|
|
21351
|
+
locationId?: string;
|
|
21352
|
+
}
|
|
21353
|
+
interface SetBusinessLocationResponse {
|
|
21354
|
+
}
|
|
21262
21355
|
interface DomainEvent$c extends DomainEventBodyOneOf$c {
|
|
21263
21356
|
createdEvent?: EntityCreatedEvent$c;
|
|
21264
21357
|
updatedEvent?: EntityUpdatedEvent$c;
|
|
@@ -21663,6 +21756,19 @@ interface BillingDetailsNonNullableFields {
|
|
|
21663
21756
|
removed: boolean;
|
|
21664
21757
|
billingInfo?: AddressWithContactNonNullableFields$1;
|
|
21665
21758
|
}
|
|
21759
|
+
interface LocationNonNullableFields$1 {
|
|
21760
|
+
_id: string;
|
|
21761
|
+
name: string;
|
|
21762
|
+
}
|
|
21763
|
+
interface BusinessLocationChangedDetailsNonNullableFields {
|
|
21764
|
+
businessLocationBeforeChange?: LocationNonNullableFields$1;
|
|
21765
|
+
}
|
|
21766
|
+
interface BusinessLocationDetailsNonNullableFields {
|
|
21767
|
+
added: boolean;
|
|
21768
|
+
changedDetails?: BusinessLocationChangedDetailsNonNullableFields;
|
|
21769
|
+
removed: boolean;
|
|
21770
|
+
businessLocation?: LocationNonNullableFields$1;
|
|
21771
|
+
}
|
|
21666
21772
|
interface DraftOrderNonNullableFields {
|
|
21667
21773
|
lineItems: ItemDetailsNonNullableFields[];
|
|
21668
21774
|
shippingInfo?: ShippingDetailsNonNullableFields;
|
|
@@ -21681,6 +21787,7 @@ interface DraftOrderNonNullableFields {
|
|
|
21681
21787
|
taxInfo?: OrderTaxInfoNonNullableFields$1;
|
|
21682
21788
|
buyerDetails?: BuyerDetailsNonNullableFields;
|
|
21683
21789
|
billingDetails?: BillingDetailsNonNullableFields;
|
|
21790
|
+
businessLocationDetails?: BusinessLocationDetailsNonNullableFields;
|
|
21684
21791
|
}
|
|
21685
21792
|
interface PickupDetailsNonNullableFields$3 {
|
|
21686
21793
|
address?: AddressNonNullableFields$5;
|
|
@@ -22005,6 +22112,7 @@ interface OrderNonNullableFields$1 {
|
|
|
22005
22112
|
additionalFees: AdditionalFeeNonNullableFields$1[];
|
|
22006
22113
|
recipientInfo?: AddressWithContactNonNullableFields$1;
|
|
22007
22114
|
tags?: TagsNonNullableFields$1;
|
|
22115
|
+
businessLocation?: LocationNonNullableFields$1;
|
|
22008
22116
|
}
|
|
22009
22117
|
interface CommitDraftOrderResponseNonNullableFields {
|
|
22010
22118
|
committedDraftOrder?: DraftOrderNonNullableFields;
|
|
@@ -22259,7 +22367,7 @@ interface GetDraftOrderSignature {
|
|
|
22259
22367
|
declare function getOrderDraftabilityStatus$1(httpClient: HttpClient): GetOrderDraftabilityStatusSignature;
|
|
22260
22368
|
interface GetOrderDraftabilityStatusSignature {
|
|
22261
22369
|
/**
|
|
22262
|
-
* Checks whether a draft can be created for
|
|
22370
|
+
* Checks whether a draft can be created for this order
|
|
22263
22371
|
* @param - Order ID.
|
|
22264
22372
|
*/
|
|
22265
22373
|
(orderId: string): Promise<GetOrderDraftabilityStatusResponse & GetOrderDraftabilityStatusResponseNonNullableFields>;
|
|
@@ -22332,6 +22440,9 @@ declare const context$g_AppliedDiscountDiscountType: typeof AppliedDiscountDisco
|
|
|
22332
22440
|
type context$g_BillingChangedDetails = BillingChangedDetails;
|
|
22333
22441
|
type context$g_BillingDetails = BillingDetails;
|
|
22334
22442
|
type context$g_BillingDetailsChangeTypeOneOf = BillingDetailsChangeTypeOneOf;
|
|
22443
|
+
type context$g_BusinessLocationChangedDetails = BusinessLocationChangedDetails;
|
|
22444
|
+
type context$g_BusinessLocationDetails = BusinessLocationDetails;
|
|
22445
|
+
type context$g_BusinessLocationDetailsChangeTypeOneOf = BusinessLocationDetailsChangeTypeOneOf;
|
|
22335
22446
|
type context$g_BuyerChangedDetails = BuyerChangedDetails;
|
|
22336
22447
|
type context$g_BuyerDetailsChangeTypeOneOf = BuyerDetailsChangeTypeOneOf;
|
|
22337
22448
|
type context$g_CalculatedDraftOrder = CalculatedDraftOrder;
|
|
@@ -22407,6 +22518,8 @@ type context$g_SetAdditionalFeesResponseNonNullableFields = SetAdditionalFeesRes
|
|
|
22407
22518
|
type context$g_SetBillingInfoRequest = SetBillingInfoRequest;
|
|
22408
22519
|
type context$g_SetBillingInfoResponse = SetBillingInfoResponse;
|
|
22409
22520
|
type context$g_SetBillingInfoResponseNonNullableFields = SetBillingInfoResponseNonNullableFields;
|
|
22521
|
+
type context$g_SetBusinessLocationRequest = SetBusinessLocationRequest;
|
|
22522
|
+
type context$g_SetBusinessLocationResponse = SetBusinessLocationResponse;
|
|
22410
22523
|
type context$g_SetBuyerInfoRequest = SetBuyerInfoRequest;
|
|
22411
22524
|
type context$g_SetBuyerInfoResponse = SetBuyerInfoResponse;
|
|
22412
22525
|
type context$g_SetBuyerInfoResponseNonNullableFields = SetBuyerInfoResponseNonNullableFields;
|
|
@@ -22459,7 +22572,7 @@ declare const context$g_setRecipientInfo: typeof setRecipientInfo;
|
|
|
22459
22572
|
declare const context$g_setShippingInfo: typeof setShippingInfo;
|
|
22460
22573
|
declare const context$g_updateLineItems: typeof updateLineItems;
|
|
22461
22574
|
declare namespace context$g {
|
|
22462
|
-
export { type ActionEvent$c as ActionEvent, type Activity$2 as Activity, type ActivityContentOneOf$1 as ActivityContentOneOf, ActivityType$2 as ActivityType, type context$g_AddLineItemsToDraftOrderOptions as AddLineItemsToDraftOrderOptions, type context$g_AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequest, type context$g_AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponse, type context$g_AddLineItemsToDraftOrderResponseNonNullableFields as AddLineItemsToDraftOrderResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type context$g_AdditionalFeeDetails as AdditionalFeeDetails, type context$g_AdditionalFeeOption as AdditionalFeeOption, type Address$6 as Address, type AddressLocation$5 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type ApplicationError$6 as ApplicationError, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, context$g_AppliedDiscountDiscountType as AppliedDiscountDiscountType, AttributionSource$1 as AttributionSource, type AuthorizedPaymentCaptured$1 as AuthorizedPaymentCaptured, type AuthorizedPaymentCreated$1 as AuthorizedPaymentCreated, type AuthorizedPaymentVoided$1 as AuthorizedPaymentVoided, type Balance$1 as Balance, type BalanceSummary$1 as BalanceSummary, type context$g_BillingChangedDetails as BillingChangedDetails, type context$g_BillingDetails as BillingDetails, type context$g_BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOf, type context$g_BuyerChangedDetails as BuyerChangedDetails, type BuyerDetails$1 as BuyerDetails, type context$g_BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOf, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type context$g_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$4 as CatalogReference, type context$g_CatalogReferenceLineItem as CatalogReferenceLineItem, type ChannelInfo$2 as ChannelInfo, ChannelType$2 as ChannelType, type Color$1 as Color, type context$g_CommitDraftOrderOptions as CommitDraftOrderOptions, type context$g_CommitDraftOrderRequest as CommitDraftOrderRequest, type context$g_CommitDraftOrderResponse as CommitDraftOrderResponse, type context$g_CommitDraftOrderResponseNonNullableFields as CommitDraftOrderResponseNonNullableFields, type Coupon$2 as Coupon, type context$g_CreateCustomAdditionalFeesOptions as CreateCustomAdditionalFeesOptions, type context$g_CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequest, type context$g_CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponse, type context$g_CreateCustomAdditionalFeesResponseNonNullableFields as CreateCustomAdditionalFeesResponseNonNullableFields, type context$g_CreateCustomDiscountsOptions as CreateCustomDiscountsOptions, type context$g_CreateCustomDiscountsRequest as CreateCustomDiscountsRequest, type context$g_CreateCustomDiscountsResponse as CreateCustomDiscountsResponse, type context$g_CreateCustomDiscountsResponseNonNullableFields as CreateCustomDiscountsResponseNonNullableFields, type context$g_CreateDraftOrderRequest as CreateDraftOrderRequest, type context$g_CreateDraftOrderResponse as CreateDraftOrderResponse, type context$g_CreateDraftOrderResponseNonNullableFields as CreateDraftOrderResponseNonNullableFields, type context$g_CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequest, type context$g_CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponse, type context$g_CreateEmptyDraftOrderResponseNonNullableFields as CreateEmptyDraftOrderResponseNonNullableFields, type context$g_CreateOrderFromDraftRequest as CreateOrderFromDraftRequest, type context$g_CreateOrderFromDraftResponse as CreateOrderFromDraftResponse, type context$g_CreateOrderFromDraftResponseNonNullableFields as CreateOrderFromDraftResponseNonNullableFields, type CreatedBy$1 as CreatedBy, type CreatedByStringOneOf$1 as CreatedByStringOneOf, type CreditCardDetails$1 as CreditCardDetails, type CursorPaging$9 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$9 as Cursors, type CustomActivity$1 as CustomActivity, type CustomField$2 as CustomField, type context$g_CustomLineItem as CustomLineItem, type context$g_DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequest, type context$g_DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponse, type context$g_DeleteCustomAdditionalFeesResponseNonNullableFields as DeleteCustomAdditionalFeesResponseNonNullableFields, type context$g_DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequest, type context$g_DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponse, type context$g_DeleteCustomDiscountsResponseNonNullableFields as DeleteCustomDiscountsResponseNonNullableFields, type context$g_DeleteDraftOrderRequest as DeleteDraftOrderRequest, type context$g_DeleteDraftOrderResponse as DeleteDraftOrderResponse, type DeliveryLogistics$3 as DeliveryLogistics, type DeliveryTimeSlot$3 as DeliveryTimeSlot, type DescriptionLine$1 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$1 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$1 as DescriptionLineName, DescriptionLineType$1 as DescriptionLineType, type DescriptionLineValueOneOf$1 as DescriptionLineValueOneOf, type Details$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DigitalFile$2 as DigitalFile, type context$g_DiscountDetails as DiscountDetails, type context$g_DiscountOption as DiscountOption, type context$g_DiscountOptionDiscountAmountOneOf as DiscountOptionDiscountAmountOneOf, DiscountReason$1 as DiscountReason, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$c as DomainEvent, type DomainEventBodyOneOf$c as DomainEventBodyOneOf, type context$g_DraftOrder as DraftOrder, type DraftOrderChangesApplied$1 as DraftOrderChangesApplied, type DraftOrderCommitSettings$1 as DraftOrderCommitSettings, type context$g_DraftOrdersQueryBuilder as DraftOrdersQueryBuilder, type context$g_DraftOrdersQueryResult as DraftOrdersQueryResult, context$g_EditingStatus as EditingStatus, type EntityCreatedEvent$c as EntityCreatedEvent, type EntityDeletedEvent$c as EntityDeletedEvent, type EntityUpdatedEvent$c as EntityUpdatedEvent, type ExtendedFields$5 as ExtendedFields, type FieldViolation$2 as FieldViolation, context$g_FileType as FileType, FulfillmentStatus$3 as FulfillmentStatus, type FulfillmentStatusesAggregate$1 as FulfillmentStatusesAggregate, type FullAddressContactDetails$2 as FullAddressContactDetails, type context$g_GetDraftEditabilityStatusRequest as GetDraftEditabilityStatusRequest, type context$g_GetDraftEditabilityStatusResponse as GetDraftEditabilityStatusResponse, type context$g_GetDraftOrderRequest as GetDraftOrderRequest, type context$g_GetDraftOrderResponse as GetDraftOrderResponse, type context$g_GetDraftOrderResponseNonNullableFields as GetDraftOrderResponseNonNullableFields, type context$g_GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequest, type context$g_GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponse, type context$g_GetOrderDraftabilityStatusResponseNonNullableFields as GetOrderDraftabilityStatusResponseNonNullableFields, type GiftCardPaymentRefund$1 as GiftCardPaymentRefund, type context$g_IdAndApplied as IdAndApplied, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type context$g_InventoryUpdate as InventoryUpdate, type ItemChangedDetails$1 as ItemChangedDetails, type context$g_ItemDetails as ItemDetails, type context$g_ItemDetailsChangeTypeOneOf as ItemDetailsChangeTypeOneOf, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItemAmount$1 as LineItemAmount, type context$g_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$b as MessageEnvelope, type NewExchangeOrderCreated$1 as NewExchangeOrderCreated, context$g_NonDraftableReason as NonDraftableReason, type Order$2 as Order, type OrderChange$1 as OrderChange, type OrderChangeValueOneOf$1 as OrderChangeValueOneOf, type OrderCreateNotifications$1 as OrderCreateNotifications, type context$g_OrderCreateSettings as OrderCreateSettings, type OrderCreatedFromExchange$1 as OrderCreatedFromExchange, type OrderLineItem$1 as OrderLineItem, type OrderRefunded$2 as OrderRefunded, OrderStatus$1 as OrderStatus, type OrderTaxBreakdown$1 as OrderTaxBreakdown, type OrderTaxInfo$1 as OrderTaxInfo, type PaymentCanceled$1 as PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf$1 as PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined$1 as PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf$1 as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$2 as PaymentOptionType, type PaymentPending$1 as PaymentPending, type PaymentPendingPaymentDetailsOneOf$1 as PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed$1 as PaymentRefundFailed, type PaymentRefunded$1 as PaymentRefunded, PaymentStatus$2 as PaymentStatus, type PhysicalProperties$3 as PhysicalProperties, type PickupAddress$2 as PickupAddress, type PickupDetails$4 as PickupDetails, context$g_PickupDetailsPickupMethod as PickupDetailsPickupMethod, PickupMethod$3 as PickupMethod, type PlainTextValue$1 as PlainTextValue, type Price$4 as Price, type PriceDescription$1 as PriceDescription, type PriceSummary$2 as PriceSummary, type ProductName$1 as ProductName, type context$g_QueryDraftOrdersRequest as QueryDraftOrdersRequest, type context$g_QueryDraftOrdersResponse as QueryDraftOrdersResponse, type context$g_QueryDraftOrdersResponseNonNullableFields as QueryDraftOrdersResponseNonNullableFields, type context$g_RecipientInfoChangedDetails as RecipientInfoChangedDetails, type context$g_RecipientInfoDetails as RecipientInfoDetails, type context$g_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$c as RestoreInfo, RuleType$2 as RuleType, type SavedPaymentMethod$1 as SavedPaymentMethod, type context$g_SecuredMedia as SecuredMedia, type context$g_SetAdditionalFeesRequest as SetAdditionalFeesRequest, type context$g_SetAdditionalFeesResponse as SetAdditionalFeesResponse, type context$g_SetAdditionalFeesResponseNonNullableFields as SetAdditionalFeesResponseNonNullableFields, type context$g_SetBillingInfoRequest as SetBillingInfoRequest, type context$g_SetBillingInfoResponse as SetBillingInfoResponse, type context$g_SetBillingInfoResponseNonNullableFields as SetBillingInfoResponseNonNullableFields, type context$g_SetBuyerInfoRequest as SetBuyerInfoRequest, type context$g_SetBuyerInfoResponse as SetBuyerInfoResponse, type context$g_SetBuyerInfoResponseNonNullableFields as SetBuyerInfoResponseNonNullableFields, type context$g_SetDiscountsRequest as SetDiscountsRequest, type context$g_SetDiscountsResponse as SetDiscountsResponse, type context$g_SetDiscountsResponseNonNullableFields as SetDiscountsResponseNonNullableFields, type context$g_SetRecipientInfoRequest as SetRecipientInfoRequest, type context$g_SetRecipientInfoResponse as SetRecipientInfoResponse, type context$g_SetRecipientInfoResponseNonNullableFields as SetRecipientInfoResponseNonNullableFields, type context$g_SetShippingInfoRequest as SetShippingInfoRequest, type context$g_SetShippingInfoResponse as SetShippingInfoResponse, type context$g_SetShippingInfoResponseNonNullableFields as SetShippingInfoResponseNonNullableFields, type context$g_SetTaxExemptionRequest as SetTaxExemptionRequest, type context$g_SetTaxExemptionResponse as SetTaxExemptionResponse, type context$g_ShippingChangedDetails as ShippingChangedDetails, type context$g_ShippingDetails as ShippingDetails, type context$g_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$9 as SortOrder, type Sorting$9 as Sorting, SourceType$1 as SourceType, type StreetAddress$5 as StreetAddress, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionInfo$2 as SubscriptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type TagList$1 as TagList, type Tags$1 as Tags, type TaxDetails$1 as TaxDetails, type TaxSummary$2 as TaxSummary, type TaxableAddress$2 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$2 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$2 as TaxableAddressType, type TotalPriceChange$1 as TotalPriceChange, type TranslatedValue$1 as TranslatedValue, type UpdateExtendedFieldsRequest$3 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$3 as UpdateExtendedFieldsResponse, type context$g_UpdateLineItemsOptions as UpdateLineItemsOptions, type context$g_UpdateLineItemsRequest as UpdateLineItemsRequest, type context$g_UpdateLineItemsResponse as UpdateLineItemsResponse, type context$g_UpdateLineItemsResponseNonNullableFields as UpdateLineItemsResponseNonNullableFields, type context$g_UpdateShippingInfoRequest as UpdateShippingInfoRequest, type context$g_UpdateShippingInfoResponse as UpdateShippingInfoResponse, type context$g_V1BalanceSummary as V1BalanceSummary, type context$g_V1CreatedBy as V1CreatedBy, type context$g_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type context$g_V1DeliveryLogistics as V1DeliveryLogistics, type context$g_V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOf, type context$g_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type context$g_V1PickupDetails as V1PickupDetails, type V1ShippingInformation$1 as V1ShippingInformation, type context$g_V1ShippingPrice as V1ShippingPrice, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$4 as WeightUnit, context$g_addLineItemsToDraftOrder as addLineItemsToDraftOrder, context$g_commitDraftOrder as commitDraftOrder, context$g_createCustomAdditionalFees as createCustomAdditionalFees, context$g_createCustomDiscounts as createCustomDiscounts, context$g_createDraftOrder as createDraftOrder, context$g_createEmptyDraftOrder as createEmptyDraftOrder, context$g_createOrderFromDraft as createOrderFromDraft, context$g_deleteCustomAdditionalFees as deleteCustomAdditionalFees, context$g_deleteCustomDiscounts as deleteCustomDiscounts, context$g_deleteDraftOrder as deleteDraftOrder, context$g_getDraftOrder as getDraftOrder, context$g_getOrderDraftabilityStatus as getOrderDraftabilityStatus, context$g_queryDraftOrders as queryDraftOrders, context$g_setAdditionalFees as setAdditionalFees, context$g_setBillingInfo as setBillingInfo, context$g_setBuyerInfo as setBuyerInfo, context$g_setDiscounts as setDiscounts, context$g_setRecipientInfo as setRecipientInfo, context$g_setShippingInfo as setShippingInfo, context$g_updateLineItems as updateLineItems };
|
|
22575
|
+
export { type ActionEvent$c as ActionEvent, type Activity$2 as Activity, type ActivityContentOneOf$1 as ActivityContentOneOf, ActivityType$2 as ActivityType, type context$g_AddLineItemsToDraftOrderOptions as AddLineItemsToDraftOrderOptions, type context$g_AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequest, type context$g_AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponse, type context$g_AddLineItemsToDraftOrderResponseNonNullableFields as AddLineItemsToDraftOrderResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type context$g_AdditionalFeeDetails as AdditionalFeeDetails, type context$g_AdditionalFeeOption as AdditionalFeeOption, type Address$6 as Address, type AddressLocation$5 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type ApplicationError$6 as ApplicationError, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, context$g_AppliedDiscountDiscountType as AppliedDiscountDiscountType, AttributionSource$1 as AttributionSource, type AuthorizedPaymentCaptured$1 as AuthorizedPaymentCaptured, type AuthorizedPaymentCreated$1 as AuthorizedPaymentCreated, type AuthorizedPaymentVoided$1 as AuthorizedPaymentVoided, type Balance$1 as Balance, type BalanceSummary$1 as BalanceSummary, type context$g_BillingChangedDetails as BillingChangedDetails, type context$g_BillingDetails as BillingDetails, type context$g_BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOf, type context$g_BusinessLocationChangedDetails as BusinessLocationChangedDetails, type context$g_BusinessLocationDetails as BusinessLocationDetails, type context$g_BusinessLocationDetailsChangeTypeOneOf as BusinessLocationDetailsChangeTypeOneOf, type context$g_BuyerChangedDetails as BuyerChangedDetails, type BuyerDetails$1 as BuyerDetails, type context$g_BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOf, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type context$g_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$4 as CatalogReference, type context$g_CatalogReferenceLineItem as CatalogReferenceLineItem, type ChannelInfo$2 as ChannelInfo, ChannelType$2 as ChannelType, type Color$1 as Color, type context$g_CommitDraftOrderOptions as CommitDraftOrderOptions, type context$g_CommitDraftOrderRequest as CommitDraftOrderRequest, type context$g_CommitDraftOrderResponse as CommitDraftOrderResponse, type context$g_CommitDraftOrderResponseNonNullableFields as CommitDraftOrderResponseNonNullableFields, type Coupon$2 as Coupon, type context$g_CreateCustomAdditionalFeesOptions as CreateCustomAdditionalFeesOptions, type context$g_CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequest, type context$g_CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponse, type context$g_CreateCustomAdditionalFeesResponseNonNullableFields as CreateCustomAdditionalFeesResponseNonNullableFields, type context$g_CreateCustomDiscountsOptions as CreateCustomDiscountsOptions, type context$g_CreateCustomDiscountsRequest as CreateCustomDiscountsRequest, type context$g_CreateCustomDiscountsResponse as CreateCustomDiscountsResponse, type context$g_CreateCustomDiscountsResponseNonNullableFields as CreateCustomDiscountsResponseNonNullableFields, type context$g_CreateDraftOrderRequest as CreateDraftOrderRequest, type context$g_CreateDraftOrderResponse as CreateDraftOrderResponse, type context$g_CreateDraftOrderResponseNonNullableFields as CreateDraftOrderResponseNonNullableFields, type context$g_CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequest, type context$g_CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponse, type context$g_CreateEmptyDraftOrderResponseNonNullableFields as CreateEmptyDraftOrderResponseNonNullableFields, type context$g_CreateOrderFromDraftRequest as CreateOrderFromDraftRequest, type context$g_CreateOrderFromDraftResponse as CreateOrderFromDraftResponse, type context$g_CreateOrderFromDraftResponseNonNullableFields as CreateOrderFromDraftResponseNonNullableFields, type CreatedBy$1 as CreatedBy, type CreatedByStringOneOf$1 as CreatedByStringOneOf, type CreditCardDetails$1 as CreditCardDetails, type CursorPaging$9 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$9 as Cursors, type CustomActivity$1 as CustomActivity, type CustomField$2 as CustomField, type context$g_CustomLineItem as CustomLineItem, type context$g_DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequest, type context$g_DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponse, type context$g_DeleteCustomAdditionalFeesResponseNonNullableFields as DeleteCustomAdditionalFeesResponseNonNullableFields, type context$g_DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequest, type context$g_DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponse, type context$g_DeleteCustomDiscountsResponseNonNullableFields as DeleteCustomDiscountsResponseNonNullableFields, type context$g_DeleteDraftOrderRequest as DeleteDraftOrderRequest, type context$g_DeleteDraftOrderResponse as DeleteDraftOrderResponse, type DeliveryLogistics$3 as DeliveryLogistics, type DeliveryTimeSlot$3 as DeliveryTimeSlot, type DescriptionLine$1 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$1 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$1 as DescriptionLineName, DescriptionLineType$1 as DescriptionLineType, type DescriptionLineValueOneOf$1 as DescriptionLineValueOneOf, type Details$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DigitalFile$2 as DigitalFile, type context$g_DiscountDetails as DiscountDetails, type context$g_DiscountOption as DiscountOption, type context$g_DiscountOptionDiscountAmountOneOf as DiscountOptionDiscountAmountOneOf, DiscountReason$1 as DiscountReason, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$c as DomainEvent, type DomainEventBodyOneOf$c as DomainEventBodyOneOf, type context$g_DraftOrder as DraftOrder, type DraftOrderChangesApplied$1 as DraftOrderChangesApplied, type DraftOrderCommitSettings$1 as DraftOrderCommitSettings, type context$g_DraftOrdersQueryBuilder as DraftOrdersQueryBuilder, type context$g_DraftOrdersQueryResult as DraftOrdersQueryResult, context$g_EditingStatus as EditingStatus, type EntityCreatedEvent$c as EntityCreatedEvent, type EntityDeletedEvent$c as EntityDeletedEvent, type EntityUpdatedEvent$c as EntityUpdatedEvent, type ExtendedFields$5 as ExtendedFields, type FieldViolation$2 as FieldViolation, context$g_FileType as FileType, type FocalPoint$1 as FocalPoint, FulfillmentStatus$3 as FulfillmentStatus, type FulfillmentStatusesAggregate$1 as FulfillmentStatusesAggregate, type FullAddressContactDetails$2 as FullAddressContactDetails, type context$g_GetDraftEditabilityStatusRequest as GetDraftEditabilityStatusRequest, type context$g_GetDraftEditabilityStatusResponse as GetDraftEditabilityStatusResponse, type context$g_GetDraftOrderRequest as GetDraftOrderRequest, type context$g_GetDraftOrderResponse as GetDraftOrderResponse, type context$g_GetDraftOrderResponseNonNullableFields as GetDraftOrderResponseNonNullableFields, type context$g_GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequest, type context$g_GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponse, type context$g_GetOrderDraftabilityStatusResponseNonNullableFields as GetOrderDraftabilityStatusResponseNonNullableFields, type GiftCardPaymentRefund$1 as GiftCardPaymentRefund, type context$g_IdAndApplied as IdAndApplied, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type context$g_InventoryUpdate as InventoryUpdate, type ItemChangedDetails$1 as ItemChangedDetails, type context$g_ItemDetails as ItemDetails, type context$g_ItemDetailsChangeTypeOneOf as ItemDetailsChangeTypeOneOf, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItemAmount$1 as LineItemAmount, type context$g_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 Location$1 as Location, 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$b as MessageEnvelope, type NewExchangeOrderCreated$1 as NewExchangeOrderCreated, context$g_NonDraftableReason as NonDraftableReason, type Order$2 as Order, type OrderChange$1 as OrderChange, type OrderChangeValueOneOf$1 as OrderChangeValueOneOf, type OrderCreateNotifications$1 as OrderCreateNotifications, type context$g_OrderCreateSettings as OrderCreateSettings, type OrderCreatedFromExchange$1 as OrderCreatedFromExchange, type OrderLineItem$1 as OrderLineItem, type OrderRefunded$2 as OrderRefunded, OrderStatus$1 as OrderStatus, type OrderTaxBreakdown$1 as OrderTaxBreakdown, type OrderTaxInfo$1 as OrderTaxInfo, type PaymentCanceled$1 as PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf$1 as PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined$1 as PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf$1 as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$2 as PaymentOptionType, type PaymentPending$1 as PaymentPending, type PaymentPendingPaymentDetailsOneOf$1 as PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed$1 as PaymentRefundFailed, type PaymentRefunded$1 as PaymentRefunded, PaymentStatus$2 as PaymentStatus, type PhysicalProperties$3 as PhysicalProperties, type PickupAddress$2 as PickupAddress, type PickupDetails$4 as PickupDetails, context$g_PickupDetailsPickupMethod as PickupDetailsPickupMethod, PickupMethod$3 as PickupMethod, type PlainTextValue$1 as PlainTextValue, type Price$4 as Price, type PriceDescription$1 as PriceDescription, type PriceSummary$2 as PriceSummary, type ProductName$1 as ProductName, type context$g_QueryDraftOrdersRequest as QueryDraftOrdersRequest, type context$g_QueryDraftOrdersResponse as QueryDraftOrdersResponse, type context$g_QueryDraftOrdersResponseNonNullableFields as QueryDraftOrdersResponseNonNullableFields, type context$g_RecipientInfoChangedDetails as RecipientInfoChangedDetails, type context$g_RecipientInfoDetails as RecipientInfoDetails, type context$g_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$c as RestoreInfo, RuleType$2 as RuleType, type SavedPaymentMethod$1 as SavedPaymentMethod, type context$g_SecuredMedia as SecuredMedia, type context$g_SetAdditionalFeesRequest as SetAdditionalFeesRequest, type context$g_SetAdditionalFeesResponse as SetAdditionalFeesResponse, type context$g_SetAdditionalFeesResponseNonNullableFields as SetAdditionalFeesResponseNonNullableFields, type context$g_SetBillingInfoRequest as SetBillingInfoRequest, type context$g_SetBillingInfoResponse as SetBillingInfoResponse, type context$g_SetBillingInfoResponseNonNullableFields as SetBillingInfoResponseNonNullableFields, type context$g_SetBusinessLocationRequest as SetBusinessLocationRequest, type context$g_SetBusinessLocationResponse as SetBusinessLocationResponse, type context$g_SetBuyerInfoRequest as SetBuyerInfoRequest, type context$g_SetBuyerInfoResponse as SetBuyerInfoResponse, type context$g_SetBuyerInfoResponseNonNullableFields as SetBuyerInfoResponseNonNullableFields, type context$g_SetDiscountsRequest as SetDiscountsRequest, type context$g_SetDiscountsResponse as SetDiscountsResponse, type context$g_SetDiscountsResponseNonNullableFields as SetDiscountsResponseNonNullableFields, type context$g_SetRecipientInfoRequest as SetRecipientInfoRequest, type context$g_SetRecipientInfoResponse as SetRecipientInfoResponse, type context$g_SetRecipientInfoResponseNonNullableFields as SetRecipientInfoResponseNonNullableFields, type context$g_SetShippingInfoRequest as SetShippingInfoRequest, type context$g_SetShippingInfoResponse as SetShippingInfoResponse, type context$g_SetShippingInfoResponseNonNullableFields as SetShippingInfoResponseNonNullableFields, type context$g_SetTaxExemptionRequest as SetTaxExemptionRequest, type context$g_SetTaxExemptionResponse as SetTaxExemptionResponse, type context$g_ShippingChangedDetails as ShippingChangedDetails, type context$g_ShippingDetails as ShippingDetails, type context$g_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$9 as SortOrder, type Sorting$9 as Sorting, SourceType$1 as SourceType, type StreetAddress$5 as StreetAddress, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionInfo$2 as SubscriptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type TagList$1 as TagList, type Tags$1 as Tags, type TaxDetails$1 as TaxDetails, type TaxSummary$2 as TaxSummary, type TaxableAddress$2 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$2 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$2 as TaxableAddressType, type TotalPriceChange$1 as TotalPriceChange, type TranslatedValue$1 as TranslatedValue, type UpdateExtendedFieldsRequest$3 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$3 as UpdateExtendedFieldsResponse, type context$g_UpdateLineItemsOptions as UpdateLineItemsOptions, type context$g_UpdateLineItemsRequest as UpdateLineItemsRequest, type context$g_UpdateLineItemsResponse as UpdateLineItemsResponse, type context$g_UpdateLineItemsResponseNonNullableFields as UpdateLineItemsResponseNonNullableFields, type context$g_UpdateShippingInfoRequest as UpdateShippingInfoRequest, type context$g_UpdateShippingInfoResponse as UpdateShippingInfoResponse, type context$g_V1BalanceSummary as V1BalanceSummary, type context$g_V1CreatedBy as V1CreatedBy, type context$g_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type context$g_V1DeliveryLogistics as V1DeliveryLogistics, type context$g_V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOf, type context$g_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type context$g_V1PickupDetails as V1PickupDetails, type V1ShippingInformation$1 as V1ShippingInformation, type context$g_V1ShippingPrice as V1ShippingPrice, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$4 as WeightUnit, context$g_addLineItemsToDraftOrder as addLineItemsToDraftOrder, context$g_commitDraftOrder as commitDraftOrder, context$g_createCustomAdditionalFees as createCustomAdditionalFees, context$g_createCustomDiscounts as createCustomDiscounts, context$g_createDraftOrder as createDraftOrder, context$g_createEmptyDraftOrder as createEmptyDraftOrder, context$g_createOrderFromDraft as createOrderFromDraft, context$g_deleteCustomAdditionalFees as deleteCustomAdditionalFees, context$g_deleteCustomDiscounts as deleteCustomDiscounts, context$g_deleteDraftOrder as deleteDraftOrder, context$g_getDraftOrder as getDraftOrder, context$g_getOrderDraftabilityStatus as getOrderDraftabilityStatus, context$g_queryDraftOrders as queryDraftOrders, context$g_setAdditionalFees as setAdditionalFees, context$g_setBillingInfo as setBillingInfo, context$g_setBuyerInfo as setBuyerInfo, context$g_setDiscounts as setDiscounts, context$g_setRecipientInfo as setRecipientInfo, context$g_setShippingInfo as setShippingInfo, context$g_updateLineItems as updateLineItems };
|
|
22463
22576
|
}
|
|
22464
22577
|
|
|
22465
22578
|
interface OrderWithFulfillments {
|
|
@@ -24447,6 +24560,16 @@ declare enum DescriptionLineType {
|
|
|
24447
24560
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
24448
24561
|
COLOR = "COLOR"
|
|
24449
24562
|
}
|
|
24563
|
+
interface FocalPoint {
|
|
24564
|
+
/** X-coordinate of the focal point. */
|
|
24565
|
+
x?: number;
|
|
24566
|
+
/** Y-coordinate of the focal point. */
|
|
24567
|
+
y?: number;
|
|
24568
|
+
/** crop by height */
|
|
24569
|
+
height?: number | null;
|
|
24570
|
+
/** crop by width */
|
|
24571
|
+
width?: number | null;
|
|
24572
|
+
}
|
|
24450
24573
|
interface PhysicalProperties$2 {
|
|
24451
24574
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
24452
24575
|
weight?: number | null;
|
|
@@ -25548,6 +25671,18 @@ interface TagList {
|
|
|
25548
25671
|
/** List of tag IDs */
|
|
25549
25672
|
tagIds?: string[];
|
|
25550
25673
|
}
|
|
25674
|
+
interface Location {
|
|
25675
|
+
/**
|
|
25676
|
+
* Location ID.
|
|
25677
|
+
* Learn more about the [Wix Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
|
|
25678
|
+
*/
|
|
25679
|
+
_id?: string;
|
|
25680
|
+
/**
|
|
25681
|
+
* Location name.
|
|
25682
|
+
* @readonly
|
|
25683
|
+
*/
|
|
25684
|
+
name?: string;
|
|
25685
|
+
}
|
|
25551
25686
|
interface TriggerReindexOrderRequest {
|
|
25552
25687
|
metasiteId?: string;
|
|
25553
25688
|
orderId?: string;
|
|
@@ -25560,6 +25695,19 @@ interface OrderRejectedEventOrderRejected {
|
|
|
25560
25695
|
/** The order that was rejected */
|
|
25561
25696
|
order?: Order$1;
|
|
25562
25697
|
}
|
|
25698
|
+
/** Triggered when order items are marked as restocked */
|
|
25699
|
+
interface OrderItemsRestocked {
|
|
25700
|
+
/** The order which items were restocked */
|
|
25701
|
+
order?: Order$1;
|
|
25702
|
+
/** Restocked items and quantities */
|
|
25703
|
+
restockItems?: V1RestockItem[];
|
|
25704
|
+
}
|
|
25705
|
+
interface V1RestockItem {
|
|
25706
|
+
/** ID of the line item being restocked. */
|
|
25707
|
+
lineItemId?: string;
|
|
25708
|
+
/** Line item quantity being restocked. */
|
|
25709
|
+
quantity?: number;
|
|
25710
|
+
}
|
|
25563
25711
|
interface GetMetasiteDataRequest {
|
|
25564
25712
|
/** meta site Id for data to retrieve */
|
|
25565
25713
|
metasiteId?: string;
|
|
@@ -26695,7 +26843,9 @@ declare enum PaymentCollectabilityStatus {
|
|
|
26695
26843
|
COLLECTABLE = "COLLECTABLE",
|
|
26696
26844
|
NONCOLLECTABLE_ORDER_IS_CANCELLED = "NONCOLLECTABLE_ORDER_IS_CANCELLED",
|
|
26697
26845
|
NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
|
|
26698
|
-
NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD"
|
|
26846
|
+
NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD",
|
|
26847
|
+
NONCOLLECTABLE_ORDER_IS_PENDING = "NONCOLLECTABLE_ORDER_IS_PENDING",
|
|
26848
|
+
NONCOLLECTABLE_ORDER_IS_REJECTED = "NONCOLLECTABLE_ORDER_IS_REJECTED"
|
|
26699
26849
|
}
|
|
26700
26850
|
interface RecordManuallyCollectedPaymentRequest {
|
|
26701
26851
|
/** Order ID. */
|
|
@@ -26817,7 +26967,8 @@ declare enum NonRefundableReason$1 {
|
|
|
26817
26967
|
DISABLED_BY_PROVIDER = "DISABLED_BY_PROVIDER",
|
|
26818
26968
|
PENDING_REFUND = "PENDING_REFUND",
|
|
26819
26969
|
FORBIDDEN = "FORBIDDEN",
|
|
26820
|
-
TRANSACTION_NOT_FOUND = "TRANSACTION_NOT_FOUND"
|
|
26970
|
+
TRANSACTION_NOT_FOUND = "TRANSACTION_NOT_FOUND",
|
|
26971
|
+
ORDER_IS_PENDING = "ORDER_IS_PENDING"
|
|
26821
26972
|
}
|
|
26822
26973
|
declare enum ManuallyRefundableReason$1 {
|
|
26823
26974
|
EXPIRED = "EXPIRED",
|
|
@@ -26939,21 +27090,6 @@ interface TriggerRefundResponse$1 {
|
|
|
26939
27090
|
/** Payment ID's that the refund execution had failed for */
|
|
26940
27091
|
failedPaymentIds?: ItemMetadata$1[];
|
|
26941
27092
|
}
|
|
26942
|
-
/** Triggered when a refund is created. */
|
|
26943
|
-
interface RefundCreated {
|
|
26944
|
-
/** Updated order transactions. */
|
|
26945
|
-
orderTransactions?: OrderTransactions$1;
|
|
26946
|
-
/** ID of the created refund. */
|
|
26947
|
-
refundId?: string;
|
|
26948
|
-
/** Inventory restock details as part of this refund.. */
|
|
26949
|
-
restockInfo?: RestockInfo$1;
|
|
26950
|
-
/** Whether to send a refund confirmation email to the customer. */
|
|
26951
|
-
sendOrderRefundedEmail?: boolean;
|
|
26952
|
-
/** Custom message added to the refund confirmation email. */
|
|
26953
|
-
customMessage?: string | null;
|
|
26954
|
-
/** Refunded line items and quantities that are part of the created refund. */
|
|
26955
|
-
refundItems?: RefundItem$1[];
|
|
26956
|
-
}
|
|
26957
27093
|
interface CalculateRefundRequest$1 {
|
|
26958
27094
|
/** Order ID */
|
|
26959
27095
|
ecomOrderId?: string;
|
|
@@ -28021,19 +28157,6 @@ interface DecrementItemsQuantityResponse {
|
|
|
28021
28157
|
/** Updated order data */
|
|
28022
28158
|
order?: Order$1;
|
|
28023
28159
|
}
|
|
28024
|
-
/** Triggered when order items are marked as restocked */
|
|
28025
|
-
interface OrderItemsRestocked {
|
|
28026
|
-
/** The order which items were restocked */
|
|
28027
|
-
order?: Order$1;
|
|
28028
|
-
/** Restocked items and quantities */
|
|
28029
|
-
restockItems?: V1RestockItem[];
|
|
28030
|
-
}
|
|
28031
|
-
interface V1RestockItem {
|
|
28032
|
-
/** ID of the line item being restocked. */
|
|
28033
|
-
lineItemId?: string;
|
|
28034
|
-
/** Line item quantity being restocked. */
|
|
28035
|
-
quantity?: number;
|
|
28036
|
-
}
|
|
28037
28160
|
interface BulkUpdateOrderTagsRequest {
|
|
28038
28161
|
/** IDs of orders to update tags for. */
|
|
28039
28162
|
orderIds: string[];
|
|
@@ -28997,6 +29120,10 @@ interface TagsNonNullableFields {
|
|
|
28997
29120
|
privateTags?: TagListNonNullableFields;
|
|
28998
29121
|
tags?: TagListNonNullableFields;
|
|
28999
29122
|
}
|
|
29123
|
+
interface LocationNonNullableFields {
|
|
29124
|
+
_id: string;
|
|
29125
|
+
name: string;
|
|
29126
|
+
}
|
|
29000
29127
|
interface OrderNonNullableFields {
|
|
29001
29128
|
number: string;
|
|
29002
29129
|
lineItems: OrderLineItemNonNullableFields[];
|
|
@@ -29023,6 +29150,7 @@ interface OrderNonNullableFields {
|
|
|
29023
29150
|
additionalFees: AdditionalFeeNonNullableFields[];
|
|
29024
29151
|
recipientInfo?: AddressWithContactNonNullableFields;
|
|
29025
29152
|
tags?: TagsNonNullableFields;
|
|
29153
|
+
businessLocation?: LocationNonNullableFields;
|
|
29026
29154
|
}
|
|
29027
29155
|
interface GetOrderResponseNonNullableFields {
|
|
29028
29156
|
order?: OrderNonNullableFields;
|
|
@@ -29691,6 +29819,7 @@ declare const context$c_DurationUnit: typeof DurationUnit;
|
|
|
29691
29819
|
type context$c_Email = Email;
|
|
29692
29820
|
type context$c_EmailEdited = EmailEdited;
|
|
29693
29821
|
type context$c_ExternalUriMapping = ExternalUriMapping;
|
|
29822
|
+
type context$c_FocalPoint = FocalPoint;
|
|
29694
29823
|
type context$c_FulfillerEmailSent = FulfillerEmailSent;
|
|
29695
29824
|
type context$c_FulfillmentStatusUpdated = FulfillmentStatusUpdated;
|
|
29696
29825
|
type context$c_FulfillmentStatusesAggregate = FulfillmentStatusesAggregate;
|
|
@@ -29749,6 +29878,7 @@ type context$c_LineItems = LineItems;
|
|
|
29749
29878
|
type context$c_ListOrderTransactionsForMetasiteRequest = ListOrderTransactionsForMetasiteRequest;
|
|
29750
29879
|
type context$c_ListOrderTransactionsForMetasiteResponse = ListOrderTransactionsForMetasiteResponse;
|
|
29751
29880
|
type context$c_Locale = Locale;
|
|
29881
|
+
type context$c_Location = Location;
|
|
29752
29882
|
type context$c_LocationAndQuantity = LocationAndQuantity;
|
|
29753
29883
|
type context$c_ManagedAdditionalFee = ManagedAdditionalFee;
|
|
29754
29884
|
type context$c_ManagedDiscount = ManagedDiscount;
|
|
@@ -29864,7 +29994,6 @@ type context$c_QuotesAddress = QuotesAddress;
|
|
|
29864
29994
|
type context$c_RecordManuallyCollectedPaymentRequest = RecordManuallyCollectedPaymentRequest;
|
|
29865
29995
|
type context$c_RecordManuallyCollectedPaymentResponse = RecordManuallyCollectedPaymentResponse;
|
|
29866
29996
|
type context$c_RedirectUrls = RedirectUrls;
|
|
29867
|
-
type context$c_RefundCreated = RefundCreated;
|
|
29868
29997
|
type context$c_RefundInitiated = RefundInitiated;
|
|
29869
29998
|
type context$c_RefundedAsStoreCredit = RefundedAsStoreCredit;
|
|
29870
29999
|
type context$c_RefundedPayment = RefundedPayment;
|
|
@@ -29990,7 +30119,7 @@ declare const context$c_searchOrders: typeof searchOrders;
|
|
|
29990
30119
|
declare const context$c_updateOrder: typeof updateOrder;
|
|
29991
30120
|
declare const context$c_voidAuthorizedPayments: typeof voidAuthorizedPayments;
|
|
29992
30121
|
declare namespace context$c {
|
|
29993
|
-
export { type ActionEvent$9 as ActionEvent, ActionType$1 as ActionType, type Activity$1 as Activity, type context$c_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type context$c_AddActivitiesRequest as AddActivitiesRequest, type context$c_AddActivitiesResponse as AddActivitiesResponse, type context$c_AddActivityRequest as AddActivityRequest, type context$c_AddActivityResponse as AddActivityResponse, type context$c_AddInternalActivityRequest as AddInternalActivityRequest, type context$c_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type context$c_AdditionalFeeDelta as AdditionalFeeDelta, type context$c_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$1 as AdditionalFeeRefund, type Address$5 as Address, type context$c_AddressDescription as AddressDescription, type AddressLocation$3 as AddressLocation, type context$c_AddressWithContact as AddressWithContact, type context$c_AggregateOrdersRequest as AggregateOrdersRequest, type context$c_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$1 as AggregatedRefundSummary, type context$c_App as App, type ApplicationError$4 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type context$c_AppliedDiscountDelta as AppliedDiscountDelta, type context$c_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type context$c_ArchiveOrderRequest as ArchiveOrderRequest, type context$c_ArchiveOrderResponse as ArchiveOrderResponse, context$c_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$1 as AuthorizationActionFailureDetails, type AuthorizationCapture$1 as AuthorizationCapture, AuthorizationCaptureStatus$1 as AuthorizationCaptureStatus, type AuthorizationDetails$1 as AuthorizationDetails, type AuthorizationVoid$1 as AuthorizationVoid, AuthorizationVoidStatus$1 as AuthorizationVoidStatus, type context$c_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$c_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$c_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$c_Balance as Balance, type context$c_BalanceSummary as BalanceSummary, type BaseEventMetadata$3 as BaseEventMetadata, type context$c_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type context$c_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type context$c_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type context$c_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type context$c_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type context$c_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type context$c_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type context$c_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type context$c_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type context$c_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type context$c_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type context$c_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type context$c_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type context$c_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type context$c_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type context$c_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type context$c_BulkOrderResult as BulkOrderResult, type context$c_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type context$c_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type context$c_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type context$c_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type context$c_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type context$c_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type context$c_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type context$c_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type context$c_BulkUpdateOrderTagsOptions as BulkUpdateOrderTagsOptions, type context$c_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type context$c_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type context$c_BulkUpdateOrderTagsResponseNonNullableFields as BulkUpdateOrderTagsResponseNonNullableFields, type context$c_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type context$c_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type context$c_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type context$c_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type context$c_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type context$c_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type context$c_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type context$c_CalculatedTax as CalculatedTax, type context$c_CalculatedTaxes as CalculatedTaxes, type context$c_Cancel as Cancel, type context$c_CancelOrderOptions as CancelOrderOptions, type context$c_CancelOrderRequest as CancelOrderRequest, type context$c_CancelOrderResponse as CancelOrderResponse, type context$c_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type context$c_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type context$c_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type context$c_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$3 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type context$c_ChargeMembershipsRequest as ChargeMembershipsRequest, type context$c_ChargeMembershipsResponse as ChargeMembershipsResponse, type context$c_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type context$c_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type context$c_ChargedBy as ChargedBy, type context$c_Color as Color, type context$c_CommitDeltasRequest as CommitDeltasRequest, type context$c_CommitDeltasResponse as CommitDeltasResponse, type context$c_CommittedDiffs as CommittedDiffs, type context$c_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type context$c_CommonAddress as CommonAddress, type context$c_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type context$c_Company as Company, type context$c_Complete as Complete, type context$c_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type context$c_CreateOrderRequest as CreateOrderRequest, type context$c_CreateOrderResponse as CreateOrderResponse, type context$c_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type context$c_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type context$c_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type context$c_CreatedBy as CreatedBy, type context$c_CreatedByStringOneOf as CreatedByStringOneOf, type context$c_CreditCardDetails as CreditCardDetails, type CreditCardPaymentMethodDetails$1 as CreditCardPaymentMethodDetails, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$6 as CursorPagingMetadata, type context$c_CursorSearch as CursorSearch, type context$c_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$7 as Cursors, type context$c_CustomActivity as CustomActivity, type CustomField$1 as CustomField, context$c_CustomFieldGroup as CustomFieldGroup, type context$c_CustomFieldValue as CustomFieldValue, type context$c_Customer as Customer, type context$c_DecrementData as DecrementData, type context$c_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type context$c_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type context$c_DelayedCaptureSettings as DelayedCaptureSettings, type context$c_DeleteActivityRequest as DeleteActivityRequest, type context$c_DeleteActivityResponse as DeleteActivityResponse, type context$c_DeleteByFilterOperation as DeleteByFilterOperation, type context$c_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$2 as DeliveryLogistics, type context$c_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$2 as DeliveryTimeSlot, context$c_DeltaPaymentOptionType as DeltaPaymentOptionType, type context$c_Deposit as Deposit, context$c_DepositType as DepositType, type context$c_DescriptionLine as DescriptionLine, type context$c_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$c_DescriptionLineName as DescriptionLineName, context$c_DescriptionLineType as DescriptionLineType, type context$c_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type context$c_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, context$c_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type context$c_DownloadLinkSent as DownloadLinkSent, type context$c_DraftOrderChangesApplied as DraftOrderChangesApplied, type context$c_DraftOrderCommitSettings as DraftOrderCommitSettings, type context$c_DraftOrderDiffs as DraftOrderDiffs, type context$c_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type context$c_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type context$c_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type context$c_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type context$c_Duration as Duration, context$c_DurationUnit as DurationUnit, type context$c_Email as Email, type context$c_EmailEdited as EmailEdited, type Empty$5 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type ErrorInformation$2 as ErrorInformation, type EventMetadata$3 as EventMetadata, type ExtendedFields$4 as ExtendedFields, type context$c_ExternalUriMapping as ExternalUriMapping, type context$c_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type context$c_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type context$c_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type context$c_GetMetasiteDataRequest as GetMetasiteDataRequest, type context$c_GetMetasiteDataResponse as GetMetasiteDataResponse, type context$c_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type context$c_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type context$c_GetOrderRequest as GetOrderRequest, type context$c_GetOrderResponse as GetOrderResponse, type context$c_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type context$c_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type context$c_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type context$c_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type context$c_GetShipmentsRequest as GetShipmentsRequest, type context$c_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$1 as GiftCardPaymentDetails, type context$c_GiftCardPaymentRefund as GiftCardPaymentRefund, type context$c_HtmlApplication as HtmlApplication, type context$c_IdAndVersion as IdAndVersion, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type context$c_InternalActivity as InternalActivity, type context$c_InternalActivityContentOneOf as InternalActivityContentOneOf, type context$c_InternalDocument as InternalDocument, type context$c_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type context$c_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type context$c_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type context$c_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type context$c_InternalUpdateExistingOperation as InternalUpdateExistingOperation, context$c_InventoryAction as InventoryAction, type context$c_InventoryUpdateDetails as InventoryUpdateDetails, type context$c_InvoiceAdded as InvoiceAdded, type context$c_InvoiceDates as InvoiceDates, type context$c_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type context$c_InvoiceFields as InvoiceFields, type context$c_InvoiceSent as InvoiceSent, type context$c_InvoiceSentEvent as InvoiceSentEvent, context$c_InvoiceStatus as InvoiceStatus, type context$c_InvoicesPayment as InvoicesPayment, type context$c_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, type context$c_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type context$c_LineItemAmount as LineItemAmount, type context$c_LineItemChanges as LineItemChanges, type context$c_LineItemDelta as LineItemDelta, type context$c_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type context$c_LineItemExchangeData as LineItemExchangeData, type context$c_LineItemMetaData as LineItemMetaData, type context$c_LineItemPriceChange as LineItemPriceChange, type context$c_LineItemQuantityChange as LineItemQuantityChange, context$c_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$1 as LineItemRefund, type context$c_LineItemTax as LineItemTax, type context$c_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$c_LineItemTaxInfo as LineItemTaxInfo, type context$c_LineItemUpdate as LineItemUpdate, type context$c_LineItems as LineItems, type context$c_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type context$c_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type context$c_Locale as Locale, type context$c_LocationAndQuantity as LocationAndQuantity, type context$c_ManagedAdditionalFee as ManagedAdditionalFee, type context$c_ManagedDiscount as ManagedDiscount, type context$c_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type context$c_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type context$c_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type context$c_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type context$c_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type context$c_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type context$c_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type context$c_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type context$c_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type context$c_MaskedOrder as MaskedOrder, type context$c_MaskedOrderLineItem as MaskedOrderLineItem, type context$c_MembershipChargeItem as MembershipChargeItem, type MembershipName$2 as MembershipName, type MembershipPaymentDetails$1 as MembershipPaymentDetails, type context$c_MembershipPaymentRefund as MembershipPaymentRefund, MembershipPaymentStatus$1 as MembershipPaymentStatus, type context$c_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$c_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$8 as MessageEnvelope, type context$c_MetaData as MetaData, type context$c_MetaSite as MetaSite, type context$c_MetaTag as MetaTag, context$c_Namespace as Namespace, type context$c_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, context$c_OrderApprovalStrategy as OrderApprovalStrategy, type context$c_OrderApproved as OrderApproved, type context$c_OrderApprovedEnvelope as OrderApprovedEnvelope, type context$c_OrderCanceled as OrderCanceled, type context$c_OrderCanceledEnvelope as OrderCanceledEnvelope, type context$c_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type context$c_OrderChange as OrderChange, type context$c_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$c_OrderCreateNotifications as OrderCreateNotifications, type context$c_OrderCreatedEnvelope as OrderCreatedEnvelope, type context$c_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$c_OrderCreationSettings as OrderCreationSettings, type context$c_OrderDeltasCommitted as OrderDeltasCommitted, type context$c_OrderFulfilled as OrderFulfilled, type context$c_OrderItemsRestocked as OrderItemsRestocked, type context$c_OrderLineItem as OrderLineItem, type context$c_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type context$c_OrderNonNullableFields as OrderNonNullableFields, type context$c_OrderNotFulfilled as OrderNotFulfilled, type context$c_OrderPaid as OrderPaid, type context$c_OrderPartiallyPaid as OrderPartiallyPaid, type context$c_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type context$c_OrderPending as OrderPending, type context$c_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, type context$c_OrderRejected as OrderRejected, type context$c_OrderRejectedEventOrderRejected as OrderRejectedEventOrderRejected, context$c_OrderStatus as OrderStatus, type context$c_OrderTaxBreakdown as OrderTaxBreakdown, type context$c_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$1 as OrderTransactions, type context$c_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type context$c_OrdersExperiments as OrdersExperiments, type Payment$1 as Payment, type context$c_PaymentCanceled as PaymentCanceled, type context$c_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type context$c_PaymentCapture as PaymentCapture, context$c_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type context$c_PaymentDeclined as PaymentDeclined, type context$c_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$1 as PaymentPaymentDetailsOneOf, type context$c_PaymentPending as PaymentPending, type context$c_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type context$c_PaymentRefundFailed as PaymentRefundFailed, type context$c_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type context$c_PaymentStatusUpdated as PaymentStatusUpdated, type context$c_Payments as Payments, type context$c_Phone as Phone, type PhysicalProperties$2 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type context$c_PickupReadyEmailSent as PickupReadyEmailSent, context$c_Placement as Placement, type context$c_PlainTextValue as PlainTextValue, type context$c_PlatformPaging as PlatformPaging, type context$c_PlatformPagingMetadata as PlatformPagingMetadata, type context$c_PlatformQuery as PlatformQuery, type context$c_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type context$c_PreparePaymentCollectionOptions as PreparePaymentCollectionOptions, type context$c_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type context$c_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type context$c_PreparePaymentCollectionResponseNonNullableFields as PreparePaymentCollectionResponseNonNullableFields, type context$c_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type context$c_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type context$c_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type context$c_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type context$c_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type context$c_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type context$c_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type context$c_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type context$c_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type context$c_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type context$c_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type context$c_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, context$c_PreviewEmailType as PreviewEmailType, type context$c_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type context$c_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type context$c_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type context$c_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type context$c_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type context$c_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$3 as Price, type context$c_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type context$c_ProductName as ProductName, type context$c_PublicActivity as PublicActivity, type context$c_PublicActivityContentOneOf as PublicActivityContentOneOf, type context$c_QueryOrderRequest as QueryOrderRequest, type context$c_QueryOrderResponse as QueryOrderResponse, type context$c_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type context$c_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type context$c_QuotesAddress as QuotesAddress, Reason$1 as Reason, type context$c_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type context$c_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type context$c_RedirectUrls as RedirectUrls, type Refund$1 as Refund, type context$c_RefundCreated as RefundCreated, type RefundDetails$1 as RefundDetails, type context$c_RefundInitiated as RefundInitiated, type RefundItem$1 as RefundItem, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$1 as RefundStatus, type RefundTransaction$1 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus$1 as RefundableStatus, type context$c_RefundedAsStoreCredit as RefundedAsStoreCredit, type context$c_RefundedPayment as RefundedPayment, type context$c_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type context$c_RegularPayment as RegularPayment, type RegularPaymentDetails$1 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$1 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type context$c_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type context$c_RegularPaymentRefund as RegularPaymentRefund, type context$c_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$9 as RestoreInfo, type context$c_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$1 as ScheduledAction, type context$c_SearchOrdersOptions as SearchOrdersOptions, type context$c_SearchOrdersRequest as SearchOrdersRequest, type context$c_SearchOrdersResponse as SearchOrdersResponse, type context$c_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type context$c_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type context$c_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type context$c_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type context$c_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type context$c_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type context$c_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type context$c_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type context$c_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type context$c_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type context$c_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type context$c_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type context$c_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type context$c_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type context$c_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type context$c_SendRefundEmailRequest as SendRefundEmailRequest, type context$c_SendRefundEmailResponse as SendRefundEmailResponse, type context$c_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type context$c_ShippingAddressEdited as ShippingAddressEdited, type context$c_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type context$c_ShippingInformationChange as ShippingInformationChange, type ShippingPrice$1 as ShippingPrice, type ShippingRefund$1 as ShippingRefund, type ShippingRegion$1 as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, type Source$2 as Source, context$c_SourceType as SourceType, type context$c_StandardDetails as StandardDetails, context$c_State as State, type StreetAddress$4 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type context$c_TagList as TagList, type context$c_Tags as Tags, type context$c_Task as Task, type context$c_TaskAction as TaskAction, type context$c_TaskActionActionOneOf as TaskActionActionOneOf, type context$c_TaskKey as TaskKey, type TaxSummary$1 as TaxSummary, type TaxableAddress$1 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$1 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$1 as TaxableAddressType, type context$c_TotalPrice as TotalPrice, type context$c_TotalPriceChange as TotalPriceChange, type context$c_TrackingLinkAdded as TrackingLinkAdded, type context$c_TrackingNumberAdded as TrackingNumberAdded, type context$c_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$1 as TransactionStatus, type context$c_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type context$c_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type context$c_TriggerReindexRequest as TriggerReindexRequest, type context$c_TriggerReindexResponse as TriggerReindexResponse, type context$c_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type context$c_UnArchiveOrderRequest as UnArchiveOrderRequest, type context$c_UnArchiveOrderResponse as UnArchiveOrderResponse, type context$c_UpdateActivityRequest as UpdateActivityRequest, type context$c_UpdateActivityResponse as UpdateActivityResponse, type context$c_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type context$c_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type context$c_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type context$c_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type context$c_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type context$c_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type context$c_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type context$c_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type context$c_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type context$c_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type context$c_UpdateOrder as UpdateOrder, type context$c_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type context$c_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type context$c_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type context$c_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type context$c_UpdateOrderRequest as UpdateOrderRequest, type context$c_UpdateOrderResponse as UpdateOrderResponse, type context$c_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type context$c_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type context$c_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type context$c_UpsertRefundRequest as UpsertRefundRequest, type context$c_UpsertRefundResponse as UpsertRefundResponse, type context$c_UserDataResponse as UserDataResponse, type context$c_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type context$c_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type context$c_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type context$c_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type context$c_V1LineItemDelta as V1LineItemDelta, type context$c_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type context$c_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type context$c_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type context$c_V1RestockItem as V1RestockItem, type context$c_V1ScheduledAction as V1ScheduledAction, type context$c_V1ShippingInformation as V1ShippingInformation, type context$c_Value as Value, context$c_ValueType as ValueType, type VatId$2 as VatId, VatType$2 as VatType, type context$c_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type context$c_VersionedDocumentId as VersionedDocumentId, type context$c_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, context$c_VersioningMode as VersioningMode, type context$c_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type context$c_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type context$c_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$8 as WebhookIdentityType, WeightUnit$3 as WeightUnit, type context$c__publicOnOrderApprovedType as _publicOnOrderApprovedType, type context$c__publicOnOrderCanceledType as _publicOnOrderCanceledType, type context$c__publicOnOrderCreatedType as _publicOnOrderCreatedType, type context$c__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, type context$c__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, context$c_bulkUpdateOrderTags as bulkUpdateOrderTags, context$c_bulkUpdateOrders as bulkUpdateOrders, context$c_cancelOrder as cancelOrder, context$c_captureAuthorizedPayments as captureAuthorizedPayments, context$c_createOrder as createOrder, context$c_getOrder as getOrder, context$c_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, context$c_onOrderApproved as onOrderApproved, context$c_onOrderCanceled as onOrderCanceled, context$c_onOrderCreated as onOrderCreated, context$c_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, context$c_onOrderUpdated as onOrderUpdated, context$c_preparePaymentCollection as preparePaymentCollection, onOrderApproved$1 as publicOnOrderApproved, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderPaymentStatusUpdated$1 as publicOnOrderPaymentStatusUpdated, onOrderUpdated$1 as publicOnOrderUpdated, context$c_searchOrders as searchOrders, context$c_updateOrder as updateOrder, context$c_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
30122
|
+
export { type ActionEvent$9 as ActionEvent, ActionType$1 as ActionType, type Activity$1 as Activity, type context$c_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type context$c_AddActivitiesRequest as AddActivitiesRequest, type context$c_AddActivitiesResponse as AddActivitiesResponse, type context$c_AddActivityRequest as AddActivityRequest, type context$c_AddActivityResponse as AddActivityResponse, type context$c_AddInternalActivityRequest as AddInternalActivityRequest, type context$c_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type context$c_AdditionalFeeDelta as AdditionalFeeDelta, type context$c_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$1 as AdditionalFeeRefund, type Address$5 as Address, type context$c_AddressDescription as AddressDescription, type AddressLocation$3 as AddressLocation, type context$c_AddressWithContact as AddressWithContact, type context$c_AggregateOrdersRequest as AggregateOrdersRequest, type context$c_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$1 as AggregatedRefundSummary, type context$c_App as App, type ApplicationError$4 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type context$c_AppliedDiscountDelta as AppliedDiscountDelta, type context$c_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type context$c_ArchiveOrderRequest as ArchiveOrderRequest, type context$c_ArchiveOrderResponse as ArchiveOrderResponse, context$c_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$1 as AuthorizationActionFailureDetails, type AuthorizationCapture$1 as AuthorizationCapture, AuthorizationCaptureStatus$1 as AuthorizationCaptureStatus, type AuthorizationDetails$1 as AuthorizationDetails, type AuthorizationVoid$1 as AuthorizationVoid, AuthorizationVoidStatus$1 as AuthorizationVoidStatus, type context$c_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$c_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$c_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$c_Balance as Balance, type context$c_BalanceSummary as BalanceSummary, type BaseEventMetadata$3 as BaseEventMetadata, type context$c_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type context$c_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type context$c_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type context$c_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type context$c_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type context$c_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type context$c_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type context$c_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type context$c_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type context$c_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type context$c_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type context$c_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type context$c_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type context$c_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type context$c_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type context$c_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type context$c_BulkOrderResult as BulkOrderResult, type context$c_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type context$c_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type context$c_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type context$c_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type context$c_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type context$c_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type context$c_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type context$c_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type context$c_BulkUpdateOrderTagsOptions as BulkUpdateOrderTagsOptions, type context$c_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type context$c_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type context$c_BulkUpdateOrderTagsResponseNonNullableFields as BulkUpdateOrderTagsResponseNonNullableFields, type context$c_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type context$c_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type context$c_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type context$c_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type context$c_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type context$c_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type context$c_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type context$c_CalculatedTax as CalculatedTax, type context$c_CalculatedTaxes as CalculatedTaxes, type context$c_Cancel as Cancel, type context$c_CancelOrderOptions as CancelOrderOptions, type context$c_CancelOrderRequest as CancelOrderRequest, type context$c_CancelOrderResponse as CancelOrderResponse, type context$c_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type context$c_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type context$c_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type context$c_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$3 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type context$c_ChargeMembershipsRequest as ChargeMembershipsRequest, type context$c_ChargeMembershipsResponse as ChargeMembershipsResponse, type context$c_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type context$c_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type context$c_ChargedBy as ChargedBy, type context$c_Color as Color, type context$c_CommitDeltasRequest as CommitDeltasRequest, type context$c_CommitDeltasResponse as CommitDeltasResponse, type context$c_CommittedDiffs as CommittedDiffs, type context$c_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type context$c_CommonAddress as CommonAddress, type context$c_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type context$c_Company as Company, type context$c_Complete as Complete, type context$c_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type context$c_CreateOrderRequest as CreateOrderRequest, type context$c_CreateOrderResponse as CreateOrderResponse, type context$c_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type context$c_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type context$c_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type context$c_CreatedBy as CreatedBy, type context$c_CreatedByStringOneOf as CreatedByStringOneOf, type context$c_CreditCardDetails as CreditCardDetails, type CreditCardPaymentMethodDetails$1 as CreditCardPaymentMethodDetails, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$6 as CursorPagingMetadata, type context$c_CursorSearch as CursorSearch, type context$c_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$7 as Cursors, type context$c_CustomActivity as CustomActivity, type CustomField$1 as CustomField, context$c_CustomFieldGroup as CustomFieldGroup, type context$c_CustomFieldValue as CustomFieldValue, type context$c_Customer as Customer, type context$c_DecrementData as DecrementData, type context$c_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type context$c_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type context$c_DelayedCaptureSettings as DelayedCaptureSettings, type context$c_DeleteActivityRequest as DeleteActivityRequest, type context$c_DeleteActivityResponse as DeleteActivityResponse, type context$c_DeleteByFilterOperation as DeleteByFilterOperation, type context$c_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$2 as DeliveryLogistics, type context$c_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$2 as DeliveryTimeSlot, context$c_DeltaPaymentOptionType as DeltaPaymentOptionType, type context$c_Deposit as Deposit, context$c_DepositType as DepositType, type context$c_DescriptionLine as DescriptionLine, type context$c_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$c_DescriptionLineName as DescriptionLineName, context$c_DescriptionLineType as DescriptionLineType, type context$c_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type context$c_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, context$c_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type context$c_DownloadLinkSent as DownloadLinkSent, type context$c_DraftOrderChangesApplied as DraftOrderChangesApplied, type context$c_DraftOrderCommitSettings as DraftOrderCommitSettings, type context$c_DraftOrderDiffs as DraftOrderDiffs, type context$c_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type context$c_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type context$c_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type context$c_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type context$c_Duration as Duration, context$c_DurationUnit as DurationUnit, type context$c_Email as Email, type context$c_EmailEdited as EmailEdited, type Empty$5 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type ErrorInformation$2 as ErrorInformation, type EventMetadata$3 as EventMetadata, type ExtendedFields$4 as ExtendedFields, type context$c_ExternalUriMapping as ExternalUriMapping, type context$c_FocalPoint as FocalPoint, type context$c_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type context$c_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type context$c_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type context$c_GetMetasiteDataRequest as GetMetasiteDataRequest, type context$c_GetMetasiteDataResponse as GetMetasiteDataResponse, type context$c_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type context$c_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type context$c_GetOrderRequest as GetOrderRequest, type context$c_GetOrderResponse as GetOrderResponse, type context$c_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type context$c_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type context$c_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type context$c_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type context$c_GetShipmentsRequest as GetShipmentsRequest, type context$c_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$1 as GiftCardPaymentDetails, type context$c_GiftCardPaymentRefund as GiftCardPaymentRefund, type context$c_HtmlApplication as HtmlApplication, type context$c_IdAndVersion as IdAndVersion, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type context$c_InternalActivity as InternalActivity, type context$c_InternalActivityContentOneOf as InternalActivityContentOneOf, type context$c_InternalDocument as InternalDocument, type context$c_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type context$c_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type context$c_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type context$c_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type context$c_InternalUpdateExistingOperation as InternalUpdateExistingOperation, context$c_InventoryAction as InventoryAction, type context$c_InventoryUpdateDetails as InventoryUpdateDetails, type context$c_InvoiceAdded as InvoiceAdded, type context$c_InvoiceDates as InvoiceDates, type context$c_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type context$c_InvoiceFields as InvoiceFields, type context$c_InvoiceSent as InvoiceSent, type context$c_InvoiceSentEvent as InvoiceSentEvent, context$c_InvoiceStatus as InvoiceStatus, type context$c_InvoicesPayment as InvoicesPayment, type context$c_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, type context$c_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type context$c_LineItemAmount as LineItemAmount, type context$c_LineItemChanges as LineItemChanges, type context$c_LineItemDelta as LineItemDelta, type context$c_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type context$c_LineItemExchangeData as LineItemExchangeData, type context$c_LineItemMetaData as LineItemMetaData, type context$c_LineItemPriceChange as LineItemPriceChange, type context$c_LineItemQuantityChange as LineItemQuantityChange, context$c_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$1 as LineItemRefund, type context$c_LineItemTax as LineItemTax, type context$c_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$c_LineItemTaxInfo as LineItemTaxInfo, type context$c_LineItemUpdate as LineItemUpdate, type context$c_LineItems as LineItems, type context$c_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type context$c_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type context$c_Locale as Locale, type context$c_Location as Location, type context$c_LocationAndQuantity as LocationAndQuantity, type context$c_ManagedAdditionalFee as ManagedAdditionalFee, type context$c_ManagedDiscount as ManagedDiscount, type context$c_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type context$c_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type context$c_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type context$c_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type context$c_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type context$c_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type context$c_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type context$c_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type context$c_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type context$c_MaskedOrder as MaskedOrder, type context$c_MaskedOrderLineItem as MaskedOrderLineItem, type context$c_MembershipChargeItem as MembershipChargeItem, type MembershipName$2 as MembershipName, type MembershipPaymentDetails$1 as MembershipPaymentDetails, type context$c_MembershipPaymentRefund as MembershipPaymentRefund, MembershipPaymentStatus$1 as MembershipPaymentStatus, type context$c_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$c_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$8 as MessageEnvelope, type context$c_MetaData as MetaData, type context$c_MetaSite as MetaSite, type context$c_MetaTag as MetaTag, context$c_Namespace as Namespace, type context$c_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, context$c_OrderApprovalStrategy as OrderApprovalStrategy, type context$c_OrderApproved as OrderApproved, type context$c_OrderApprovedEnvelope as OrderApprovedEnvelope, type context$c_OrderCanceled as OrderCanceled, type context$c_OrderCanceledEnvelope as OrderCanceledEnvelope, type context$c_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type context$c_OrderChange as OrderChange, type context$c_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$c_OrderCreateNotifications as OrderCreateNotifications, type context$c_OrderCreatedEnvelope as OrderCreatedEnvelope, type context$c_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$c_OrderCreationSettings as OrderCreationSettings, type context$c_OrderDeltasCommitted as OrderDeltasCommitted, type context$c_OrderFulfilled as OrderFulfilled, type context$c_OrderItemsRestocked as OrderItemsRestocked, type context$c_OrderLineItem as OrderLineItem, type context$c_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type context$c_OrderNonNullableFields as OrderNonNullableFields, type context$c_OrderNotFulfilled as OrderNotFulfilled, type context$c_OrderPaid as OrderPaid, type context$c_OrderPartiallyPaid as OrderPartiallyPaid, type context$c_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type context$c_OrderPending as OrderPending, type context$c_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, type context$c_OrderRejected as OrderRejected, type context$c_OrderRejectedEventOrderRejected as OrderRejectedEventOrderRejected, context$c_OrderStatus as OrderStatus, type context$c_OrderTaxBreakdown as OrderTaxBreakdown, type context$c_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$1 as OrderTransactions, type context$c_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type context$c_OrdersExperiments as OrdersExperiments, type Payment$1 as Payment, type context$c_PaymentCanceled as PaymentCanceled, type context$c_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type context$c_PaymentCapture as PaymentCapture, context$c_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type context$c_PaymentDeclined as PaymentDeclined, type context$c_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$1 as PaymentPaymentDetailsOneOf, type context$c_PaymentPending as PaymentPending, type context$c_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type context$c_PaymentRefundFailed as PaymentRefundFailed, type context$c_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type context$c_PaymentStatusUpdated as PaymentStatusUpdated, type context$c_Payments as Payments, type context$c_Phone as Phone, type PhysicalProperties$2 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type context$c_PickupReadyEmailSent as PickupReadyEmailSent, context$c_Placement as Placement, type context$c_PlainTextValue as PlainTextValue, type context$c_PlatformPaging as PlatformPaging, type context$c_PlatformPagingMetadata as PlatformPagingMetadata, type context$c_PlatformQuery as PlatformQuery, type context$c_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type context$c_PreparePaymentCollectionOptions as PreparePaymentCollectionOptions, type context$c_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type context$c_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type context$c_PreparePaymentCollectionResponseNonNullableFields as PreparePaymentCollectionResponseNonNullableFields, type context$c_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type context$c_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type context$c_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type context$c_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type context$c_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type context$c_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type context$c_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type context$c_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type context$c_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type context$c_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type context$c_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type context$c_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, context$c_PreviewEmailType as PreviewEmailType, type context$c_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type context$c_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type context$c_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type context$c_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type context$c_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type context$c_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$3 as Price, type context$c_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type context$c_ProductName as ProductName, type context$c_PublicActivity as PublicActivity, type context$c_PublicActivityContentOneOf as PublicActivityContentOneOf, type context$c_QueryOrderRequest as QueryOrderRequest, type context$c_QueryOrderResponse as QueryOrderResponse, type context$c_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type context$c_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type context$c_QuotesAddress as QuotesAddress, Reason$1 as Reason, type context$c_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type context$c_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type context$c_RedirectUrls as RedirectUrls, type Refund$1 as Refund, type RefundDetails$1 as RefundDetails, type context$c_RefundInitiated as RefundInitiated, type RefundItem$1 as RefundItem, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$1 as RefundStatus, type RefundTransaction$1 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus$1 as RefundableStatus, type context$c_RefundedAsStoreCredit as RefundedAsStoreCredit, type context$c_RefundedPayment as RefundedPayment, type context$c_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type context$c_RegularPayment as RegularPayment, type RegularPaymentDetails$1 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$1 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type context$c_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type context$c_RegularPaymentRefund as RegularPaymentRefund, type context$c_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$9 as RestoreInfo, type context$c_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$1 as ScheduledAction, type context$c_SearchOrdersOptions as SearchOrdersOptions, type context$c_SearchOrdersRequest as SearchOrdersRequest, type context$c_SearchOrdersResponse as SearchOrdersResponse, type context$c_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type context$c_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type context$c_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type context$c_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type context$c_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type context$c_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type context$c_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type context$c_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type context$c_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type context$c_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type context$c_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type context$c_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type context$c_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type context$c_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type context$c_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type context$c_SendRefundEmailRequest as SendRefundEmailRequest, type context$c_SendRefundEmailResponse as SendRefundEmailResponse, type context$c_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type context$c_ShippingAddressEdited as ShippingAddressEdited, type context$c_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type context$c_ShippingInformationChange as ShippingInformationChange, type ShippingPrice$1 as ShippingPrice, type ShippingRefund$1 as ShippingRefund, type ShippingRegion$1 as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, type Source$2 as Source, context$c_SourceType as SourceType, type context$c_StandardDetails as StandardDetails, context$c_State as State, type StreetAddress$4 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type context$c_TagList as TagList, type context$c_Tags as Tags, type context$c_Task as Task, type context$c_TaskAction as TaskAction, type context$c_TaskActionActionOneOf as TaskActionActionOneOf, type context$c_TaskKey as TaskKey, type TaxSummary$1 as TaxSummary, type TaxableAddress$1 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$1 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$1 as TaxableAddressType, type context$c_TotalPrice as TotalPrice, type context$c_TotalPriceChange as TotalPriceChange, type context$c_TrackingLinkAdded as TrackingLinkAdded, type context$c_TrackingNumberAdded as TrackingNumberAdded, type context$c_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$1 as TransactionStatus, type context$c_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type context$c_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type context$c_TriggerReindexRequest as TriggerReindexRequest, type context$c_TriggerReindexResponse as TriggerReindexResponse, type context$c_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type context$c_UnArchiveOrderRequest as UnArchiveOrderRequest, type context$c_UnArchiveOrderResponse as UnArchiveOrderResponse, type context$c_UpdateActivityRequest as UpdateActivityRequest, type context$c_UpdateActivityResponse as UpdateActivityResponse, type context$c_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type context$c_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type context$c_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type context$c_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type context$c_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type context$c_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type context$c_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type context$c_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type context$c_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type context$c_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type context$c_UpdateOrder as UpdateOrder, type context$c_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type context$c_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type context$c_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type context$c_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type context$c_UpdateOrderRequest as UpdateOrderRequest, type context$c_UpdateOrderResponse as UpdateOrderResponse, type context$c_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type context$c_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type context$c_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type context$c_UpsertRefundRequest as UpsertRefundRequest, type context$c_UpsertRefundResponse as UpsertRefundResponse, type context$c_UserDataResponse as UserDataResponse, type context$c_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type context$c_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type context$c_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type context$c_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type context$c_V1LineItemDelta as V1LineItemDelta, type context$c_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type context$c_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type context$c_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type context$c_V1RestockItem as V1RestockItem, type context$c_V1ScheduledAction as V1ScheduledAction, type context$c_V1ShippingInformation as V1ShippingInformation, type context$c_Value as Value, context$c_ValueType as ValueType, type VatId$2 as VatId, VatType$2 as VatType, type context$c_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type context$c_VersionedDocumentId as VersionedDocumentId, type context$c_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, context$c_VersioningMode as VersioningMode, type context$c_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type context$c_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type context$c_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$8 as WebhookIdentityType, WeightUnit$3 as WeightUnit, type context$c__publicOnOrderApprovedType as _publicOnOrderApprovedType, type context$c__publicOnOrderCanceledType as _publicOnOrderCanceledType, type context$c__publicOnOrderCreatedType as _publicOnOrderCreatedType, type context$c__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, type context$c__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, context$c_bulkUpdateOrderTags as bulkUpdateOrderTags, context$c_bulkUpdateOrders as bulkUpdateOrders, context$c_cancelOrder as cancelOrder, context$c_captureAuthorizedPayments as captureAuthorizedPayments, context$c_createOrder as createOrder, context$c_getOrder as getOrder, context$c_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, context$c_onOrderApproved as onOrderApproved, context$c_onOrderCanceled as onOrderCanceled, context$c_onOrderCreated as onOrderCreated, context$c_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, context$c_onOrderUpdated as onOrderUpdated, context$c_preparePaymentCollection as preparePaymentCollection, onOrderApproved$1 as publicOnOrderApproved, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderPaymentStatusUpdated$1 as publicOnOrderPaymentStatusUpdated, onOrderUpdated$1 as publicOnOrderUpdated, context$c_searchOrders as searchOrders, context$c_updateOrder as updateOrder, context$c_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
29994
30123
|
}
|
|
29995
30124
|
|
|
29996
30125
|
interface OrderPaymentRequest {
|
|
@@ -31726,23 +31855,20 @@ interface PaymentsUpdated {
|
|
|
31726
31855
|
/** List of IDs of the updated refunds. */
|
|
31727
31856
|
refundIds?: string[];
|
|
31728
31857
|
}
|
|
31729
|
-
|
|
31730
|
-
|
|
31731
|
-
|
|
31732
|
-
/** Completed refund. */
|
|
31733
|
-
refund?: Refund;
|
|
31734
|
-
/** Refund side effects. */
|
|
31735
|
-
sideEffects?: RefundSideEffects;
|
|
31736
|
-
/** Order transactions after refund is completed. */
|
|
31858
|
+
/** Triggered when a refund is created. */
|
|
31859
|
+
interface RefundCreated {
|
|
31860
|
+
/** Updated order transactions. */
|
|
31737
31861
|
orderTransactions?: OrderTransactions;
|
|
31738
|
-
|
|
31739
|
-
|
|
31740
|
-
/** Inventory restock details as part of this refund
|
|
31862
|
+
/** ID of the created refund. */
|
|
31863
|
+
refundId?: string;
|
|
31864
|
+
/** Inventory restock details as part of this refund.. */
|
|
31741
31865
|
restockInfo?: RestockInfo;
|
|
31742
31866
|
/** Whether to send a refund confirmation email to the customer. */
|
|
31743
31867
|
sendOrderRefundedEmail?: boolean;
|
|
31744
31868
|
/** Custom message added to the refund confirmation email. */
|
|
31745
31869
|
customMessage?: string | null;
|
|
31870
|
+
/** Refunded line items and quantities that are part of the created refund. */
|
|
31871
|
+
refundItems?: RefundItem[];
|
|
31746
31872
|
}
|
|
31747
31873
|
interface RestockInfo {
|
|
31748
31874
|
/** Restock type. */
|
|
@@ -31761,6 +31887,24 @@ interface RestockItem {
|
|
|
31761
31887
|
/** Line item quantity being restocked. */
|
|
31762
31888
|
quantity?: number;
|
|
31763
31889
|
}
|
|
31890
|
+
interface RefundCompleted {
|
|
31891
|
+
/** Order ID. */
|
|
31892
|
+
orderId?: string;
|
|
31893
|
+
/** Completed refund. */
|
|
31894
|
+
refund?: Refund;
|
|
31895
|
+
/** Refund side effects. */
|
|
31896
|
+
sideEffects?: RefundSideEffects;
|
|
31897
|
+
/** Order transactions after refund is completed. */
|
|
31898
|
+
orderTransactions?: OrderTransactions;
|
|
31899
|
+
}
|
|
31900
|
+
interface RefundSideEffects {
|
|
31901
|
+
/** Inventory restock details as part of this refund. */
|
|
31902
|
+
restockInfo?: RestockInfo;
|
|
31903
|
+
/** Whether to send a refund confirmation email to the customer. */
|
|
31904
|
+
sendOrderRefundedEmail?: boolean;
|
|
31905
|
+
/** Custom message added to the refund confirmation email. */
|
|
31906
|
+
customMessage?: string | null;
|
|
31907
|
+
}
|
|
31764
31908
|
interface ListTransactionsForSingleOrderRequest {
|
|
31765
31909
|
/** Order ID. */
|
|
31766
31910
|
orderId: string;
|
|
@@ -32591,6 +32735,7 @@ type context$a_Reason = Reason;
|
|
|
32591
32735
|
declare const context$a_Reason: typeof Reason;
|
|
32592
32736
|
type context$a_Refund = Refund;
|
|
32593
32737
|
type context$a_RefundCompleted = RefundCompleted;
|
|
32738
|
+
type context$a_RefundCreated = RefundCreated;
|
|
32594
32739
|
type context$a_RefundDetails = RefundDetails;
|
|
32595
32740
|
type context$a_RefundItem = RefundItem;
|
|
32596
32741
|
type context$a_RefundSideEffects = RefundSideEffects;
|
|
@@ -32642,7 +32787,7 @@ declare const context$a_listTransactionsForMultipleOrders: typeof listTransactio
|
|
|
32642
32787
|
declare const context$a_listTransactionsForSingleOrder: typeof listTransactionsForSingleOrder;
|
|
32643
32788
|
declare const context$a_updatePaymentStatus: typeof updatePaymentStatus;
|
|
32644
32789
|
declare namespace context$a {
|
|
32645
|
-
export { type ActionEvent$7 as ActionEvent, context$a_ActionType as ActionType, type context$a_Activity as Activity, context$a_ActivityType as ActivityType, type context$a_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type context$a_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type context$a_AddPaymentsRequest as AddPaymentsRequest, type context$a_AddPaymentsResponse as AddPaymentsResponse, type context$a_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type context$a_AddRefundRequest as AddRefundRequest, type context$a_AddRefundResponse as AddRefundResponse, type context$a_AdditionalFeeRefund as AdditionalFeeRefund, type Address$4 as Address, type context$a_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type context$a_AggregatedRefundSummary as AggregatedRefundSummary, type ApplicationError$3 as ApplicationError, type context$a_AppliedCoupon as AppliedCoupon, type context$a_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type context$a_AuthorizationCapture as AuthorizationCapture, context$a_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type context$a_AuthorizationDetails as AuthorizationDetails, type context$a_AuthorizationVoid as AuthorizationVoid, context$a_AuthorizationVoidStatus as AuthorizationVoidStatus, type context$a_BillingInfo as BillingInfo, type context$a_BulkActionMetadata as BulkActionMetadata, type context$a_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type context$a_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type context$a_BulkInvoiceResult as BulkInvoiceResult, type context$a_BulkPaymentResult as BulkPaymentResult, type context$a_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type context$a_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type context$a_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type context$a_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type context$a_BuyerDetails as BuyerDetails, type context$a_BuyerInfo as BuyerInfo, type context$a_CalculateRefundItemRequest as CalculateRefundItemRequest, type context$a_CalculateRefundItemResponse as CalculateRefundItemResponse, type context$a_CalculateRefundRequest as CalculateRefundRequest, type context$a_CalculateRefundResponse as CalculateRefundResponse, type context$a_ChannelInfo as ChannelInfo, context$a_ChannelType as ChannelType, type context$a_CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetails, type CursorPaging$5 as CursorPaging, type CursorPagingMetadata$4 as CursorPagingMetadata, type CursorQuery$3 as CursorQuery, type CursorQueryPagingMethodOneOf$3 as CursorQueryPagingMethodOneOf, type Cursors$5 as Cursors, type context$a_CustomField as CustomField, type context$a_CustomTextFieldSelection as CustomTextFieldSelection, type DiffmatokyPayload$1 as DiffmatokyPayload, type context$a_DigitalFile as DigitalFile, type context$a_Discount as Discount, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type context$a_EnteredBy as EnteredBy, context$a_EnteredByIdentityType as EnteredByIdentityType, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type context$a_Fulfillment as Fulfillment, type context$a_FulfillmentLineItem as FulfillmentLineItem, context$a_FulfillmentStatus as FulfillmentStatus, type context$a_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type context$a_FullName as FullName, type context$a_GenerateInvoiceRequest as GenerateInvoiceRequest, type context$a_GenerateInvoiceResponse as GenerateInvoiceResponse, type context$a_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type context$a_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type GiftCard$1 as GiftCard, type context$a_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type context$a_IndexingMessage as IndexingMessage, type context$a_InvoiceForOrder as InvoiceForOrder, type context$a_InvoiceInfo as InvoiceInfo, context$a_InvoiceSource as InvoiceSource, type context$a_InvoicesForOrder as InvoicesForOrder, type context$a_ItemMetadata as ItemMetadata, type LineItem$1 as LineItem, type context$a_LineItemPriceData as LineItemPriceData, type context$a_LineItemRefund as LineItemRefund, context$a_LineItemType as LineItemType, type context$a_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type context$a_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type context$a_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type context$a_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type context$a_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type context$a_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type context$a_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type context$a_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type context$a_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type context$a_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, context$a_ManuallyRefundableReason as ManuallyRefundableReason, type context$a_MaskedPayment as MaskedPayment, type context$a_MediaItem as MediaItem, context$a_MediaItemType as MediaItemType, type MembershipName$1 as MembershipName, type context$a_MembershipPaymentDetails as MembershipPaymentDetails, context$a_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$6 as MessageEnvelope, context$a_NonRefundableReason as NonRefundableReason, type context$a_OptionSelection as OptionSelection, type context$a_Order as Order, type context$a_OrderRefunded as OrderRefunded, type context$a_OrderTransactions as OrderTransactions, type context$a_Payment as Payment, type context$a_PaymentAndOrderId as PaymentAndOrderId, type context$a_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type context$a_PaymentRefund as PaymentRefund, context$a_PaymentStatus as PaymentStatus, type context$a_PaymentsUpdated as PaymentsUpdated, type context$a_PickupAddress as PickupAddress, type PickupDetails$2 as PickupDetails, type Price$1 as Price, type context$a_QueryOrderTransactionsRequest as QueryOrderTransactionsRequest, type context$a_QueryOrderTransactionsResponse as QueryOrderTransactionsResponse, context$a_Reason as Reason, type context$a_Refund as Refund, type context$a_RefundCompleted as RefundCompleted, type context$a_RefundDetails as RefundDetails, type context$a_RefundItem as RefundItem, type context$a_RefundSideEffects as RefundSideEffects, context$a_RefundStatus as RefundStatus, type context$a_RefundTransaction as RefundTransaction, type context$a_Refundability as Refundability, type context$a_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, context$a_RefundableStatus as RefundableStatus, type context$a_RegularPaymentDetails as RegularPaymentDetails, type context$a_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type context$a_RestockInfo as RestockInfo, type context$a_RestockItem as RestockItem, context$a_RestockType as RestockType, type RestoreInfo$7 as RestoreInfo, type context$a_ScheduledAction as ScheduledAction, type context$a_ShipmentDetails as ShipmentDetails, type context$a_ShippingInfo as ShippingInfo, type context$a_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type context$a_ShippingPriceData as ShippingPriceData, type context$a_ShippingRefund as ShippingRefund, type context$a_SnapshotMessage as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type context$a_Street as Street, SubscriptionFrequency$1 as SubscriptionFrequency, type context$a_SubscriptionInfo as SubscriptionInfo, type context$a_SubscriptionOptionInfo as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type context$a_Totals as Totals, type context$a_TrackingInfo as TrackingInfo, context$a_TransactionStatus as TransactionStatus, type context$a_TriggerRefundRequest as TriggerRefundRequest, type context$a_TriggerRefundResponse as TriggerRefundResponse, type context$a_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type context$a_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type context$a_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type context$a_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type context$a_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type context$a_UpdatePaymentsRequest as UpdatePaymentsRequest, type context$a_UpdatePaymentsResponse as UpdatePaymentsResponse, type context$a_UpdateRefundRequest as UpdateRefundRequest, type context$a_UpdateRefundResponse as UpdateRefundResponse, type context$a_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type context$a_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type context$a_V2InvoiceInfo as V2InvoiceInfo, type context$a_V2Refund as V2Refund, type VatId$1 as VatId, VatType$1 as VatType, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, context$a_addPayments as addPayments, context$a_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, context$a_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, context$a_listTransactionsForSingleOrder as listTransactionsForSingleOrder, context$a_updatePaymentStatus as updatePaymentStatus };
|
|
32790
|
+
export { type ActionEvent$7 as ActionEvent, context$a_ActionType as ActionType, type context$a_Activity as Activity, context$a_ActivityType as ActivityType, type context$a_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type context$a_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type context$a_AddPaymentsRequest as AddPaymentsRequest, type context$a_AddPaymentsResponse as AddPaymentsResponse, type context$a_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type context$a_AddRefundRequest as AddRefundRequest, type context$a_AddRefundResponse as AddRefundResponse, type context$a_AdditionalFeeRefund as AdditionalFeeRefund, type Address$4 as Address, type context$a_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type context$a_AggregatedRefundSummary as AggregatedRefundSummary, type ApplicationError$3 as ApplicationError, type context$a_AppliedCoupon as AppliedCoupon, type context$a_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type context$a_AuthorizationCapture as AuthorizationCapture, context$a_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type context$a_AuthorizationDetails as AuthorizationDetails, type context$a_AuthorizationVoid as AuthorizationVoid, context$a_AuthorizationVoidStatus as AuthorizationVoidStatus, type context$a_BillingInfo as BillingInfo, type context$a_BulkActionMetadata as BulkActionMetadata, type context$a_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type context$a_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type context$a_BulkInvoiceResult as BulkInvoiceResult, type context$a_BulkPaymentResult as BulkPaymentResult, type context$a_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type context$a_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type context$a_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type context$a_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type context$a_BuyerDetails as BuyerDetails, type context$a_BuyerInfo as BuyerInfo, type context$a_CalculateRefundItemRequest as CalculateRefundItemRequest, type context$a_CalculateRefundItemResponse as CalculateRefundItemResponse, type context$a_CalculateRefundRequest as CalculateRefundRequest, type context$a_CalculateRefundResponse as CalculateRefundResponse, type context$a_ChannelInfo as ChannelInfo, context$a_ChannelType as ChannelType, type context$a_CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetails, type CursorPaging$5 as CursorPaging, type CursorPagingMetadata$4 as CursorPagingMetadata, type CursorQuery$3 as CursorQuery, type CursorQueryPagingMethodOneOf$3 as CursorQueryPagingMethodOneOf, type Cursors$5 as Cursors, type context$a_CustomField as CustomField, type context$a_CustomTextFieldSelection as CustomTextFieldSelection, type DiffmatokyPayload$1 as DiffmatokyPayload, type context$a_DigitalFile as DigitalFile, type context$a_Discount as Discount, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type context$a_EnteredBy as EnteredBy, context$a_EnteredByIdentityType as EnteredByIdentityType, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type context$a_Fulfillment as Fulfillment, type context$a_FulfillmentLineItem as FulfillmentLineItem, context$a_FulfillmentStatus as FulfillmentStatus, type context$a_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type context$a_FullName as FullName, type context$a_GenerateInvoiceRequest as GenerateInvoiceRequest, type context$a_GenerateInvoiceResponse as GenerateInvoiceResponse, type context$a_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type context$a_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type GiftCard$1 as GiftCard, type context$a_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type context$a_IndexingMessage as IndexingMessage, type context$a_InvoiceForOrder as InvoiceForOrder, type context$a_InvoiceInfo as InvoiceInfo, context$a_InvoiceSource as InvoiceSource, type context$a_InvoicesForOrder as InvoicesForOrder, type context$a_ItemMetadata as ItemMetadata, type LineItem$1 as LineItem, type context$a_LineItemPriceData as LineItemPriceData, type context$a_LineItemRefund as LineItemRefund, context$a_LineItemType as LineItemType, type context$a_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type context$a_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type context$a_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type context$a_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type context$a_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type context$a_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type context$a_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type context$a_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type context$a_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type context$a_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, context$a_ManuallyRefundableReason as ManuallyRefundableReason, type context$a_MaskedPayment as MaskedPayment, type context$a_MediaItem as MediaItem, context$a_MediaItemType as MediaItemType, type MembershipName$1 as MembershipName, type context$a_MembershipPaymentDetails as MembershipPaymentDetails, context$a_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$6 as MessageEnvelope, context$a_NonRefundableReason as NonRefundableReason, type context$a_OptionSelection as OptionSelection, type context$a_Order as Order, type context$a_OrderRefunded as OrderRefunded, type context$a_OrderTransactions as OrderTransactions, type context$a_Payment as Payment, type context$a_PaymentAndOrderId as PaymentAndOrderId, type context$a_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type context$a_PaymentRefund as PaymentRefund, context$a_PaymentStatus as PaymentStatus, type context$a_PaymentsUpdated as PaymentsUpdated, type context$a_PickupAddress as PickupAddress, type PickupDetails$2 as PickupDetails, type Price$1 as Price, type context$a_QueryOrderTransactionsRequest as QueryOrderTransactionsRequest, type context$a_QueryOrderTransactionsResponse as QueryOrderTransactionsResponse, context$a_Reason as Reason, type context$a_Refund as Refund, type context$a_RefundCompleted as RefundCompleted, type context$a_RefundCreated as RefundCreated, type context$a_RefundDetails as RefundDetails, type context$a_RefundItem as RefundItem, type context$a_RefundSideEffects as RefundSideEffects, context$a_RefundStatus as RefundStatus, type context$a_RefundTransaction as RefundTransaction, type context$a_Refundability as Refundability, type context$a_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, context$a_RefundableStatus as RefundableStatus, type context$a_RegularPaymentDetails as RegularPaymentDetails, type context$a_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type context$a_RestockInfo as RestockInfo, type context$a_RestockItem as RestockItem, context$a_RestockType as RestockType, type RestoreInfo$7 as RestoreInfo, type context$a_ScheduledAction as ScheduledAction, type context$a_ShipmentDetails as ShipmentDetails, type context$a_ShippingInfo as ShippingInfo, type context$a_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type context$a_ShippingPriceData as ShippingPriceData, type context$a_ShippingRefund as ShippingRefund, type context$a_SnapshotMessage as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type context$a_Street as Street, SubscriptionFrequency$1 as SubscriptionFrequency, type context$a_SubscriptionInfo as SubscriptionInfo, type context$a_SubscriptionOptionInfo as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type context$a_Totals as Totals, type context$a_TrackingInfo as TrackingInfo, context$a_TransactionStatus as TransactionStatus, type context$a_TriggerRefundRequest as TriggerRefundRequest, type context$a_TriggerRefundResponse as TriggerRefundResponse, type context$a_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type context$a_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type context$a_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type context$a_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type context$a_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type context$a_UpdatePaymentsRequest as UpdatePaymentsRequest, type context$a_UpdatePaymentsResponse as UpdatePaymentsResponse, type context$a_UpdateRefundRequest as UpdateRefundRequest, type context$a_UpdateRefundResponse as UpdateRefundResponse, type context$a_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type context$a_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type context$a_V2InvoiceInfo as V2InvoiceInfo, type context$a_V2Refund as V2Refund, type VatId$1 as VatId, VatType$1 as VatType, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, context$a_addPayments as addPayments, context$a_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, context$a_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, context$a_listTransactionsForSingleOrder as listTransactionsForSingleOrder, context$a_updatePaymentStatus as updatePaymentStatus };
|
|
32646
32791
|
}
|
|
32647
32792
|
|
|
32648
32793
|
interface OrdersSettings {
|
|
@@ -35234,6 +35379,31 @@ declare enum TaxableAddressType {
|
|
|
35234
35379
|
BILLING = "BILLING",
|
|
35235
35380
|
SHIPPING = "SHIPPING"
|
|
35236
35381
|
}
|
|
35382
|
+
interface ApiV1AdditionalFee {
|
|
35383
|
+
/** Additional fee's unique code or ID. */
|
|
35384
|
+
code?: string | null;
|
|
35385
|
+
/**
|
|
35386
|
+
* Additional fee's name.
|
|
35387
|
+
*
|
|
35388
|
+
* Max: 50 characters
|
|
35389
|
+
*/
|
|
35390
|
+
name?: string;
|
|
35391
|
+
/** Total additional fees. This `price` does not include any taxes that may apply to these additional fees. */
|
|
35392
|
+
price?: string;
|
|
35393
|
+
/**
|
|
35394
|
+
* Tax details.
|
|
35395
|
+
*
|
|
35396
|
+
* > **Note:** Tax is not calculated in the returned `price` even when `taxDetails.taxable` is `true`.
|
|
35397
|
+
*/
|
|
35398
|
+
taxDetails?: V1TaxDetails;
|
|
35399
|
+
}
|
|
35400
|
+
/** Tax details. */
|
|
35401
|
+
interface V1TaxDetails {
|
|
35402
|
+
/** Whether additional fee is taxable. */
|
|
35403
|
+
taxable?: boolean;
|
|
35404
|
+
/** Reserved for internal use. */
|
|
35405
|
+
taxGroupId?: string | null;
|
|
35406
|
+
}
|
|
35237
35407
|
/** Physical address */
|
|
35238
35408
|
interface Address$1 {
|
|
35239
35409
|
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
@@ -35374,6 +35544,30 @@ declare enum ChargeType$1 {
|
|
|
35374
35544
|
HANDLING_FEE = "HANDLING_FEE",
|
|
35375
35545
|
INSURANCE = "INSURANCE"
|
|
35376
35546
|
}
|
|
35547
|
+
interface DeliveryAllocation$1 {
|
|
35548
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
35549
|
+
deliveryCarrier?: Carrier$1;
|
|
35550
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
35551
|
+
deliveryRegion?: Region$1;
|
|
35552
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
35553
|
+
applicableLineItems?: ApplicableLineItems$1;
|
|
35554
|
+
}
|
|
35555
|
+
interface Carrier$1 {
|
|
35556
|
+
/** The carrier app id */
|
|
35557
|
+
appId?: string | null;
|
|
35558
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
35559
|
+
code?: string;
|
|
35560
|
+
}
|
|
35561
|
+
interface Region$1 {
|
|
35562
|
+
/** The delivery region id. */
|
|
35563
|
+
_id?: string | null;
|
|
35564
|
+
/** The delivery region name. */
|
|
35565
|
+
name?: string | null;
|
|
35566
|
+
}
|
|
35567
|
+
interface ApplicableLineItems$1 {
|
|
35568
|
+
/** Line items that the delivery solution is for. */
|
|
35569
|
+
lineItemIds?: string[];
|
|
35570
|
+
}
|
|
35377
35571
|
interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
35378
35572
|
/** Coupon details. */
|
|
35379
35573
|
coupon?: Coupon;
|
|
@@ -36157,11 +36351,22 @@ interface ShippingPriceNonNullableFields {
|
|
|
36157
36351
|
price?: MultiCurrencyPriceNonNullableFields;
|
|
36158
36352
|
otherCharges: OtherChargeNonNullableFields[];
|
|
36159
36353
|
}
|
|
36354
|
+
interface CarrierNonNullableFields$1 {
|
|
36355
|
+
code: string;
|
|
36356
|
+
}
|
|
36357
|
+
interface ApplicableLineItemsNonNullableFields$1 {
|
|
36358
|
+
lineItemIds: string[];
|
|
36359
|
+
}
|
|
36360
|
+
interface DeliveryAllocationNonNullableFields$1 {
|
|
36361
|
+
deliveryCarrier?: CarrierNonNullableFields$1;
|
|
36362
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$1;
|
|
36363
|
+
}
|
|
36160
36364
|
interface ShippingOptionNonNullableFields {
|
|
36161
36365
|
code: string;
|
|
36162
36366
|
title: string;
|
|
36163
36367
|
logistics?: DeliveryLogisticsNonNullableFields$1;
|
|
36164
36368
|
cost?: ShippingPriceNonNullableFields;
|
|
36369
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$1[];
|
|
36165
36370
|
}
|
|
36166
36371
|
interface CarrierServiceOptionNonNullableFields {
|
|
36167
36372
|
carrierId: string;
|
|
@@ -36286,6 +36491,7 @@ interface CalculateTotalsResponseNonNullableFields {
|
|
|
36286
36491
|
siteCurrency: string;
|
|
36287
36492
|
payNowTotalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
|
|
36288
36493
|
totalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
|
|
36494
|
+
payAfterFreeTrial?: PriceSummaryNonNullableFields;
|
|
36289
36495
|
}
|
|
36290
36496
|
interface CalculateTotalsOptions extends CalculateTotalsRequestCouponOneOf, CalculateTotalsRequestGiftCardOneOf {
|
|
36291
36497
|
/**
|
|
@@ -36347,6 +36553,7 @@ declare const calculateTotals: MaybeContext<BuildRESTFunction<typeof calculateTo
|
|
|
36347
36553
|
|
|
36348
36554
|
type context$5_AdditionalFee = AdditionalFee;
|
|
36349
36555
|
type context$5_AggregatedTaxBreakdown = AggregatedTaxBreakdown;
|
|
36556
|
+
type context$5_ApiV1AdditionalFee = ApiV1AdditionalFee;
|
|
36350
36557
|
type context$5_AppliedDiscount = AppliedDiscount;
|
|
36351
36558
|
type context$5_AppliedDiscountDiscountSourceOneOf = AppliedDiscountDiscountSourceOneOf;
|
|
36352
36559
|
type context$5_AutoTaxFallbackCalculationDetails = AutoTaxFallbackCalculationDetails;
|
|
@@ -36427,9 +36634,10 @@ type context$5_TaxableAddressType = TaxableAddressType;
|
|
|
36427
36634
|
declare const context$5_TaxableAddressType: typeof TaxableAddressType;
|
|
36428
36635
|
type context$5_TotalsCalculationEntity = TotalsCalculationEntity;
|
|
36429
36636
|
type context$5_V1AdditionalFee = V1AdditionalFee;
|
|
36637
|
+
type context$5_V1TaxDetails = V1TaxDetails;
|
|
36430
36638
|
declare const context$5_calculateTotals: typeof calculateTotals;
|
|
36431
36639
|
declare namespace context$5 {
|
|
36432
|
-
export { type context$5_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type context$5_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type ApplicationError$1 as ApplicationError, type context$5_AppliedDiscount as AppliedDiscount, type context$5_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context$5_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type context$5_CalculateTotalsOptions as CalculateTotalsOptions, type context$5_CalculateTotalsRequest as CalculateTotalsRequest, type context$5_CalculateTotalsRequestCouponOneOf as CalculateTotalsRequestCouponOneOf, type context$5_CalculateTotalsRequestGiftCardOneOf as CalculateTotalsRequestGiftCardOneOf, type context$5_CalculateTotalsResponse as CalculateTotalsResponse, type context$5_CalculateTotalsResponseNonNullableFields as CalculateTotalsResponseNonNullableFields, type context$5_CalculatedLineItem as CalculatedLineItem, type context$5_CalculationErrors as CalculationErrors, type context$5_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$1 as CarrierError, type context$5_CarrierErrors as CarrierErrors, type context$5_CarrierServiceOption as CarrierServiceOption, type context$5_CarrierShippingOption as CarrierShippingOption, type CatalogReference$2 as CatalogReference, ChargeType$1 as ChargeType, type context$5_Coupon as Coupon, context$5_DataFetchType as DataFetchType, type DeliveryLogistics$1 as DeliveryLogistics, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type Details$1 as Details, type DetailsKindOneOf$1 as DetailsKindOneOf, type context$5_DiscountRule as DiscountRule, type context$5_DiscountRuleName as DiscountRuleName, context$5_DiscountType as DiscountType, type context$5_ExternalReference as ExternalReference, context$5_FallbackReason as FallbackReason, type FieldViolation$1 as FieldViolation, type context$5_GiftCard as GiftCard, type context$5_Group as Group, type context$5_InvalidMembership as InvalidMembership, type context$5_ItemTaxFullDetails as ItemTaxFullDetails, type context$5_ItemType as ItemType, context$5_ItemTypeItemType as ItemTypeItemType, type context$5_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context$5_JurisdictionType as JurisdictionType, type context$5_LineItem as LineItem, type context$5_LineItemDiscount as LineItemDiscount, type context$5_LineItemPricesData as LineItemPricesData, context$5_ManualCalculationReason as ManualCalculationReason, type context$5_Membership as Membership, type context$5_MembershipName as MembershipName, type context$5_MembershipOptions as MembershipOptions, type context$5_MembershipPaymentCredits as MembershipPaymentCredits, type context$5_MerchantDiscount as MerchantDiscount, type context$5_MerchantDiscountInput as MerchantDiscountInput, type context$5_MultiCurrencyPrice as MultiCurrencyPrice, type context$5_OtherCharge as OtherCharge, context$5_PaymentOptionType as PaymentOptionType, type PhysicalProperties$1 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type context$5_PriceSummary as PriceSummary, context$5_RateType as RateType, RuleType$1 as RuleType, type context$5_Scope as Scope, type context$5_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context$5_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type context$5_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type context$5_SelectedMembership as SelectedMembership, type context$5_SelectedMemberships as SelectedMemberships, type context$5_SelectedShippingOption as SelectedShippingOption, type context$5_ServiceProperties as ServiceProperties, type context$5_ShippingInformation as ShippingInformation, type context$5_ShippingOption as ShippingOption, type context$5_ShippingPrice as ShippingPrice, type context$5_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, context$5_SubscriptionFrequency as SubscriptionFrequency, type context$5_SubscriptionSettings as SubscriptionSettings, type SystemError$1 as SystemError, type context$5_TaxBreakdown as TaxBreakdown, type context$5_TaxCalculationDetails as TaxCalculationDetails, type context$5_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type context$5_TaxDetails as TaxDetails, type context$5_TaxRateBreakdown as TaxRateBreakdown, type context$5_TaxSummary as TaxSummary, type context$5_TaxableAddress as TaxableAddress, type context$5_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, context$5_TaxableAddressType as TaxableAddressType, type context$5_TotalsCalculationEntity as TotalsCalculationEntity, type context$5_V1AdditionalFee as V1AdditionalFee, type ValidationError$1 as ValidationError, WeightUnit$1 as WeightUnit, context$5_calculateTotals as calculateTotals };
|
|
36640
|
+
export { type context$5_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type context$5_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type context$5_ApiV1AdditionalFee as ApiV1AdditionalFee, type ApplicableLineItems$1 as ApplicableLineItems, type ApplicationError$1 as ApplicationError, type context$5_AppliedDiscount as AppliedDiscount, type context$5_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context$5_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type context$5_CalculateTotalsOptions as CalculateTotalsOptions, type context$5_CalculateTotalsRequest as CalculateTotalsRequest, type context$5_CalculateTotalsRequestCouponOneOf as CalculateTotalsRequestCouponOneOf, type context$5_CalculateTotalsRequestGiftCardOneOf as CalculateTotalsRequestGiftCardOneOf, type context$5_CalculateTotalsResponse as CalculateTotalsResponse, type context$5_CalculateTotalsResponseNonNullableFields as CalculateTotalsResponseNonNullableFields, type context$5_CalculatedLineItem as CalculatedLineItem, type context$5_CalculationErrors as CalculationErrors, type context$5_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$1 as Carrier, type CarrierError$1 as CarrierError, type context$5_CarrierErrors as CarrierErrors, type context$5_CarrierServiceOption as CarrierServiceOption, type context$5_CarrierShippingOption as CarrierShippingOption, type CatalogReference$2 as CatalogReference, ChargeType$1 as ChargeType, type context$5_Coupon as Coupon, context$5_DataFetchType as DataFetchType, type DeliveryAllocation$1 as DeliveryAllocation, type DeliveryLogistics$1 as DeliveryLogistics, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type Details$1 as Details, type DetailsKindOneOf$1 as DetailsKindOneOf, type context$5_DiscountRule as DiscountRule, type context$5_DiscountRuleName as DiscountRuleName, context$5_DiscountType as DiscountType, type context$5_ExternalReference as ExternalReference, context$5_FallbackReason as FallbackReason, type FieldViolation$1 as FieldViolation, type context$5_GiftCard as GiftCard, type context$5_Group as Group, type context$5_InvalidMembership as InvalidMembership, type context$5_ItemTaxFullDetails as ItemTaxFullDetails, type context$5_ItemType as ItemType, context$5_ItemTypeItemType as ItemTypeItemType, type context$5_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context$5_JurisdictionType as JurisdictionType, type context$5_LineItem as LineItem, type context$5_LineItemDiscount as LineItemDiscount, type context$5_LineItemPricesData as LineItemPricesData, context$5_ManualCalculationReason as ManualCalculationReason, type context$5_Membership as Membership, type context$5_MembershipName as MembershipName, type context$5_MembershipOptions as MembershipOptions, type context$5_MembershipPaymentCredits as MembershipPaymentCredits, type context$5_MerchantDiscount as MerchantDiscount, type context$5_MerchantDiscountInput as MerchantDiscountInput, type context$5_MultiCurrencyPrice as MultiCurrencyPrice, type context$5_OtherCharge as OtherCharge, context$5_PaymentOptionType as PaymentOptionType, type PhysicalProperties$1 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type context$5_PriceSummary as PriceSummary, context$5_RateType as RateType, type Region$1 as Region, RuleType$1 as RuleType, type context$5_Scope as Scope, type context$5_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context$5_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type context$5_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type context$5_SelectedMembership as SelectedMembership, type context$5_SelectedMemberships as SelectedMemberships, type context$5_SelectedShippingOption as SelectedShippingOption, type context$5_ServiceProperties as ServiceProperties, type context$5_ShippingInformation as ShippingInformation, type context$5_ShippingOption as ShippingOption, type context$5_ShippingPrice as ShippingPrice, type context$5_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, context$5_SubscriptionFrequency as SubscriptionFrequency, type context$5_SubscriptionSettings as SubscriptionSettings, type SystemError$1 as SystemError, type context$5_TaxBreakdown as TaxBreakdown, type context$5_TaxCalculationDetails as TaxCalculationDetails, type context$5_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type context$5_TaxDetails as TaxDetails, type context$5_TaxRateBreakdown as TaxRateBreakdown, type context$5_TaxSummary as TaxSummary, type context$5_TaxableAddress as TaxableAddress, type context$5_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, context$5_TaxableAddressType as TaxableAddressType, type context$5_TotalsCalculationEntity as TotalsCalculationEntity, type context$5_V1AdditionalFee as V1AdditionalFee, type context$5_V1TaxDetails as V1TaxDetails, type ValidationError$1 as ValidationError, WeightUnit$1 as WeightUnit, context$5_calculateTotals as calculateTotals };
|
|
36433
36641
|
}
|
|
36434
36642
|
|
|
36435
36643
|
interface CurrencyRate {
|
|
@@ -36993,12 +37201,12 @@ interface DeliverySolution {
|
|
|
36993
37201
|
logistics?: DeliveryLogistics;
|
|
36994
37202
|
/** Delivery cost. */
|
|
36995
37203
|
cost?: DeliveryCost;
|
|
36996
|
-
/** Delivery solution
|
|
36997
|
-
|
|
37204
|
+
/** Delivery solution allocations to different delivery carriers and delivery regions */
|
|
37205
|
+
deliveryAllocations?: DeliveryAllocation[];
|
|
36998
37206
|
/** If the delivery solution is a partial and doesn't apply to all items. */
|
|
36999
37207
|
partial?: boolean | null;
|
|
37000
37208
|
}
|
|
37001
|
-
interface
|
|
37209
|
+
interface DeliveryAllocation {
|
|
37002
37210
|
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
37003
37211
|
deliveryCarrier?: Carrier;
|
|
37004
37212
|
/** The delivery region that are relevant for this delivery solution. */
|
|
@@ -37130,7 +37338,7 @@ interface CarrierNonNullableFields {
|
|
|
37130
37338
|
interface ApplicableLineItemsNonNullableFields {
|
|
37131
37339
|
lineItemIds: string[];
|
|
37132
37340
|
}
|
|
37133
|
-
interface
|
|
37341
|
+
interface DeliveryAllocationNonNullableFields {
|
|
37134
37342
|
deliveryCarrier?: CarrierNonNullableFields;
|
|
37135
37343
|
applicableLineItems?: ApplicableLineItemsNonNullableFields;
|
|
37136
37344
|
}
|
|
@@ -37139,7 +37347,7 @@ interface DeliverySolutionNonNullableFields {
|
|
|
37139
37347
|
title: string;
|
|
37140
37348
|
logistics?: DeliveryLogisticsNonNullableFields;
|
|
37141
37349
|
cost?: DeliveryCostNonNullableFields;
|
|
37142
|
-
|
|
37350
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields[];
|
|
37143
37351
|
}
|
|
37144
37352
|
interface ApplicationErrorNonNullableFields {
|
|
37145
37353
|
code: string;
|
|
@@ -37200,13 +37408,13 @@ type context$3_AddressLocation = AddressLocation;
|
|
|
37200
37408
|
type context$3_AddressStreetOneOf = AddressStreetOneOf;
|
|
37201
37409
|
type context$3_ApplicableLineItems = ApplicableLineItems;
|
|
37202
37410
|
type context$3_ApplicationError = ApplicationError;
|
|
37203
|
-
type context$3_Breakdown = Breakdown;
|
|
37204
37411
|
type context$3_Carrier = Carrier;
|
|
37205
37412
|
type context$3_CarrierDetails = CarrierDetails;
|
|
37206
37413
|
type context$3_CarrierError = CarrierError;
|
|
37207
37414
|
type context$3_ChargeType = ChargeType;
|
|
37208
37415
|
declare const context$3_ChargeType: typeof ChargeType;
|
|
37209
37416
|
type context$3_DeliverableItem = DeliverableItem;
|
|
37417
|
+
type context$3_DeliveryAllocation = DeliveryAllocation;
|
|
37210
37418
|
type context$3_DeliveryCarrierError = DeliveryCarrierError;
|
|
37211
37419
|
type context$3_DeliveryCost = DeliveryCost;
|
|
37212
37420
|
type context$3_DeliveryDetails = DeliveryDetails;
|
|
@@ -37251,7 +37459,7 @@ type context$3_WeightUnit = WeightUnit;
|
|
|
37251
37459
|
declare const context$3_WeightUnit: typeof WeightUnit;
|
|
37252
37460
|
declare const context$3_getDeliverySolutions: typeof getDeliverySolutions;
|
|
37253
37461
|
declare namespace context$3 {
|
|
37254
|
-
export { type ActionEvent$2 as ActionEvent, type context$3_AdditionalCharge as AdditionalCharge, type context$3_Address as Address, type context$3_AddressLocation as AddressLocation, type context$3_AddressStreetOneOf as AddressStreetOneOf, type context$3_ApplicableLineItems as ApplicableLineItems, type context$3_ApplicationError as ApplicationError, type context$
|
|
37462
|
+
export { type ActionEvent$2 as ActionEvent, type context$3_AdditionalCharge as AdditionalCharge, type context$3_Address as Address, type context$3_AddressLocation as AddressLocation, type context$3_AddressStreetOneOf as AddressStreetOneOf, type context$3_ApplicableLineItems as ApplicableLineItems, type context$3_ApplicationError as ApplicationError, type context$3_Carrier as Carrier, type context$3_CarrierDetails as CarrierDetails, type context$3_CarrierError as CarrierError, type CatalogReference$1 as CatalogReference, context$3_ChargeType as ChargeType, type context$3_DeliverableItem as DeliverableItem, type context$3_DeliveryAllocation as DeliveryAllocation, type context$3_DeliveryCarrierError as DeliveryCarrierError, type context$3_DeliveryCost as DeliveryCost, type context$3_DeliveryDetails as DeliveryDetails, type context$3_DeliveryLogistics as DeliveryLogistics, type context$3_DeliveryOption as DeliveryOption, type context$3_DeliveryRatesGateway as DeliveryRatesGateway, type context$3_DeliverySolution as DeliverySolution, type context$3_DeliveryTimeSlot as DeliveryTimeSlot, type context$3_Details as Details, type context$3_DetailsKindOneOf as DetailsKindOneOf, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type context$3_Empty as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type context$3_FieldViolation as FieldViolation, type context$3_FullAddressContactDetails as FullAddressContactDetails, type context$3_GetDeliveryOptionsRequest as GetDeliveryOptionsRequest, type context$3_GetDeliveryOptionsResponse as GetDeliveryOptionsResponse, type context$3_GetDeliverySolutionsOptions as GetDeliverySolutionsOptions, type context$3_GetDeliverySolutionsRequest as GetDeliverySolutionsRequest, type context$3_GetDeliverySolutionsResponse as GetDeliverySolutionsResponse, type context$3_GetDeliverySolutionsResponseNonNullableFields as GetDeliverySolutionsResponseNonNullableFields, type context$3_PartialDeliveryOption as PartialDeliveryOption, type context$3_PhysicalProperties as PhysicalProperties, type context$3_PickupDetails as PickupDetails, context$3_PickupMethod as PickupMethod, type context$3_ProviderErrors as ProviderErrors, type context$3_Region as Region, type context$3_RegionDetails as RegionDetails, type RestoreInfo$2 as RestoreInfo, context$3_RuleType as RuleType, type context$3_StreetAddress as StreetAddress, type context$3_Subdivision as Subdivision, context$3_SubdivisionType as SubdivisionType, type context$3_SystemError as SystemError, type context$3_UserIntent as UserIntent, type context$3_UserPreference as UserPreference, type context$3_ValidationError as ValidationError, type context$3_VatId as VatId, context$3_VatType as VatType, context$3_WeightUnit as WeightUnit, context$3_getDeliverySolutions as getDeliverySolutions };
|
|
37255
37463
|
}
|
|
37256
37464
|
|
|
37257
37465
|
/**
|
|
@@ -37263,7 +37471,7 @@ declare namespace context$3 {
|
|
|
37263
37471
|
*/
|
|
37264
37472
|
interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
37265
37473
|
/**
|
|
37266
|
-
* ID of the [location](https://dev.wix.com/docs/
|
|
37474
|
+
* ID of the [location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
|
|
37267
37475
|
* for which the tip settings apply.
|
|
37268
37476
|
*/
|
|
37269
37477
|
locationId?: string | null;
|
|
@@ -37295,7 +37503,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
|
37295
37503
|
tipType?: TipType$1;
|
|
37296
37504
|
/**
|
|
37297
37505
|
* Information about the tip choices that Wix Tips displays to customers during the
|
|
37298
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
37506
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
37299
37507
|
*
|
|
37300
37508
|
* Min: `1` preset
|
|
37301
37509
|
* Max: `3` presets
|
|
@@ -37303,9 +37511,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
|
37303
37511
|
presets?: Preset[];
|
|
37304
37512
|
/**
|
|
37305
37513
|
* Whether customer are allowed to tip during the
|
|
37306
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
37307
|
-
*
|
|
37308
|
-
* Default: `true`
|
|
37514
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
37309
37515
|
*/
|
|
37310
37516
|
allowCustomerTip?: boolean | null;
|
|
37311
37517
|
/**
|
|
@@ -37380,7 +37586,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
|
37380
37586
|
/** @oneof */
|
|
37381
37587
|
interface TipSettingsIdentifierOneOf {
|
|
37382
37588
|
/**
|
|
37383
|
-
* ID of the [location](https://dev.wix.com/docs/
|
|
37589
|
+
* ID of the [location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
|
|
37384
37590
|
* for which the tip settings apply.
|
|
37385
37591
|
*/
|
|
37386
37592
|
locationId?: string | null;
|
|
@@ -37408,7 +37614,7 @@ declare enum TipType$1 {
|
|
|
37408
37614
|
interface Preset {
|
|
37409
37615
|
/**
|
|
37410
37616
|
* Value of the preset tip choice that's displayed to customers in the
|
|
37411
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
37617
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
37412
37618
|
* For example, `5`, `10`, and `15` percent or `1`, `3`, and `5` USD.
|
|
37413
37619
|
*
|
|
37414
37620
|
* Min: `0`
|
|
@@ -37416,7 +37622,7 @@ interface Preset {
|
|
|
37416
37622
|
value?: number | null;
|
|
37417
37623
|
/**
|
|
37418
37624
|
* Whether this tip choice value is the dafault preset that's highlighted automatically in the
|
|
37419
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
37625
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
37420
37626
|
*
|
|
37421
37627
|
* Default: `false`
|
|
37422
37628
|
*/
|
|
@@ -37744,22 +37950,22 @@ interface TipSettingsQueryBuilder {
|
|
|
37744
37950
|
declare function queryTipSettings$1(httpClient: HttpClient): QueryTipSettingsSignature;
|
|
37745
37951
|
interface QueryTipSettingsSignature {
|
|
37746
37952
|
/**
|
|
37747
|
-
*
|
|
37953
|
+
* Creates a query to retrieve a list of tip settings.
|
|
37748
37954
|
*
|
|
37749
|
-
*
|
|
37750
|
-
* - `cursorPaging.limit` is `50`.
|
|
37751
|
-
* - Sorted by `id` in ascending order.
|
|
37955
|
+
* The `queryTipSettings()` function builds a query to retrieve a list of tip settings and returns a `TipSettingsQueryBuilder` object.
|
|
37752
37956
|
*
|
|
37753
|
-
*
|
|
37754
|
-
* [Tip Settings: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tips/tip-settings/supported-filters).
|
|
37957
|
+
* The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/ecom/tip-settings/tip-settings-query-builder/find) function.
|
|
37755
37958
|
*
|
|
37756
|
-
*
|
|
37757
|
-
* when setting a filter for dates.
|
|
37959
|
+
* You can refine the query by chaining `TipSettingsQueryBuilder` functions onto the query. `TipSettingsQueryBuilder` functions enable you to sort, filter, and control the results that `queryTipSettings()` returns.
|
|
37758
37960
|
*
|
|
37759
|
-
*
|
|
37760
|
-
*
|
|
37761
|
-
*
|
|
37762
|
-
*
|
|
37961
|
+
* `queryTipSettings()` runs with the following `TipSettingsQueryBuilder` default that you can override:
|
|
37962
|
+
*
|
|
37963
|
+
* + `limit` is `50`.
|
|
37964
|
+
* + Sorted by `id` in ascending order.
|
|
37965
|
+
*
|
|
37966
|
+
* The functions that are chained to `queryTipSettings()` are applied in the order they are called. For example, if you apply `ascending("tipType")` and then `ascending("locationId")`, the results are sorted first by the `"tipType"`, and then, if there are multiple results with the same `"tipType"`, the items are sorted by `"locationId"`.
|
|
37967
|
+
*
|
|
37968
|
+
* The following `TipSettingsQueryBuilder` functions are supported for the `queryTipSettings()` function. For a full description of the tip settings object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/ecom/tip-settings/tip-settings-query-result/items) property in `TipSettingsQueryResult`.
|
|
37763
37969
|
*/
|
|
37764
37970
|
(): TipSettingsQueryBuilder;
|
|
37765
37971
|
}
|
|
@@ -37771,6 +37977,7 @@ interface UpdateTipSettingsSignature {
|
|
|
37771
37977
|
*
|
|
37772
37978
|
* You can't update the `default` field.
|
|
37773
37979
|
* @param - Tip settings to update.
|
|
37980
|
+
* @param - Options to use when updating tip settings.
|
|
37774
37981
|
* @returns Updated tip settings.
|
|
37775
37982
|
*/
|
|
37776
37983
|
(tipSettings: TipSettings): Promise<TipSettings & TipSettingsNonNullableFields>;
|
|
@@ -37854,7 +38061,7 @@ declare namespace context$2 {
|
|
|
37854
38061
|
|
|
37855
38062
|
/**
|
|
37856
38063
|
* Information about a team member who's eligible to receive a portion of the tip.
|
|
37857
|
-
* Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members
|
|
38064
|
+
* Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
|
|
37858
38065
|
* and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
|
|
37859
38066
|
* are eligible for tip distributions.
|
|
37860
38067
|
*/
|
|
@@ -37865,15 +38072,11 @@ interface Staff$1 {
|
|
|
37865
38072
|
* @readonly
|
|
37866
38073
|
*/
|
|
37867
38074
|
_id?: string | null;
|
|
37868
|
-
/**
|
|
37869
|
-
* Staff name. Matches the name of the
|
|
37870
|
-
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object)
|
|
37871
|
-
* if available.
|
|
37872
|
-
*/
|
|
38075
|
+
/** Staff name. Matches the name of the Bookings staff member if available. */
|
|
37873
38076
|
name?: string | null;
|
|
37874
38077
|
/**
|
|
37875
38078
|
* Staff member ID. Available only if the staff is connected to a
|
|
37876
|
-
*
|
|
38079
|
+
* Bookings staff member.
|
|
37877
38080
|
*/
|
|
37878
38081
|
staffMemberId?: string | null;
|
|
37879
38082
|
/**
|
|
@@ -37895,7 +38098,7 @@ interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
|
|
|
37895
38098
|
/** ID of an app. */
|
|
37896
38099
|
appId?: string;
|
|
37897
38100
|
/**
|
|
37898
|
-
* ID of the [contact](https://dev.wix.com/docs/
|
|
38101
|
+
* ID of the [contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
|
|
37899
38102
|
* in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
|
|
37900
38103
|
*/
|
|
37901
38104
|
contactId?: string | null;
|
|
@@ -37924,8 +38127,7 @@ declare enum IdentityType$1 {
|
|
|
37924
38127
|
interface ListTippableStaffRequest {
|
|
37925
38128
|
/**
|
|
37926
38129
|
* Whether to include staff who are only Wix users and not
|
|
37927
|
-
*
|
|
37928
|
-
* in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
38130
|
+
* Bookings staff members in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
37929
38131
|
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
37930
38132
|
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
37931
38133
|
* staff members or those who are both are returned.
|
|
@@ -37968,9 +38170,7 @@ interface ListTippableStaffResponseNonNullableFields {
|
|
|
37968
38170
|
}
|
|
37969
38171
|
interface ListTippableStaffOptions {
|
|
37970
38172
|
/**
|
|
37971
|
-
* Whether to include staff who are only Wix users and not
|
|
37972
|
-
* [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/about-staff-members-and-resources)
|
|
37973
|
-
* in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
38173
|
+
* Whether to include staff who are only Wix users and not Bookings staff members in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
37974
38174
|
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
37975
38175
|
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
37976
38176
|
* staff members or those who are both are returned.
|
|
@@ -38000,6 +38200,7 @@ interface ListTippableStaffSignature {
|
|
|
38000
38200
|
/**
|
|
38001
38201
|
* Retrieves a list of up to 100 staff who are eligible to receive tips, given
|
|
38002
38202
|
* the provided filtering.
|
|
38203
|
+
* @param - Options to use when listing tippable staff.
|
|
38003
38204
|
*/
|
|
38004
38205
|
(options?: ListTippableStaffOptions | undefined): Promise<ListTippableStaffResponse & ListTippableStaffResponseNonNullableFields>;
|
|
38005
38206
|
}
|
|
@@ -38169,7 +38370,7 @@ interface Staff {
|
|
|
38169
38370
|
* Identification data. Available only if the staff is a
|
|
38170
38371
|
* [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
38171
38372
|
* on the Wix site. Note that not all site collaborators are also
|
|
38172
|
-
* [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members
|
|
38373
|
+
* [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction).
|
|
38173
38374
|
*/
|
|
38174
38375
|
identificationData?: CommonIdentificationData;
|
|
38175
38376
|
}
|
|
@@ -38906,22 +39107,7 @@ interface UpdateTipChoiceSignature {
|
|
|
38906
39107
|
declare function setTipOnOrder$1(httpClient: HttpClient): SetTipOnOrderSignature;
|
|
38907
39108
|
interface SetTipOnOrderSignature {
|
|
38908
39109
|
/**
|
|
38909
|
-
*
|
|
38910
|
-
* [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction).
|
|
38911
|
-
*
|
|
38912
|
-
*
|
|
38913
|
-
* If no tip exists on the order, an `additionalFee` is added. If a tip is already
|
|
38914
|
-
* present, the existing `additionalFee` is replaced.
|
|
38915
|
-
*
|
|
38916
|
-
* If you specify `tip.distributions.transaction`, that distribution
|
|
38917
|
-
* amount can't be changed in the future. Then, you also can't remove any of the
|
|
38918
|
-
* other distributions.
|
|
38919
|
-
*
|
|
38920
|
-
* The call fails if:
|
|
38921
|
-
* + The order's `paymentStatus` is either `FULLY_REFUNDED` or `PARTIALLY_REFUNDED`.
|
|
38922
|
-
* + The total tip amount is zero or negative.
|
|
38923
|
-
* + The sum of all tip distribution amounts and `undistributedAmount` doesn't match the total tip amount.
|
|
38924
|
-
* + You omit `tip.distributions` with an existing `transaction`.
|
|
39110
|
+
* Updates the tip choice that's currently selected by the customer for a specific [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
38925
39111
|
* @param - Options to use when setting a tip on an order.
|
|
38926
39112
|
*/
|
|
38927
39113
|
(options?: SetTipOnOrderOptions | undefined): Promise<SetTipOnOrderResponse & SetTipOnOrderResponseNonNullableFields>;
|
|
@@ -38990,9 +39176,6 @@ declare function sumTipDistributionAmounts$1(httpClient: HttpClient): SumTipDist
|
|
|
38990
39176
|
interface SumTipDistributionAmountsSignature {
|
|
38991
39177
|
/**
|
|
38992
39178
|
* Sums tip distribution amounts, given the provided filtering.
|
|
38993
|
-
*
|
|
38994
|
-
* For field support for filters and sorting, see
|
|
38995
|
-
* [Tips: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tips/tips/supported-filters).
|
|
38996
39179
|
* @param - Filter object in the following format:
|
|
38997
39180
|
* `"filter" : {
|
|
38998
39181
|
* "fieldName1": "value1",
|