@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 index_d$t_ActiveTimeInfo = ActiveTimeInfo;
|
|
1669
1669
|
type index_d$t_And = And;
|
|
@@ -1728,7 +1728,7 @@ declare const index_d$t_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
|
|
|
1728
1728
|
declare const index_d$t_queryDiscountRules: typeof queryDiscountRules;
|
|
1729
1729
|
declare const index_d$t_updateDiscountRule: typeof updateDiscountRule;
|
|
1730
1730
|
declare namespace index_d$t {
|
|
1731
|
-
export { type ActionEvent$n as ActionEvent, type index_d$t_ActiveTimeInfo as ActiveTimeInfo, type index_d$t_And as And, type AppliedDiscount$8 as AppliedDiscount, type index_d$t_AppliedDiscountRule as AppliedDiscountRule, index_d$t_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$
|
|
1731
|
+
export { type ActionEvent$n as ActionEvent, type index_d$t_ActiveTimeInfo as ActiveTimeInfo, type index_d$t_And as And, type AppliedDiscount$8 as AppliedDiscount, type index_d$t_AppliedDiscountRule as AppliedDiscountRule, index_d$t_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$d as BaseEventMetadata, type index_d$t_BuyXGetYInfo as BuyXGetYInfo, type index_d$t_CatalogItemFilter as CatalogItemFilter, type CatalogReference$c as CatalogReference, type index_d$t_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$t_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$t_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$f as CursorPaging, type Cursors$f as Cursors, type index_d$t_Custom as Custom, type index_d$t_CustomFilter as CustomFilter, type index_d$t_CustomerBuy as CustomerBuy, type index_d$t_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$t_CustomerGet as CustomerGet, type index_d$t_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$t_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$t_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$8 as DiscountRule, type index_d$t_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$t_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$8 as DiscountRuleName, type DiscountRuleNonNullableFields$7 as DiscountRuleNonNullableFields, type index_d$t_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$t_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$t_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$t_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$t_DiscountSettings as DiscountSettings, type index_d$t_DiscountTrigger as DiscountTrigger, type index_d$t_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$8 as DiscountType, type index_d$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 index_d$t_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$t_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$t_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$t_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$t_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$n as IdentificationData, type IdentificationDataIdOneOf$n as IdentificationDataIdOneOf, type index_d$t_ItemQuantityRange as ItemQuantityRange, type LineItem$7 as LineItem, type MessageEnvelope$m as MessageEnvelope, type MultiCurrencyPrice$6 as MultiCurrencyPrice, type index_d$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 index_d$t_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$t_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$t_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$n as RestoreInfo, type Scope$5 as Scope, type index_d$t_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$t_ScopeType as ScopeType, SortOrder$f as SortOrder, type Sorting$f as Sorting, type index_d$t_SpecificItemsInfo as SpecificItemsInfo, Status$5 as Status, type index_d$t_SubtotalRange as SubtotalRange, index_d$t_TriggerType as TriggerType, index_d$t_Type as Type, type index_d$t_UpdateDiscountRule as UpdateDiscountRule, type index_d$t_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$t_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$t_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$m as WebhookIdentityType, type index_d$t__publicOnDiscountRuleCreatedType as _publicOnDiscountRuleCreatedType, type index_d$t__publicOnDiscountRuleDeletedType as _publicOnDiscountRuleDeletedType, type index_d$t__publicOnDiscountRuleUpdatedType as _publicOnDiscountRuleUpdatedType, index_d$t_createDiscountRule as createDiscountRule, index_d$t_deleteDiscountRule as deleteDiscountRule, index_d$t_getDiscountRule as getDiscountRule, index_d$t_onDiscountRuleCreated as onDiscountRuleCreated, index_d$t_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$t_onDiscountRuleUpdated as onDiscountRuleUpdated, onDiscountRuleCreated$1 as publicOnDiscountRuleCreated, onDiscountRuleDeleted$1 as publicOnDiscountRuleDeleted, onDiscountRuleUpdated$1 as publicOnDiscountRuleUpdated, index_d$t_queryDiscountRules as queryDiscountRules, index_d$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 index_d$q_CreateSubscriptionContractRequest = CreateSubscriptionContractRequest;
|
|
3678
3688
|
type index_d$q_CreateSubscriptionContractResponse = CreateSubscriptionContractResponse;
|
|
@@ -3702,7 +3712,7 @@ declare const index_d$q_onSubscriptionContractDeleted: typeof onSubscriptionCont
|
|
|
3702
3712
|
declare const index_d$q_onSubscriptionContractUpdated: typeof onSubscriptionContractUpdated;
|
|
3703
3713
|
declare const index_d$q_querySubscriptionContracts: typeof querySubscriptionContracts;
|
|
3704
3714
|
declare namespace index_d$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 index_d$q_CreateSubscriptionContractRequest as CreateSubscriptionContractRequest, type index_d$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 index_d$q_GetSubscriptionContractRequest as GetSubscriptionContractRequest, type index_d$q_GetSubscriptionContractResponse as GetSubscriptionContractResponse, type index_d$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 index_d$q_QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequest, type index_d$q_QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponse, type index_d$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 index_d$q_SubscriptionContract as SubscriptionContract, type index_d$q_SubscriptionContractCreatedEnvelope as SubscriptionContractCreatedEnvelope, type index_d$q_SubscriptionContractDeletedEnvelope as SubscriptionContractDeletedEnvelope, type index_d$q_SubscriptionContractNonNullableFields as SubscriptionContractNonNullableFields, type index_d$q_SubscriptionContractUpdatedEnvelope as SubscriptionContractUpdatedEnvelope, type index_d$q_SubscriptionContractsQueryBuilder as SubscriptionContractsQueryBuilder, type index_d$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 index_d$q_UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequest, type index_d$q_UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponse, type V1SubscriptionSettings$1 as V1SubscriptionSettings, index_d$q_V2SubscriptionFrequency as V2SubscriptionFrequency, type VatId$9 as VatId, VatType$9 as VatType, WebhookIdentityType$k as WebhookIdentityType, WeightUnit$9 as WeightUnit, type index_d$q__publicOnSubscriptionContractCreatedType as _publicOnSubscriptionContractCreatedType, type index_d$q__publicOnSubscriptionContractDeletedType as _publicOnSubscriptionContractDeletedType, type index_d$q__publicOnSubscriptionContractUpdatedType as _publicOnSubscriptionContractUpdatedType, index_d$q_getSubscriptionContract as getSubscriptionContract, index_d$q_onSubscriptionContractCreated as onSubscriptionContractCreated, index_d$q_onSubscriptionContractDeleted as onSubscriptionContractDeleted, index_d$q_onSubscriptionContractUpdated as onSubscriptionContractUpdated, onSubscriptionContractCreated$1 as publicOnSubscriptionContractCreated, onSubscriptionContractDeleted$1 as publicOnSubscriptionContractDeleted, onSubscriptionContractUpdated$1 as publicOnSubscriptionContractUpdated, index_d$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 index_d$p_AbandonedCheckout = AbandonedCheckout;
|
|
4541
4551
|
type index_d$p_AbandonedCheckoutNonNullableFields = AbandonedCheckoutNonNullableFields;
|
|
@@ -4583,7 +4593,7 @@ declare const index_d$p_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
|
4583
4593
|
declare const index_d$p_redirectToCheckout: typeof redirectToCheckout;
|
|
4584
4594
|
declare const index_d$p_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4585
4595
|
declare namespace index_d$p {
|
|
4586
|
-
export { type index_d$p_AbandonedCheckout as AbandonedCheckout, type index_d$p_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$p_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$p_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$p_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$p_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$k as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$p_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$p_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$
|
|
4596
|
+
export { type index_d$p_AbandonedCheckout as AbandonedCheckout, type index_d$p_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$p_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$p_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$p_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$p_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$k as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$p_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$p_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$b as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type index_d$p_CartAbandonedEvent as CartAbandonedEvent, type index_d$p_CartRecoveredEvent as CartRecoveredEvent, type index_d$p_CommonCursorPaging as CommonCursorPaging, type index_d$p_CommonCursors as CommonCursors, type index_d$p_CommonPaging as CommonPaging, type index_d$p_CommonPagingMetadataV2 as CommonPagingMetadataV2, index_d$p_CommonSortOrder as CommonSortOrder, type index_d$p_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$d as CursorPaging, type Cursors$d as Cursors, type index_d$p_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type index_d$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 index_d$p_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type index_d$p_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type index_d$p_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$k as IdentificationData, type IdentificationDataIdOneOf$k as IdentificationDataIdOneOf, index_d$p_Identity as Identity, type MessageEnvelope$j as MessageEnvelope, index_d$p_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$3 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$p_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type index_d$p_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type index_d$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 index_d$p_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$k as RestoreInfo, type index_d$p_Search as Search, type index_d$p_SearchAbandonedCheckoutsOptions as SearchAbandonedCheckoutsOptions, type index_d$p_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type index_d$p_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type index_d$p_SearchAbandonedCheckoutsResponseNonNullableFields as SearchAbandonedCheckoutsResponseNonNullableFields, type index_d$p_SearchDetails as SearchDetails, type index_d$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 index_d$p_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$8 as VatId, VatType$8 as VatType, WebhookIdentityType$j as WebhookIdentityType, type index_d$p__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, index_d$p_deleteAbandonedCheckout as deleteAbandonedCheckout, index_d$p_getAbandonedCheckout as getAbandonedCheckout, index_d$p_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, index_d$p_queryAbandonedCheckouts as queryAbandonedCheckouts, index_d$p_redirectToCheckout as redirectToCheckout, index_d$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 index_d$o_BackInStockItemDetails = BackInStockItemDetails;
|
|
5311
5321
|
type index_d$o_BackInStockNotificationRequest = BackInStockNotificationRequest;
|
|
@@ -5355,7 +5365,7 @@ declare const index_d$o_onBackInStockNotificationRequestUpdated: typeof onBackIn
|
|
|
5355
5365
|
declare const index_d$o_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
5356
5366
|
declare const index_d$o_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
5357
5367
|
declare namespace index_d$o {
|
|
5358
|
-
export { type ActionEvent$j as ActionEvent, type App$1 as App, type index_d$o_BackInStockItemDetails as BackInStockItemDetails, type index_d$o_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$o_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$o_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$o_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$o_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$o_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$
|
|
5368
|
+
export { type ActionEvent$j as ActionEvent, type App$1 as App, type index_d$o_BackInStockItemDetails as BackInStockItemDetails, type index_d$o_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$o_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$o_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$o_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$o_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$o_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$a as BaseEventMetadata, type CatalogReference$9 as CatalogReference, type index_d$o_CreateBackInStockNotificationRequestRequest as CreateBackInStockNotificationRequestRequest, type index_d$o_CreateBackInStockNotificationRequestResponse as CreateBackInStockNotificationRequestResponse, type index_d$o_CreateBackInStockNotificationRequestResponseNonNullableFields as CreateBackInStockNotificationRequestResponseNonNullableFields, type CursorPaging$c as CursorPaging, type Cursors$c as Cursors, type index_d$o_DeleteBackInStockNotificationRequestRequest as DeleteBackInStockNotificationRequestRequest, type index_d$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 index_d$o_File as File, type index_d$o_GetBackInStockNotificationRequestRequest as GetBackInStockNotificationRequestRequest, type index_d$o_GetBackInStockNotificationRequestResponse as GetBackInStockNotificationRequestResponse, type index_d$o_GetBackInStockNotificationRequestResponseNonNullableFields as GetBackInStockNotificationRequestResponseNonNullableFields, type index_d$o_GetBackInStockNotificationRequestsCountByCatalogReferencesRequest as GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, type index_d$o_GetBackInStockNotificationRequestsCountByCatalogReferencesResponse as GetBackInStockNotificationRequestsCountByCatalogReferencesResponse, type index_d$o_GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields as GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type index_d$o_InvalidateCache as InvalidateCache, type index_d$o_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$o_MarkAsNotificationSentRequest as MarkAsNotificationSentRequest, type index_d$o_MarkAsNotificationSentResponse as MarkAsNotificationSentResponse, type index_d$o_MarkAsNotificationSentResponseNonNullableFields as MarkAsNotificationSentResponseNonNullableFields, type MessageEnvelope$i as MessageEnvelope, type index_d$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 index_d$o_QueryBackInStockNotificationRequestsRequest as QueryBackInStockNotificationRequestsRequest, type index_d$o_QueryBackInStockNotificationRequestsResponse as QueryBackInStockNotificationRequestsResponse, type index_d$o_QueryBackInStockNotificationRequestsResponseNonNullableFields as QueryBackInStockNotificationRequestsResponseNonNullableFields, type index_d$o_ReportItemsBackInStockOptions as ReportItemsBackInStockOptions, type index_d$o_ReportItemsBackInStockRequest as ReportItemsBackInStockRequest, type index_d$o_ReportItemsBackInStockResponse as ReportItemsBackInStockResponse, type index_d$o_RequestsQueryBuilder as RequestsQueryBuilder, type index_d$o_RequestsQueryResult as RequestsQueryResult, type RestoreInfo$j as RestoreInfo, SortOrder$c as SortOrder, type Sorting$c as Sorting, Status$3 as Status, type index_d$o_URI as URI, WebhookIdentityType$i as WebhookIdentityType, type index_d$o__publicOnBackInStockNotificationRequestCreatedType as _publicOnBackInStockNotificationRequestCreatedType, type index_d$o__publicOnBackInStockNotificationRequestDeletedType as _publicOnBackInStockNotificationRequestDeletedType, type index_d$o__publicOnBackInStockNotificationRequestUpdatedType as _publicOnBackInStockNotificationRequestUpdatedType, index_d$o_createBackInStockNotificationRequest as createBackInStockNotificationRequest, index_d$o_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, index_d$o_getBackInStockNotificationRequest as getBackInStockNotificationRequest, index_d$o_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, index_d$o_markAsNotificationSent as markAsNotificationSent, index_d$o_onBackInStockNotificationRequestCreated as onBackInStockNotificationRequestCreated, index_d$o_onBackInStockNotificationRequestDeleted as onBackInStockNotificationRequestDeleted, index_d$o_onBackInStockNotificationRequestUpdated as onBackInStockNotificationRequestUpdated, onBackInStockNotificationRequestCreated$1 as publicOnBackInStockNotificationRequestCreated, onBackInStockNotificationRequestDeleted$1 as publicOnBackInStockNotificationRequestDeleted, onBackInStockNotificationRequestUpdated$1 as publicOnBackInStockNotificationRequestUpdated, index_d$o_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, index_d$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 index_d$m_AddToCartOptions = AddToCartOptions;
|
|
8210
8278
|
type index_d$m_CreateCartOptions = CreateCartOptions;
|
|
@@ -8217,7 +8285,7 @@ declare const index_d$m_estimateTotals: typeof estimateTotals;
|
|
|
8217
8285
|
declare const index_d$m_getCart: typeof getCart;
|
|
8218
8286
|
declare const index_d$m_updateCart: typeof updateCart;
|
|
8219
8287
|
declare namespace index_d$m {
|
|
8220
|
-
export { type ActionEvent$i as ActionEvent, type index_d$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 index_d$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 index_d$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 index_d$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, index_d$m_addToCart as addToCart, index_d$m_createCart as createCart, createCheckout$2 as createCheckout, index_d$m_deleteCart as deleteCart, index_d$m_estimateTotals as estimateTotals, index_d$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, index_d$m_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8288
|
+
export { type ActionEvent$i as ActionEvent, type index_d$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 index_d$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 index_d$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 index_d$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, index_d$m_addToCart as addToCart, index_d$m_createCart as createCart, createCheckout$2 as createCheckout, index_d$m_deleteCart as deleteCart, index_d$m_estimateTotals as estimateTotals, index_d$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, index_d$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 index_d$l_AddToCartRequest = AddToCartRequest;
|
|
10837
10963
|
type index_d$l_AddToCartResponse = AddToCartResponse;
|
|
@@ -10876,6 +11002,8 @@ type index_d$l_UpdateCartResponseNonNullableFields = UpdateCartResponseNonNullab
|
|
|
10876
11002
|
type index_d$l_UpdateCurrentCartLineItemQuantityRequest = UpdateCurrentCartLineItemQuantityRequest;
|
|
10877
11003
|
type index_d$l_UpdateCurrentCartOptions = UpdateCurrentCartOptions;
|
|
10878
11004
|
type index_d$l_V1Coupon = V1Coupon;
|
|
11005
|
+
type index_d$l_V1DiscountRule = V1DiscountRule;
|
|
11006
|
+
type index_d$l_V1DiscountRuleName = V1DiscountRuleName;
|
|
10879
11007
|
type index_d$l_V1MerchantDiscount = V1MerchantDiscount;
|
|
10880
11008
|
type index_d$l__publicOnCartCreatedType = _publicOnCartCreatedType;
|
|
10881
11009
|
type index_d$l__publicOnCartDeletedType = _publicOnCartDeletedType;
|
|
@@ -10893,7 +11021,7 @@ declare const index_d$l_removeLineItemsFromCurrentCart: typeof removeLineItemsFr
|
|
|
10893
11021
|
declare const index_d$l_updateCurrentCart: typeof updateCurrentCart;
|
|
10894
11022
|
declare const index_d$l_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
10895
11023
|
declare namespace index_d$l {
|
|
10896
|
-
export { type ActionEvent$h as ActionEvent, type index_d$l_AddToCartRequest as AddToCartRequest, type index_d$l_AddToCartResponse as AddToCartResponse, type index_d$l_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$l_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$l_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$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 index_d$l_Cart as Cart, type index_d$l_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$l_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$l_CartDiscount as CartDiscount, type index_d$l_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$l_CartNonNullableFields as CartNonNullableFields, type index_d$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 index_d$l_CreateCartRequest as CreateCartRequest, type index_d$l_CreateCartResponse as CreateCartResponse, type index_d$l_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$l_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$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 index_d$l_DeleteCartRequest as DeleteCartRequest, type index_d$l_DeleteCartResponse as DeleteCartResponse, type index_d$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 index_d$l_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$l_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$l_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$l_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$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 index_d$l_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$l_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$l_GetCartRequest as GetCartRequest, type index_d$l_GetCartResponse as GetCartResponse, type index_d$l_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$l_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$l_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$l_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type index_d$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 index_d$l_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$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 index_d$l_UpdateCartRequest as UpdateCartRequest, type index_d$l_UpdateCartResponse as UpdateCartResponse, type index_d$l_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$l_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$l_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$l_V1Coupon as V1Coupon, type index_d$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 index_d$l__publicOnCartCreatedType as _publicOnCartCreatedType, type index_d$l__publicOnCartDeletedType as _publicOnCartDeletedType, type index_d$l__publicOnCartUpdatedType as _publicOnCartUpdatedType, index_d$l_addToCurrentCart as addToCurrentCart, index_d$l_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$l_deleteCurrentCart as deleteCurrentCart, index_d$l_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$l_getCurrentCart as getCurrentCart, index_d$l_onCartCreated as onCartCreated, index_d$l_onCartDeleted as onCartDeleted, index_d$l_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, index_d$l_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$l_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$l_updateCurrentCart as updateCurrentCart, index_d$l_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
11024
|
+
export { type ActionEvent$h as ActionEvent, type index_d$l_AddToCartRequest as AddToCartRequest, type index_d$l_AddToCartResponse as AddToCartResponse, type index_d$l_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$l_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$l_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$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 index_d$l_Cart as Cart, type index_d$l_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$l_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$l_CartDiscount as CartDiscount, type index_d$l_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$l_CartNonNullableFields as CartNonNullableFields, type index_d$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 index_d$l_CreateCartRequest as CreateCartRequest, type index_d$l_CreateCartResponse as CreateCartResponse, type index_d$l_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$l_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$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 index_d$l_DeleteCartRequest as DeleteCartRequest, type index_d$l_DeleteCartResponse as DeleteCartResponse, type index_d$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 index_d$l_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$l_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$l_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$l_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$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 index_d$l_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$l_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$l_GetCartRequest as GetCartRequest, type index_d$l_GetCartResponse as GetCartResponse, type index_d$l_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$l_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$l_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$l_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type index_d$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 index_d$l_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$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 index_d$l_UpdateCartRequest as UpdateCartRequest, type index_d$l_UpdateCartResponse as UpdateCartResponse, type index_d$l_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$l_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$l_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$l_V1Coupon as V1Coupon, type index_d$l_V1DiscountRule as V1DiscountRule, type index_d$l_V1DiscountRuleName as V1DiscountRuleName, type index_d$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 index_d$l__publicOnCartCreatedType as _publicOnCartCreatedType, type index_d$l__publicOnCartDeletedType as _publicOnCartDeletedType, type index_d$l__publicOnCartUpdatedType as _publicOnCartUpdatedType, index_d$l_addToCurrentCart as addToCurrentCart, index_d$l_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$l_deleteCurrentCart as deleteCurrentCart, index_d$l_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$l_getCurrentCart as getCurrentCart, index_d$l_onCartCreated as onCartCreated, index_d$l_onCartDeleted as onCartDeleted, index_d$l_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, index_d$l_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$l_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$l_updateCurrentCart as updateCurrentCart, index_d$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 index_d$k_AddToCheckoutOptions = AddToCheckoutOptions;
|
|
14323
14476
|
type index_d$k_AddToCheckoutRequest = AddToCheckoutRequest;
|
|
@@ -14353,7 +14506,6 @@ type index_d$k_GetCheckoutByCartIdResponse = GetCheckoutByCartIdResponse;
|
|
|
14353
14506
|
type index_d$k_GetCheckoutByCartIdResponseNonNullableFields = GetCheckoutByCartIdResponseNonNullableFields;
|
|
14354
14507
|
type index_d$k_GetCheckoutPaymentSettingsRequest = GetCheckoutPaymentSettingsRequest;
|
|
14355
14508
|
type index_d$k_GetCheckoutPaymentSettingsResponse = GetCheckoutPaymentSettingsResponse;
|
|
14356
|
-
type index_d$k_GetCheckoutPaymentSettingsResponseNonNullableFields = GetCheckoutPaymentSettingsResponseNonNullableFields;
|
|
14357
14509
|
type index_d$k_GetCheckoutPaymentSettingsResponsePaymentOption = GetCheckoutPaymentSettingsResponsePaymentOption;
|
|
14358
14510
|
declare const index_d$k_GetCheckoutPaymentSettingsResponsePaymentOption: typeof GetCheckoutPaymentSettingsResponsePaymentOption;
|
|
14359
14511
|
type index_d$k_GetCheckoutRequest = GetCheckoutRequest;
|
|
@@ -14412,7 +14564,6 @@ declare const index_d$k_addToCheckout: typeof addToCheckout;
|
|
|
14412
14564
|
declare const index_d$k_createCheckout: typeof createCheckout;
|
|
14413
14565
|
declare const index_d$k_getCheckout: typeof getCheckout;
|
|
14414
14566
|
declare const index_d$k_getCheckoutByCartId: typeof getCheckoutByCartId;
|
|
14415
|
-
declare const index_d$k_getCheckoutPaymentSettings: typeof getCheckoutPaymentSettings;
|
|
14416
14567
|
declare const index_d$k_getCheckoutUrl: typeof getCheckoutUrl;
|
|
14417
14568
|
declare const index_d$k_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
|
|
14418
14569
|
declare const index_d$k_onCheckoutCompleted: typeof onCheckoutCompleted;
|
|
@@ -14425,7 +14576,7 @@ declare const index_d$k_removeOverrideCheckoutUrl: typeof removeOverrideCheckout
|
|
|
14425
14576
|
declare const index_d$k_updateCheckout: typeof updateCheckout;
|
|
14426
14577
|
declare const index_d$k_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
14427
14578
|
declare namespace index_d$k {
|
|
14428
|
-
export { type ActionEvent$g as ActionEvent, type index_d$k_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$k_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$k_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$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 index_d$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, index_d$k_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type index_d$k_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type index_d$k_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$k_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$k_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$k_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$k_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type index_d$k_CommonVatId as CommonVatId, index_d$k_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type index_d$k_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$k_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$k_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$k_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$k_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$k_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$k_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type index_d$k_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$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, index_d$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 index_d$k_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$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 index_d$k_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$k_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$k_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type index_d$k_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type index_d$k_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type index_d$k_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, index_d$k_GetCheckoutPaymentSettingsResponsePaymentOption as GetCheckoutPaymentSettingsResponsePaymentOption, type index_d$k_GetCheckoutRequest as GetCheckoutRequest, type index_d$k_GetCheckoutResponse as GetCheckoutResponse, type index_d$k_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$k_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$k_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$k_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$k_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$k_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$k_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$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 index_d$k_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type index_d$k_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$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 index_d$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 index_d$k_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$k_RedeemErrorData as RedeemErrorData, type index_d$k_RemoveCouponRequest as RemoveCouponRequest, type index_d$k_RemoveCouponResponse as RemoveCouponResponse, type index_d$k_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$k_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$k_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$k_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$k_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$k_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$k_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$k_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$k_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$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 index_d$k_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$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 index_d$k_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type index_d$k_Subscription as Subscription, type index_d$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 index_d$k_UpdateCheckout as UpdateCheckout, type index_d$k_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$k_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$k_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$k_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$k_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$k_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$k_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$k_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$k_V1BuyerInfo as V1BuyerInfo, type index_d$k_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type index_d$k_V1ShippingInfo as V1ShippingInfo, type index_d$k_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$k_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$k_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type index_d$k_ViolationsList as ViolationsList, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$6 as WeightUnit, type index_d$k__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type index_d$k__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type index_d$k__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, index_d$k_addToCheckout as addToCheckout, index_d$k_createCheckout as createCheckout, createOrder$2 as createOrder, index_d$k_getCheckout as getCheckout, index_d$k_getCheckoutByCartId as getCheckoutByCartId, index_d$k_getCheckoutPaymentSettings as getCheckoutPaymentSettings, index_d$k_getCheckoutUrl as getCheckoutUrl, index_d$k_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$k_onCheckoutCompleted as onCheckoutCompleted, index_d$k_onCheckoutCreated as onCheckoutCreated, index_d$k_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, index_d$k_removeCoupon as removeCoupon, index_d$k_removeGiftCard as removeGiftCard, index_d$k_removeLineItems as removeLineItems, index_d$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$k_updateCheckout as updateCheckout, index_d$k_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14579
|
+
export { type ActionEvent$g as ActionEvent, type index_d$k_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$k_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$k_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$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 index_d$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, index_d$k_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type index_d$k_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type index_d$k_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$k_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$k_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$k_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$k_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type index_d$k_CommonVatId as CommonVatId, index_d$k_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type index_d$k_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$k_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$k_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$k_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$k_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$k_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$k_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type index_d$k_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$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, index_d$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 index_d$k_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$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 index_d$k_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$k_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$k_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type index_d$k_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type index_d$k_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, index_d$k_GetCheckoutPaymentSettingsResponsePaymentOption as GetCheckoutPaymentSettingsResponsePaymentOption, type index_d$k_GetCheckoutRequest as GetCheckoutRequest, type index_d$k_GetCheckoutResponse as GetCheckoutResponse, type index_d$k_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$k_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$k_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$k_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$k_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$k_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$k_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$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 index_d$k_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type index_d$k_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$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 index_d$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 index_d$k_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$k_RedeemErrorData as RedeemErrorData, type Region$3 as Region, type index_d$k_RemoveCouponRequest as RemoveCouponRequest, type index_d$k_RemoveCouponResponse as RemoveCouponResponse, type index_d$k_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$k_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$k_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$k_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$k_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$k_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$k_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$k_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$k_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$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 index_d$k_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$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 index_d$k_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type index_d$k_Subscription as Subscription, type index_d$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 index_d$k_UpdateCheckout as UpdateCheckout, type index_d$k_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$k_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$k_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$k_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$k_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$k_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$k_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$k_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$k_V1BuyerInfo as V1BuyerInfo, type index_d$k_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type index_d$k_V1ShippingInfo as V1ShippingInfo, type index_d$k_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$k_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$k_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type index_d$k_ViolationsList as ViolationsList, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$6 as WeightUnit, type index_d$k__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type index_d$k__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type index_d$k__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, index_d$k_addToCheckout as addToCheckout, index_d$k_createCheckout as createCheckout, createOrder$2 as createOrder, index_d$k_getCheckout as getCheckout, index_d$k_getCheckoutByCartId as getCheckoutByCartId, index_d$k_getCheckoutUrl as getCheckoutUrl, index_d$k_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$k_onCheckoutCompleted as onCheckoutCompleted, index_d$k_onCheckoutCreated as onCheckoutCreated, index_d$k_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, index_d$k_removeCoupon as removeCoupon, index_d$k_removeGiftCard as removeGiftCard, index_d$k_removeLineItems as removeLineItems, index_d$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$k_updateCheckout as updateCheckout, index_d$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 index_d$j_Alignment = Alignment;
|
|
14857
15018
|
declare const index_d$j_Alignment: typeof Alignment;
|
|
@@ -14887,7 +15048,7 @@ declare const index_d$j_getCheckoutSettings: typeof getCheckoutSettings;
|
|
|
14887
15048
|
declare const index_d$j_onCheckoutSettingsUpdated: typeof onCheckoutSettingsUpdated;
|
|
14888
15049
|
declare const index_d$j_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
14889
15050
|
declare namespace index_d$j {
|
|
14890
|
-
export { type ActionEvent$f as ActionEvent, index_d$j_Alignment as Alignment, type BaseEventMetadata$
|
|
15051
|
+
export { type ActionEvent$f as ActionEvent, index_d$j_Alignment as Alignment, type BaseEventMetadata$6 as BaseEventMetadata, type index_d$j_CheckboxField as CheckboxField, type index_d$j_CheckoutBrand as CheckoutBrand, type index_d$j_CheckoutFields as CheckoutFields, type index_d$j_CheckoutHeader as CheckoutHeader, type index_d$j_CheckoutPolicies as CheckoutPolicies, type index_d$j_CheckoutSettings as CheckoutSettings, type index_d$j_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type index_d$j_ContactUsPolicy as ContactUsPolicy, type index_d$j_CustomCheckoutPolicy as CustomCheckoutPolicy, type index_d$j_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type index_d$j_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type index_d$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 index_d$j_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type index_d$j_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type index_d$j_GetCheckoutSettingsResponseNonNullableFields as GetCheckoutSettingsResponseNonNullableFields, type index_d$j_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$f as IdentificationData, type IdentificationDataIdOneOf$f as IdentificationDataIdOneOf, type index_d$j_ListCheckoutSettingsRequest as ListCheckoutSettingsRequest, type index_d$j_ListCheckoutSettingsResponse as ListCheckoutSettingsResponse, type index_d$j_Logo as Logo, index_d$j_LogoSize as LogoSize, type MessageEnvelope$e as MessageEnvelope, type index_d$j_PrivacyPolicy as PrivacyPolicy, type RestoreInfo$f as RestoreInfo, type index_d$j_ReturnPolicy as ReturnPolicy, type index_d$j_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type index_d$j_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type index_d$j_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, type index_d$j_UpdateCheckoutSettingsResponseNonNullableFields as UpdateCheckoutSettingsResponseNonNullableFields, WebhookIdentityType$e as WebhookIdentityType, type index_d$j__publicOnCheckoutSettingsUpdatedType as _publicOnCheckoutSettingsUpdatedType, index_d$j_getCheckoutSettings as getCheckoutSettings, index_d$j_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, onCheckoutSettingsUpdated$1 as publicOnCheckoutSettingsUpdated, index_d$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 index_d$i_CatalogOverrideFields = CatalogOverrideFields;
|
|
17321
17504
|
type index_d$i_Checkout = Checkout;
|
|
@@ -17394,7 +17577,7 @@ declare const index_d$i_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
|
|
|
17394
17577
|
declare const index_d$i_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
17395
17578
|
declare const index_d$i_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
17396
17579
|
declare namespace index_d$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 index_d$i_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type index_d$i_Checkout as Checkout, type index_d$i_CheckoutCustomization as CheckoutCustomization, type index_d$i_CheckoutTemplate as CheckoutTemplate, type index_d$i_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$i_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$i_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$i_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$i_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$i_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$i_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$i_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$i_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type index_d$i_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$i_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$i_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$i_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$i_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$i_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$i_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$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 index_d$i_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$i_CustomSettings as CustomSettings, type index_d$i_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$i_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type index_d$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 index_d$i_FreeTrialPeriod as FreeTrialPeriod, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$i_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$i_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$i_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type index_d$i_HeadersEntry as HeadersEntry, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type index_d$i_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$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, index_d$i_NameInLineItem as NameInLineItem, index_d$i_NameInOther as NameInOther, type index_d$i_Other as Other, type OtherCharge$1 as OtherCharge, type index_d$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 index_d$i_Policy as Policy, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type index_d$i_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$i_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$i_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type index_d$i_RawHttpResponse as RawHttpResponse, type index_d$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, index_d$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, index_d$i_SuggestedFix as SuggestedFix, type SystemError$3 as SystemError, type index_d$i_Target as Target, type index_d$i_TargetLineItem as TargetLineItem, type index_d$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 index_d$i_Title as Title, type index_d$i_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$i_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$i_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$i_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$i_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type index_d$i_Violation as Violation, type index_d$i_WebClientCustomization as WebClientCustomization, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type index_d$i__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type index_d$i__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type index_d$i__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type index_d$i__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, index_d$i_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$i_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$i_createCheckoutTemplate as createCheckoutTemplate, index_d$i_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$i_getCheckoutTemplate as getCheckoutTemplate, index_d$i_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$i_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$i_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$i_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, index_d$i_queryCheckoutTemplates as queryCheckoutTemplates, index_d$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 index_d$i_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type index_d$i_Checkout as Checkout, type index_d$i_CheckoutCustomization as CheckoutCustomization, type index_d$i_CheckoutTemplate as CheckoutTemplate, type index_d$i_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$i_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$i_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$i_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$i_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$i_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$i_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$i_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$i_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type index_d$i_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$i_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$i_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$i_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$i_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$i_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$i_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$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 index_d$i_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$i_CustomSettings as CustomSettings, type index_d$i_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$i_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryAllocation$2 as DeliveryAllocation, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type index_d$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 index_d$i_FreeTrialPeriod as FreeTrialPeriod, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$i_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$i_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$i_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type index_d$i_HeadersEntry as HeadersEntry, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type index_d$i_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$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, index_d$i_NameInLineItem as NameInLineItem, index_d$i_NameInOther as NameInOther, type index_d$i_Other as Other, type OtherCharge$1 as OtherCharge, type index_d$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 index_d$i_Policy as Policy, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type index_d$i_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$i_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$i_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type index_d$i_RawHttpResponse as RawHttpResponse, type index_d$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, index_d$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, index_d$i_SuggestedFix as SuggestedFix, type SystemError$3 as SystemError, type index_d$i_Target as Target, type index_d$i_TargetLineItem as TargetLineItem, type index_d$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 index_d$i_Title as Title, type index_d$i_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$i_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$i_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$i_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$i_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type index_d$i_Violation as Violation, type index_d$i_WebClientCustomization as WebClientCustomization, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type index_d$i__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type index_d$i__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type index_d$i__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type index_d$i__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, index_d$i_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$i_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$i_createCheckoutTemplate as createCheckoutTemplate, index_d$i_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$i_getCheckoutTemplate as getCheckoutTemplate, index_d$i_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$i_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$i_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$i_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, index_d$i_queryCheckoutTemplates as queryCheckoutTemplates, index_d$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 index_d$h_AddDeliveryCarrierOptions = AddDeliveryCarrierOptions;
|
|
18803
18876
|
type index_d$h_AddDeliveryCarrierRequest = AddDeliveryCarrierRequest;
|
|
18804
18877
|
type index_d$h_AddDeliveryCarrierResponse = AddDeliveryCarrierResponse;
|
|
@@ -18819,13 +18892,7 @@ type index_d$h_DeliveryCarrier = DeliveryCarrier;
|
|
|
18819
18892
|
type index_d$h_DeliveryCarrierDetails = DeliveryCarrierDetails;
|
|
18820
18893
|
type index_d$h_DeliveryCarrierRegionalSettings = DeliveryCarrierRegionalSettings;
|
|
18821
18894
|
type index_d$h_DeliveryProfile = DeliveryProfile;
|
|
18822
|
-
type index_d$h_DeliveryProfileCreatedEnvelope = DeliveryProfileCreatedEnvelope;
|
|
18823
|
-
type index_d$h_DeliveryProfileDeletedEnvelope = DeliveryProfileDeletedEnvelope;
|
|
18824
|
-
type index_d$h_DeliveryProfileDeliveryRegionAddedEnvelope = DeliveryProfileDeliveryRegionAddedEnvelope;
|
|
18825
|
-
type index_d$h_DeliveryProfileDeliveryRegionRemovedEnvelope = DeliveryProfileDeliveryRegionRemovedEnvelope;
|
|
18826
|
-
type index_d$h_DeliveryProfileDeliveryRegionUpdatedEnvelope = DeliveryProfileDeliveryRegionUpdatedEnvelope;
|
|
18827
18895
|
type index_d$h_DeliveryProfileNonNullableFields = DeliveryProfileNonNullableFields;
|
|
18828
|
-
type index_d$h_DeliveryProfileUpdatedEnvelope = DeliveryProfileUpdatedEnvelope;
|
|
18829
18896
|
type index_d$h_DeliveryProfilesQueryBuilder = DeliveryProfilesQueryBuilder;
|
|
18830
18897
|
type index_d$h_DeliveryProfilesQueryResult = DeliveryProfilesQueryResult;
|
|
18831
18898
|
type index_d$h_DeliveryRegion = DeliveryRegion;
|
|
@@ -18885,31 +18952,19 @@ type index_d$h_UpdateDeliveryRegionOptions = UpdateDeliveryRegionOptions;
|
|
|
18885
18952
|
type index_d$h_UpdateDeliveryRegionRequest = UpdateDeliveryRegionRequest;
|
|
18886
18953
|
type index_d$h_UpdateDeliveryRegionResponse = UpdateDeliveryRegionResponse;
|
|
18887
18954
|
type index_d$h_UpdateDeliveryRegionResponseNonNullableFields = UpdateDeliveryRegionResponseNonNullableFields;
|
|
18888
|
-
type index_d$h__publicOnDeliveryProfileCreatedType = _publicOnDeliveryProfileCreatedType;
|
|
18889
|
-
type index_d$h__publicOnDeliveryProfileDeletedType = _publicOnDeliveryProfileDeletedType;
|
|
18890
|
-
type index_d$h__publicOnDeliveryProfileDeliveryRegionAddedType = _publicOnDeliveryProfileDeliveryRegionAddedType;
|
|
18891
|
-
type index_d$h__publicOnDeliveryProfileDeliveryRegionRemovedType = _publicOnDeliveryProfileDeliveryRegionRemovedType;
|
|
18892
|
-
type index_d$h__publicOnDeliveryProfileDeliveryRegionUpdatedType = _publicOnDeliveryProfileDeliveryRegionUpdatedType;
|
|
18893
|
-
type index_d$h__publicOnDeliveryProfileUpdatedType = _publicOnDeliveryProfileUpdatedType;
|
|
18894
18955
|
declare const index_d$h_addDeliveryCarrier: typeof addDeliveryCarrier;
|
|
18895
18956
|
declare const index_d$h_createDeliveryProfile: typeof createDeliveryProfile;
|
|
18896
18957
|
declare const index_d$h_deleteDeliveryProfile: typeof deleteDeliveryProfile;
|
|
18897
18958
|
declare const index_d$h_getDeliveryProfile: typeof getDeliveryProfile;
|
|
18898
18959
|
declare const index_d$h_listDeliveryCarrierDetails: typeof listDeliveryCarrierDetails;
|
|
18899
18960
|
declare const index_d$h_listDeliveryCarriers: typeof listDeliveryCarriers;
|
|
18900
|
-
declare const index_d$h_onDeliveryProfileCreated: typeof onDeliveryProfileCreated;
|
|
18901
|
-
declare const index_d$h_onDeliveryProfileDeleted: typeof onDeliveryProfileDeleted;
|
|
18902
|
-
declare const index_d$h_onDeliveryProfileDeliveryRegionAdded: typeof onDeliveryProfileDeliveryRegionAdded;
|
|
18903
|
-
declare const index_d$h_onDeliveryProfileDeliveryRegionRemoved: typeof onDeliveryProfileDeliveryRegionRemoved;
|
|
18904
|
-
declare const index_d$h_onDeliveryProfileDeliveryRegionUpdated: typeof onDeliveryProfileDeliveryRegionUpdated;
|
|
18905
|
-
declare const index_d$h_onDeliveryProfileUpdated: typeof onDeliveryProfileUpdated;
|
|
18906
18961
|
declare const index_d$h_queryDeliveryProfiles: typeof queryDeliveryProfiles;
|
|
18907
18962
|
declare const index_d$h_removeDeliveryCarrier: typeof removeDeliveryCarrier;
|
|
18908
18963
|
declare const index_d$h_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
18909
18964
|
declare const index_d$h_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
18910
18965
|
declare const index_d$h_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
18911
18966
|
declare namespace index_d$h {
|
|
18912
|
-
export { type ActionEvent$d as ActionEvent, type index_d$h_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$h_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$h_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$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 index_d$h_Asset as Asset, type index_d$h_BackupRate as BackupRate, type BaseEventMetadata$5 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type index_d$h_Column as Column, type index_d$h_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$h_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$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 index_d$h_DashboardTable as DashboardTable, type index_d$h_DeleteContext as DeleteContext, type index_d$h_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$h_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$h_DeleteStatus as DeleteStatus, type index_d$h_DeliveryCarrier as DeliveryCarrier, type index_d$h_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$h_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$h_DeliveryProfile as DeliveryProfile, type index_d$h_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type index_d$h_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type index_d$h_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type index_d$h_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type index_d$h_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type index_d$h_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$h_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type index_d$h_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$h_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$h_DeliveryRegion as DeliveryRegion, type index_d$h_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$h_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$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 index_d$h_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$h_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$h_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$h_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$h_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$h_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$h_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$h_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$h_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$h_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$h_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$c as MessageEnvelope, type index_d$h_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$h_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$h_NamespaceChanged as NamespaceChanged, type index_d$h_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$h_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$h_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$h_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$h_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$h_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$h_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$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 index_d$h_Row as Row, type index_d$h_ServiceProvisioned as ServiceProvisioned, type index_d$h_ServiceRemoved as ServiceRemoved, type index_d$h_SiteCreated as SiteCreated, index_d$h_SiteCreatedContext as SiteCreatedContext, type index_d$h_SiteDeleted as SiteDeleted, type index_d$h_SiteHardDeleted as SiteHardDeleted, type index_d$h_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$h_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$h_SitePublished as SitePublished, type index_d$h_SiteRenamed as SiteRenamed, type index_d$h_SiteTransferred as SiteTransferred, type index_d$h_SiteUndeleted as SiteUndeleted, type index_d$h_SiteUnpublished as SiteUnpublished, SortOrder$a as SortOrder, type Sorting$a as Sorting, State$1 as State, type index_d$h_StudioAssigned as StudioAssigned, type index_d$h_StudioUnassigned as StudioUnassigned, type index_d$h_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$h_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$h_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$h_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$h_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$h_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$h_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$h_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$h_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$h_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$h_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$h_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$h_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$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 index_d$h__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type index_d$h__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type index_d$h__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type index_d$h__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type index_d$h__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type index_d$h__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, index_d$h_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, index_d$h_createDeliveryProfile as createDeliveryProfile, index_d$h_deleteDeliveryProfile as deleteDeliveryProfile, index_d$h_getDeliveryProfile as getDeliveryProfile, index_d$h_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$h_listDeliveryCarriers as listDeliveryCarriers, index_d$h_onDeliveryProfileCreated as onDeliveryProfileCreated, index_d$h_onDeliveryProfileDeleted as onDeliveryProfileDeleted, index_d$h_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, index_d$h_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, index_d$h_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, index_d$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, index_d$h_queryDeliveryProfiles as queryDeliveryProfiles, index_d$h_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, index_d$h_updateDeliveryCarrier as updateDeliveryCarrier, index_d$h_updateDeliveryProfile as updateDeliveryProfile, index_d$h_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18967
|
+
export { type ActionEvent$d as ActionEvent, type index_d$h_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$h_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$h_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$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 index_d$h_Asset as Asset, type index_d$h_BackupRate as BackupRate, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type index_d$h_Column as Column, type index_d$h_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$h_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$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 index_d$h_DashboardTable as DashboardTable, type index_d$h_DeleteContext as DeleteContext, type index_d$h_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$h_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$h_DeleteStatus as DeleteStatus, type index_d$h_DeliveryCarrier as DeliveryCarrier, type index_d$h_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$h_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$h_DeliveryProfile as DeliveryProfile, type index_d$h_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$h_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$h_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$h_DeliveryRegion as DeliveryRegion, type index_d$h_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$h_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$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 index_d$h_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$h_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$h_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$h_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$h_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$h_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$h_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$h_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$h_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$h_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$h_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$c as MessageEnvelope, type index_d$h_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$h_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$h_NamespaceChanged as NamespaceChanged, type index_d$h_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$h_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$h_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$h_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$h_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$h_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$h_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$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 index_d$h_Row as Row, type index_d$h_ServiceProvisioned as ServiceProvisioned, type index_d$h_ServiceRemoved as ServiceRemoved, type index_d$h_SiteCreated as SiteCreated, index_d$h_SiteCreatedContext as SiteCreatedContext, type index_d$h_SiteDeleted as SiteDeleted, type index_d$h_SiteHardDeleted as SiteHardDeleted, type index_d$h_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$h_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$h_SitePublished as SitePublished, type index_d$h_SiteRenamed as SiteRenamed, type index_d$h_SiteTransferred as SiteTransferred, type index_d$h_SiteUndeleted as SiteUndeleted, type index_d$h_SiteUnpublished as SiteUnpublished, SortOrder$a as SortOrder, type Sorting$a as Sorting, State$1 as State, type index_d$h_StudioAssigned as StudioAssigned, type index_d$h_StudioUnassigned as StudioUnassigned, type index_d$h_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$h_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$h_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$h_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$h_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$h_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$h_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$h_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$h_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$h_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$h_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$h_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$h_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$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, index_d$h_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, index_d$h_createDeliveryProfile as createDeliveryProfile, index_d$h_deleteDeliveryProfile as deleteDeliveryProfile, index_d$h_getDeliveryProfile as getDeliveryProfile, index_d$h_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$h_listDeliveryCarriers as listDeliveryCarriers, index_d$h_queryDeliveryProfiles as queryDeliveryProfiles, index_d$h_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, index_d$h_updateDeliveryCarrier as updateDeliveryCarrier, index_d$h_updateDeliveryProfile as updateDeliveryProfile, index_d$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 index_d$g_AppliedDiscountDiscountType: typeof AppliedDiscountDisco
|
|
|
22332
22440
|
type index_d$g_BillingChangedDetails = BillingChangedDetails;
|
|
22333
22441
|
type index_d$g_BillingDetails = BillingDetails;
|
|
22334
22442
|
type index_d$g_BillingDetailsChangeTypeOneOf = BillingDetailsChangeTypeOneOf;
|
|
22443
|
+
type index_d$g_BusinessLocationChangedDetails = BusinessLocationChangedDetails;
|
|
22444
|
+
type index_d$g_BusinessLocationDetails = BusinessLocationDetails;
|
|
22445
|
+
type index_d$g_BusinessLocationDetailsChangeTypeOneOf = BusinessLocationDetailsChangeTypeOneOf;
|
|
22335
22446
|
type index_d$g_BuyerChangedDetails = BuyerChangedDetails;
|
|
22336
22447
|
type index_d$g_BuyerDetailsChangeTypeOneOf = BuyerDetailsChangeTypeOneOf;
|
|
22337
22448
|
type index_d$g_CalculatedDraftOrder = CalculatedDraftOrder;
|
|
@@ -22407,6 +22518,8 @@ type index_d$g_SetAdditionalFeesResponseNonNullableFields = SetAdditionalFeesRes
|
|
|
22407
22518
|
type index_d$g_SetBillingInfoRequest = SetBillingInfoRequest;
|
|
22408
22519
|
type index_d$g_SetBillingInfoResponse = SetBillingInfoResponse;
|
|
22409
22520
|
type index_d$g_SetBillingInfoResponseNonNullableFields = SetBillingInfoResponseNonNullableFields;
|
|
22521
|
+
type index_d$g_SetBusinessLocationRequest = SetBusinessLocationRequest;
|
|
22522
|
+
type index_d$g_SetBusinessLocationResponse = SetBusinessLocationResponse;
|
|
22410
22523
|
type index_d$g_SetBuyerInfoRequest = SetBuyerInfoRequest;
|
|
22411
22524
|
type index_d$g_SetBuyerInfoResponse = SetBuyerInfoResponse;
|
|
22412
22525
|
type index_d$g_SetBuyerInfoResponseNonNullableFields = SetBuyerInfoResponseNonNullableFields;
|
|
@@ -22459,7 +22572,7 @@ declare const index_d$g_setRecipientInfo: typeof setRecipientInfo;
|
|
|
22459
22572
|
declare const index_d$g_setShippingInfo: typeof setShippingInfo;
|
|
22460
22573
|
declare const index_d$g_updateLineItems: typeof updateLineItems;
|
|
22461
22574
|
declare namespace index_d$g {
|
|
22462
|
-
export { type ActionEvent$c as ActionEvent, type Activity$2 as Activity, type ActivityContentOneOf$1 as ActivityContentOneOf, ActivityType$2 as ActivityType, type index_d$g_AddLineItemsToDraftOrderOptions as AddLineItemsToDraftOrderOptions, type index_d$g_AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequest, type index_d$g_AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponse, type index_d$g_AddLineItemsToDraftOrderResponseNonNullableFields as AddLineItemsToDraftOrderResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type index_d$g_AdditionalFeeDetails as AdditionalFeeDetails, type index_d$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, index_d$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 index_d$g_BillingChangedDetails as BillingChangedDetails, type index_d$g_BillingDetails as BillingDetails, type index_d$g_BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOf, type index_d$g_BuyerChangedDetails as BuyerChangedDetails, type BuyerDetails$1 as BuyerDetails, type index_d$g_BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOf, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type index_d$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 index_d$g_CatalogReferenceLineItem as CatalogReferenceLineItem, type ChannelInfo$2 as ChannelInfo, ChannelType$2 as ChannelType, type Color$1 as Color, type index_d$g_CommitDraftOrderOptions as CommitDraftOrderOptions, type index_d$g_CommitDraftOrderRequest as CommitDraftOrderRequest, type index_d$g_CommitDraftOrderResponse as CommitDraftOrderResponse, type index_d$g_CommitDraftOrderResponseNonNullableFields as CommitDraftOrderResponseNonNullableFields, type Coupon$2 as Coupon, type index_d$g_CreateCustomAdditionalFeesOptions as CreateCustomAdditionalFeesOptions, type index_d$g_CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequest, type index_d$g_CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponse, type index_d$g_CreateCustomAdditionalFeesResponseNonNullableFields as CreateCustomAdditionalFeesResponseNonNullableFields, type index_d$g_CreateCustomDiscountsOptions as CreateCustomDiscountsOptions, type index_d$g_CreateCustomDiscountsRequest as CreateCustomDiscountsRequest, type index_d$g_CreateCustomDiscountsResponse as CreateCustomDiscountsResponse, type index_d$g_CreateCustomDiscountsResponseNonNullableFields as CreateCustomDiscountsResponseNonNullableFields, type index_d$g_CreateDraftOrderRequest as CreateDraftOrderRequest, type index_d$g_CreateDraftOrderResponse as CreateDraftOrderResponse, type index_d$g_CreateDraftOrderResponseNonNullableFields as CreateDraftOrderResponseNonNullableFields, type index_d$g_CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequest, type index_d$g_CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponse, type index_d$g_CreateEmptyDraftOrderResponseNonNullableFields as CreateEmptyDraftOrderResponseNonNullableFields, type index_d$g_CreateOrderFromDraftRequest as CreateOrderFromDraftRequest, type index_d$g_CreateOrderFromDraftResponse as CreateOrderFromDraftResponse, type index_d$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 index_d$g_CustomLineItem as CustomLineItem, type index_d$g_DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequest, type index_d$g_DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponse, type index_d$g_DeleteCustomAdditionalFeesResponseNonNullableFields as DeleteCustomAdditionalFeesResponseNonNullableFields, type index_d$g_DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequest, type index_d$g_DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponse, type index_d$g_DeleteCustomDiscountsResponseNonNullableFields as DeleteCustomDiscountsResponseNonNullableFields, type index_d$g_DeleteDraftOrderRequest as DeleteDraftOrderRequest, type index_d$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 index_d$g_DiscountDetails as DiscountDetails, type index_d$g_DiscountOption as DiscountOption, type index_d$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 index_d$g_DraftOrder as DraftOrder, type DraftOrderChangesApplied$1 as DraftOrderChangesApplied, type DraftOrderCommitSettings$1 as DraftOrderCommitSettings, type index_d$g_DraftOrdersQueryBuilder as DraftOrdersQueryBuilder, type index_d$g_DraftOrdersQueryResult as DraftOrdersQueryResult, index_d$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, index_d$g_FileType as FileType, FulfillmentStatus$3 as FulfillmentStatus, type FulfillmentStatusesAggregate$1 as FulfillmentStatusesAggregate, type FullAddressContactDetails$2 as FullAddressContactDetails, type index_d$g_GetDraftEditabilityStatusRequest as GetDraftEditabilityStatusRequest, type index_d$g_GetDraftEditabilityStatusResponse as GetDraftEditabilityStatusResponse, type index_d$g_GetDraftOrderRequest as GetDraftOrderRequest, type index_d$g_GetDraftOrderResponse as GetDraftOrderResponse, type index_d$g_GetDraftOrderResponseNonNullableFields as GetDraftOrderResponseNonNullableFields, type index_d$g_GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequest, type index_d$g_GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponse, type index_d$g_GetOrderDraftabilityStatusResponseNonNullableFields as GetOrderDraftabilityStatusResponseNonNullableFields, type GiftCardPaymentRefund$1 as GiftCardPaymentRefund, type index_d$g_IdAndApplied as IdAndApplied, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type index_d$g_InventoryUpdate as InventoryUpdate, type ItemChangedDetails$1 as ItemChangedDetails, type index_d$g_ItemDetails as ItemDetails, type index_d$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 index_d$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, index_d$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 index_d$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, index_d$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 index_d$g_QueryDraftOrdersRequest as QueryDraftOrdersRequest, type index_d$g_QueryDraftOrdersResponse as QueryDraftOrdersResponse, type index_d$g_QueryDraftOrdersResponseNonNullableFields as QueryDraftOrdersResponseNonNullableFields, type index_d$g_RecipientInfoChangedDetails as RecipientInfoChangedDetails, type index_d$g_RecipientInfoDetails as RecipientInfoDetails, type index_d$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 index_d$g_SecuredMedia as SecuredMedia, type index_d$g_SetAdditionalFeesRequest as SetAdditionalFeesRequest, type index_d$g_SetAdditionalFeesResponse as SetAdditionalFeesResponse, type index_d$g_SetAdditionalFeesResponseNonNullableFields as SetAdditionalFeesResponseNonNullableFields, type index_d$g_SetBillingInfoRequest as SetBillingInfoRequest, type index_d$g_SetBillingInfoResponse as SetBillingInfoResponse, type index_d$g_SetBillingInfoResponseNonNullableFields as SetBillingInfoResponseNonNullableFields, type index_d$g_SetBuyerInfoRequest as SetBuyerInfoRequest, type index_d$g_SetBuyerInfoResponse as SetBuyerInfoResponse, type index_d$g_SetBuyerInfoResponseNonNullableFields as SetBuyerInfoResponseNonNullableFields, type index_d$g_SetDiscountsRequest as SetDiscountsRequest, type index_d$g_SetDiscountsResponse as SetDiscountsResponse, type index_d$g_SetDiscountsResponseNonNullableFields as SetDiscountsResponseNonNullableFields, type index_d$g_SetRecipientInfoRequest as SetRecipientInfoRequest, type index_d$g_SetRecipientInfoResponse as SetRecipientInfoResponse, type index_d$g_SetRecipientInfoResponseNonNullableFields as SetRecipientInfoResponseNonNullableFields, type index_d$g_SetShippingInfoRequest as SetShippingInfoRequest, type index_d$g_SetShippingInfoResponse as SetShippingInfoResponse, type index_d$g_SetShippingInfoResponseNonNullableFields as SetShippingInfoResponseNonNullableFields, type index_d$g_SetTaxExemptionRequest as SetTaxExemptionRequest, type index_d$g_SetTaxExemptionResponse as SetTaxExemptionResponse, type index_d$g_ShippingChangedDetails as ShippingChangedDetails, type index_d$g_ShippingDetails as ShippingDetails, type index_d$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 index_d$g_UpdateLineItemsOptions as UpdateLineItemsOptions, type index_d$g_UpdateLineItemsRequest as UpdateLineItemsRequest, type index_d$g_UpdateLineItemsResponse as UpdateLineItemsResponse, type index_d$g_UpdateLineItemsResponseNonNullableFields as UpdateLineItemsResponseNonNullableFields, type index_d$g_UpdateShippingInfoRequest as UpdateShippingInfoRequest, type index_d$g_UpdateShippingInfoResponse as UpdateShippingInfoResponse, type index_d$g_V1BalanceSummary as V1BalanceSummary, type index_d$g_V1CreatedBy as V1CreatedBy, type index_d$g_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type index_d$g_V1DeliveryLogistics as V1DeliveryLogistics, type index_d$g_V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOf, type index_d$g_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type index_d$g_V1PickupDetails as V1PickupDetails, type V1ShippingInformation$1 as V1ShippingInformation, type index_d$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, index_d$g_addLineItemsToDraftOrder as addLineItemsToDraftOrder, index_d$g_commitDraftOrder as commitDraftOrder, index_d$g_createCustomAdditionalFees as createCustomAdditionalFees, index_d$g_createCustomDiscounts as createCustomDiscounts, index_d$g_createDraftOrder as createDraftOrder, index_d$g_createEmptyDraftOrder as createEmptyDraftOrder, index_d$g_createOrderFromDraft as createOrderFromDraft, index_d$g_deleteCustomAdditionalFees as deleteCustomAdditionalFees, index_d$g_deleteCustomDiscounts as deleteCustomDiscounts, index_d$g_deleteDraftOrder as deleteDraftOrder, index_d$g_getDraftOrder as getDraftOrder, index_d$g_getOrderDraftabilityStatus as getOrderDraftabilityStatus, index_d$g_queryDraftOrders as queryDraftOrders, index_d$g_setAdditionalFees as setAdditionalFees, index_d$g_setBillingInfo as setBillingInfo, index_d$g_setBuyerInfo as setBuyerInfo, index_d$g_setDiscounts as setDiscounts, index_d$g_setRecipientInfo as setRecipientInfo, index_d$g_setShippingInfo as setShippingInfo, index_d$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 index_d$g_AddLineItemsToDraftOrderOptions as AddLineItemsToDraftOrderOptions, type index_d$g_AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequest, type index_d$g_AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponse, type index_d$g_AddLineItemsToDraftOrderResponseNonNullableFields as AddLineItemsToDraftOrderResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type index_d$g_AdditionalFeeDetails as AdditionalFeeDetails, type index_d$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, index_d$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 index_d$g_BillingChangedDetails as BillingChangedDetails, type index_d$g_BillingDetails as BillingDetails, type index_d$g_BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOf, type index_d$g_BusinessLocationChangedDetails as BusinessLocationChangedDetails, type index_d$g_BusinessLocationDetails as BusinessLocationDetails, type index_d$g_BusinessLocationDetailsChangeTypeOneOf as BusinessLocationDetailsChangeTypeOneOf, type index_d$g_BuyerChangedDetails as BuyerChangedDetails, type BuyerDetails$1 as BuyerDetails, type index_d$g_BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOf, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type index_d$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 index_d$g_CatalogReferenceLineItem as CatalogReferenceLineItem, type ChannelInfo$2 as ChannelInfo, ChannelType$2 as ChannelType, type Color$1 as Color, type index_d$g_CommitDraftOrderOptions as CommitDraftOrderOptions, type index_d$g_CommitDraftOrderRequest as CommitDraftOrderRequest, type index_d$g_CommitDraftOrderResponse as CommitDraftOrderResponse, type index_d$g_CommitDraftOrderResponseNonNullableFields as CommitDraftOrderResponseNonNullableFields, type Coupon$2 as Coupon, type index_d$g_CreateCustomAdditionalFeesOptions as CreateCustomAdditionalFeesOptions, type index_d$g_CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequest, type index_d$g_CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponse, type index_d$g_CreateCustomAdditionalFeesResponseNonNullableFields as CreateCustomAdditionalFeesResponseNonNullableFields, type index_d$g_CreateCustomDiscountsOptions as CreateCustomDiscountsOptions, type index_d$g_CreateCustomDiscountsRequest as CreateCustomDiscountsRequest, type index_d$g_CreateCustomDiscountsResponse as CreateCustomDiscountsResponse, type index_d$g_CreateCustomDiscountsResponseNonNullableFields as CreateCustomDiscountsResponseNonNullableFields, type index_d$g_CreateDraftOrderRequest as CreateDraftOrderRequest, type index_d$g_CreateDraftOrderResponse as CreateDraftOrderResponse, type index_d$g_CreateDraftOrderResponseNonNullableFields as CreateDraftOrderResponseNonNullableFields, type index_d$g_CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequest, type index_d$g_CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponse, type index_d$g_CreateEmptyDraftOrderResponseNonNullableFields as CreateEmptyDraftOrderResponseNonNullableFields, type index_d$g_CreateOrderFromDraftRequest as CreateOrderFromDraftRequest, type index_d$g_CreateOrderFromDraftResponse as CreateOrderFromDraftResponse, type index_d$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 index_d$g_CustomLineItem as CustomLineItem, type index_d$g_DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequest, type index_d$g_DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponse, type index_d$g_DeleteCustomAdditionalFeesResponseNonNullableFields as DeleteCustomAdditionalFeesResponseNonNullableFields, type index_d$g_DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequest, type index_d$g_DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponse, type index_d$g_DeleteCustomDiscountsResponseNonNullableFields as DeleteCustomDiscountsResponseNonNullableFields, type index_d$g_DeleteDraftOrderRequest as DeleteDraftOrderRequest, type index_d$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 index_d$g_DiscountDetails as DiscountDetails, type index_d$g_DiscountOption as DiscountOption, type index_d$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 index_d$g_DraftOrder as DraftOrder, type DraftOrderChangesApplied$1 as DraftOrderChangesApplied, type DraftOrderCommitSettings$1 as DraftOrderCommitSettings, type index_d$g_DraftOrdersQueryBuilder as DraftOrdersQueryBuilder, type index_d$g_DraftOrdersQueryResult as DraftOrdersQueryResult, index_d$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, index_d$g_FileType as FileType, type FocalPoint$1 as FocalPoint, FulfillmentStatus$3 as FulfillmentStatus, type FulfillmentStatusesAggregate$1 as FulfillmentStatusesAggregate, type FullAddressContactDetails$2 as FullAddressContactDetails, type index_d$g_GetDraftEditabilityStatusRequest as GetDraftEditabilityStatusRequest, type index_d$g_GetDraftEditabilityStatusResponse as GetDraftEditabilityStatusResponse, type index_d$g_GetDraftOrderRequest as GetDraftOrderRequest, type index_d$g_GetDraftOrderResponse as GetDraftOrderResponse, type index_d$g_GetDraftOrderResponseNonNullableFields as GetDraftOrderResponseNonNullableFields, type index_d$g_GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequest, type index_d$g_GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponse, type index_d$g_GetOrderDraftabilityStatusResponseNonNullableFields as GetOrderDraftabilityStatusResponseNonNullableFields, type GiftCardPaymentRefund$1 as GiftCardPaymentRefund, type index_d$g_IdAndApplied as IdAndApplied, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type index_d$g_InventoryUpdate as InventoryUpdate, type ItemChangedDetails$1 as ItemChangedDetails, type index_d$g_ItemDetails as ItemDetails, type index_d$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 index_d$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, index_d$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 index_d$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, index_d$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 index_d$g_QueryDraftOrdersRequest as QueryDraftOrdersRequest, type index_d$g_QueryDraftOrdersResponse as QueryDraftOrdersResponse, type index_d$g_QueryDraftOrdersResponseNonNullableFields as QueryDraftOrdersResponseNonNullableFields, type index_d$g_RecipientInfoChangedDetails as RecipientInfoChangedDetails, type index_d$g_RecipientInfoDetails as RecipientInfoDetails, type index_d$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 index_d$g_SecuredMedia as SecuredMedia, type index_d$g_SetAdditionalFeesRequest as SetAdditionalFeesRequest, type index_d$g_SetAdditionalFeesResponse as SetAdditionalFeesResponse, type index_d$g_SetAdditionalFeesResponseNonNullableFields as SetAdditionalFeesResponseNonNullableFields, type index_d$g_SetBillingInfoRequest as SetBillingInfoRequest, type index_d$g_SetBillingInfoResponse as SetBillingInfoResponse, type index_d$g_SetBillingInfoResponseNonNullableFields as SetBillingInfoResponseNonNullableFields, type index_d$g_SetBusinessLocationRequest as SetBusinessLocationRequest, type index_d$g_SetBusinessLocationResponse as SetBusinessLocationResponse, type index_d$g_SetBuyerInfoRequest as SetBuyerInfoRequest, type index_d$g_SetBuyerInfoResponse as SetBuyerInfoResponse, type index_d$g_SetBuyerInfoResponseNonNullableFields as SetBuyerInfoResponseNonNullableFields, type index_d$g_SetDiscountsRequest as SetDiscountsRequest, type index_d$g_SetDiscountsResponse as SetDiscountsResponse, type index_d$g_SetDiscountsResponseNonNullableFields as SetDiscountsResponseNonNullableFields, type index_d$g_SetRecipientInfoRequest as SetRecipientInfoRequest, type index_d$g_SetRecipientInfoResponse as SetRecipientInfoResponse, type index_d$g_SetRecipientInfoResponseNonNullableFields as SetRecipientInfoResponseNonNullableFields, type index_d$g_SetShippingInfoRequest as SetShippingInfoRequest, type index_d$g_SetShippingInfoResponse as SetShippingInfoResponse, type index_d$g_SetShippingInfoResponseNonNullableFields as SetShippingInfoResponseNonNullableFields, type index_d$g_SetTaxExemptionRequest as SetTaxExemptionRequest, type index_d$g_SetTaxExemptionResponse as SetTaxExemptionResponse, type index_d$g_ShippingChangedDetails as ShippingChangedDetails, type index_d$g_ShippingDetails as ShippingDetails, type index_d$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 index_d$g_UpdateLineItemsOptions as UpdateLineItemsOptions, type index_d$g_UpdateLineItemsRequest as UpdateLineItemsRequest, type index_d$g_UpdateLineItemsResponse as UpdateLineItemsResponse, type index_d$g_UpdateLineItemsResponseNonNullableFields as UpdateLineItemsResponseNonNullableFields, type index_d$g_UpdateShippingInfoRequest as UpdateShippingInfoRequest, type index_d$g_UpdateShippingInfoResponse as UpdateShippingInfoResponse, type index_d$g_V1BalanceSummary as V1BalanceSummary, type index_d$g_V1CreatedBy as V1CreatedBy, type index_d$g_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type index_d$g_V1DeliveryLogistics as V1DeliveryLogistics, type index_d$g_V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOf, type index_d$g_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type index_d$g_V1PickupDetails as V1PickupDetails, type V1ShippingInformation$1 as V1ShippingInformation, type index_d$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, index_d$g_addLineItemsToDraftOrder as addLineItemsToDraftOrder, index_d$g_commitDraftOrder as commitDraftOrder, index_d$g_createCustomAdditionalFees as createCustomAdditionalFees, index_d$g_createCustomDiscounts as createCustomDiscounts, index_d$g_createDraftOrder as createDraftOrder, index_d$g_createEmptyDraftOrder as createEmptyDraftOrder, index_d$g_createOrderFromDraft as createOrderFromDraft, index_d$g_deleteCustomAdditionalFees as deleteCustomAdditionalFees, index_d$g_deleteCustomDiscounts as deleteCustomDiscounts, index_d$g_deleteDraftOrder as deleteDraftOrder, index_d$g_getDraftOrder as getDraftOrder, index_d$g_getOrderDraftabilityStatus as getOrderDraftabilityStatus, index_d$g_queryDraftOrders as queryDraftOrders, index_d$g_setAdditionalFees as setAdditionalFees, index_d$g_setBillingInfo as setBillingInfo, index_d$g_setBuyerInfo as setBuyerInfo, index_d$g_setDiscounts as setDiscounts, index_d$g_setRecipientInfo as setRecipientInfo, index_d$g_setShippingInfo as setShippingInfo, index_d$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 index_d$c_DurationUnit: typeof DurationUnit;
|
|
|
29691
29819
|
type index_d$c_Email = Email;
|
|
29692
29820
|
type index_d$c_EmailEdited = EmailEdited;
|
|
29693
29821
|
type index_d$c_ExternalUriMapping = ExternalUriMapping;
|
|
29822
|
+
type index_d$c_FocalPoint = FocalPoint;
|
|
29694
29823
|
type index_d$c_FulfillerEmailSent = FulfillerEmailSent;
|
|
29695
29824
|
type index_d$c_FulfillmentStatusUpdated = FulfillmentStatusUpdated;
|
|
29696
29825
|
type index_d$c_FulfillmentStatusesAggregate = FulfillmentStatusesAggregate;
|
|
@@ -29749,6 +29878,7 @@ type index_d$c_LineItems = LineItems;
|
|
|
29749
29878
|
type index_d$c_ListOrderTransactionsForMetasiteRequest = ListOrderTransactionsForMetasiteRequest;
|
|
29750
29879
|
type index_d$c_ListOrderTransactionsForMetasiteResponse = ListOrderTransactionsForMetasiteResponse;
|
|
29751
29880
|
type index_d$c_Locale = Locale;
|
|
29881
|
+
type index_d$c_Location = Location;
|
|
29752
29882
|
type index_d$c_LocationAndQuantity = LocationAndQuantity;
|
|
29753
29883
|
type index_d$c_ManagedAdditionalFee = ManagedAdditionalFee;
|
|
29754
29884
|
type index_d$c_ManagedDiscount = ManagedDiscount;
|
|
@@ -29864,7 +29994,6 @@ type index_d$c_QuotesAddress = QuotesAddress;
|
|
|
29864
29994
|
type index_d$c_RecordManuallyCollectedPaymentRequest = RecordManuallyCollectedPaymentRequest;
|
|
29865
29995
|
type index_d$c_RecordManuallyCollectedPaymentResponse = RecordManuallyCollectedPaymentResponse;
|
|
29866
29996
|
type index_d$c_RedirectUrls = RedirectUrls;
|
|
29867
|
-
type index_d$c_RefundCreated = RefundCreated;
|
|
29868
29997
|
type index_d$c_RefundInitiated = RefundInitiated;
|
|
29869
29998
|
type index_d$c_RefundedAsStoreCredit = RefundedAsStoreCredit;
|
|
29870
29999
|
type index_d$c_RefundedPayment = RefundedPayment;
|
|
@@ -29990,7 +30119,7 @@ declare const index_d$c_searchOrders: typeof searchOrders;
|
|
|
29990
30119
|
declare const index_d$c_updateOrder: typeof updateOrder;
|
|
29991
30120
|
declare const index_d$c_voidAuthorizedPayments: typeof voidAuthorizedPayments;
|
|
29992
30121
|
declare namespace index_d$c {
|
|
29993
|
-
export { type ActionEvent$9 as ActionEvent, ActionType$1 as ActionType, type Activity$1 as Activity, type index_d$c_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$c_AddActivitiesRequest as AddActivitiesRequest, type index_d$c_AddActivitiesResponse as AddActivitiesResponse, type index_d$c_AddActivityRequest as AddActivityRequest, type index_d$c_AddActivityResponse as AddActivityResponse, type index_d$c_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$c_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type index_d$c_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$c_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$1 as AdditionalFeeRefund, type Address$5 as Address, type index_d$c_AddressDescription as AddressDescription, type AddressLocation$3 as AddressLocation, type index_d$c_AddressWithContact as AddressWithContact, type index_d$c_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$c_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$1 as AggregatedRefundSummary, type index_d$c_App as App, type ApplicationError$4 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type index_d$c_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$c_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type index_d$c_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$c_ArchiveOrderResponse as ArchiveOrderResponse, index_d$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 index_d$c_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$c_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$c_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$c_Balance as Balance, type index_d$c_BalanceSummary as BalanceSummary, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$c_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$c_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$c_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$c_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$c_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$c_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$c_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$c_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$c_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$c_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$c_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$c_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$c_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$c_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$c_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$c_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$c_BulkOrderResult as BulkOrderResult, type index_d$c_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$c_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$c_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$c_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$c_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$c_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$c_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$c_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$c_BulkUpdateOrderTagsOptions as BulkUpdateOrderTagsOptions, type index_d$c_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$c_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$c_BulkUpdateOrderTagsResponseNonNullableFields as BulkUpdateOrderTagsResponseNonNullableFields, type index_d$c_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$c_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type index_d$c_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$c_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type index_d$c_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type index_d$c_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$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 index_d$c_CalculatedTax as CalculatedTax, type index_d$c_CalculatedTaxes as CalculatedTaxes, type index_d$c_Cancel as Cancel, type index_d$c_CancelOrderOptions as CancelOrderOptions, type index_d$c_CancelOrderRequest as CancelOrderRequest, type index_d$c_CancelOrderResponse as CancelOrderResponse, type index_d$c_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$c_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$c_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$c_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$3 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$c_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$c_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$c_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type index_d$c_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type index_d$c_ChargedBy as ChargedBy, type index_d$c_Color as Color, type index_d$c_CommitDeltasRequest as CommitDeltasRequest, type index_d$c_CommitDeltasResponse as CommitDeltasResponse, type index_d$c_CommittedDiffs as CommittedDiffs, type index_d$c_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$c_CommonAddress as CommonAddress, type index_d$c_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$c_Company as Company, type index_d$c_Complete as Complete, type index_d$c_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type index_d$c_CreateOrderRequest as CreateOrderRequest, type index_d$c_CreateOrderResponse as CreateOrderResponse, type index_d$c_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$c_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$c_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$c_CreatedBy as CreatedBy, type index_d$c_CreatedByStringOneOf as CreatedByStringOneOf, type index_d$c_CreditCardDetails as CreditCardDetails, type CreditCardPaymentMethodDetails$1 as CreditCardPaymentMethodDetails, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$6 as CursorPagingMetadata, type index_d$c_CursorSearch as CursorSearch, type index_d$c_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$7 as Cursors, type index_d$c_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$c_CustomFieldGroup as CustomFieldGroup, type index_d$c_CustomFieldValue as CustomFieldValue, type index_d$c_Customer as Customer, type index_d$c_DecrementData as DecrementData, type index_d$c_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$c_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$c_DelayedCaptureSettings as DelayedCaptureSettings, type index_d$c_DeleteActivityRequest as DeleteActivityRequest, type index_d$c_DeleteActivityResponse as DeleteActivityResponse, type index_d$c_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$c_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$c_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$2 as DeliveryTimeSlot, index_d$c_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$c_Deposit as Deposit, index_d$c_DepositType as DepositType, type index_d$c_DescriptionLine as DescriptionLine, type index_d$c_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$c_DescriptionLineName as DescriptionLineName, index_d$c_DescriptionLineType as DescriptionLineType, type index_d$c_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$c_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$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 index_d$c_DownloadLinkSent as DownloadLinkSent, type index_d$c_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$c_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$c_DraftOrderDiffs as DraftOrderDiffs, type index_d$c_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type index_d$c_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type index_d$c_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type index_d$c_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$c_Duration as Duration, index_d$c_DurationUnit as DurationUnit, type index_d$c_Email as Email, type index_d$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 index_d$c_ExternalUriMapping as ExternalUriMapping, type index_d$c_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$c_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$c_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$c_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$c_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$c_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$c_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$c_GetOrderRequest as GetOrderRequest, type index_d$c_GetOrderResponse as GetOrderResponse, type index_d$c_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$c_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$c_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$c_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$c_GetShipmentsRequest as GetShipmentsRequest, type index_d$c_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$1 as GiftCardPaymentDetails, type index_d$c_GiftCardPaymentRefund as GiftCardPaymentRefund, type index_d$c_HtmlApplication as HtmlApplication, type index_d$c_IdAndVersion as IdAndVersion, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$c_InternalActivity as InternalActivity, type index_d$c_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$c_InternalDocument as InternalDocument, type index_d$c_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$c_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$c_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$c_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$c_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$c_InventoryAction as InventoryAction, type index_d$c_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$c_InvoiceAdded as InvoiceAdded, type index_d$c_InvoiceDates as InvoiceDates, type index_d$c_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$c_InvoiceFields as InvoiceFields, type index_d$c_InvoiceSent as InvoiceSent, type index_d$c_InvoiceSentEvent as InvoiceSentEvent, index_d$c_InvoiceStatus as InvoiceStatus, type index_d$c_InvoicesPayment as InvoicesPayment, type index_d$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 index_d$c_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type index_d$c_LineItemAmount as LineItemAmount, type index_d$c_LineItemChanges as LineItemChanges, type index_d$c_LineItemDelta as LineItemDelta, type index_d$c_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type index_d$c_LineItemExchangeData as LineItemExchangeData, type index_d$c_LineItemMetaData as LineItemMetaData, type index_d$c_LineItemPriceChange as LineItemPriceChange, type index_d$c_LineItemQuantityChange as LineItemQuantityChange, index_d$c_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$1 as LineItemRefund, type index_d$c_LineItemTax as LineItemTax, type index_d$c_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$c_LineItemTaxInfo as LineItemTaxInfo, type index_d$c_LineItemUpdate as LineItemUpdate, type index_d$c_LineItems as LineItems, type index_d$c_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$c_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$c_Locale as Locale, type index_d$c_LocationAndQuantity as LocationAndQuantity, type index_d$c_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$c_ManagedDiscount as ManagedDiscount, type index_d$c_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$c_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$c_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$c_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$c_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$c_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$c_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$c_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$c_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$c_MaskedOrder as MaskedOrder, type index_d$c_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$c_MembershipChargeItem as MembershipChargeItem, type MembershipName$2 as MembershipName, type MembershipPaymentDetails$1 as MembershipPaymentDetails, type index_d$c_MembershipPaymentRefund as MembershipPaymentRefund, MembershipPaymentStatus$1 as MembershipPaymentStatus, type index_d$c_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$c_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$8 as MessageEnvelope, type index_d$c_MetaData as MetaData, type index_d$c_MetaSite as MetaSite, type index_d$c_MetaTag as MetaTag, index_d$c_Namespace as Namespace, type index_d$c_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, index_d$c_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$c_OrderApproved as OrderApproved, type index_d$c_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$c_OrderCanceled as OrderCanceled, type index_d$c_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$c_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$c_OrderChange as OrderChange, type index_d$c_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$c_OrderCreateNotifications as OrderCreateNotifications, type index_d$c_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$c_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$c_OrderCreationSettings as OrderCreationSettings, type index_d$c_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$c_OrderFulfilled as OrderFulfilled, type index_d$c_OrderItemsRestocked as OrderItemsRestocked, type index_d$c_OrderLineItem as OrderLineItem, type index_d$c_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$c_OrderNonNullableFields as OrderNonNullableFields, type index_d$c_OrderNotFulfilled as OrderNotFulfilled, type index_d$c_OrderPaid as OrderPaid, type index_d$c_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$c_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$c_OrderPending as OrderPending, type index_d$c_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, type index_d$c_OrderRejected as OrderRejected, type index_d$c_OrderRejectedEventOrderRejected as OrderRejectedEventOrderRejected, index_d$c_OrderStatus as OrderStatus, type index_d$c_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$c_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$1 as OrderTransactions, type index_d$c_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$c_OrdersExperiments as OrdersExperiments, type Payment$1 as Payment, type index_d$c_PaymentCanceled as PaymentCanceled, type index_d$c_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type index_d$c_PaymentCapture as PaymentCapture, index_d$c_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type index_d$c_PaymentDeclined as PaymentDeclined, type index_d$c_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$1 as PaymentPaymentDetailsOneOf, type index_d$c_PaymentPending as PaymentPending, type index_d$c_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$c_PaymentRefundFailed as PaymentRefundFailed, type index_d$c_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type index_d$c_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$c_Payments as Payments, type index_d$c_Phone as Phone, type PhysicalProperties$2 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$c_PickupReadyEmailSent as PickupReadyEmailSent, index_d$c_Placement as Placement, type index_d$c_PlainTextValue as PlainTextValue, type index_d$c_PlatformPaging as PlatformPaging, type index_d$c_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$c_PlatformQuery as PlatformQuery, type index_d$c_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$c_PreparePaymentCollectionOptions as PreparePaymentCollectionOptions, type index_d$c_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$c_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$c_PreparePaymentCollectionResponseNonNullableFields as PreparePaymentCollectionResponseNonNullableFields, type index_d$c_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$c_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$c_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$c_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$c_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$c_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$c_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$c_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$c_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$c_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$c_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$c_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$c_PreviewEmailType as PreviewEmailType, type index_d$c_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$c_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$c_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$c_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$c_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$c_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$3 as Price, type index_d$c_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type index_d$c_ProductName as ProductName, type index_d$c_PublicActivity as PublicActivity, type index_d$c_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$c_QueryOrderRequest as QueryOrderRequest, type index_d$c_QueryOrderResponse as QueryOrderResponse, type index_d$c_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$c_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$c_QuotesAddress as QuotesAddress, Reason$1 as Reason, type index_d$c_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$c_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$c_RedirectUrls as RedirectUrls, type Refund$1 as Refund, type index_d$c_RefundCreated as RefundCreated, type RefundDetails$1 as RefundDetails, type index_d$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 index_d$c_RefundedAsStoreCredit as RefundedAsStoreCredit, type index_d$c_RefundedPayment as RefundedPayment, type index_d$c_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type index_d$c_RegularPayment as RegularPayment, type RegularPaymentDetails$1 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$1 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$c_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type index_d$c_RegularPaymentRefund as RegularPaymentRefund, type index_d$c_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$9 as RestoreInfo, type index_d$c_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$1 as ScheduledAction, type index_d$c_SearchOrdersOptions as SearchOrdersOptions, type index_d$c_SearchOrdersRequest as SearchOrdersRequest, type index_d$c_SearchOrdersResponse as SearchOrdersResponse, type index_d$c_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$c_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$c_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$c_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$c_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$c_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$c_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$c_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$c_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$c_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$c_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$c_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$c_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$c_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$c_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$c_SendRefundEmailRequest as SendRefundEmailRequest, type index_d$c_SendRefundEmailResponse as SendRefundEmailResponse, type index_d$c_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type index_d$c_ShippingAddressEdited as ShippingAddressEdited, type index_d$c_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type index_d$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, index_d$c_SourceType as SourceType, type index_d$c_StandardDetails as StandardDetails, index_d$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 index_d$c_TagList as TagList, type index_d$c_Tags as Tags, type index_d$c_Task as Task, type index_d$c_TaskAction as TaskAction, type index_d$c_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$c_TaskKey as TaskKey, type TaxSummary$1 as TaxSummary, type TaxableAddress$1 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$1 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$1 as TaxableAddressType, type index_d$c_TotalPrice as TotalPrice, type index_d$c_TotalPriceChange as TotalPriceChange, type index_d$c_TrackingLinkAdded as TrackingLinkAdded, type index_d$c_TrackingNumberAdded as TrackingNumberAdded, type index_d$c_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$1 as TransactionStatus, type index_d$c_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$c_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$c_TriggerReindexRequest as TriggerReindexRequest, type index_d$c_TriggerReindexResponse as TriggerReindexResponse, type index_d$c_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$c_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$c_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$c_UpdateActivityRequest as UpdateActivityRequest, type index_d$c_UpdateActivityResponse as UpdateActivityResponse, type index_d$c_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$c_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$c_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$c_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$c_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$c_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$c_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$c_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$c_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$c_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$c_UpdateOrder as UpdateOrder, type index_d$c_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$c_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$c_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$c_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$c_UpdateOrderRequest as UpdateOrderRequest, type index_d$c_UpdateOrderResponse as UpdateOrderResponse, type index_d$c_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$c_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$c_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$c_UpsertRefundRequest as UpsertRefundRequest, type index_d$c_UpsertRefundResponse as UpsertRefundResponse, type index_d$c_UserDataResponse as UserDataResponse, type index_d$c_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$c_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$c_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$c_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$c_V1LineItemDelta as V1LineItemDelta, type index_d$c_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$c_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$c_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$c_V1RestockItem as V1RestockItem, type index_d$c_V1ScheduledAction as V1ScheduledAction, type index_d$c_V1ShippingInformation as V1ShippingInformation, type index_d$c_Value as Value, index_d$c_ValueType as ValueType, type VatId$2 as VatId, VatType$2 as VatType, type index_d$c_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$c_VersionedDocumentId as VersionedDocumentId, type index_d$c_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$c_VersioningMode as VersioningMode, type index_d$c_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$c_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type index_d$c_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$8 as WebhookIdentityType, WeightUnit$3 as WeightUnit, type index_d$c__publicOnOrderApprovedType as _publicOnOrderApprovedType, type index_d$c__publicOnOrderCanceledType as _publicOnOrderCanceledType, type index_d$c__publicOnOrderCreatedType as _publicOnOrderCreatedType, type index_d$c__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, type index_d$c__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, index_d$c_bulkUpdateOrderTags as bulkUpdateOrderTags, index_d$c_bulkUpdateOrders as bulkUpdateOrders, index_d$c_cancelOrder as cancelOrder, index_d$c_captureAuthorizedPayments as captureAuthorizedPayments, index_d$c_createOrder as createOrder, index_d$c_getOrder as getOrder, index_d$c_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, index_d$c_onOrderApproved as onOrderApproved, index_d$c_onOrderCanceled as onOrderCanceled, index_d$c_onOrderCreated as onOrderCreated, index_d$c_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$c_onOrderUpdated as onOrderUpdated, index_d$c_preparePaymentCollection as preparePaymentCollection, onOrderApproved$1 as publicOnOrderApproved, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderPaymentStatusUpdated$1 as publicOnOrderPaymentStatusUpdated, onOrderUpdated$1 as publicOnOrderUpdated, index_d$c_searchOrders as searchOrders, index_d$c_updateOrder as updateOrder, index_d$c_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
30122
|
+
export { type ActionEvent$9 as ActionEvent, ActionType$1 as ActionType, type Activity$1 as Activity, type index_d$c_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$c_AddActivitiesRequest as AddActivitiesRequest, type index_d$c_AddActivitiesResponse as AddActivitiesResponse, type index_d$c_AddActivityRequest as AddActivityRequest, type index_d$c_AddActivityResponse as AddActivityResponse, type index_d$c_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$c_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type index_d$c_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$c_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$1 as AdditionalFeeRefund, type Address$5 as Address, type index_d$c_AddressDescription as AddressDescription, type AddressLocation$3 as AddressLocation, type index_d$c_AddressWithContact as AddressWithContact, type index_d$c_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$c_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$1 as AggregatedRefundSummary, type index_d$c_App as App, type ApplicationError$4 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type index_d$c_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$c_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type index_d$c_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$c_ArchiveOrderResponse as ArchiveOrderResponse, index_d$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 index_d$c_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$c_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$c_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$c_Balance as Balance, type index_d$c_BalanceSummary as BalanceSummary, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$c_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$c_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$c_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$c_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$c_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$c_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$c_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$c_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$c_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$c_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$c_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$c_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$c_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$c_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$c_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$c_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$c_BulkOrderResult as BulkOrderResult, type index_d$c_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$c_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$c_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$c_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$c_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$c_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$c_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$c_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$c_BulkUpdateOrderTagsOptions as BulkUpdateOrderTagsOptions, type index_d$c_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$c_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$c_BulkUpdateOrderTagsResponseNonNullableFields as BulkUpdateOrderTagsResponseNonNullableFields, type index_d$c_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$c_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type index_d$c_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$c_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type index_d$c_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type index_d$c_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$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 index_d$c_CalculatedTax as CalculatedTax, type index_d$c_CalculatedTaxes as CalculatedTaxes, type index_d$c_Cancel as Cancel, type index_d$c_CancelOrderOptions as CancelOrderOptions, type index_d$c_CancelOrderRequest as CancelOrderRequest, type index_d$c_CancelOrderResponse as CancelOrderResponse, type index_d$c_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$c_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$c_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$c_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$3 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$c_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$c_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$c_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type index_d$c_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type index_d$c_ChargedBy as ChargedBy, type index_d$c_Color as Color, type index_d$c_CommitDeltasRequest as CommitDeltasRequest, type index_d$c_CommitDeltasResponse as CommitDeltasResponse, type index_d$c_CommittedDiffs as CommittedDiffs, type index_d$c_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$c_CommonAddress as CommonAddress, type index_d$c_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$c_Company as Company, type index_d$c_Complete as Complete, type index_d$c_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type index_d$c_CreateOrderRequest as CreateOrderRequest, type index_d$c_CreateOrderResponse as CreateOrderResponse, type index_d$c_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$c_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$c_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$c_CreatedBy as CreatedBy, type index_d$c_CreatedByStringOneOf as CreatedByStringOneOf, type index_d$c_CreditCardDetails as CreditCardDetails, type CreditCardPaymentMethodDetails$1 as CreditCardPaymentMethodDetails, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$6 as CursorPagingMetadata, type index_d$c_CursorSearch as CursorSearch, type index_d$c_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$7 as Cursors, type index_d$c_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$c_CustomFieldGroup as CustomFieldGroup, type index_d$c_CustomFieldValue as CustomFieldValue, type index_d$c_Customer as Customer, type index_d$c_DecrementData as DecrementData, type index_d$c_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$c_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$c_DelayedCaptureSettings as DelayedCaptureSettings, type index_d$c_DeleteActivityRequest as DeleteActivityRequest, type index_d$c_DeleteActivityResponse as DeleteActivityResponse, type index_d$c_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$c_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$c_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$2 as DeliveryTimeSlot, index_d$c_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$c_Deposit as Deposit, index_d$c_DepositType as DepositType, type index_d$c_DescriptionLine as DescriptionLine, type index_d$c_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$c_DescriptionLineName as DescriptionLineName, index_d$c_DescriptionLineType as DescriptionLineType, type index_d$c_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$c_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$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 index_d$c_DownloadLinkSent as DownloadLinkSent, type index_d$c_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$c_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$c_DraftOrderDiffs as DraftOrderDiffs, type index_d$c_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type index_d$c_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type index_d$c_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type index_d$c_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$c_Duration as Duration, index_d$c_DurationUnit as DurationUnit, type index_d$c_Email as Email, type index_d$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 index_d$c_ExternalUriMapping as ExternalUriMapping, type index_d$c_FocalPoint as FocalPoint, type index_d$c_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$c_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$c_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$c_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$c_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$c_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$c_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$c_GetOrderRequest as GetOrderRequest, type index_d$c_GetOrderResponse as GetOrderResponse, type index_d$c_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$c_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$c_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$c_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$c_GetShipmentsRequest as GetShipmentsRequest, type index_d$c_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$1 as GiftCardPaymentDetails, type index_d$c_GiftCardPaymentRefund as GiftCardPaymentRefund, type index_d$c_HtmlApplication as HtmlApplication, type index_d$c_IdAndVersion as IdAndVersion, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$c_InternalActivity as InternalActivity, type index_d$c_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$c_InternalDocument as InternalDocument, type index_d$c_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$c_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$c_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$c_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$c_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$c_InventoryAction as InventoryAction, type index_d$c_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$c_InvoiceAdded as InvoiceAdded, type index_d$c_InvoiceDates as InvoiceDates, type index_d$c_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$c_InvoiceFields as InvoiceFields, type index_d$c_InvoiceSent as InvoiceSent, type index_d$c_InvoiceSentEvent as InvoiceSentEvent, index_d$c_InvoiceStatus as InvoiceStatus, type index_d$c_InvoicesPayment as InvoicesPayment, type index_d$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 index_d$c_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type index_d$c_LineItemAmount as LineItemAmount, type index_d$c_LineItemChanges as LineItemChanges, type index_d$c_LineItemDelta as LineItemDelta, type index_d$c_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type index_d$c_LineItemExchangeData as LineItemExchangeData, type index_d$c_LineItemMetaData as LineItemMetaData, type index_d$c_LineItemPriceChange as LineItemPriceChange, type index_d$c_LineItemQuantityChange as LineItemQuantityChange, index_d$c_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$1 as LineItemRefund, type index_d$c_LineItemTax as LineItemTax, type index_d$c_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$c_LineItemTaxInfo as LineItemTaxInfo, type index_d$c_LineItemUpdate as LineItemUpdate, type index_d$c_LineItems as LineItems, type index_d$c_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$c_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$c_Locale as Locale, type index_d$c_Location as Location, type index_d$c_LocationAndQuantity as LocationAndQuantity, type index_d$c_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$c_ManagedDiscount as ManagedDiscount, type index_d$c_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$c_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$c_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$c_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$c_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$c_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$c_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$c_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$c_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$c_MaskedOrder as MaskedOrder, type index_d$c_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$c_MembershipChargeItem as MembershipChargeItem, type MembershipName$2 as MembershipName, type MembershipPaymentDetails$1 as MembershipPaymentDetails, type index_d$c_MembershipPaymentRefund as MembershipPaymentRefund, MembershipPaymentStatus$1 as MembershipPaymentStatus, type index_d$c_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$c_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$8 as MessageEnvelope, type index_d$c_MetaData as MetaData, type index_d$c_MetaSite as MetaSite, type index_d$c_MetaTag as MetaTag, index_d$c_Namespace as Namespace, type index_d$c_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, index_d$c_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$c_OrderApproved as OrderApproved, type index_d$c_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$c_OrderCanceled as OrderCanceled, type index_d$c_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$c_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$c_OrderChange as OrderChange, type index_d$c_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$c_OrderCreateNotifications as OrderCreateNotifications, type index_d$c_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$c_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$c_OrderCreationSettings as OrderCreationSettings, type index_d$c_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$c_OrderFulfilled as OrderFulfilled, type index_d$c_OrderItemsRestocked as OrderItemsRestocked, type index_d$c_OrderLineItem as OrderLineItem, type index_d$c_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$c_OrderNonNullableFields as OrderNonNullableFields, type index_d$c_OrderNotFulfilled as OrderNotFulfilled, type index_d$c_OrderPaid as OrderPaid, type index_d$c_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$c_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$c_OrderPending as OrderPending, type index_d$c_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, type index_d$c_OrderRejected as OrderRejected, type index_d$c_OrderRejectedEventOrderRejected as OrderRejectedEventOrderRejected, index_d$c_OrderStatus as OrderStatus, type index_d$c_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$c_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$1 as OrderTransactions, type index_d$c_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$c_OrdersExperiments as OrdersExperiments, type Payment$1 as Payment, type index_d$c_PaymentCanceled as PaymentCanceled, type index_d$c_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type index_d$c_PaymentCapture as PaymentCapture, index_d$c_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type index_d$c_PaymentDeclined as PaymentDeclined, type index_d$c_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$1 as PaymentPaymentDetailsOneOf, type index_d$c_PaymentPending as PaymentPending, type index_d$c_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$c_PaymentRefundFailed as PaymentRefundFailed, type index_d$c_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type index_d$c_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$c_Payments as Payments, type index_d$c_Phone as Phone, type PhysicalProperties$2 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$c_PickupReadyEmailSent as PickupReadyEmailSent, index_d$c_Placement as Placement, type index_d$c_PlainTextValue as PlainTextValue, type index_d$c_PlatformPaging as PlatformPaging, type index_d$c_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$c_PlatformQuery as PlatformQuery, type index_d$c_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$c_PreparePaymentCollectionOptions as PreparePaymentCollectionOptions, type index_d$c_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$c_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$c_PreparePaymentCollectionResponseNonNullableFields as PreparePaymentCollectionResponseNonNullableFields, type index_d$c_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$c_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$c_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$c_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$c_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$c_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$c_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$c_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$c_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$c_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$c_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$c_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$c_PreviewEmailType as PreviewEmailType, type index_d$c_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$c_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$c_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$c_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$c_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$c_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$3 as Price, type index_d$c_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type index_d$c_ProductName as ProductName, type index_d$c_PublicActivity as PublicActivity, type index_d$c_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$c_QueryOrderRequest as QueryOrderRequest, type index_d$c_QueryOrderResponse as QueryOrderResponse, type index_d$c_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$c_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$c_QuotesAddress as QuotesAddress, Reason$1 as Reason, type index_d$c_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$c_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$c_RedirectUrls as RedirectUrls, type Refund$1 as Refund, type RefundDetails$1 as RefundDetails, type index_d$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 index_d$c_RefundedAsStoreCredit as RefundedAsStoreCredit, type index_d$c_RefundedPayment as RefundedPayment, type index_d$c_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type index_d$c_RegularPayment as RegularPayment, type RegularPaymentDetails$1 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$1 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$c_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type index_d$c_RegularPaymentRefund as RegularPaymentRefund, type index_d$c_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$9 as RestoreInfo, type index_d$c_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$1 as ScheduledAction, type index_d$c_SearchOrdersOptions as SearchOrdersOptions, type index_d$c_SearchOrdersRequest as SearchOrdersRequest, type index_d$c_SearchOrdersResponse as SearchOrdersResponse, type index_d$c_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$c_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$c_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$c_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$c_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$c_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$c_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$c_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$c_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$c_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$c_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$c_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$c_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$c_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$c_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$c_SendRefundEmailRequest as SendRefundEmailRequest, type index_d$c_SendRefundEmailResponse as SendRefundEmailResponse, type index_d$c_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type index_d$c_ShippingAddressEdited as ShippingAddressEdited, type index_d$c_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type index_d$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, index_d$c_SourceType as SourceType, type index_d$c_StandardDetails as StandardDetails, index_d$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 index_d$c_TagList as TagList, type index_d$c_Tags as Tags, type index_d$c_Task as Task, type index_d$c_TaskAction as TaskAction, type index_d$c_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$c_TaskKey as TaskKey, type TaxSummary$1 as TaxSummary, type TaxableAddress$1 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$1 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$1 as TaxableAddressType, type index_d$c_TotalPrice as TotalPrice, type index_d$c_TotalPriceChange as TotalPriceChange, type index_d$c_TrackingLinkAdded as TrackingLinkAdded, type index_d$c_TrackingNumberAdded as TrackingNumberAdded, type index_d$c_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$1 as TransactionStatus, type index_d$c_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$c_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$c_TriggerReindexRequest as TriggerReindexRequest, type index_d$c_TriggerReindexResponse as TriggerReindexResponse, type index_d$c_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$c_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$c_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$c_UpdateActivityRequest as UpdateActivityRequest, type index_d$c_UpdateActivityResponse as UpdateActivityResponse, type index_d$c_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$c_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$c_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$c_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$c_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$c_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$c_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$c_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$c_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$c_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$c_UpdateOrder as UpdateOrder, type index_d$c_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$c_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$c_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$c_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$c_UpdateOrderRequest as UpdateOrderRequest, type index_d$c_UpdateOrderResponse as UpdateOrderResponse, type index_d$c_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$c_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$c_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$c_UpsertRefundRequest as UpsertRefundRequest, type index_d$c_UpsertRefundResponse as UpsertRefundResponse, type index_d$c_UserDataResponse as UserDataResponse, type index_d$c_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$c_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$c_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$c_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$c_V1LineItemDelta as V1LineItemDelta, type index_d$c_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$c_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$c_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$c_V1RestockItem as V1RestockItem, type index_d$c_V1ScheduledAction as V1ScheduledAction, type index_d$c_V1ShippingInformation as V1ShippingInformation, type index_d$c_Value as Value, index_d$c_ValueType as ValueType, type VatId$2 as VatId, VatType$2 as VatType, type index_d$c_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$c_VersionedDocumentId as VersionedDocumentId, type index_d$c_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$c_VersioningMode as VersioningMode, type index_d$c_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$c_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type index_d$c_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$8 as WebhookIdentityType, WeightUnit$3 as WeightUnit, type index_d$c__publicOnOrderApprovedType as _publicOnOrderApprovedType, type index_d$c__publicOnOrderCanceledType as _publicOnOrderCanceledType, type index_d$c__publicOnOrderCreatedType as _publicOnOrderCreatedType, type index_d$c__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, type index_d$c__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, index_d$c_bulkUpdateOrderTags as bulkUpdateOrderTags, index_d$c_bulkUpdateOrders as bulkUpdateOrders, index_d$c_cancelOrder as cancelOrder, index_d$c_captureAuthorizedPayments as captureAuthorizedPayments, index_d$c_createOrder as createOrder, index_d$c_getOrder as getOrder, index_d$c_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, index_d$c_onOrderApproved as onOrderApproved, index_d$c_onOrderCanceled as onOrderCanceled, index_d$c_onOrderCreated as onOrderCreated, index_d$c_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$c_onOrderUpdated as onOrderUpdated, index_d$c_preparePaymentCollection as preparePaymentCollection, onOrderApproved$1 as publicOnOrderApproved, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderPaymentStatusUpdated$1 as publicOnOrderPaymentStatusUpdated, onOrderUpdated$1 as publicOnOrderUpdated, index_d$c_searchOrders as searchOrders, index_d$c_updateOrder as updateOrder, index_d$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 index_d$a_Reason = Reason;
|
|
|
32591
32735
|
declare const index_d$a_Reason: typeof Reason;
|
|
32592
32736
|
type index_d$a_Refund = Refund;
|
|
32593
32737
|
type index_d$a_RefundCompleted = RefundCompleted;
|
|
32738
|
+
type index_d$a_RefundCreated = RefundCreated;
|
|
32594
32739
|
type index_d$a_RefundDetails = RefundDetails;
|
|
32595
32740
|
type index_d$a_RefundItem = RefundItem;
|
|
32596
32741
|
type index_d$a_RefundSideEffects = RefundSideEffects;
|
|
@@ -32642,7 +32787,7 @@ declare const index_d$a_listTransactionsForMultipleOrders: typeof listTransactio
|
|
|
32642
32787
|
declare const index_d$a_listTransactionsForSingleOrder: typeof listTransactionsForSingleOrder;
|
|
32643
32788
|
declare const index_d$a_updatePaymentStatus: typeof updatePaymentStatus;
|
|
32644
32789
|
declare namespace index_d$a {
|
|
32645
|
-
export { type ActionEvent$7 as ActionEvent, index_d$a_ActionType as ActionType, type index_d$a_Activity as Activity, index_d$a_ActivityType as ActivityType, type index_d$a_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type index_d$a_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type index_d$a_AddPaymentsRequest as AddPaymentsRequest, type index_d$a_AddPaymentsResponse as AddPaymentsResponse, type index_d$a_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type index_d$a_AddRefundRequest as AddRefundRequest, type index_d$a_AddRefundResponse as AddRefundResponse, type index_d$a_AdditionalFeeRefund as AdditionalFeeRefund, type Address$4 as Address, type index_d$a_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type index_d$a_AggregatedRefundSummary as AggregatedRefundSummary, type ApplicationError$3 as ApplicationError, type index_d$a_AppliedCoupon as AppliedCoupon, type index_d$a_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type index_d$a_AuthorizationCapture as AuthorizationCapture, index_d$a_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type index_d$a_AuthorizationDetails as AuthorizationDetails, type index_d$a_AuthorizationVoid as AuthorizationVoid, index_d$a_AuthorizationVoidStatus as AuthorizationVoidStatus, type index_d$a_BillingInfo as BillingInfo, type index_d$a_BulkActionMetadata as BulkActionMetadata, type index_d$a_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type index_d$a_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type index_d$a_BulkInvoiceResult as BulkInvoiceResult, type index_d$a_BulkPaymentResult as BulkPaymentResult, type index_d$a_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type index_d$a_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type index_d$a_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type index_d$a_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type index_d$a_BuyerDetails as BuyerDetails, type index_d$a_BuyerInfo as BuyerInfo, type index_d$a_CalculateRefundItemRequest as CalculateRefundItemRequest, type index_d$a_CalculateRefundItemResponse as CalculateRefundItemResponse, type index_d$a_CalculateRefundRequest as CalculateRefundRequest, type index_d$a_CalculateRefundResponse as CalculateRefundResponse, type index_d$a_ChannelInfo as ChannelInfo, index_d$a_ChannelType as ChannelType, type index_d$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 index_d$a_CustomField as CustomField, type index_d$a_CustomTextFieldSelection as CustomTextFieldSelection, type DiffmatokyPayload$1 as DiffmatokyPayload, type index_d$a_DigitalFile as DigitalFile, type index_d$a_Discount as Discount, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type index_d$a_EnteredBy as EnteredBy, index_d$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 index_d$a_Fulfillment as Fulfillment, type index_d$a_FulfillmentLineItem as FulfillmentLineItem, index_d$a_FulfillmentStatus as FulfillmentStatus, type index_d$a_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type index_d$a_FullName as FullName, type index_d$a_GenerateInvoiceRequest as GenerateInvoiceRequest, type index_d$a_GenerateInvoiceResponse as GenerateInvoiceResponse, type index_d$a_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type index_d$a_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type GiftCard$1 as GiftCard, type index_d$a_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type index_d$a_IndexingMessage as IndexingMessage, type index_d$a_InvoiceForOrder as InvoiceForOrder, type index_d$a_InvoiceInfo as InvoiceInfo, index_d$a_InvoiceSource as InvoiceSource, type index_d$a_InvoicesForOrder as InvoicesForOrder, type index_d$a_ItemMetadata as ItemMetadata, type LineItem$1 as LineItem, type index_d$a_LineItemPriceData as LineItemPriceData, type index_d$a_LineItemRefund as LineItemRefund, index_d$a_LineItemType as LineItemType, type index_d$a_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type index_d$a_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type index_d$a_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type index_d$a_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type index_d$a_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type index_d$a_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type index_d$a_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type index_d$a_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type index_d$a_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type index_d$a_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, index_d$a_ManuallyRefundableReason as ManuallyRefundableReason, type index_d$a_MaskedPayment as MaskedPayment, type index_d$a_MediaItem as MediaItem, index_d$a_MediaItemType as MediaItemType, type MembershipName$1 as MembershipName, type index_d$a_MembershipPaymentDetails as MembershipPaymentDetails, index_d$a_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$6 as MessageEnvelope, index_d$a_NonRefundableReason as NonRefundableReason, type index_d$a_OptionSelection as OptionSelection, type index_d$a_Order as Order, type index_d$a_OrderRefunded as OrderRefunded, type index_d$a_OrderTransactions as OrderTransactions, type index_d$a_Payment as Payment, type index_d$a_PaymentAndOrderId as PaymentAndOrderId, type index_d$a_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type index_d$a_PaymentRefund as PaymentRefund, index_d$a_PaymentStatus as PaymentStatus, type index_d$a_PaymentsUpdated as PaymentsUpdated, type index_d$a_PickupAddress as PickupAddress, type PickupDetails$2 as PickupDetails, type Price$1 as Price, type index_d$a_QueryOrderTransactionsRequest as QueryOrderTransactionsRequest, type index_d$a_QueryOrderTransactionsResponse as QueryOrderTransactionsResponse, index_d$a_Reason as Reason, type index_d$a_Refund as Refund, type index_d$a_RefundCompleted as RefundCompleted, type index_d$a_RefundDetails as RefundDetails, type index_d$a_RefundItem as RefundItem, type index_d$a_RefundSideEffects as RefundSideEffects, index_d$a_RefundStatus as RefundStatus, type index_d$a_RefundTransaction as RefundTransaction, type index_d$a_Refundability as Refundability, type index_d$a_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$a_RefundableStatus as RefundableStatus, type index_d$a_RegularPaymentDetails as RegularPaymentDetails, type index_d$a_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$a_RestockInfo as RestockInfo, type index_d$a_RestockItem as RestockItem, index_d$a_RestockType as RestockType, type RestoreInfo$7 as RestoreInfo, type index_d$a_ScheduledAction as ScheduledAction, type index_d$a_ShipmentDetails as ShipmentDetails, type index_d$a_ShippingInfo as ShippingInfo, type index_d$a_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type index_d$a_ShippingPriceData as ShippingPriceData, type index_d$a_ShippingRefund as ShippingRefund, type index_d$a_SnapshotMessage as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type index_d$a_Street as Street, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$a_SubscriptionInfo as SubscriptionInfo, type index_d$a_SubscriptionOptionInfo as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$a_Totals as Totals, type index_d$a_TrackingInfo as TrackingInfo, index_d$a_TransactionStatus as TransactionStatus, type index_d$a_TriggerRefundRequest as TriggerRefundRequest, type index_d$a_TriggerRefundResponse as TriggerRefundResponse, type index_d$a_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type index_d$a_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type index_d$a_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d$a_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d$a_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type index_d$a_UpdatePaymentsRequest as UpdatePaymentsRequest, type index_d$a_UpdatePaymentsResponse as UpdatePaymentsResponse, type index_d$a_UpdateRefundRequest as UpdateRefundRequest, type index_d$a_UpdateRefundResponse as UpdateRefundResponse, type index_d$a_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type index_d$a_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type index_d$a_V2InvoiceInfo as V2InvoiceInfo, type index_d$a_V2Refund as V2Refund, type VatId$1 as VatId, VatType$1 as VatType, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, index_d$a_addPayments as addPayments, index_d$a_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, index_d$a_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, index_d$a_listTransactionsForSingleOrder as listTransactionsForSingleOrder, index_d$a_updatePaymentStatus as updatePaymentStatus };
|
|
32790
|
+
export { type ActionEvent$7 as ActionEvent, index_d$a_ActionType as ActionType, type index_d$a_Activity as Activity, index_d$a_ActivityType as ActivityType, type index_d$a_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type index_d$a_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type index_d$a_AddPaymentsRequest as AddPaymentsRequest, type index_d$a_AddPaymentsResponse as AddPaymentsResponse, type index_d$a_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type index_d$a_AddRefundRequest as AddRefundRequest, type index_d$a_AddRefundResponse as AddRefundResponse, type index_d$a_AdditionalFeeRefund as AdditionalFeeRefund, type Address$4 as Address, type index_d$a_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type index_d$a_AggregatedRefundSummary as AggregatedRefundSummary, type ApplicationError$3 as ApplicationError, type index_d$a_AppliedCoupon as AppliedCoupon, type index_d$a_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type index_d$a_AuthorizationCapture as AuthorizationCapture, index_d$a_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type index_d$a_AuthorizationDetails as AuthorizationDetails, type index_d$a_AuthorizationVoid as AuthorizationVoid, index_d$a_AuthorizationVoidStatus as AuthorizationVoidStatus, type index_d$a_BillingInfo as BillingInfo, type index_d$a_BulkActionMetadata as BulkActionMetadata, type index_d$a_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type index_d$a_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type index_d$a_BulkInvoiceResult as BulkInvoiceResult, type index_d$a_BulkPaymentResult as BulkPaymentResult, type index_d$a_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type index_d$a_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type index_d$a_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type index_d$a_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type index_d$a_BuyerDetails as BuyerDetails, type index_d$a_BuyerInfo as BuyerInfo, type index_d$a_CalculateRefundItemRequest as CalculateRefundItemRequest, type index_d$a_CalculateRefundItemResponse as CalculateRefundItemResponse, type index_d$a_CalculateRefundRequest as CalculateRefundRequest, type index_d$a_CalculateRefundResponse as CalculateRefundResponse, type index_d$a_ChannelInfo as ChannelInfo, index_d$a_ChannelType as ChannelType, type index_d$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 index_d$a_CustomField as CustomField, type index_d$a_CustomTextFieldSelection as CustomTextFieldSelection, type DiffmatokyPayload$1 as DiffmatokyPayload, type index_d$a_DigitalFile as DigitalFile, type index_d$a_Discount as Discount, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type index_d$a_EnteredBy as EnteredBy, index_d$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 index_d$a_Fulfillment as Fulfillment, type index_d$a_FulfillmentLineItem as FulfillmentLineItem, index_d$a_FulfillmentStatus as FulfillmentStatus, type index_d$a_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type index_d$a_FullName as FullName, type index_d$a_GenerateInvoiceRequest as GenerateInvoiceRequest, type index_d$a_GenerateInvoiceResponse as GenerateInvoiceResponse, type index_d$a_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type index_d$a_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type GiftCard$1 as GiftCard, type index_d$a_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type index_d$a_IndexingMessage as IndexingMessage, type index_d$a_InvoiceForOrder as InvoiceForOrder, type index_d$a_InvoiceInfo as InvoiceInfo, index_d$a_InvoiceSource as InvoiceSource, type index_d$a_InvoicesForOrder as InvoicesForOrder, type index_d$a_ItemMetadata as ItemMetadata, type LineItem$1 as LineItem, type index_d$a_LineItemPriceData as LineItemPriceData, type index_d$a_LineItemRefund as LineItemRefund, index_d$a_LineItemType as LineItemType, type index_d$a_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type index_d$a_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type index_d$a_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type index_d$a_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type index_d$a_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type index_d$a_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type index_d$a_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type index_d$a_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type index_d$a_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type index_d$a_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, index_d$a_ManuallyRefundableReason as ManuallyRefundableReason, type index_d$a_MaskedPayment as MaskedPayment, type index_d$a_MediaItem as MediaItem, index_d$a_MediaItemType as MediaItemType, type MembershipName$1 as MembershipName, type index_d$a_MembershipPaymentDetails as MembershipPaymentDetails, index_d$a_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$6 as MessageEnvelope, index_d$a_NonRefundableReason as NonRefundableReason, type index_d$a_OptionSelection as OptionSelection, type index_d$a_Order as Order, type index_d$a_OrderRefunded as OrderRefunded, type index_d$a_OrderTransactions as OrderTransactions, type index_d$a_Payment as Payment, type index_d$a_PaymentAndOrderId as PaymentAndOrderId, type index_d$a_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type index_d$a_PaymentRefund as PaymentRefund, index_d$a_PaymentStatus as PaymentStatus, type index_d$a_PaymentsUpdated as PaymentsUpdated, type index_d$a_PickupAddress as PickupAddress, type PickupDetails$2 as PickupDetails, type Price$1 as Price, type index_d$a_QueryOrderTransactionsRequest as QueryOrderTransactionsRequest, type index_d$a_QueryOrderTransactionsResponse as QueryOrderTransactionsResponse, index_d$a_Reason as Reason, type index_d$a_Refund as Refund, type index_d$a_RefundCompleted as RefundCompleted, type index_d$a_RefundCreated as RefundCreated, type index_d$a_RefundDetails as RefundDetails, type index_d$a_RefundItem as RefundItem, type index_d$a_RefundSideEffects as RefundSideEffects, index_d$a_RefundStatus as RefundStatus, type index_d$a_RefundTransaction as RefundTransaction, type index_d$a_Refundability as Refundability, type index_d$a_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$a_RefundableStatus as RefundableStatus, type index_d$a_RegularPaymentDetails as RegularPaymentDetails, type index_d$a_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$a_RestockInfo as RestockInfo, type index_d$a_RestockItem as RestockItem, index_d$a_RestockType as RestockType, type RestoreInfo$7 as RestoreInfo, type index_d$a_ScheduledAction as ScheduledAction, type index_d$a_ShipmentDetails as ShipmentDetails, type index_d$a_ShippingInfo as ShippingInfo, type index_d$a_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type index_d$a_ShippingPriceData as ShippingPriceData, type index_d$a_ShippingRefund as ShippingRefund, type index_d$a_SnapshotMessage as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type index_d$a_Street as Street, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$a_SubscriptionInfo as SubscriptionInfo, type index_d$a_SubscriptionOptionInfo as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$a_Totals as Totals, type index_d$a_TrackingInfo as TrackingInfo, index_d$a_TransactionStatus as TransactionStatus, type index_d$a_TriggerRefundRequest as TriggerRefundRequest, type index_d$a_TriggerRefundResponse as TriggerRefundResponse, type index_d$a_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type index_d$a_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type index_d$a_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d$a_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d$a_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type index_d$a_UpdatePaymentsRequest as UpdatePaymentsRequest, type index_d$a_UpdatePaymentsResponse as UpdatePaymentsResponse, type index_d$a_UpdateRefundRequest as UpdateRefundRequest, type index_d$a_UpdateRefundResponse as UpdateRefundResponse, type index_d$a_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type index_d$a_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type index_d$a_V2InvoiceInfo as V2InvoiceInfo, type index_d$a_V2Refund as V2Refund, type VatId$1 as VatId, VatType$1 as VatType, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, index_d$a_addPayments as addPayments, index_d$a_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, index_d$a_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, index_d$a_listTransactionsForSingleOrder as listTransactionsForSingleOrder, index_d$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 index_d$5_AdditionalFee = AdditionalFee;
|
|
36349
36555
|
type index_d$5_AggregatedTaxBreakdown = AggregatedTaxBreakdown;
|
|
36556
|
+
type index_d$5_ApiV1AdditionalFee = ApiV1AdditionalFee;
|
|
36350
36557
|
type index_d$5_AppliedDiscount = AppliedDiscount;
|
|
36351
36558
|
type index_d$5_AppliedDiscountDiscountSourceOneOf = AppliedDiscountDiscountSourceOneOf;
|
|
36352
36559
|
type index_d$5_AutoTaxFallbackCalculationDetails = AutoTaxFallbackCalculationDetails;
|
|
@@ -36427,9 +36634,10 @@ type index_d$5_TaxableAddressType = TaxableAddressType;
|
|
|
36427
36634
|
declare const index_d$5_TaxableAddressType: typeof TaxableAddressType;
|
|
36428
36635
|
type index_d$5_TotalsCalculationEntity = TotalsCalculationEntity;
|
|
36429
36636
|
type index_d$5_V1AdditionalFee = V1AdditionalFee;
|
|
36637
|
+
type index_d$5_V1TaxDetails = V1TaxDetails;
|
|
36430
36638
|
declare const index_d$5_calculateTotals: typeof calculateTotals;
|
|
36431
36639
|
declare namespace index_d$5 {
|
|
36432
|
-
export { type index_d$5_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type index_d$5_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type ApplicationError$1 as ApplicationError, type index_d$5_AppliedDiscount as AppliedDiscount, type index_d$5_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d$5_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type index_d$5_CalculateTotalsOptions as CalculateTotalsOptions, type index_d$5_CalculateTotalsRequest as CalculateTotalsRequest, type index_d$5_CalculateTotalsRequestCouponOneOf as CalculateTotalsRequestCouponOneOf, type index_d$5_CalculateTotalsRequestGiftCardOneOf as CalculateTotalsRequestGiftCardOneOf, type index_d$5_CalculateTotalsResponse as CalculateTotalsResponse, type index_d$5_CalculateTotalsResponseNonNullableFields as CalculateTotalsResponseNonNullableFields, type index_d$5_CalculatedLineItem as CalculatedLineItem, type index_d$5_CalculationErrors as CalculationErrors, type index_d$5_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$1 as CarrierError, type index_d$5_CarrierErrors as CarrierErrors, type index_d$5_CarrierServiceOption as CarrierServiceOption, type index_d$5_CarrierShippingOption as CarrierShippingOption, type CatalogReference$2 as CatalogReference, ChargeType$1 as ChargeType, type index_d$5_Coupon as Coupon, index_d$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 index_d$5_DiscountRule as DiscountRule, type index_d$5_DiscountRuleName as DiscountRuleName, index_d$5_DiscountType as DiscountType, type index_d$5_ExternalReference as ExternalReference, index_d$5_FallbackReason as FallbackReason, type FieldViolation$1 as FieldViolation, type index_d$5_GiftCard as GiftCard, type index_d$5_Group as Group, type index_d$5_InvalidMembership as InvalidMembership, type index_d$5_ItemTaxFullDetails as ItemTaxFullDetails, type index_d$5_ItemType as ItemType, index_d$5_ItemTypeItemType as ItemTypeItemType, type index_d$5_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, index_d$5_JurisdictionType as JurisdictionType, type index_d$5_LineItem as LineItem, type index_d$5_LineItemDiscount as LineItemDiscount, type index_d$5_LineItemPricesData as LineItemPricesData, index_d$5_ManualCalculationReason as ManualCalculationReason, type index_d$5_Membership as Membership, type index_d$5_MembershipName as MembershipName, type index_d$5_MembershipOptions as MembershipOptions, type index_d$5_MembershipPaymentCredits as MembershipPaymentCredits, type index_d$5_MerchantDiscount as MerchantDiscount, type index_d$5_MerchantDiscountInput as MerchantDiscountInput, type index_d$5_MultiCurrencyPrice as MultiCurrencyPrice, type index_d$5_OtherCharge as OtherCharge, index_d$5_PaymentOptionType as PaymentOptionType, type PhysicalProperties$1 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type index_d$5_PriceSummary as PriceSummary, index_d$5_RateType as RateType, RuleType$1 as RuleType, type index_d$5_Scope as Scope, type index_d$5_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d$5_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type index_d$5_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type index_d$5_SelectedMembership as SelectedMembership, type index_d$5_SelectedMemberships as SelectedMemberships, type index_d$5_SelectedShippingOption as SelectedShippingOption, type index_d$5_ServiceProperties as ServiceProperties, type index_d$5_ShippingInformation as ShippingInformation, type index_d$5_ShippingOption as ShippingOption, type index_d$5_ShippingPrice as ShippingPrice, type index_d$5_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, index_d$5_SubscriptionFrequency as SubscriptionFrequency, type index_d$5_SubscriptionSettings as SubscriptionSettings, type SystemError$1 as SystemError, type index_d$5_TaxBreakdown as TaxBreakdown, type index_d$5_TaxCalculationDetails as TaxCalculationDetails, type index_d$5_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type index_d$5_TaxDetails as TaxDetails, type index_d$5_TaxRateBreakdown as TaxRateBreakdown, type index_d$5_TaxSummary as TaxSummary, type index_d$5_TaxableAddress as TaxableAddress, type index_d$5_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, index_d$5_TaxableAddressType as TaxableAddressType, type index_d$5_TotalsCalculationEntity as TotalsCalculationEntity, type index_d$5_V1AdditionalFee as V1AdditionalFee, type ValidationError$1 as ValidationError, WeightUnit$1 as WeightUnit, index_d$5_calculateTotals as calculateTotals };
|
|
36640
|
+
export { type index_d$5_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type index_d$5_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type index_d$5_ApiV1AdditionalFee as ApiV1AdditionalFee, type ApplicableLineItems$1 as ApplicableLineItems, type ApplicationError$1 as ApplicationError, type index_d$5_AppliedDiscount as AppliedDiscount, type index_d$5_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d$5_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type index_d$5_CalculateTotalsOptions as CalculateTotalsOptions, type index_d$5_CalculateTotalsRequest as CalculateTotalsRequest, type index_d$5_CalculateTotalsRequestCouponOneOf as CalculateTotalsRequestCouponOneOf, type index_d$5_CalculateTotalsRequestGiftCardOneOf as CalculateTotalsRequestGiftCardOneOf, type index_d$5_CalculateTotalsResponse as CalculateTotalsResponse, type index_d$5_CalculateTotalsResponseNonNullableFields as CalculateTotalsResponseNonNullableFields, type index_d$5_CalculatedLineItem as CalculatedLineItem, type index_d$5_CalculationErrors as CalculationErrors, type index_d$5_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$1 as Carrier, type CarrierError$1 as CarrierError, type index_d$5_CarrierErrors as CarrierErrors, type index_d$5_CarrierServiceOption as CarrierServiceOption, type index_d$5_CarrierShippingOption as CarrierShippingOption, type CatalogReference$2 as CatalogReference, ChargeType$1 as ChargeType, type index_d$5_Coupon as Coupon, index_d$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 index_d$5_DiscountRule as DiscountRule, type index_d$5_DiscountRuleName as DiscountRuleName, index_d$5_DiscountType as DiscountType, type index_d$5_ExternalReference as ExternalReference, index_d$5_FallbackReason as FallbackReason, type FieldViolation$1 as FieldViolation, type index_d$5_GiftCard as GiftCard, type index_d$5_Group as Group, type index_d$5_InvalidMembership as InvalidMembership, type index_d$5_ItemTaxFullDetails as ItemTaxFullDetails, type index_d$5_ItemType as ItemType, index_d$5_ItemTypeItemType as ItemTypeItemType, type index_d$5_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, index_d$5_JurisdictionType as JurisdictionType, type index_d$5_LineItem as LineItem, type index_d$5_LineItemDiscount as LineItemDiscount, type index_d$5_LineItemPricesData as LineItemPricesData, index_d$5_ManualCalculationReason as ManualCalculationReason, type index_d$5_Membership as Membership, type index_d$5_MembershipName as MembershipName, type index_d$5_MembershipOptions as MembershipOptions, type index_d$5_MembershipPaymentCredits as MembershipPaymentCredits, type index_d$5_MerchantDiscount as MerchantDiscount, type index_d$5_MerchantDiscountInput as MerchantDiscountInput, type index_d$5_MultiCurrencyPrice as MultiCurrencyPrice, type index_d$5_OtherCharge as OtherCharge, index_d$5_PaymentOptionType as PaymentOptionType, type PhysicalProperties$1 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type index_d$5_PriceSummary as PriceSummary, index_d$5_RateType as RateType, type Region$1 as Region, RuleType$1 as RuleType, type index_d$5_Scope as Scope, type index_d$5_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d$5_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type index_d$5_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type index_d$5_SelectedMembership as SelectedMembership, type index_d$5_SelectedMemberships as SelectedMemberships, type index_d$5_SelectedShippingOption as SelectedShippingOption, type index_d$5_ServiceProperties as ServiceProperties, type index_d$5_ShippingInformation as ShippingInformation, type index_d$5_ShippingOption as ShippingOption, type index_d$5_ShippingPrice as ShippingPrice, type index_d$5_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, index_d$5_SubscriptionFrequency as SubscriptionFrequency, type index_d$5_SubscriptionSettings as SubscriptionSettings, type SystemError$1 as SystemError, type index_d$5_TaxBreakdown as TaxBreakdown, type index_d$5_TaxCalculationDetails as TaxCalculationDetails, type index_d$5_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type index_d$5_TaxDetails as TaxDetails, type index_d$5_TaxRateBreakdown as TaxRateBreakdown, type index_d$5_TaxSummary as TaxSummary, type index_d$5_TaxableAddress as TaxableAddress, type index_d$5_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, index_d$5_TaxableAddressType as TaxableAddressType, type index_d$5_TotalsCalculationEntity as TotalsCalculationEntity, type index_d$5_V1AdditionalFee as V1AdditionalFee, type index_d$5_V1TaxDetails as V1TaxDetails, type ValidationError$1 as ValidationError, WeightUnit$1 as WeightUnit, index_d$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 index_d$3_AddressLocation = AddressLocation;
|
|
|
37200
37408
|
type index_d$3_AddressStreetOneOf = AddressStreetOneOf;
|
|
37201
37409
|
type index_d$3_ApplicableLineItems = ApplicableLineItems;
|
|
37202
37410
|
type index_d$3_ApplicationError = ApplicationError;
|
|
37203
|
-
type index_d$3_Breakdown = Breakdown;
|
|
37204
37411
|
type index_d$3_Carrier = Carrier;
|
|
37205
37412
|
type index_d$3_CarrierDetails = CarrierDetails;
|
|
37206
37413
|
type index_d$3_CarrierError = CarrierError;
|
|
37207
37414
|
type index_d$3_ChargeType = ChargeType;
|
|
37208
37415
|
declare const index_d$3_ChargeType: typeof ChargeType;
|
|
37209
37416
|
type index_d$3_DeliverableItem = DeliverableItem;
|
|
37417
|
+
type index_d$3_DeliveryAllocation = DeliveryAllocation;
|
|
37210
37418
|
type index_d$3_DeliveryCarrierError = DeliveryCarrierError;
|
|
37211
37419
|
type index_d$3_DeliveryCost = DeliveryCost;
|
|
37212
37420
|
type index_d$3_DeliveryDetails = DeliveryDetails;
|
|
@@ -37251,7 +37459,7 @@ type index_d$3_WeightUnit = WeightUnit;
|
|
|
37251
37459
|
declare const index_d$3_WeightUnit: typeof WeightUnit;
|
|
37252
37460
|
declare const index_d$3_getDeliverySolutions: typeof getDeliverySolutions;
|
|
37253
37461
|
declare namespace index_d$3 {
|
|
37254
|
-
export { type ActionEvent$2 as ActionEvent, type index_d$3_AdditionalCharge as AdditionalCharge, type index_d$3_Address as Address, type index_d$3_AddressLocation as AddressLocation, type index_d$3_AddressStreetOneOf as AddressStreetOneOf, type index_d$3_ApplicableLineItems as ApplicableLineItems, type index_d$3_ApplicationError as ApplicationError, type index_d$
|
|
37462
|
+
export { type ActionEvent$2 as ActionEvent, type index_d$3_AdditionalCharge as AdditionalCharge, type index_d$3_Address as Address, type index_d$3_AddressLocation as AddressLocation, type index_d$3_AddressStreetOneOf as AddressStreetOneOf, type index_d$3_ApplicableLineItems as ApplicableLineItems, type index_d$3_ApplicationError as ApplicationError, type index_d$3_Carrier as Carrier, type index_d$3_CarrierDetails as CarrierDetails, type index_d$3_CarrierError as CarrierError, type CatalogReference$1 as CatalogReference, index_d$3_ChargeType as ChargeType, type index_d$3_DeliverableItem as DeliverableItem, type index_d$3_DeliveryAllocation as DeliveryAllocation, type index_d$3_DeliveryCarrierError as DeliveryCarrierError, type index_d$3_DeliveryCost as DeliveryCost, type index_d$3_DeliveryDetails as DeliveryDetails, type index_d$3_DeliveryLogistics as DeliveryLogistics, type index_d$3_DeliveryOption as DeliveryOption, type index_d$3_DeliveryRatesGateway as DeliveryRatesGateway, type index_d$3_DeliverySolution as DeliverySolution, type index_d$3_DeliveryTimeSlot as DeliveryTimeSlot, type index_d$3_Details as Details, type index_d$3_DetailsKindOneOf as DetailsKindOneOf, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$3_Empty as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$3_FieldViolation as FieldViolation, type index_d$3_FullAddressContactDetails as FullAddressContactDetails, type index_d$3_GetDeliveryOptionsRequest as GetDeliveryOptionsRequest, type index_d$3_GetDeliveryOptionsResponse as GetDeliveryOptionsResponse, type index_d$3_GetDeliverySolutionsOptions as GetDeliverySolutionsOptions, type index_d$3_GetDeliverySolutionsRequest as GetDeliverySolutionsRequest, type index_d$3_GetDeliverySolutionsResponse as GetDeliverySolutionsResponse, type index_d$3_GetDeliverySolutionsResponseNonNullableFields as GetDeliverySolutionsResponseNonNullableFields, type index_d$3_PartialDeliveryOption as PartialDeliveryOption, type index_d$3_PhysicalProperties as PhysicalProperties, type index_d$3_PickupDetails as PickupDetails, index_d$3_PickupMethod as PickupMethod, type index_d$3_ProviderErrors as ProviderErrors, type index_d$3_Region as Region, type index_d$3_RegionDetails as RegionDetails, type RestoreInfo$2 as RestoreInfo, index_d$3_RuleType as RuleType, type index_d$3_StreetAddress as StreetAddress, type index_d$3_Subdivision as Subdivision, index_d$3_SubdivisionType as SubdivisionType, type index_d$3_SystemError as SystemError, type index_d$3_UserIntent as UserIntent, type index_d$3_UserPreference as UserPreference, type index_d$3_ValidationError as ValidationError, type index_d$3_VatId as VatId, index_d$3_VatType as VatType, index_d$3_WeightUnit as WeightUnit, index_d$3_getDeliverySolutions as getDeliverySolutions };
|
|
37255
37463
|
}
|
|
37256
37464
|
|
|
37257
37465
|
/**
|
|
@@ -37263,7 +37471,7 @@ declare namespace index_d$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 index_d$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",
|