@wix/ecom 1.0.844 → 1.0.846
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1389,7 +1389,7 @@ interface UpdateDiscountRuleResponseNonNullableFields {
|
|
|
1389
1389
|
interface QueryDiscountRulesResponseNonNullableFields {
|
|
1390
1390
|
discountRules: DiscountRuleNonNullableFields$7[];
|
|
1391
1391
|
}
|
|
1392
|
-
interface BaseEventMetadata$
|
|
1392
|
+
interface BaseEventMetadata$d {
|
|
1393
1393
|
/** App instance ID. */
|
|
1394
1394
|
instanceId?: string | null;
|
|
1395
1395
|
/** Event type. */
|
|
@@ -1397,7 +1397,7 @@ interface BaseEventMetadata$e {
|
|
|
1397
1397
|
/** The identification type and identity data. */
|
|
1398
1398
|
identity?: IdentificationData$n;
|
|
1399
1399
|
}
|
|
1400
|
-
interface EventMetadata$
|
|
1400
|
+
interface EventMetadata$d extends BaseEventMetadata$d {
|
|
1401
1401
|
/**
|
|
1402
1402
|
* Unique event ID.
|
|
1403
1403
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -1437,14 +1437,14 @@ interface EventMetadata$e extends BaseEventMetadata$e {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
interface DiscountRuleCreatedEnvelope {
|
|
1439
1439
|
entity: DiscountRule$8;
|
|
1440
|
-
metadata: EventMetadata$
|
|
1440
|
+
metadata: EventMetadata$d;
|
|
1441
1441
|
}
|
|
1442
1442
|
interface DiscountRuleUpdatedEnvelope {
|
|
1443
1443
|
entity: DiscountRule$8;
|
|
1444
|
-
metadata: EventMetadata$
|
|
1444
|
+
metadata: EventMetadata$d;
|
|
1445
1445
|
}
|
|
1446
1446
|
interface DiscountRuleDeletedEnvelope {
|
|
1447
|
-
metadata: EventMetadata$
|
|
1447
|
+
metadata: EventMetadata$d;
|
|
1448
1448
|
}
|
|
1449
1449
|
interface UpdateDiscountRule {
|
|
1450
1450
|
/**
|
|
@@ -1639,7 +1639,7 @@ declare const onDiscountRuleCreated$1: EventDefinition<DiscountRuleCreatedEnvelo
|
|
|
1639
1639
|
declare const onDiscountRuleUpdated$1: EventDefinition<DiscountRuleUpdatedEnvelope, "wix.ecom.discounts.v1.discount_rule_updated">;
|
|
1640
1640
|
declare const onDiscountRuleDeleted$1: EventDefinition<DiscountRuleDeletedEnvelope, "wix.ecom.discounts.v1.discount_rule_deleted">;
|
|
1641
1641
|
|
|
1642
|
-
declare function createEventModule$
|
|
1642
|
+
declare function createEventModule$d<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
1643
1643
|
|
|
1644
1644
|
declare const createDiscountRule: MaybeContext<BuildRESTFunction<typeof createDiscountRule$1> & typeof createDiscountRule$1>;
|
|
1645
1645
|
declare const getDiscountRule: MaybeContext<BuildRESTFunction<typeof getDiscountRule$1> & typeof getDiscountRule$1>;
|
|
@@ -1651,19 +1651,19 @@ type _publicOnDiscountRuleCreatedType = typeof onDiscountRuleCreated$1;
|
|
|
1651
1651
|
/**
|
|
1652
1652
|
* Triggered when a discount rule is created.
|
|
1653
1653
|
*/
|
|
1654
|
-
declare const onDiscountRuleCreated: ReturnType<typeof createEventModule$
|
|
1654
|
+
declare const onDiscountRuleCreated: ReturnType<typeof createEventModule$d<_publicOnDiscountRuleCreatedType>>;
|
|
1655
1655
|
|
|
1656
1656
|
type _publicOnDiscountRuleUpdatedType = typeof onDiscountRuleUpdated$1;
|
|
1657
1657
|
/**
|
|
1658
1658
|
* Triggered when a discount rule is updated.
|
|
1659
1659
|
*/
|
|
1660
|
-
declare const onDiscountRuleUpdated: ReturnType<typeof createEventModule$
|
|
1660
|
+
declare const onDiscountRuleUpdated: ReturnType<typeof createEventModule$d<_publicOnDiscountRuleUpdatedType>>;
|
|
1661
1661
|
|
|
1662
1662
|
type _publicOnDiscountRuleDeletedType = typeof onDiscountRuleDeleted$1;
|
|
1663
1663
|
/**
|
|
1664
1664
|
* Triggered when a discount rule is deleted.
|
|
1665
1665
|
*/
|
|
1666
|
-
declare const onDiscountRuleDeleted: ReturnType<typeof createEventModule$
|
|
1666
|
+
declare const onDiscountRuleDeleted: ReturnType<typeof createEventModule$d<_publicOnDiscountRuleDeletedType>>;
|
|
1667
1667
|
|
|
1668
1668
|
type context$t_ActiveTimeInfo = ActiveTimeInfo;
|
|
1669
1669
|
type context$t_And = And;
|
|
@@ -1728,7 +1728,7 @@ declare const context$t_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
|
|
|
1728
1728
|
declare const context$t_queryDiscountRules: typeof queryDiscountRules;
|
|
1729
1729
|
declare const context$t_updateDiscountRule: typeof updateDiscountRule;
|
|
1730
1730
|
declare namespace context$t {
|
|
1731
|
-
export { type ActionEvent$n as ActionEvent, type context$t_ActiveTimeInfo as ActiveTimeInfo, type context$t_And as And, type AppliedDiscount$8 as AppliedDiscount, type context$t_AppliedDiscountRule as AppliedDiscountRule, context$t_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$
|
|
1731
|
+
export { type ActionEvent$n as ActionEvent, type context$t_ActiveTimeInfo as ActiveTimeInfo, type context$t_And as And, type AppliedDiscount$8 as AppliedDiscount, type context$t_AppliedDiscountRule as AppliedDiscountRule, context$t_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$d as BaseEventMetadata, type context$t_BuyXGetYInfo as BuyXGetYInfo, type context$t_CatalogItemFilter as CatalogItemFilter, type CatalogReference$c as CatalogReference, type context$t_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type context$t_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type context$t_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$f as CursorPaging, type Cursors$f as Cursors, type context$t_Custom as Custom, type context$t_CustomFilter as CustomFilter, type context$t_CustomerBuy as CustomerBuy, type context$t_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type context$t_CustomerGet as CustomerGet, type context$t_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type context$t_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type context$t_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$8 as DiscountRule, type context$t_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type context$t_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$8 as DiscountRuleName, type DiscountRuleNonNullableFields$7 as DiscountRuleNonNullableFields, type context$t_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type context$t_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type context$t_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type context$t_DiscountRulesQueryResult as DiscountRulesQueryResult, type context$t_DiscountSettings as DiscountSettings, type context$t_DiscountTrigger as DiscountTrigger, type context$t_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$8 as DiscountType, type context$t_Discounts as Discounts, type DomainEvent$n as DomainEvent, type DomainEventBodyOneOf$n as DomainEventBodyOneOf, type Empty$g as Empty, type EntityCreatedEvent$n as EntityCreatedEvent, type EntityDeletedEvent$n as EntityDeletedEvent, type EntityUpdatedEvent$n as EntityUpdatedEvent, type EventMetadata$d as EventMetadata, type ExtendedFields$c as ExtendedFields, type context$t_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type context$t_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type context$t_GetDiscountRuleRequest as GetDiscountRuleRequest, type context$t_GetDiscountRuleResponse as GetDiscountRuleResponse, type context$t_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$n as IdentificationData, type IdentificationDataIdOneOf$n as IdentificationDataIdOneOf, type context$t_ItemQuantityRange as ItemQuantityRange, type LineItem$7 as LineItem, type MessageEnvelope$m as MessageEnvelope, type MultiCurrencyPrice$6 as MultiCurrencyPrice, type context$t_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type context$t_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type context$t_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type context$t_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$n as RestoreInfo, type Scope$5 as Scope, type context$t_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, context$t_ScopeType as ScopeType, SortOrder$f as SortOrder, type Sorting$f as Sorting, type context$t_SpecificItemsInfo as SpecificItemsInfo, Status$5 as Status, type context$t_SubtotalRange as SubtotalRange, context$t_TriggerType as TriggerType, context$t_Type as Type, type context$t_UpdateDiscountRule as UpdateDiscountRule, type context$t_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type context$t_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type context$t_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$m as WebhookIdentityType, type context$t__publicOnDiscountRuleCreatedType as _publicOnDiscountRuleCreatedType, type context$t__publicOnDiscountRuleDeletedType as _publicOnDiscountRuleDeletedType, type context$t__publicOnDiscountRuleUpdatedType as _publicOnDiscountRuleUpdatedType, context$t_createDiscountRule as createDiscountRule, context$t_deleteDiscountRule as deleteDiscountRule, context$t_getDiscountRule as getDiscountRule, context$t_onDiscountRuleCreated as onDiscountRuleCreated, context$t_onDiscountRuleDeleted as onDiscountRuleDeleted, context$t_onDiscountRuleUpdated as onDiscountRuleUpdated, onDiscountRuleCreated$1 as publicOnDiscountRuleCreated, onDiscountRuleDeleted$1 as publicOnDiscountRuleDeleted, onDiscountRuleUpdated$1 as publicOnDiscountRuleUpdated, context$t_queryDiscountRules as queryDiscountRules, context$t_updateDiscountRule as updateDiscountRule };
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
1734
|
interface Invoice {
|
|
@@ -3515,7 +3515,7 @@ interface GetSubscriptionContractResponseNonNullableFields {
|
|
|
3515
3515
|
interface QuerySubscriptionContractsResponseNonNullableFields {
|
|
3516
3516
|
subscriptionContracts: SubscriptionContractNonNullableFields[];
|
|
3517
3517
|
}
|
|
3518
|
-
interface BaseEventMetadata$
|
|
3518
|
+
interface BaseEventMetadata$c {
|
|
3519
3519
|
/** App instance ID. */
|
|
3520
3520
|
instanceId?: string | null;
|
|
3521
3521
|
/** Event type. */
|
|
@@ -3523,7 +3523,7 @@ interface BaseEventMetadata$d {
|
|
|
3523
3523
|
/** The identification type and identity data. */
|
|
3524
3524
|
identity?: IdentificationData$l;
|
|
3525
3525
|
}
|
|
3526
|
-
interface EventMetadata$
|
|
3526
|
+
interface EventMetadata$c extends BaseEventMetadata$c {
|
|
3527
3527
|
/**
|
|
3528
3528
|
* Unique event ID.
|
|
3529
3529
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -3563,14 +3563,14 @@ interface EventMetadata$d extends BaseEventMetadata$d {
|
|
|
3563
3563
|
}
|
|
3564
3564
|
interface SubscriptionContractCreatedEnvelope {
|
|
3565
3565
|
entity: SubscriptionContract;
|
|
3566
|
-
metadata: EventMetadata$
|
|
3566
|
+
metadata: EventMetadata$c;
|
|
3567
3567
|
}
|
|
3568
3568
|
interface SubscriptionContractDeletedEnvelope {
|
|
3569
|
-
metadata: EventMetadata$
|
|
3569
|
+
metadata: EventMetadata$c;
|
|
3570
3570
|
}
|
|
3571
3571
|
interface SubscriptionContractUpdatedEnvelope {
|
|
3572
3572
|
entity: SubscriptionContract;
|
|
3573
|
-
metadata: EventMetadata$
|
|
3573
|
+
metadata: EventMetadata$c;
|
|
3574
3574
|
}
|
|
3575
3575
|
interface QueryCursorResult$c {
|
|
3576
3576
|
cursors: Cursors$e;
|
|
@@ -3657,22 +3657,22 @@ declare const onSubscriptionContractCreated$1: EventDefinition<SubscriptionContr
|
|
|
3657
3657
|
declare const onSubscriptionContractDeleted$1: EventDefinition<SubscriptionContractDeletedEnvelope, "wix.ecom.subscription_contracts.v1.subscription_contract_deleted">;
|
|
3658
3658
|
declare const onSubscriptionContractUpdated$1: EventDefinition<SubscriptionContractUpdatedEnvelope, "wix.ecom.subscription_contracts.v1.subscription_contract_updated">;
|
|
3659
3659
|
|
|
3660
|
-
declare function createEventModule$
|
|
3660
|
+
declare function createEventModule$c<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3661
3661
|
|
|
3662
3662
|
declare const getSubscriptionContract: MaybeContext<BuildRESTFunction<typeof getSubscriptionContract$1> & typeof getSubscriptionContract$1>;
|
|
3663
3663
|
declare const querySubscriptionContracts: MaybeContext<BuildRESTFunction<typeof querySubscriptionContracts$1> & typeof querySubscriptionContracts$1>;
|
|
3664
3664
|
|
|
3665
3665
|
type _publicOnSubscriptionContractCreatedType = typeof onSubscriptionContractCreated$1;
|
|
3666
3666
|
/** */
|
|
3667
|
-
declare const onSubscriptionContractCreated: ReturnType<typeof createEventModule$
|
|
3667
|
+
declare const onSubscriptionContractCreated: ReturnType<typeof createEventModule$c<_publicOnSubscriptionContractCreatedType>>;
|
|
3668
3668
|
|
|
3669
3669
|
type _publicOnSubscriptionContractDeletedType = typeof onSubscriptionContractDeleted$1;
|
|
3670
3670
|
/** */
|
|
3671
|
-
declare const onSubscriptionContractDeleted: ReturnType<typeof createEventModule$
|
|
3671
|
+
declare const onSubscriptionContractDeleted: ReturnType<typeof createEventModule$c<_publicOnSubscriptionContractDeletedType>>;
|
|
3672
3672
|
|
|
3673
3673
|
type _publicOnSubscriptionContractUpdatedType = typeof onSubscriptionContractUpdated$1;
|
|
3674
3674
|
/** */
|
|
3675
|
-
declare const onSubscriptionContractUpdated: ReturnType<typeof createEventModule$
|
|
3675
|
+
declare const onSubscriptionContractUpdated: ReturnType<typeof createEventModule$c<_publicOnSubscriptionContractUpdatedType>>;
|
|
3676
3676
|
|
|
3677
3677
|
type context$q_CreateSubscriptionContractRequest = CreateSubscriptionContractRequest;
|
|
3678
3678
|
type context$q_CreateSubscriptionContractResponse = CreateSubscriptionContractResponse;
|
|
@@ -3702,7 +3702,7 @@ declare const context$q_onSubscriptionContractDeleted: typeof onSubscriptionCont
|
|
|
3702
3702
|
declare const context$q_onSubscriptionContractUpdated: typeof onSubscriptionContractUpdated;
|
|
3703
3703
|
declare const context$q_querySubscriptionContracts: typeof querySubscriptionContracts;
|
|
3704
3704
|
declare namespace context$q {
|
|
3705
|
-
export { type ActionEvent$l as ActionEvent, type Address$b as Address, type AddressLocation$a as AddressLocation, type AddressWithContact$6 as AddressWithContact, type AppliedDiscount$7 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$7 as AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata$
|
|
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$c as BaseEventMetadata, type BuyerInfo$9 as BuyerInfo, type BuyerInfoIdOneOf$6 as BuyerInfoIdOneOf, type CatalogReference$a as CatalogReference, type ChannelInfo$4 as ChannelInfo, ChannelType$7 as ChannelType, type Color$6 as Color, type Coupon$7 as Coupon, type context$q_CreateSubscriptionContractRequest as CreateSubscriptionContractRequest, type context$q_CreateSubscriptionContractResponse as CreateSubscriptionContractResponse, type CursorPaging$e as CursorPaging, type CursorPagingMetadata$b as CursorPagingMetadata, type CursorQuery$8 as CursorQuery, type CursorQueryPagingMethodOneOf$8 as CursorQueryPagingMethodOneOf, type Cursors$e as Cursors, type CustomField$5 as CustomField, type DeliveryLogistics$8 as DeliveryLogistics, type DeliveryLogisticsAddressOneOf$1 as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$8 as DeliveryTimeSlot, type DescriptionLine$6 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$6 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$6 as DescriptionLineName, DescriptionLineType$6 as DescriptionLineType, type DescriptionLineValueOneOf$6 as DescriptionLineValueOneOf, type DigitalFile$3 as DigitalFile, DiscountReason$2 as DiscountReason, type DiscountRule$7 as DiscountRule, type DiscountRuleName$7 as DiscountRuleName, DiscountType$7 as DiscountType, type DomainEvent$l as DomainEvent, type DomainEventBodyOneOf$l as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$l as EntityCreatedEvent, type EntityDeletedEvent$l as EntityDeletedEvent, type EntityUpdatedEvent$l as EntityUpdatedEvent, type EventMetadata$c as EventMetadata, type ExtendedFields$b as ExtendedFields, type FullAddressContactDetails$8 as FullAddressContactDetails, type context$q_GetSubscriptionContractRequest as GetSubscriptionContractRequest, type context$q_GetSubscriptionContractResponse as GetSubscriptionContractResponse, type context$q_GetSubscriptionContractResponseNonNullableFields as GetSubscriptionContractResponseNonNullableFields, type IdentificationData$l as IdentificationData, type IdentificationDataIdOneOf$l as IdentificationDataIdOneOf, type ItemTaxFullDetails$7 as ItemTaxFullDetails, type ItemType$7 as ItemType, ItemTypeItemType$7 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$7 as ItemTypeItemTypeDataOneOf, JurisdictionType$7 as JurisdictionType, type LineItemDiscount$7 as LineItemDiscount, type LineItemTaxBreakdown$2 as LineItemTaxBreakdown, type LineItemTaxInfo$2 as LineItemTaxInfo, type LocationAndQuantity$2 as LocationAndQuantity, type MerchantDiscount$7 as MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf$2 as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$k as MessageEnvelope, type OrderLineItem$2 as OrderLineItem, type OrderTaxBreakdown$2 as OrderTaxBreakdown, type OrderTaxInfo$2 as OrderTaxInfo, PaymentOptionType$7 as PaymentOptionType, type PhysicalProperties$8 as PhysicalProperties, type PickupAddress$4 as PickupAddress, type PickupDetails$9 as PickupDetails, PickupMethod$8 as PickupMethod, type PlainTextValue$6 as PlainTextValue, type Price$5 as Price, type PriceDescription$6 as PriceDescription, type PriceSummary$7 as PriceSummary, type ProductName$6 as ProductName, type context$q_QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequest, type context$q_QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponse, type context$q_QuerySubscriptionContractsResponseNonNullableFields as QuerySubscriptionContractsResponseNonNullableFields, type RestoreInfo$l as RestoreInfo, type ShippingInformation$5 as ShippingInformation, type ShippingPrice$7 as ShippingPrice, type ShippingRegion$7 as ShippingRegion, SortOrder$e as SortOrder, type Sorting$e as Sorting, type StreetAddress$a as StreetAddress, type context$q_SubscriptionContract as SubscriptionContract, type context$q_SubscriptionContractCreatedEnvelope as SubscriptionContractCreatedEnvelope, type context$q_SubscriptionContractDeletedEnvelope as SubscriptionContractDeletedEnvelope, type context$q_SubscriptionContractNonNullableFields as SubscriptionContractNonNullableFields, type context$q_SubscriptionContractUpdatedEnvelope as SubscriptionContractUpdatedEnvelope, type context$q_SubscriptionContractsQueryBuilder as SubscriptionContractsQueryBuilder, type context$q_SubscriptionContractsQueryResult as SubscriptionContractsQueryResult, SubscriptionFrequency$8 as SubscriptionFrequency, type SubscriptionInfo$3 as SubscriptionInfo, type SubscriptionSettings$8 as SubscriptionSettings, type TaxableAddress$7 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$7 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$7 as TaxableAddressType, type context$q_UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequest, type context$q_UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponse, type V1SubscriptionSettings$1 as V1SubscriptionSettings, context$q_V2SubscriptionFrequency as V2SubscriptionFrequency, type VatId$9 as VatId, VatType$9 as VatType, WebhookIdentityType$k as WebhookIdentityType, WeightUnit$9 as WeightUnit, type context$q__publicOnSubscriptionContractCreatedType as _publicOnSubscriptionContractCreatedType, type context$q__publicOnSubscriptionContractDeletedType as _publicOnSubscriptionContractDeletedType, type context$q__publicOnSubscriptionContractUpdatedType as _publicOnSubscriptionContractUpdatedType, context$q_getSubscriptionContract as getSubscriptionContract, context$q_onSubscriptionContractCreated as onSubscriptionContractCreated, context$q_onSubscriptionContractDeleted as onSubscriptionContractDeleted, context$q_onSubscriptionContractUpdated as onSubscriptionContractUpdated, onSubscriptionContractCreated$1 as publicOnSubscriptionContractCreated, onSubscriptionContractDeleted$1 as publicOnSubscriptionContractDeleted, onSubscriptionContractUpdated$1 as publicOnSubscriptionContractUpdated, context$q_querySubscriptionContracts as querySubscriptionContracts };
|
|
3706
3706
|
}
|
|
3707
3707
|
|
|
3708
3708
|
interface AbandonedCheckout {
|
|
@@ -4343,7 +4343,7 @@ interface RawHttpResponseNonNullableFields$1 {
|
|
|
4343
4343
|
body: Uint8Array;
|
|
4344
4344
|
headers: HeadersEntryNonNullableFields$1[];
|
|
4345
4345
|
}
|
|
4346
|
-
interface BaseEventMetadata$
|
|
4346
|
+
interface BaseEventMetadata$b {
|
|
4347
4347
|
/** App instance ID. */
|
|
4348
4348
|
instanceId?: string | null;
|
|
4349
4349
|
/** Event type. */
|
|
@@ -4351,7 +4351,7 @@ interface BaseEventMetadata$c {
|
|
|
4351
4351
|
/** The identification type and identity data. */
|
|
4352
4352
|
identity?: IdentificationData$k;
|
|
4353
4353
|
}
|
|
4354
|
-
interface EventMetadata$
|
|
4354
|
+
interface EventMetadata$b extends BaseEventMetadata$b {
|
|
4355
4355
|
/**
|
|
4356
4356
|
* Unique event ID.
|
|
4357
4357
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -4391,7 +4391,7 @@ interface EventMetadata$c extends BaseEventMetadata$c {
|
|
|
4391
4391
|
}
|
|
4392
4392
|
interface AbandonedCheckoutRecoveredEnvelope {
|
|
4393
4393
|
data: AbandonedCheckoutRecovered;
|
|
4394
|
-
metadata: EventMetadata$
|
|
4394
|
+
metadata: EventMetadata$b;
|
|
4395
4395
|
}
|
|
4396
4396
|
interface QueryCursorResult$b {
|
|
4397
4397
|
cursors: CommonCursors;
|
|
@@ -4523,7 +4523,7 @@ interface RedirectToCheckoutSignature {
|
|
|
4523
4523
|
}
|
|
4524
4524
|
declare const onAbandonedCheckoutRecovered$1: EventDefinition<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
|
|
4525
4525
|
|
|
4526
|
-
declare function createEventModule$
|
|
4526
|
+
declare function createEventModule$b<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4527
4527
|
|
|
4528
4528
|
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
4529
4529
|
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
@@ -4535,7 +4535,7 @@ type _publicOnAbandonedCheckoutRecoveredType = typeof onAbandonedCheckoutRecover
|
|
|
4535
4535
|
/**
|
|
4536
4536
|
* Triggered when an abandoned checkout is recovered (the customer completes the checkout).
|
|
4537
4537
|
*/
|
|
4538
|
-
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$
|
|
4538
|
+
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$b<_publicOnAbandonedCheckoutRecoveredType>>;
|
|
4539
4539
|
|
|
4540
4540
|
type context$p_AbandonedCheckout = AbandonedCheckout;
|
|
4541
4541
|
type context$p_AbandonedCheckoutNonNullableFields = AbandonedCheckoutNonNullableFields;
|
|
@@ -4583,7 +4583,7 @@ declare const context$p_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
|
4583
4583
|
declare const context$p_redirectToCheckout: typeof redirectToCheckout;
|
|
4584
4584
|
declare const context$p_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4585
4585
|
declare namespace context$p {
|
|
4586
|
-
export { type context$p_AbandonedCheckout as AbandonedCheckout, type context$p_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type context$p_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type context$p_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type context$p_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type context$p_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$k as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type context$p_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type context$p_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$
|
|
4586
|
+
export { type context$p_AbandonedCheckout as AbandonedCheckout, type context$p_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type context$p_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type context$p_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type context$p_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type context$p_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$k as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type context$p_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type context$p_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$b as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type context$p_CartAbandonedEvent as CartAbandonedEvent, type context$p_CartRecoveredEvent as CartRecoveredEvent, type context$p_CommonCursorPaging as CommonCursorPaging, type context$p_CommonCursors as CommonCursors, type context$p_CommonPaging as CommonPaging, type context$p_CommonPagingMetadataV2 as CommonPagingMetadataV2, context$p_CommonSortOrder as CommonSortOrder, type context$p_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$d as CursorPaging, type Cursors$d as Cursors, type context$p_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type context$p_DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponse, type DomainEvent$k as DomainEvent, type DomainEventBodyOneOf$k as DomainEventBodyOneOf, type Empty$d as Empty, type EntityCreatedEvent$k as EntityCreatedEvent, type EntityDeletedEvent$k as EntityDeletedEvent, type EntityUpdatedEvent$k as EntityUpdatedEvent, type EventMetadata$b as EventMetadata, type FullAddressContactDetails$7 as FullAddressContactDetails, type context$p_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type context$p_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type context$p_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$k as IdentificationData, type IdentificationDataIdOneOf$k as IdentificationDataIdOneOf, context$p_Identity as Identity, type MessageEnvelope$j as MessageEnvelope, context$p_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$3 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$p_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type context$p_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type context$p_QueryAbandonedCheckoutsResponseNonNullableFields as QueryAbandonedCheckoutsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, type context$p_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$k as RestoreInfo, type context$p_Search as Search, type context$p_SearchAbandonedCheckoutsOptions as SearchAbandonedCheckoutsOptions, type context$p_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type context$p_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type context$p_SearchAbandonedCheckoutsResponseNonNullableFields as SearchAbandonedCheckoutsResponseNonNullableFields, type context$p_SearchDetails as SearchDetails, type context$p_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$d as SortOrder, type Sorting$d as Sorting, Status$4 as Status, type Task$1 as Task, type TaskAction$1 as TaskAction, type TaskActionActionOneOf$1 as TaskActionActionOneOf, type TaskKey$1 as TaskKey, type Totals$2 as Totals, type V1BuyerInfo$1 as V1BuyerInfo, type context$p_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$8 as VatId, VatType$8 as VatType, WebhookIdentityType$j as WebhookIdentityType, type context$p__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, context$p_deleteAbandonedCheckout as deleteAbandonedCheckout, context$p_getAbandonedCheckout as getAbandonedCheckout, context$p_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, context$p_queryAbandonedCheckouts as queryAbandonedCheckouts, context$p_redirectToCheckout as redirectToCheckout, context$p_searchAbandonedCheckouts as searchAbandonedCheckouts };
|
|
4587
4587
|
}
|
|
4588
4588
|
|
|
4589
4589
|
/**
|
|
@@ -5030,7 +5030,7 @@ interface BackInStockNotificationRequestsCountNonNullableFields {
|
|
|
5030
5030
|
interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields {
|
|
5031
5031
|
countsPerCatalogReference: BackInStockNotificationRequestsCountNonNullableFields[];
|
|
5032
5032
|
}
|
|
5033
|
-
interface BaseEventMetadata$
|
|
5033
|
+
interface BaseEventMetadata$a {
|
|
5034
5034
|
/** App instance ID. */
|
|
5035
5035
|
instanceId?: string | null;
|
|
5036
5036
|
/** Event type. */
|
|
@@ -5038,7 +5038,7 @@ interface BaseEventMetadata$b {
|
|
|
5038
5038
|
/** The identification type and identity data. */
|
|
5039
5039
|
identity?: IdentificationData$j;
|
|
5040
5040
|
}
|
|
5041
|
-
interface EventMetadata$
|
|
5041
|
+
interface EventMetadata$a extends BaseEventMetadata$a {
|
|
5042
5042
|
/**
|
|
5043
5043
|
* Unique event ID.
|
|
5044
5044
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -5078,14 +5078,14 @@ interface EventMetadata$b extends BaseEventMetadata$b {
|
|
|
5078
5078
|
}
|
|
5079
5079
|
interface BackInStockNotificationRequestCreatedEnvelope {
|
|
5080
5080
|
entity: BackInStockNotificationRequest;
|
|
5081
|
-
metadata: EventMetadata$
|
|
5081
|
+
metadata: EventMetadata$a;
|
|
5082
5082
|
}
|
|
5083
5083
|
interface BackInStockNotificationRequestUpdatedEnvelope {
|
|
5084
5084
|
entity: BackInStockNotificationRequest;
|
|
5085
|
-
metadata: EventMetadata$
|
|
5085
|
+
metadata: EventMetadata$a;
|
|
5086
5086
|
}
|
|
5087
5087
|
interface BackInStockNotificationRequestDeletedEnvelope {
|
|
5088
|
-
metadata: EventMetadata$
|
|
5088
|
+
metadata: EventMetadata$a;
|
|
5089
5089
|
}
|
|
5090
5090
|
interface QueryCursorResult$a {
|
|
5091
5091
|
cursors: Cursors$c;
|
|
@@ -5285,7 +5285,7 @@ declare const onBackInStockNotificationRequestCreated$1: EventDefinition<BackInS
|
|
|
5285
5285
|
declare const onBackInStockNotificationRequestUpdated$1: EventDefinition<BackInStockNotificationRequestUpdatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_updated">;
|
|
5286
5286
|
declare const onBackInStockNotificationRequestDeleted$1: EventDefinition<BackInStockNotificationRequestDeletedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_deleted">;
|
|
5287
5287
|
|
|
5288
|
-
declare function createEventModule$
|
|
5288
|
+
declare function createEventModule$a<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
5289
5289
|
|
|
5290
5290
|
declare const createBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof createBackInStockNotificationRequest$1> & typeof createBackInStockNotificationRequest$1>;
|
|
5291
5291
|
declare const getBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof getBackInStockNotificationRequest$1> & typeof getBackInStockNotificationRequest$1>;
|
|
@@ -5297,15 +5297,15 @@ declare const reportItemsBackInStock: MaybeContext<BuildRESTFunction<typeof repo
|
|
|
5297
5297
|
|
|
5298
5298
|
type _publicOnBackInStockNotificationRequestCreatedType = typeof onBackInStockNotificationRequestCreated$1;
|
|
5299
5299
|
/** */
|
|
5300
|
-
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$
|
|
5300
|
+
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$a<_publicOnBackInStockNotificationRequestCreatedType>>;
|
|
5301
5301
|
|
|
5302
5302
|
type _publicOnBackInStockNotificationRequestUpdatedType = typeof onBackInStockNotificationRequestUpdated$1;
|
|
5303
5303
|
/** */
|
|
5304
|
-
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$
|
|
5304
|
+
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$a<_publicOnBackInStockNotificationRequestUpdatedType>>;
|
|
5305
5305
|
|
|
5306
5306
|
type _publicOnBackInStockNotificationRequestDeletedType = typeof onBackInStockNotificationRequestDeleted$1;
|
|
5307
5307
|
/** */
|
|
5308
|
-
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$
|
|
5308
|
+
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$a<_publicOnBackInStockNotificationRequestDeletedType>>;
|
|
5309
5309
|
|
|
5310
5310
|
type context$o_BackInStockItemDetails = BackInStockItemDetails;
|
|
5311
5311
|
type context$o_BackInStockNotificationRequest = BackInStockNotificationRequest;
|
|
@@ -5355,7 +5355,7 @@ declare const context$o_onBackInStockNotificationRequestUpdated: typeof onBackIn
|
|
|
5355
5355
|
declare const context$o_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
5356
5356
|
declare const context$o_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
5357
5357
|
declare namespace context$o {
|
|
5358
|
-
export { type ActionEvent$j as ActionEvent, type App$1 as App, type context$o_BackInStockItemDetails as BackInStockItemDetails, type context$o_BackInStockNotificationRequest as BackInStockNotificationRequest, type context$o_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type context$o_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type context$o_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type context$o_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type context$o_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$
|
|
5358
|
+
export { type ActionEvent$j as ActionEvent, type App$1 as App, type context$o_BackInStockItemDetails as BackInStockItemDetails, type context$o_BackInStockNotificationRequest as BackInStockNotificationRequest, type context$o_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type context$o_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type context$o_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type context$o_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type context$o_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$a as BaseEventMetadata, type CatalogReference$9 as CatalogReference, type context$o_CreateBackInStockNotificationRequestRequest as CreateBackInStockNotificationRequestRequest, type context$o_CreateBackInStockNotificationRequestResponse as CreateBackInStockNotificationRequestResponse, type context$o_CreateBackInStockNotificationRequestResponseNonNullableFields as CreateBackInStockNotificationRequestResponseNonNullableFields, type CursorPaging$c as CursorPaging, type Cursors$c as Cursors, type context$o_DeleteBackInStockNotificationRequestRequest as DeleteBackInStockNotificationRequestRequest, type context$o_DeleteBackInStockNotificationRequestResponse as DeleteBackInStockNotificationRequestResponse, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$c as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$a as EventMetadata, type context$o_File as File, type context$o_GetBackInStockNotificationRequestRequest as GetBackInStockNotificationRequestRequest, type context$o_GetBackInStockNotificationRequestResponse as GetBackInStockNotificationRequestResponse, type context$o_GetBackInStockNotificationRequestResponseNonNullableFields as GetBackInStockNotificationRequestResponseNonNullableFields, type context$o_GetBackInStockNotificationRequestsCountByCatalogReferencesRequest as GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, type context$o_GetBackInStockNotificationRequestsCountByCatalogReferencesResponse as GetBackInStockNotificationRequestsCountByCatalogReferencesResponse, type context$o_GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields as GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type context$o_InvalidateCache as InvalidateCache, type context$o_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context$o_MarkAsNotificationSentRequest as MarkAsNotificationSentRequest, type context$o_MarkAsNotificationSentResponse as MarkAsNotificationSentResponse, type context$o_MarkAsNotificationSentResponseNonNullableFields as MarkAsNotificationSentResponseNonNullableFields, type MessageEnvelope$i as MessageEnvelope, type context$o_Page as Page, type PlatformPaging$1 as PlatformPaging, type PlatformPagingMetadata$1 as PlatformPagingMetadata, type PlatformQuery$1 as PlatformQuery, type PlatformQueryPagingMethodOneOf$1 as PlatformQueryPagingMethodOneOf, type context$o_QueryBackInStockNotificationRequestsRequest as QueryBackInStockNotificationRequestsRequest, type context$o_QueryBackInStockNotificationRequestsResponse as QueryBackInStockNotificationRequestsResponse, type context$o_QueryBackInStockNotificationRequestsResponseNonNullableFields as QueryBackInStockNotificationRequestsResponseNonNullableFields, type context$o_ReportItemsBackInStockOptions as ReportItemsBackInStockOptions, type context$o_ReportItemsBackInStockRequest as ReportItemsBackInStockRequest, type context$o_ReportItemsBackInStockResponse as ReportItemsBackInStockResponse, type context$o_RequestsQueryBuilder as RequestsQueryBuilder, type context$o_RequestsQueryResult as RequestsQueryResult, type RestoreInfo$j as RestoreInfo, SortOrder$c as SortOrder, type Sorting$c as Sorting, Status$3 as Status, type context$o_URI as URI, WebhookIdentityType$i as WebhookIdentityType, type context$o__publicOnBackInStockNotificationRequestCreatedType as _publicOnBackInStockNotificationRequestCreatedType, type context$o__publicOnBackInStockNotificationRequestDeletedType as _publicOnBackInStockNotificationRequestDeletedType, type context$o__publicOnBackInStockNotificationRequestUpdatedType as _publicOnBackInStockNotificationRequestUpdatedType, context$o_createBackInStockNotificationRequest as createBackInStockNotificationRequest, context$o_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, context$o_getBackInStockNotificationRequest as getBackInStockNotificationRequest, context$o_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, context$o_markAsNotificationSent as markAsNotificationSent, context$o_onBackInStockNotificationRequestCreated as onBackInStockNotificationRequestCreated, context$o_onBackInStockNotificationRequestDeleted as onBackInStockNotificationRequestDeleted, context$o_onBackInStockNotificationRequestUpdated as onBackInStockNotificationRequestUpdated, onBackInStockNotificationRequestCreated$1 as publicOnBackInStockNotificationRequestCreated, onBackInStockNotificationRequestDeleted$1 as publicOnBackInStockNotificationRequestDeleted, onBackInStockNotificationRequestUpdated$1 as publicOnBackInStockNotificationRequestUpdated, context$o_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, context$o_reportItemsBackInStock as reportItemsBackInStock };
|
|
5359
5359
|
}
|
|
5360
5360
|
|
|
5361
5361
|
/**
|
|
@@ -6006,7 +6006,7 @@ interface ExtendedFields$a {
|
|
|
6006
6006
|
}
|
|
6007
6007
|
interface Policy$3 {
|
|
6008
6008
|
/** Policy title - should be translated */
|
|
6009
|
-
title?: string;
|
|
6009
|
+
title?: string | null;
|
|
6010
6010
|
/** Policy content - should be translated */
|
|
6011
6011
|
content?: string;
|
|
6012
6012
|
}
|
|
@@ -6081,6 +6081,20 @@ interface MerchantDiscount$6 {
|
|
|
6081
6081
|
/** Discount value. */
|
|
6082
6082
|
amount?: MultiCurrencyPrice$4;
|
|
6083
6083
|
}
|
|
6084
|
+
interface DiscountRule$6 {
|
|
6085
|
+
/** Discount rule ID */
|
|
6086
|
+
_id?: string;
|
|
6087
|
+
/** Discount rule name */
|
|
6088
|
+
name?: DiscountRuleName$6;
|
|
6089
|
+
/** Discount value. */
|
|
6090
|
+
amount?: MultiCurrencyPrice$4;
|
|
6091
|
+
}
|
|
6092
|
+
interface DiscountRuleName$6 {
|
|
6093
|
+
/** Original discount rule name (in site's default language). */
|
|
6094
|
+
original?: string;
|
|
6095
|
+
/** Discount rule name translated into buyer's language. Defaults to `original` when not defined. */
|
|
6096
|
+
translated?: string | null;
|
|
6097
|
+
}
|
|
6084
6098
|
/** Billing Info and shipping details */
|
|
6085
6099
|
interface AddressWithContact$5 {
|
|
6086
6100
|
/** Address. */
|
|
@@ -6728,13 +6742,37 @@ interface OtherCharge$4 {
|
|
|
6728
6742
|
/** Price of added cost. */
|
|
6729
6743
|
price?: MultiCurrencyPrice$4;
|
|
6730
6744
|
}
|
|
6745
|
+
interface DeliveryAllocation$5 {
|
|
6746
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
6747
|
+
deliveryCarrier?: Carrier$5;
|
|
6748
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
6749
|
+
deliveryRegion?: Region$5;
|
|
6750
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
6751
|
+
applicableLineItems?: ApplicableLineItems$5;
|
|
6752
|
+
}
|
|
6753
|
+
interface Carrier$5 {
|
|
6754
|
+
/** The carrier app id */
|
|
6755
|
+
appId?: string | null;
|
|
6756
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
6757
|
+
code?: string;
|
|
6758
|
+
}
|
|
6759
|
+
interface Region$5 {
|
|
6760
|
+
/** The delivery region id. */
|
|
6761
|
+
_id?: string | null;
|
|
6762
|
+
/** The delivery region name. */
|
|
6763
|
+
name?: string | null;
|
|
6764
|
+
}
|
|
6765
|
+
interface ApplicableLineItems$5 {
|
|
6766
|
+
/** Line items that the delivery solution is for. */
|
|
6767
|
+
lineItemIds?: string[];
|
|
6768
|
+
}
|
|
6731
6769
|
interface AppliedDiscount$6 extends AppliedDiscountDiscountSourceOneOf$6 {
|
|
6732
6770
|
/** Coupon details. */
|
|
6733
6771
|
coupon?: V1Coupon$1;
|
|
6734
6772
|
/** Merchant discount. */
|
|
6735
6773
|
merchantDiscount?: V1MerchantDiscount$1;
|
|
6736
6774
|
/** Discount rule */
|
|
6737
|
-
discountRule?:
|
|
6775
|
+
discountRule?: V1DiscountRule$1;
|
|
6738
6776
|
/** Discount type. */
|
|
6739
6777
|
discountType?: DiscountType$6;
|
|
6740
6778
|
/**
|
|
@@ -6752,7 +6790,7 @@ interface AppliedDiscountDiscountSourceOneOf$6 {
|
|
|
6752
6790
|
/** Merchant discount. */
|
|
6753
6791
|
merchantDiscount?: V1MerchantDiscount$1;
|
|
6754
6792
|
/** Discount rule */
|
|
6755
|
-
discountRule?:
|
|
6793
|
+
discountRule?: V1DiscountRule$1;
|
|
6756
6794
|
}
|
|
6757
6795
|
declare enum DiscountType$6 {
|
|
6758
6796
|
GLOBAL = "GLOBAL",
|
|
@@ -6776,18 +6814,18 @@ interface V1MerchantDiscount$1 {
|
|
|
6776
6814
|
/** Discount Percentage. Will be calculated from items price before other discounts. */
|
|
6777
6815
|
percentage?: number | null;
|
|
6778
6816
|
}
|
|
6779
|
-
interface
|
|
6817
|
+
interface V1DiscountRule$1 {
|
|
6780
6818
|
/** Discount rule ID */
|
|
6781
6819
|
_id?: string;
|
|
6782
6820
|
/** Discount rule name */
|
|
6783
|
-
name?:
|
|
6821
|
+
name?: V1DiscountRuleName$1;
|
|
6784
6822
|
/** Discount value. */
|
|
6785
6823
|
amount?: MultiCurrencyPrice$4;
|
|
6786
6824
|
}
|
|
6787
|
-
interface
|
|
6825
|
+
interface V1DiscountRuleName$1 {
|
|
6788
6826
|
/** Original discount rule name (in site's default language). */
|
|
6789
6827
|
original?: string;
|
|
6790
|
-
/**
|
|
6828
|
+
/** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
|
|
6791
6829
|
translated?: string | null;
|
|
6792
6830
|
}
|
|
6793
6831
|
interface LineItemDiscount$6 {
|
|
@@ -7442,7 +7480,6 @@ interface TaxableAddressNonNullableFields$5 {
|
|
|
7442
7480
|
addressType: TaxableAddressType$6;
|
|
7443
7481
|
}
|
|
7444
7482
|
interface PolicyNonNullableFields$3 {
|
|
7445
|
-
title: string;
|
|
7446
7483
|
content: string;
|
|
7447
7484
|
}
|
|
7448
7485
|
interface LineItemNonNullableFields$2 {
|
|
@@ -7481,13 +7518,24 @@ interface BuyerInfoNonNullableFields$4 {
|
|
|
7481
7518
|
interface CouponNonNullableFields$5 {
|
|
7482
7519
|
_id: string;
|
|
7483
7520
|
code: string;
|
|
7521
|
+
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7484
7522
|
}
|
|
7485
7523
|
interface MerchantDiscountNonNullableFields$5 {
|
|
7486
7524
|
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7487
7525
|
}
|
|
7526
|
+
interface DiscountRuleNameNonNullableFields$5 {
|
|
7527
|
+
original: string;
|
|
7528
|
+
}
|
|
7529
|
+
interface DiscountRuleNonNullableFields$5 {
|
|
7530
|
+
_id: string;
|
|
7531
|
+
name?: DiscountRuleNameNonNullableFields$5;
|
|
7532
|
+
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7533
|
+
}
|
|
7488
7534
|
interface CartDiscountNonNullableFields$1 {
|
|
7489
7535
|
coupon?: CouponNonNullableFields$5;
|
|
7490
7536
|
merchantDiscount?: MerchantDiscountNonNullableFields$5;
|
|
7537
|
+
discountRule?: DiscountRuleNonNullableFields$5;
|
|
7538
|
+
lineItemIds: string[];
|
|
7491
7539
|
}
|
|
7492
7540
|
interface StreetAddressNonNullableFields$8 {
|
|
7493
7541
|
number: string;
|
|
@@ -7664,11 +7712,22 @@ interface ShippingPriceNonNullableFields$5 {
|
|
|
7664
7712
|
price?: MultiCurrencyPriceNonNullableFields$3;
|
|
7665
7713
|
otherCharges: OtherChargeNonNullableFields$3[];
|
|
7666
7714
|
}
|
|
7715
|
+
interface CarrierNonNullableFields$4 {
|
|
7716
|
+
code: string;
|
|
7717
|
+
}
|
|
7718
|
+
interface ApplicableLineItemsNonNullableFields$4 {
|
|
7719
|
+
lineItemIds: string[];
|
|
7720
|
+
}
|
|
7721
|
+
interface DeliveryAllocationNonNullableFields$4 {
|
|
7722
|
+
deliveryCarrier?: CarrierNonNullableFields$4;
|
|
7723
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$4;
|
|
7724
|
+
}
|
|
7667
7725
|
interface ShippingOptionNonNullableFields$5 {
|
|
7668
7726
|
code: string;
|
|
7669
7727
|
title: string;
|
|
7670
7728
|
logistics?: DeliveryLogisticsNonNullableFields$6;
|
|
7671
7729
|
cost?: ShippingPriceNonNullableFields$5;
|
|
7730
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$4[];
|
|
7672
7731
|
}
|
|
7673
7732
|
interface CarrierServiceOptionNonNullableFields$3 {
|
|
7674
7733
|
carrierId: string;
|
|
@@ -7689,12 +7748,12 @@ interface V1CouponNonNullableFields$1 {
|
|
|
7689
7748
|
interface V1MerchantDiscountNonNullableFields$1 {
|
|
7690
7749
|
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7691
7750
|
}
|
|
7692
|
-
interface
|
|
7751
|
+
interface V1DiscountRuleNameNonNullableFields$1 {
|
|
7693
7752
|
original: string;
|
|
7694
7753
|
}
|
|
7695
|
-
interface
|
|
7754
|
+
interface V1DiscountRuleNonNullableFields$1 {
|
|
7696
7755
|
_id: string;
|
|
7697
|
-
name?:
|
|
7756
|
+
name?: V1DiscountRuleNameNonNullableFields$1;
|
|
7698
7757
|
amount?: MultiCurrencyPriceNonNullableFields$3;
|
|
7699
7758
|
}
|
|
7700
7759
|
interface LineItemDiscountNonNullableFields$5 {
|
|
@@ -7704,7 +7763,7 @@ interface LineItemDiscountNonNullableFields$5 {
|
|
|
7704
7763
|
interface AppliedDiscountNonNullableFields$5 {
|
|
7705
7764
|
coupon?: V1CouponNonNullableFields$1;
|
|
7706
7765
|
merchantDiscount?: V1MerchantDiscountNonNullableFields$1;
|
|
7707
|
-
discountRule?:
|
|
7766
|
+
discountRule?: V1DiscountRuleNonNullableFields$1;
|
|
7708
7767
|
discountType: DiscountType$6;
|
|
7709
7768
|
lineItemIds: string[];
|
|
7710
7769
|
lineItemDiscounts: LineItemDiscountNonNullableFields$5[];
|
|
@@ -7812,7 +7871,7 @@ interface CreateCartResponseNonNullableFields$1 {
|
|
|
7812
7871
|
interface GetCartResponseNonNullableFields$1 {
|
|
7813
7872
|
cart?: CartNonNullableFields$1;
|
|
7814
7873
|
}
|
|
7815
|
-
interface BaseEventMetadata$
|
|
7874
|
+
interface BaseEventMetadata$9 {
|
|
7816
7875
|
/** App instance ID. */
|
|
7817
7876
|
instanceId?: string | null;
|
|
7818
7877
|
/** Event type. */
|
|
@@ -7820,7 +7879,7 @@ interface BaseEventMetadata$a {
|
|
|
7820
7879
|
/** The identification type and identity data. */
|
|
7821
7880
|
identity?: IdentificationData$i;
|
|
7822
7881
|
}
|
|
7823
|
-
interface EventMetadata$
|
|
7882
|
+
interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
7824
7883
|
/**
|
|
7825
7884
|
* Unique event ID.
|
|
7826
7885
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -7858,16 +7917,16 @@ interface EventMetadata$a extends BaseEventMetadata$a {
|
|
|
7858
7917
|
*/
|
|
7859
7918
|
entityEventSequence?: string | null;
|
|
7860
7919
|
}
|
|
7920
|
+
interface CartDeletedEnvelope$1 {
|
|
7921
|
+
metadata: EventMetadata$9;
|
|
7922
|
+
}
|
|
7861
7923
|
interface CartUpdatedEnvelope$1 {
|
|
7862
7924
|
entity: Cart$1;
|
|
7863
|
-
metadata: EventMetadata$
|
|
7864
|
-
}
|
|
7865
|
-
interface CartDeletedEnvelope$1 {
|
|
7866
|
-
metadata: EventMetadata$a;
|
|
7925
|
+
metadata: EventMetadata$9;
|
|
7867
7926
|
}
|
|
7868
7927
|
interface CartCreatedEnvelope$1 {
|
|
7869
7928
|
entity: Cart$1;
|
|
7870
|
-
metadata: EventMetadata$
|
|
7929
|
+
metadata: EventMetadata$9;
|
|
7871
7930
|
}
|
|
7872
7931
|
interface CreateCartOptions {
|
|
7873
7932
|
/** Cart info. */
|
|
@@ -8171,11 +8230,11 @@ interface DeleteCartSignature {
|
|
|
8171
8230
|
*/
|
|
8172
8231
|
(_id: string): Promise<void>;
|
|
8173
8232
|
}
|
|
8174
|
-
declare const onCartUpdated$3: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
|
|
8175
8233
|
declare const onCartDeleted$3: EventDefinition<CartDeletedEnvelope$1, "wix.ecom.v1.cart_deleted">;
|
|
8234
|
+
declare const onCartUpdated$3: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
|
|
8176
8235
|
declare const onCartCreated$3: EventDefinition<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
|
|
8177
8236
|
|
|
8178
|
-
declare function createEventModule$
|
|
8237
|
+
declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
8179
8238
|
|
|
8180
8239
|
declare const createCart: MaybeContext<BuildRESTFunction<typeof createCart$1> & typeof createCart$1>;
|
|
8181
8240
|
declare const updateCart: MaybeContext<BuildRESTFunction<typeof updateCart$1> & typeof updateCart$1>;
|
|
@@ -8188,23 +8247,23 @@ declare const updateLineItemsQuantity$2: MaybeContext<BuildRESTFunction<typeof u
|
|
|
8188
8247
|
declare const estimateTotals: MaybeContext<BuildRESTFunction<typeof estimateTotals$1> & typeof estimateTotals$1>;
|
|
8189
8248
|
declare const deleteCart: MaybeContext<BuildRESTFunction<typeof deleteCart$1> & typeof deleteCart$1>;
|
|
8190
8249
|
|
|
8191
|
-
type
|
|
8250
|
+
type _publicOnCartDeletedType$1 = typeof onCartDeleted$3;
|
|
8192
8251
|
/**
|
|
8193
|
-
* Triggered when a cart is
|
|
8252
|
+
* Triggered when a cart is deleted.
|
|
8194
8253
|
*/
|
|
8195
|
-
declare const
|
|
8254
|
+
declare const onCartDeleted$2: ReturnType<typeof createEventModule$9<_publicOnCartDeletedType>>;
|
|
8196
8255
|
|
|
8197
|
-
type
|
|
8256
|
+
type _publicOnCartUpdatedType$1 = typeof onCartUpdated$3;
|
|
8198
8257
|
/**
|
|
8199
|
-
* Triggered when a cart is
|
|
8258
|
+
* Triggered when a cart is updated.
|
|
8200
8259
|
*/
|
|
8201
|
-
declare const
|
|
8260
|
+
declare const onCartUpdated$2: ReturnType<typeof createEventModule$9<_publicOnCartUpdatedType>>;
|
|
8202
8261
|
|
|
8203
8262
|
type _publicOnCartCreatedType$1 = typeof onCartCreated$3;
|
|
8204
8263
|
/**
|
|
8205
8264
|
* Triggered when a cart is created.
|
|
8206
8265
|
*/
|
|
8207
|
-
declare const onCartCreated$2: ReturnType<typeof createEventModule$
|
|
8266
|
+
declare const onCartCreated$2: ReturnType<typeof createEventModule$9<_publicOnCartCreatedType>>;
|
|
8208
8267
|
|
|
8209
8268
|
type context$m_AddToCartOptions = AddToCartOptions;
|
|
8210
8269
|
type context$m_CreateCartOptions = CreateCartOptions;
|
|
@@ -8217,7 +8276,7 @@ declare const context$m_estimateTotals: typeof estimateTotals;
|
|
|
8217
8276
|
declare const context$m_getCart: typeof getCart;
|
|
8218
8277
|
declare const context$m_updateCart: typeof updateCart;
|
|
8219
8278
|
declare namespace context$m {
|
|
8220
|
-
export { type ActionEvent$i as ActionEvent, type context$m_AddToCartOptions as AddToCartOptions, type AddToCartRequest$1 as AddToCartRequest, type AddToCartResponse$1 as AddToCartResponse, type AddToCartResponseNonNullableFields$1 as AddToCartResponseNonNullableFields, type AddToCurrentCartAndEstimateTotalsRequest$1 as AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest$1 as AddToCurrentCartRequest, type AdditionalFee$6 as AdditionalFee, type Address$a as Address, type AddressLocation$9 as AddressLocation, type AddressWithContact$5 as AddressWithContact, type AggregatedTaxBreakdown$4 as AggregatedTaxBreakdown, type ApplicationError$b as ApplicationError, type AppliedDiscount$6 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$6 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$4 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$a as BaseEventMetadata, type BuyerInfo$7 as BuyerInfo, type BuyerInfoIdOneOf$5 as BuyerInfoIdOneOf, type CalculatedLineItem$2 as CalculatedLineItem, type CalculationErrors$5 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$5 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$6 as CarrierError, type CarrierErrors$5 as CarrierErrors, type CarrierServiceOption$4 as CarrierServiceOption, type Cart$1 as Cart, type CartCreatedEnvelope$1 as CartCreatedEnvelope, type CartDeletedEnvelope$1 as CartDeletedEnvelope, type CartDiscount$1 as CartDiscount, type CartDiscountDiscountSourceOneOf$1 as CartDiscountDiscountSourceOneOf, type CartNonNullableFields$1 as CartNonNullableFields, type CartUpdatedEnvelope$1 as CartUpdatedEnvelope, type CatalogOverrideFields$3 as CatalogOverrideFields, type CatalogReference$8 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$6 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type context$m_CreateCartOptions as CreateCartOptions, type CreateCartRequest$1 as CreateCartRequest, type CreateCartResponse$1 as CreateCartResponse, type CreateCartResponseNonNullableFields$1 as CreateCartResponseNonNullableFields, type CreateCheckoutFromCurrentCartRequest$1 as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions$1 as CreateCheckoutOptions, type CreateCheckoutRequest$2 as CreateCheckoutRequest, type CreateCheckoutResponse$2 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$2 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$4 as CustomLineItem, type DeleteCartRequest$1 as DeleteCartRequest, type DeleteCartResponse$1 as DeleteCartResponse, type DeleteCurrentCartRequest$1 as DeleteCurrentCartRequest, type DeliveryLogistics$7 as DeliveryLogistics, type DeliveryTimeSlot$7 as DeliveryTimeSlot, type Description$3 as Description, type DescriptionLine$5 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$5 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$5 as DescriptionLineName, DescriptionLineType$5 as DescriptionLineType, type DescriptionLineValueOneOf$5 as DescriptionLineValueOneOf, type Details$6 as Details, type DetailsKindOneOf$6 as DetailsKindOneOf, type DiscountRule$6 as DiscountRule, type DiscountRuleName$6 as DiscountRuleName, DiscountType$6 as DiscountType, type DomainEvent$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$b as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type context$m_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$a as EventMetadata, type ExtendedFields$a as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$6 as FieldViolation, FileType$4 as FileType, type FreeTrialPeriod$3 as FreeTrialPeriod, type FullAddressContactDetails$6 as FullAddressContactDetails, type GetCartByCheckoutIdRequest$1 as GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse$1 as GetCartByCheckoutIdResponse, type GetCartRequest$1 as GetCartRequest, type GetCartResponse$1 as GetCartResponse, type GetCartResponseNonNullableFields$1 as GetCartResponseNonNullableFields, type GetCurrentCartRequest$1 as GetCurrentCartRequest, type GetCurrentCartResponse$1 as GetCurrentCartResponse, type GetCurrentCartResponseNonNullableFields$1 as GetCurrentCartResponseNonNullableFields, type GiftCard$6 as GiftCard, type Group$4 as Group, type HostSelectedMembership$1 as HostSelectedMembership, type IdentificationData$i as IdentificationData, type IdentificationDataIdOneOf$i as IdentificationDataIdOneOf, type InvalidMembership$4 as InvalidMembership, type ItemAvailabilityInfo$3 as ItemAvailabilityInfo, ItemAvailabilityStatus$3 as ItemAvailabilityStatus, type ItemTaxFullDetails$6 as ItemTaxFullDetails, type ItemType$6 as ItemType, ItemTypeItemType$6 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$6 as ItemTypeItemTypeDataOneOf, JurisdictionType$6 as JurisdictionType, type LineItem$6 as LineItem, type LineItemDiscount$6 as LineItemDiscount, type LineItemPricesData$2 as LineItemPricesData, type LineItemQuantityUpdate$2 as LineItemQuantityUpdate, ManualCalculationReason$4 as ManualCalculationReason, type Membership$4 as Membership, type MembershipName$6 as MembershipName, type MembershipOptions$4 as MembershipOptions, type MembershipPaymentCredits$4 as MembershipPaymentCredits, type MerchantDiscount$6 as MerchantDiscount, type MerchantDiscountInput$3 as MerchantDiscountInput, type MessageEnvelope$h as MessageEnvelope, type MultiCurrencyPrice$4 as MultiCurrencyPrice, NameInLineItem$3 as NameInLineItem, NameInOther$3 as NameInOther, type Other$3 as Other, type OtherCharge$4 as OtherCharge, type PaymentOption$3 as PaymentOption, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$7 as PhysicalProperties, type PickupDetails$8 as PickupDetails, PickupMethod$7 as PickupMethod, type PlainTextValue$5 as PlainTextValue, type Policy$3 as Policy, type PriceDescription$5 as PriceDescription, type PriceSummary$6 as PriceSummary, type ProductName$5 as ProductName, RateType$4 as RateType, type RemoveCouponFromCurrentCartRequest$1 as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$2 as RemoveCouponRequest, type RemoveCouponResponse$2 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$2 as RemoveCouponResponseNonNullableFields, type RemoveLineItemsFromCurrentCartRequest$1 as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$2 as RemoveLineItemsRequest, type RemoveLineItemsResponse$2 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$2 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$i as RestoreInfo, RuleType$6 as RuleType, type Scope$4 as Scope, type SecuredMedia$4 as SecuredMedia, type SelectedCarrierServiceOption$4 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$4 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$4 as SelectedCarrierServiceOptionPrices, type SelectedMembership$4 as SelectedMembership, type SelectedMemberships$4 as SelectedMemberships, type SelectedShippingOption$2 as SelectedShippingOption, type ServiceProperties$5 as ServiceProperties, Severity$3 as Severity, type ShippingInformation$4 as ShippingInformation, type ShippingOption$6 as ShippingOption, type ShippingPrice$6 as ShippingPrice, type ShippingRegion$6 as ShippingRegion, type StreetAddress$9 as StreetAddress, SubscriptionFrequency$7 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$7 as SubscriptionSettings, SuggestedFix$3 as SuggestedFix, type SystemError$6 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$4 as TaxBreakdown, type TaxCalculationDetails$4 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$4 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$4 as TaxRateBreakdown, type TaxSummary$6 as TaxSummary, type TaxableAddress$6 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$6 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$6 as TaxableAddressType, type Title$3 as Title, type context$m_UpdateCartOptions as UpdateCartOptions, type UpdateCartRequest$1 as UpdateCartRequest, type UpdateCartResponse$1 as UpdateCartResponse, type UpdateCartResponseNonNullableFields$1 as UpdateCartResponseNonNullableFields, type UpdateCurrentCartLineItemQuantityRequest$1 as UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest$2 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$2 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$2 as UpdateLineItemsQuantityResponseNonNullableFields, type V1Coupon$1 as V1Coupon, type V1MerchantDiscount$1 as V1MerchantDiscount, type ValidationError$6 as ValidationError, type VatId$7 as VatId, VatType$7 as VatType, type Violation$3 as Violation, WebhookIdentityType$h as WebhookIdentityType, WeightUnit$8 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, context$m_addToCart as addToCart, context$m_createCart as createCart, createCheckout$2 as createCheckout, context$m_deleteCart as deleteCart, context$m_estimateTotals as estimateTotals, context$m_getCart as getCart, onCartCreated$2 as onCartCreated, onCartDeleted$2 as onCartDeleted, onCartUpdated$2 as onCartUpdated, onCartCreated$3 as publicOnCartCreated, onCartDeleted$3 as publicOnCartDeleted, onCartUpdated$3 as publicOnCartUpdated, removeCoupon$2 as removeCoupon, removeLineItems$2 as removeLineItems, context$m_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8279
|
+
export { type ActionEvent$i as ActionEvent, type context$m_AddToCartOptions as AddToCartOptions, type AddToCartRequest$1 as AddToCartRequest, type AddToCartResponse$1 as AddToCartResponse, type AddToCartResponseNonNullableFields$1 as AddToCartResponseNonNullableFields, type AddToCurrentCartAndEstimateTotalsRequest$1 as AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest$1 as AddToCurrentCartRequest, type AdditionalFee$6 as AdditionalFee, type Address$a as Address, type AddressLocation$9 as AddressLocation, type AddressWithContact$5 as AddressWithContact, type AggregatedTaxBreakdown$4 as AggregatedTaxBreakdown, type ApplicableLineItems$5 as ApplicableLineItems, type ApplicationError$b as ApplicationError, type AppliedDiscount$6 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$6 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$4 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BuyerInfo$7 as BuyerInfo, type BuyerInfoIdOneOf$5 as BuyerInfoIdOneOf, type CalculatedLineItem$2 as CalculatedLineItem, type CalculationErrors$5 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$5 as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$5 as Carrier, type CarrierError$6 as CarrierError, type CarrierErrors$5 as CarrierErrors, type CarrierServiceOption$4 as CarrierServiceOption, type Cart$1 as Cart, type CartCreatedEnvelope$1 as CartCreatedEnvelope, type CartDeletedEnvelope$1 as CartDeletedEnvelope, type CartDiscount$1 as CartDiscount, type CartDiscountDiscountSourceOneOf$1 as CartDiscountDiscountSourceOneOf, type CartNonNullableFields$1 as CartNonNullableFields, type CartUpdatedEnvelope$1 as CartUpdatedEnvelope, type CatalogOverrideFields$3 as CatalogOverrideFields, type CatalogReference$8 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$6 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type context$m_CreateCartOptions as CreateCartOptions, type CreateCartRequest$1 as CreateCartRequest, type CreateCartResponse$1 as CreateCartResponse, type CreateCartResponseNonNullableFields$1 as CreateCartResponseNonNullableFields, type CreateCheckoutFromCurrentCartRequest$1 as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions$1 as CreateCheckoutOptions, type CreateCheckoutRequest$2 as CreateCheckoutRequest, type CreateCheckoutResponse$2 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$2 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$4 as CustomLineItem, type DeleteCartRequest$1 as DeleteCartRequest, type DeleteCartResponse$1 as DeleteCartResponse, type DeleteCurrentCartRequest$1 as DeleteCurrentCartRequest, type DeliveryAllocation$5 as DeliveryAllocation, type DeliveryLogistics$7 as DeliveryLogistics, type DeliveryTimeSlot$7 as DeliveryTimeSlot, type Description$3 as Description, type DescriptionLine$5 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$5 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$5 as DescriptionLineName, DescriptionLineType$5 as DescriptionLineType, type DescriptionLineValueOneOf$5 as DescriptionLineValueOneOf, type Details$6 as Details, type DetailsKindOneOf$6 as DetailsKindOneOf, type DiscountRule$6 as DiscountRule, type DiscountRuleName$6 as DiscountRuleName, DiscountType$6 as DiscountType, type DomainEvent$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$b as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type context$m_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$9 as EventMetadata, type ExtendedFields$a as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$6 as FieldViolation, FileType$4 as FileType, type FreeTrialPeriod$3 as FreeTrialPeriod, type FullAddressContactDetails$6 as FullAddressContactDetails, type GetCartByCheckoutIdRequest$1 as GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse$1 as GetCartByCheckoutIdResponse, type GetCartRequest$1 as GetCartRequest, type GetCartResponse$1 as GetCartResponse, type GetCartResponseNonNullableFields$1 as GetCartResponseNonNullableFields, type GetCurrentCartRequest$1 as GetCurrentCartRequest, type GetCurrentCartResponse$1 as GetCurrentCartResponse, type GetCurrentCartResponseNonNullableFields$1 as GetCurrentCartResponseNonNullableFields, type GiftCard$6 as GiftCard, type Group$4 as Group, type HostSelectedMembership$1 as HostSelectedMembership, type IdentificationData$i as IdentificationData, type IdentificationDataIdOneOf$i as IdentificationDataIdOneOf, type InvalidMembership$4 as InvalidMembership, type ItemAvailabilityInfo$3 as ItemAvailabilityInfo, ItemAvailabilityStatus$3 as ItemAvailabilityStatus, type ItemTaxFullDetails$6 as ItemTaxFullDetails, type ItemType$6 as ItemType, ItemTypeItemType$6 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$6 as ItemTypeItemTypeDataOneOf, JurisdictionType$6 as JurisdictionType, type LineItem$6 as LineItem, type LineItemDiscount$6 as LineItemDiscount, type LineItemPricesData$2 as LineItemPricesData, type LineItemQuantityUpdate$2 as LineItemQuantityUpdate, ManualCalculationReason$4 as ManualCalculationReason, type Membership$4 as Membership, type MembershipName$6 as MembershipName, type MembershipOptions$4 as MembershipOptions, type MembershipPaymentCredits$4 as MembershipPaymentCredits, type MerchantDiscount$6 as MerchantDiscount, type MerchantDiscountInput$3 as MerchantDiscountInput, type MessageEnvelope$h as MessageEnvelope, type MultiCurrencyPrice$4 as MultiCurrencyPrice, NameInLineItem$3 as NameInLineItem, NameInOther$3 as NameInOther, type Other$3 as Other, type OtherCharge$4 as OtherCharge, type PaymentOption$3 as PaymentOption, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$7 as PhysicalProperties, type PickupDetails$8 as PickupDetails, PickupMethod$7 as PickupMethod, type PlainTextValue$5 as PlainTextValue, type Policy$3 as Policy, type PriceDescription$5 as PriceDescription, type PriceSummary$6 as PriceSummary, type ProductName$5 as ProductName, RateType$4 as RateType, type Region$5 as Region, type RemoveCouponFromCurrentCartRequest$1 as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$2 as RemoveCouponRequest, type RemoveCouponResponse$2 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$2 as RemoveCouponResponseNonNullableFields, type RemoveLineItemsFromCurrentCartRequest$1 as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$2 as RemoveLineItemsRequest, type RemoveLineItemsResponse$2 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$2 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$i as RestoreInfo, RuleType$6 as RuleType, type Scope$4 as Scope, type SecuredMedia$4 as SecuredMedia, type SelectedCarrierServiceOption$4 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$4 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$4 as SelectedCarrierServiceOptionPrices, type SelectedMembership$4 as SelectedMembership, type SelectedMemberships$4 as SelectedMemberships, type SelectedShippingOption$2 as SelectedShippingOption, type ServiceProperties$5 as ServiceProperties, Severity$3 as Severity, type ShippingInformation$4 as ShippingInformation, type ShippingOption$6 as ShippingOption, type ShippingPrice$6 as ShippingPrice, type ShippingRegion$6 as ShippingRegion, type StreetAddress$9 as StreetAddress, SubscriptionFrequency$7 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$7 as SubscriptionSettings, SuggestedFix$3 as SuggestedFix, type SystemError$6 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$4 as TaxBreakdown, type TaxCalculationDetails$4 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$4 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$4 as TaxRateBreakdown, type TaxSummary$6 as TaxSummary, type TaxableAddress$6 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$6 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$6 as TaxableAddressType, type Title$3 as Title, type context$m_UpdateCartOptions as UpdateCartOptions, type UpdateCartRequest$1 as UpdateCartRequest, type UpdateCartResponse$1 as UpdateCartResponse, type UpdateCartResponseNonNullableFields$1 as UpdateCartResponseNonNullableFields, type UpdateCurrentCartLineItemQuantityRequest$1 as UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest$2 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$2 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$2 as UpdateLineItemsQuantityResponseNonNullableFields, type V1Coupon$1 as V1Coupon, type V1DiscountRule$1 as V1DiscountRule, type V1DiscountRuleName$1 as V1DiscountRuleName, type V1MerchantDiscount$1 as V1MerchantDiscount, type ValidationError$6 as ValidationError, type VatId$7 as VatId, VatType$7 as VatType, type Violation$3 as Violation, WebhookIdentityType$h as WebhookIdentityType, WeightUnit$8 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, context$m_addToCart as addToCart, context$m_createCart as createCart, createCheckout$2 as createCheckout, context$m_deleteCart as deleteCart, context$m_estimateTotals as estimateTotals, context$m_getCart as getCart, onCartCreated$2 as onCartCreated, onCartDeleted$2 as onCartDeleted, onCartUpdated$2 as onCartUpdated, onCartCreated$3 as publicOnCartCreated, onCartDeleted$3 as publicOnCartDeleted, onCartUpdated$3 as publicOnCartUpdated, removeCoupon$2 as removeCoupon, removeLineItems$2 as removeLineItems, context$m_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8221
8280
|
}
|
|
8222
8281
|
|
|
8223
8282
|
interface Cart {
|
|
@@ -8759,7 +8818,7 @@ interface ExtendedFields$9 {
|
|
|
8759
8818
|
}
|
|
8760
8819
|
interface Policy$2 {
|
|
8761
8820
|
/** Policy title - should be translated */
|
|
8762
|
-
title?: string;
|
|
8821
|
+
title?: string | null;
|
|
8763
8822
|
/** Policy content - should be translated */
|
|
8764
8823
|
content?: string;
|
|
8765
8824
|
}
|
|
@@ -8834,6 +8893,20 @@ interface MerchantDiscount$5 {
|
|
|
8834
8893
|
/** Discount value. */
|
|
8835
8894
|
amount?: MultiCurrencyPrice$3;
|
|
8836
8895
|
}
|
|
8896
|
+
interface DiscountRule$5 {
|
|
8897
|
+
/** Discount rule ID */
|
|
8898
|
+
_id?: string;
|
|
8899
|
+
/** Discount rule name */
|
|
8900
|
+
name?: DiscountRuleName$5;
|
|
8901
|
+
/** Discount value. */
|
|
8902
|
+
amount?: MultiCurrencyPrice$3;
|
|
8903
|
+
}
|
|
8904
|
+
interface DiscountRuleName$5 {
|
|
8905
|
+
/** Original discount rule name (in site's default language). */
|
|
8906
|
+
original?: string;
|
|
8907
|
+
/** Discount rule name translated into buyer's language. Defaults to `original` when not defined. */
|
|
8908
|
+
translated?: string | null;
|
|
8909
|
+
}
|
|
8837
8910
|
/** Billing Info and shipping details */
|
|
8838
8911
|
interface AddressWithContact$4 {
|
|
8839
8912
|
/** Address. */
|
|
@@ -9481,13 +9554,37 @@ interface OtherCharge$3 {
|
|
|
9481
9554
|
/** Price of added cost. */
|
|
9482
9555
|
price?: MultiCurrencyPrice$3;
|
|
9483
9556
|
}
|
|
9557
|
+
interface DeliveryAllocation$4 {
|
|
9558
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
9559
|
+
deliveryCarrier?: Carrier$4;
|
|
9560
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
9561
|
+
deliveryRegion?: Region$4;
|
|
9562
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
9563
|
+
applicableLineItems?: ApplicableLineItems$4;
|
|
9564
|
+
}
|
|
9565
|
+
interface Carrier$4 {
|
|
9566
|
+
/** The carrier app id */
|
|
9567
|
+
appId?: string | null;
|
|
9568
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
9569
|
+
code?: string;
|
|
9570
|
+
}
|
|
9571
|
+
interface Region$4 {
|
|
9572
|
+
/** The delivery region id. */
|
|
9573
|
+
_id?: string | null;
|
|
9574
|
+
/** The delivery region name. */
|
|
9575
|
+
name?: string | null;
|
|
9576
|
+
}
|
|
9577
|
+
interface ApplicableLineItems$4 {
|
|
9578
|
+
/** Line items that the delivery solution is for. */
|
|
9579
|
+
lineItemIds?: string[];
|
|
9580
|
+
}
|
|
9484
9581
|
interface AppliedDiscount$5 extends AppliedDiscountDiscountSourceOneOf$5 {
|
|
9485
9582
|
/** Coupon details. */
|
|
9486
9583
|
coupon?: V1Coupon;
|
|
9487
9584
|
/** Merchant discount. */
|
|
9488
9585
|
merchantDiscount?: V1MerchantDiscount;
|
|
9489
9586
|
/** Discount rule */
|
|
9490
|
-
discountRule?:
|
|
9587
|
+
discountRule?: V1DiscountRule;
|
|
9491
9588
|
/** Discount type. */
|
|
9492
9589
|
discountType?: DiscountType$5;
|
|
9493
9590
|
/**
|
|
@@ -9505,7 +9602,7 @@ interface AppliedDiscountDiscountSourceOneOf$5 {
|
|
|
9505
9602
|
/** Merchant discount. */
|
|
9506
9603
|
merchantDiscount?: V1MerchantDiscount;
|
|
9507
9604
|
/** Discount rule */
|
|
9508
|
-
discountRule?:
|
|
9605
|
+
discountRule?: V1DiscountRule;
|
|
9509
9606
|
}
|
|
9510
9607
|
declare enum DiscountType$5 {
|
|
9511
9608
|
GLOBAL = "GLOBAL",
|
|
@@ -9529,18 +9626,18 @@ interface V1MerchantDiscount {
|
|
|
9529
9626
|
/** Discount Percentage. Will be calculated from items price before other discounts. */
|
|
9530
9627
|
percentage?: number | null;
|
|
9531
9628
|
}
|
|
9532
|
-
interface
|
|
9629
|
+
interface V1DiscountRule {
|
|
9533
9630
|
/** Discount rule ID */
|
|
9534
9631
|
_id?: string;
|
|
9535
9632
|
/** Discount rule name */
|
|
9536
|
-
name?:
|
|
9633
|
+
name?: V1DiscountRuleName;
|
|
9537
9634
|
/** Discount value. */
|
|
9538
9635
|
amount?: MultiCurrencyPrice$3;
|
|
9539
9636
|
}
|
|
9540
|
-
interface
|
|
9637
|
+
interface V1DiscountRuleName {
|
|
9541
9638
|
/** Original discount rule name (in site's default language). */
|
|
9542
9639
|
original?: string;
|
|
9543
|
-
/**
|
|
9640
|
+
/** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
|
|
9544
9641
|
translated?: string | null;
|
|
9545
9642
|
}
|
|
9546
9643
|
interface LineItemDiscount$5 {
|
|
@@ -10195,7 +10292,6 @@ interface TaxableAddressNonNullableFields$4 {
|
|
|
10195
10292
|
addressType: TaxableAddressType$5;
|
|
10196
10293
|
}
|
|
10197
10294
|
interface PolicyNonNullableFields$2 {
|
|
10198
|
-
title: string;
|
|
10199
10295
|
content: string;
|
|
10200
10296
|
}
|
|
10201
10297
|
interface LineItemNonNullableFields$1 {
|
|
@@ -10234,13 +10330,24 @@ interface BuyerInfoNonNullableFields$3 {
|
|
|
10234
10330
|
interface CouponNonNullableFields$4 {
|
|
10235
10331
|
_id: string;
|
|
10236
10332
|
code: string;
|
|
10333
|
+
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10237
10334
|
}
|
|
10238
10335
|
interface MerchantDiscountNonNullableFields$4 {
|
|
10239
10336
|
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10240
10337
|
}
|
|
10338
|
+
interface DiscountRuleNameNonNullableFields$4 {
|
|
10339
|
+
original: string;
|
|
10340
|
+
}
|
|
10341
|
+
interface DiscountRuleNonNullableFields$4 {
|
|
10342
|
+
_id: string;
|
|
10343
|
+
name?: DiscountRuleNameNonNullableFields$4;
|
|
10344
|
+
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10345
|
+
}
|
|
10241
10346
|
interface CartDiscountNonNullableFields {
|
|
10242
10347
|
coupon?: CouponNonNullableFields$4;
|
|
10243
10348
|
merchantDiscount?: MerchantDiscountNonNullableFields$4;
|
|
10349
|
+
discountRule?: DiscountRuleNonNullableFields$4;
|
|
10350
|
+
lineItemIds: string[];
|
|
10244
10351
|
}
|
|
10245
10352
|
interface StreetAddressNonNullableFields$7 {
|
|
10246
10353
|
number: string;
|
|
@@ -10417,11 +10524,22 @@ interface ShippingPriceNonNullableFields$4 {
|
|
|
10417
10524
|
price?: MultiCurrencyPriceNonNullableFields$2;
|
|
10418
10525
|
otherCharges: OtherChargeNonNullableFields$2[];
|
|
10419
10526
|
}
|
|
10527
|
+
interface CarrierNonNullableFields$3 {
|
|
10528
|
+
code: string;
|
|
10529
|
+
}
|
|
10530
|
+
interface ApplicableLineItemsNonNullableFields$3 {
|
|
10531
|
+
lineItemIds: string[];
|
|
10532
|
+
}
|
|
10533
|
+
interface DeliveryAllocationNonNullableFields$3 {
|
|
10534
|
+
deliveryCarrier?: CarrierNonNullableFields$3;
|
|
10535
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$3;
|
|
10536
|
+
}
|
|
10420
10537
|
interface ShippingOptionNonNullableFields$4 {
|
|
10421
10538
|
code: string;
|
|
10422
10539
|
title: string;
|
|
10423
10540
|
logistics?: DeliveryLogisticsNonNullableFields$5;
|
|
10424
10541
|
cost?: ShippingPriceNonNullableFields$4;
|
|
10542
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$3[];
|
|
10425
10543
|
}
|
|
10426
10544
|
interface CarrierServiceOptionNonNullableFields$2 {
|
|
10427
10545
|
carrierId: string;
|
|
@@ -10442,12 +10560,12 @@ interface V1CouponNonNullableFields {
|
|
|
10442
10560
|
interface V1MerchantDiscountNonNullableFields {
|
|
10443
10561
|
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10444
10562
|
}
|
|
10445
|
-
interface
|
|
10563
|
+
interface V1DiscountRuleNameNonNullableFields {
|
|
10446
10564
|
original: string;
|
|
10447
10565
|
}
|
|
10448
|
-
interface
|
|
10566
|
+
interface V1DiscountRuleNonNullableFields {
|
|
10449
10567
|
_id: string;
|
|
10450
|
-
name?:
|
|
10568
|
+
name?: V1DiscountRuleNameNonNullableFields;
|
|
10451
10569
|
amount?: MultiCurrencyPriceNonNullableFields$2;
|
|
10452
10570
|
}
|
|
10453
10571
|
interface LineItemDiscountNonNullableFields$4 {
|
|
@@ -10457,7 +10575,7 @@ interface LineItemDiscountNonNullableFields$4 {
|
|
|
10457
10575
|
interface AppliedDiscountNonNullableFields$4 {
|
|
10458
10576
|
coupon?: V1CouponNonNullableFields;
|
|
10459
10577
|
merchantDiscount?: V1MerchantDiscountNonNullableFields;
|
|
10460
|
-
discountRule?:
|
|
10578
|
+
discountRule?: V1DiscountRuleNonNullableFields;
|
|
10461
10579
|
discountType: DiscountType$5;
|
|
10462
10580
|
lineItemIds: string[];
|
|
10463
10581
|
lineItemDiscounts: LineItemDiscountNonNullableFields$4[];
|
|
@@ -10565,7 +10683,7 @@ interface CreateCartResponseNonNullableFields {
|
|
|
10565
10683
|
interface GetCartResponseNonNullableFields {
|
|
10566
10684
|
cart?: CartNonNullableFields;
|
|
10567
10685
|
}
|
|
10568
|
-
interface BaseEventMetadata$
|
|
10686
|
+
interface BaseEventMetadata$8 {
|
|
10569
10687
|
/** App instance ID. */
|
|
10570
10688
|
instanceId?: string | null;
|
|
10571
10689
|
/** Event type. */
|
|
@@ -10573,7 +10691,7 @@ interface BaseEventMetadata$9 {
|
|
|
10573
10691
|
/** The identification type and identity data. */
|
|
10574
10692
|
identity?: IdentificationData$h;
|
|
10575
10693
|
}
|
|
10576
|
-
interface EventMetadata$
|
|
10694
|
+
interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
10577
10695
|
/**
|
|
10578
10696
|
* Unique event ID.
|
|
10579
10697
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -10611,16 +10729,16 @@ interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
|
10611
10729
|
*/
|
|
10612
10730
|
entityEventSequence?: string | null;
|
|
10613
10731
|
}
|
|
10732
|
+
interface CartDeletedEnvelope {
|
|
10733
|
+
metadata: EventMetadata$8;
|
|
10734
|
+
}
|
|
10614
10735
|
interface CartUpdatedEnvelope {
|
|
10615
10736
|
entity: Cart;
|
|
10616
|
-
metadata: EventMetadata$
|
|
10617
|
-
}
|
|
10618
|
-
interface CartDeletedEnvelope {
|
|
10619
|
-
metadata: EventMetadata$9;
|
|
10737
|
+
metadata: EventMetadata$8;
|
|
10620
10738
|
}
|
|
10621
10739
|
interface CartCreatedEnvelope {
|
|
10622
10740
|
entity: Cart;
|
|
10623
|
-
metadata: EventMetadata$
|
|
10741
|
+
metadata: EventMetadata$8;
|
|
10624
10742
|
}
|
|
10625
10743
|
interface UpdateCurrentCartOptions {
|
|
10626
10744
|
/** Cart info. */
|
|
@@ -10799,11 +10917,11 @@ interface DeleteCurrentCartSignature {
|
|
|
10799
10917
|
*/
|
|
10800
10918
|
(): Promise<void>;
|
|
10801
10919
|
}
|
|
10802
|
-
declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
|
|
10803
10920
|
declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope, "wix.ecom.v1.cart_deleted">;
|
|
10921
|
+
declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
|
|
10804
10922
|
declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
|
|
10805
10923
|
|
|
10806
|
-
declare function createEventModule$
|
|
10924
|
+
declare function createEventModule$8<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
10807
10925
|
|
|
10808
10926
|
declare const getCurrentCart: MaybeContext<BuildRESTFunction<typeof getCurrentCart$1> & typeof getCurrentCart$1>;
|
|
10809
10927
|
declare const updateCurrentCart: MaybeContext<BuildRESTFunction<typeof updateCurrentCart$1> & typeof updateCurrentCart$1>;
|
|
@@ -10815,23 +10933,23 @@ declare const updateCurrentCartLineItemQuantity: MaybeContext<BuildRESTFunction<
|
|
|
10815
10933
|
declare const estimateCurrentCartTotals: MaybeContext<BuildRESTFunction<typeof estimateCurrentCartTotals$1> & typeof estimateCurrentCartTotals$1>;
|
|
10816
10934
|
declare const deleteCurrentCart: MaybeContext<BuildRESTFunction<typeof deleteCurrentCart$1> & typeof deleteCurrentCart$1>;
|
|
10817
10935
|
|
|
10818
|
-
type
|
|
10936
|
+
type _publicOnCartDeletedType = typeof onCartDeleted$1;
|
|
10819
10937
|
/**
|
|
10820
|
-
* Triggered when a cart is
|
|
10938
|
+
* Triggered when a cart is deleted.
|
|
10821
10939
|
*/
|
|
10822
|
-
declare const
|
|
10940
|
+
declare const onCartDeleted: ReturnType<typeof createEventModule$8<_publicOnCartDeletedType>>;
|
|
10823
10941
|
|
|
10824
|
-
type
|
|
10942
|
+
type _publicOnCartUpdatedType = typeof onCartUpdated$1;
|
|
10825
10943
|
/**
|
|
10826
|
-
* Triggered when a cart is
|
|
10944
|
+
* Triggered when a cart is updated.
|
|
10827
10945
|
*/
|
|
10828
|
-
declare const
|
|
10946
|
+
declare const onCartUpdated: ReturnType<typeof createEventModule$8<_publicOnCartUpdatedType>>;
|
|
10829
10947
|
|
|
10830
10948
|
type _publicOnCartCreatedType = typeof onCartCreated$1;
|
|
10831
10949
|
/**
|
|
10832
10950
|
* Triggered when a cart is created.
|
|
10833
10951
|
*/
|
|
10834
|
-
declare const onCartCreated: ReturnType<typeof createEventModule$
|
|
10952
|
+
declare const onCartCreated: ReturnType<typeof createEventModule$8<_publicOnCartCreatedType>>;
|
|
10835
10953
|
|
|
10836
10954
|
type context$l_AddToCartRequest = AddToCartRequest;
|
|
10837
10955
|
type context$l_AddToCartResponse = AddToCartResponse;
|
|
@@ -10876,6 +10994,8 @@ type context$l_UpdateCartResponseNonNullableFields = UpdateCartResponseNonNullab
|
|
|
10876
10994
|
type context$l_UpdateCurrentCartLineItemQuantityRequest = UpdateCurrentCartLineItemQuantityRequest;
|
|
10877
10995
|
type context$l_UpdateCurrentCartOptions = UpdateCurrentCartOptions;
|
|
10878
10996
|
type context$l_V1Coupon = V1Coupon;
|
|
10997
|
+
type context$l_V1DiscountRule = V1DiscountRule;
|
|
10998
|
+
type context$l_V1DiscountRuleName = V1DiscountRuleName;
|
|
10879
10999
|
type context$l_V1MerchantDiscount = V1MerchantDiscount;
|
|
10880
11000
|
type context$l__publicOnCartCreatedType = _publicOnCartCreatedType;
|
|
10881
11001
|
type context$l__publicOnCartDeletedType = _publicOnCartDeletedType;
|
|
@@ -10893,7 +11013,7 @@ declare const context$l_removeLineItemsFromCurrentCart: typeof removeLineItemsFr
|
|
|
10893
11013
|
declare const context$l_updateCurrentCart: typeof updateCurrentCart;
|
|
10894
11014
|
declare const context$l_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
10895
11015
|
declare namespace context$l {
|
|
10896
|
-
export { type ActionEvent$h as ActionEvent, type context$l_AddToCartRequest as AddToCartRequest, type context$l_AddToCartResponse as AddToCartResponse, type context$l_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type context$l_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type context$l_AddToCurrentCartOptions as AddToCurrentCartOptions, type context$l_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$5 as AdditionalFee, type Address$9 as Address, type AddressLocation$8 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicationError$a as ApplicationError, type AppliedDiscount$5 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$5 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BuyerInfo$6 as BuyerInfo, type BuyerInfoIdOneOf$4 as BuyerInfoIdOneOf, type CalculatedLineItem$1 as CalculatedLineItem, type CalculationErrors$4 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$4 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$5 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type context$l_Cart as Cart, type context$l_CartCreatedEnvelope as CartCreatedEnvelope, type context$l_CartDeletedEnvelope as CartDeletedEnvelope, type context$l_CartDiscount as CartDiscount, type context$l_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type context$l_CartNonNullableFields as CartNonNullableFields, type context$l_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$7 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$5 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type context$l_CreateCartRequest as CreateCartRequest, type context$l_CreateCartResponse as CreateCartResponse, type context$l_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type context$l_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type context$l_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type context$l_DeleteCartRequest as DeleteCartRequest, type context$l_DeleteCartResponse as DeleteCartResponse, type context$l_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryLogistics$6 as DeliveryLogistics, type DeliveryTimeSlot$6 as DeliveryTimeSlot, type Description$2 as Description, type DescriptionLine$4 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$4 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$4 as DescriptionLineName, DescriptionLineType$4 as DescriptionLineType, type DescriptionLineValueOneOf$4 as DescriptionLineValueOneOf, type Details$5 as Details, type DetailsKindOneOf$5 as DetailsKindOneOf, type DiscountRule$5 as DiscountRule, type DiscountRuleName$5 as DiscountRuleName, DiscountType$5 as DiscountType, type DomainEvent$h as DomainEvent, type DomainEventBodyOneOf$h as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$h as EntityCreatedEvent, type EntityDeletedEvent$h as EntityDeletedEvent, type EntityUpdatedEvent$h as EntityUpdatedEvent, type context$l_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type context$l_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type context$l_EstimateTotalsRequest as EstimateTotalsRequest, type context$l_EstimateTotalsResponse as EstimateTotalsResponse, type context$l_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$9 as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$3 as FileType, type FreeTrialPeriod$2 as FreeTrialPeriod, type FullAddressContactDetails$5 as FullAddressContactDetails, type context$l_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type context$l_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type context$l_GetCartRequest as GetCartRequest, type context$l_GetCartResponse as GetCartResponse, type context$l_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type context$l_GetCurrentCartRequest as GetCurrentCartRequest, type context$l_GetCurrentCartResponse as GetCurrentCartResponse, type context$l_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type context$l_HostSelectedMembership as HostSelectedMembership, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h as IdentificationDataIdOneOf, type InvalidMembership$3 as InvalidMembership, type ItemAvailabilityInfo$2 as ItemAvailabilityInfo, ItemAvailabilityStatus$2 as ItemAvailabilityStatus, type ItemTaxFullDetails$5 as ItemTaxFullDetails, type ItemType$5 as ItemType, ItemTypeItemType$5 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$5 as ItemTypeItemTypeDataOneOf, JurisdictionType$5 as JurisdictionType, type LineItem$5 as LineItem, type LineItemDiscount$5 as LineItemDiscount, type LineItemPricesData$1 as LineItemPricesData, type LineItemQuantityUpdate$1 as LineItemQuantityUpdate, ManualCalculationReason$3 as ManualCalculationReason, type Membership$3 as Membership, type MembershipName$5 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$5 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$g as MessageEnvelope, type MultiCurrencyPrice$3 as MultiCurrencyPrice, NameInLineItem$2 as NameInLineItem, NameInOther$2 as NameInOther, type Other$2 as Other, type OtherCharge$3 as OtherCharge, type PaymentOption$2 as PaymentOption, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type Policy$2 as Policy, type PriceDescription$4 as PriceDescription, type PriceSummary$5 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type context$l_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type context$l_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$h as RestoreInfo, RuleType$5 as RuleType, type Scope$3 as Scope, type SecuredMedia$3 as SecuredMedia, type SelectedCarrierServiceOption$3 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$3 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$3 as SelectedCarrierServiceOptionPrices, type SelectedMembership$3 as SelectedMembership, type SelectedMemberships$3 as SelectedMemberships, type SelectedShippingOption$1 as SelectedShippingOption, type ServiceProperties$4 as ServiceProperties, Severity$2 as Severity, type ShippingInformation$3 as ShippingInformation, type ShippingOption$5 as ShippingOption, type ShippingPrice$5 as ShippingPrice, type ShippingRegion$5 as ShippingRegion, type StreetAddress$8 as StreetAddress, SubscriptionFrequency$6 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$6 as SubscriptionSettings, SuggestedFix$2 as SuggestedFix, type SystemError$5 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$5 as TaxSummary, type TaxableAddress$5 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$5 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$5 as TaxableAddressType, type Title$2 as Title, type context$l_UpdateCartRequest as UpdateCartRequest, type context$l_UpdateCartResponse as UpdateCartResponse, type context$l_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type context$l_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type context$l_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type context$l_V1Coupon as V1Coupon, type context$l_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$2 as Violation, WebhookIdentityType$g as WebhookIdentityType, WeightUnit$7 as WeightUnit, type context$l__publicOnCartCreatedType as _publicOnCartCreatedType, type context$l__publicOnCartDeletedType as _publicOnCartDeletedType, type context$l__publicOnCartUpdatedType as _publicOnCartUpdatedType, context$l_addToCurrentCart as addToCurrentCart, context$l_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, context$l_deleteCurrentCart as deleteCurrentCart, context$l_estimateCurrentCartTotals as estimateCurrentCartTotals, context$l_getCurrentCart as getCurrentCart, context$l_onCartCreated as onCartCreated, context$l_onCartDeleted as onCartDeleted, context$l_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, context$l_removeCouponFromCurrentCart as removeCouponFromCurrentCart, context$l_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, context$l_updateCurrentCart as updateCurrentCart, context$l_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
11016
|
+
export { type ActionEvent$h as ActionEvent, type context$l_AddToCartRequest as AddToCartRequest, type context$l_AddToCartResponse as AddToCartResponse, type context$l_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type context$l_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type context$l_AddToCurrentCartOptions as AddToCurrentCartOptions, type context$l_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$5 as AdditionalFee, type Address$9 as Address, type AddressLocation$8 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicableLineItems$4 as ApplicableLineItems, type ApplicationError$a as ApplicationError, type AppliedDiscount$5 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$5 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$8 as BaseEventMetadata, type BuyerInfo$6 as BuyerInfo, type BuyerInfoIdOneOf$4 as BuyerInfoIdOneOf, type CalculatedLineItem$1 as CalculatedLineItem, type CalculationErrors$4 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$4 as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$4 as Carrier, type CarrierError$5 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type context$l_Cart as Cart, type context$l_CartCreatedEnvelope as CartCreatedEnvelope, type context$l_CartDeletedEnvelope as CartDeletedEnvelope, type context$l_CartDiscount as CartDiscount, type context$l_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type context$l_CartNonNullableFields as CartNonNullableFields, type context$l_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$7 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$5 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type context$l_CreateCartRequest as CreateCartRequest, type context$l_CreateCartResponse as CreateCartResponse, type context$l_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type context$l_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type context$l_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type context$l_DeleteCartRequest as DeleteCartRequest, type context$l_DeleteCartResponse as DeleteCartResponse, type context$l_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryAllocation$4 as DeliveryAllocation, type DeliveryLogistics$6 as DeliveryLogistics, type DeliveryTimeSlot$6 as DeliveryTimeSlot, type Description$2 as Description, type DescriptionLine$4 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$4 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$4 as DescriptionLineName, DescriptionLineType$4 as DescriptionLineType, type DescriptionLineValueOneOf$4 as DescriptionLineValueOneOf, type Details$5 as Details, type DetailsKindOneOf$5 as DetailsKindOneOf, type DiscountRule$5 as DiscountRule, type DiscountRuleName$5 as DiscountRuleName, DiscountType$5 as DiscountType, type DomainEvent$h as DomainEvent, type DomainEventBodyOneOf$h as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$h as EntityCreatedEvent, type EntityDeletedEvent$h as EntityDeletedEvent, type EntityUpdatedEvent$h as EntityUpdatedEvent, type context$l_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type context$l_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type context$l_EstimateTotalsRequest as EstimateTotalsRequest, type context$l_EstimateTotalsResponse as EstimateTotalsResponse, type context$l_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$8 as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$3 as FileType, type FreeTrialPeriod$2 as FreeTrialPeriod, type FullAddressContactDetails$5 as FullAddressContactDetails, type context$l_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type context$l_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type context$l_GetCartRequest as GetCartRequest, type context$l_GetCartResponse as GetCartResponse, type context$l_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type context$l_GetCurrentCartRequest as GetCurrentCartRequest, type context$l_GetCurrentCartResponse as GetCurrentCartResponse, type context$l_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type context$l_HostSelectedMembership as HostSelectedMembership, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h as IdentificationDataIdOneOf, type InvalidMembership$3 as InvalidMembership, type ItemAvailabilityInfo$2 as ItemAvailabilityInfo, ItemAvailabilityStatus$2 as ItemAvailabilityStatus, type ItemTaxFullDetails$5 as ItemTaxFullDetails, type ItemType$5 as ItemType, ItemTypeItemType$5 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$5 as ItemTypeItemTypeDataOneOf, JurisdictionType$5 as JurisdictionType, type LineItem$5 as LineItem, type LineItemDiscount$5 as LineItemDiscount, type LineItemPricesData$1 as LineItemPricesData, type LineItemQuantityUpdate$1 as LineItemQuantityUpdate, ManualCalculationReason$3 as ManualCalculationReason, type Membership$3 as Membership, type MembershipName$5 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$5 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$g as MessageEnvelope, type MultiCurrencyPrice$3 as MultiCurrencyPrice, NameInLineItem$2 as NameInLineItem, NameInOther$2 as NameInOther, type Other$2 as Other, type OtherCharge$3 as OtherCharge, type PaymentOption$2 as PaymentOption, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type Policy$2 as Policy, type PriceDescription$4 as PriceDescription, type PriceSummary$5 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type Region$4 as Region, type context$l_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type context$l_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$h as RestoreInfo, RuleType$5 as RuleType, type Scope$3 as Scope, type SecuredMedia$3 as SecuredMedia, type SelectedCarrierServiceOption$3 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$3 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$3 as SelectedCarrierServiceOptionPrices, type SelectedMembership$3 as SelectedMembership, type SelectedMemberships$3 as SelectedMemberships, type SelectedShippingOption$1 as SelectedShippingOption, type ServiceProperties$4 as ServiceProperties, Severity$2 as Severity, type ShippingInformation$3 as ShippingInformation, type ShippingOption$5 as ShippingOption, type ShippingPrice$5 as ShippingPrice, type ShippingRegion$5 as ShippingRegion, type StreetAddress$8 as StreetAddress, SubscriptionFrequency$6 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$6 as SubscriptionSettings, SuggestedFix$2 as SuggestedFix, type SystemError$5 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$5 as TaxSummary, type TaxableAddress$5 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$5 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$5 as TaxableAddressType, type Title$2 as Title, type context$l_UpdateCartRequest as UpdateCartRequest, type context$l_UpdateCartResponse as UpdateCartResponse, type context$l_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type context$l_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type context$l_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type context$l_V1Coupon as V1Coupon, type context$l_V1DiscountRule as V1DiscountRule, type context$l_V1DiscountRuleName as V1DiscountRuleName, type context$l_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$2 as Violation, WebhookIdentityType$g as WebhookIdentityType, WeightUnit$7 as WeightUnit, type context$l__publicOnCartCreatedType as _publicOnCartCreatedType, type context$l__publicOnCartDeletedType as _publicOnCartDeletedType, type context$l__publicOnCartUpdatedType as _publicOnCartUpdatedType, context$l_addToCurrentCart as addToCurrentCart, context$l_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, context$l_deleteCurrentCart as deleteCurrentCart, context$l_estimateCurrentCartTotals as estimateCurrentCartTotals, context$l_getCurrentCart as getCurrentCart, context$l_onCartCreated as onCartCreated, context$l_onCartDeleted as onCartDeleted, context$l_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, context$l_removeCouponFromCurrentCart as removeCouponFromCurrentCart, context$l_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, context$l_updateCurrentCart as updateCurrentCart, context$l_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
10897
11017
|
}
|
|
10898
11018
|
|
|
10899
11019
|
interface Checkout$1 {
|
|
@@ -11619,7 +11739,7 @@ interface ExtendedFields$8 {
|
|
|
11619
11739
|
}
|
|
11620
11740
|
interface Policy$1 {
|
|
11621
11741
|
/** Policy title - should be translated */
|
|
11622
|
-
title?: string;
|
|
11742
|
+
title?: string | null;
|
|
11623
11743
|
/** Policy content - should be translated */
|
|
11624
11744
|
content?: string;
|
|
11625
11745
|
}
|
|
@@ -11834,6 +11954,30 @@ interface OtherCharge$2 {
|
|
|
11834
11954
|
/** Price of added cost. */
|
|
11835
11955
|
price?: MultiCurrencyPrice$2;
|
|
11836
11956
|
}
|
|
11957
|
+
interface DeliveryAllocation$3 {
|
|
11958
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
11959
|
+
deliveryCarrier?: Carrier$3;
|
|
11960
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
11961
|
+
deliveryRegion?: Region$3;
|
|
11962
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
11963
|
+
applicableLineItems?: ApplicableLineItems$3;
|
|
11964
|
+
}
|
|
11965
|
+
interface Carrier$3 {
|
|
11966
|
+
/** The carrier app id */
|
|
11967
|
+
appId?: string | null;
|
|
11968
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
11969
|
+
code?: string;
|
|
11970
|
+
}
|
|
11971
|
+
interface Region$3 {
|
|
11972
|
+
/** The delivery region id. */
|
|
11973
|
+
_id?: string | null;
|
|
11974
|
+
/** The delivery region name. */
|
|
11975
|
+
name?: string | null;
|
|
11976
|
+
}
|
|
11977
|
+
interface ApplicableLineItems$3 {
|
|
11978
|
+
/** Line items that the delivery solution is for. */
|
|
11979
|
+
lineItemIds?: string[];
|
|
11980
|
+
}
|
|
11837
11981
|
interface BuyerInfo$5 extends BuyerInfoIdOneOf$3 {
|
|
11838
11982
|
/**
|
|
11839
11983
|
* Visitor ID - if the buyer is **not** a site member.
|
|
@@ -11986,7 +12130,8 @@ declare enum RuleType$4 {
|
|
|
11986
12130
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
11987
12131
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
11988
12132
|
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
11989
|
-
EXACT_LENGTH = "EXACT_LENGTH"
|
|
12133
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
12134
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
11990
12135
|
}
|
|
11991
12136
|
interface FieldViolation$4 {
|
|
11992
12137
|
field?: string;
|
|
@@ -13434,7 +13579,6 @@ interface TaxableAddressNonNullableFields$3 {
|
|
|
13434
13579
|
addressType: TaxableAddressType$4;
|
|
13435
13580
|
}
|
|
13436
13581
|
interface PolicyNonNullableFields$1 {
|
|
13437
|
-
title: string;
|
|
13438
13582
|
content: string;
|
|
13439
13583
|
}
|
|
13440
13584
|
interface LineItemNonNullableFields {
|
|
@@ -13527,11 +13671,22 @@ interface ShippingPriceNonNullableFields$3 {
|
|
|
13527
13671
|
price?: MultiCurrencyPriceNonNullableFields$1;
|
|
13528
13672
|
otherCharges: OtherChargeNonNullableFields$1[];
|
|
13529
13673
|
}
|
|
13674
|
+
interface CarrierNonNullableFields$2 {
|
|
13675
|
+
code: string;
|
|
13676
|
+
}
|
|
13677
|
+
interface ApplicableLineItemsNonNullableFields$2 {
|
|
13678
|
+
lineItemIds: string[];
|
|
13679
|
+
}
|
|
13680
|
+
interface DeliveryAllocationNonNullableFields$2 {
|
|
13681
|
+
deliveryCarrier?: CarrierNonNullableFields$2;
|
|
13682
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$2;
|
|
13683
|
+
}
|
|
13530
13684
|
interface ShippingOptionNonNullableFields$3 {
|
|
13531
13685
|
code: string;
|
|
13532
13686
|
title: string;
|
|
13533
13687
|
logistics?: DeliveryLogisticsNonNullableFields$4;
|
|
13534
13688
|
cost?: ShippingPriceNonNullableFields$3;
|
|
13689
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$2[];
|
|
13535
13690
|
}
|
|
13536
13691
|
interface CarrierServiceOptionNonNullableFields$1 {
|
|
13537
13692
|
carrierId: string;
|
|
@@ -13762,6 +13917,7 @@ interface CheckoutNonNullableFields {
|
|
|
13762
13917
|
customSettings?: CustomSettingsNonNullableFields;
|
|
13763
13918
|
customContentReference?: CustomContentReferenceNonNullableFields$1;
|
|
13764
13919
|
externalReference?: ExternalReferenceNonNullableFields$1;
|
|
13920
|
+
payAfterFreeTrial?: PriceSummaryNonNullableFields$3;
|
|
13765
13921
|
}
|
|
13766
13922
|
interface CreateCheckoutResponseNonNullableFields {
|
|
13767
13923
|
checkout?: CheckoutNonNullableFields;
|
|
@@ -13803,7 +13959,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
13803
13959
|
interface GetCheckoutPaymentSettingsResponseNonNullableFields {
|
|
13804
13960
|
blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption[];
|
|
13805
13961
|
}
|
|
13806
|
-
interface BaseEventMetadata$
|
|
13962
|
+
interface BaseEventMetadata$7 {
|
|
13807
13963
|
/** App instance ID. */
|
|
13808
13964
|
instanceId?: string | null;
|
|
13809
13965
|
/** Event type. */
|
|
@@ -13811,7 +13967,7 @@ interface BaseEventMetadata$8 {
|
|
|
13811
13967
|
/** The identification type and identity data. */
|
|
13812
13968
|
identity?: IdentificationData$g;
|
|
13813
13969
|
}
|
|
13814
|
-
interface EventMetadata$
|
|
13970
|
+
interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
13815
13971
|
/**
|
|
13816
13972
|
* Unique event ID.
|
|
13817
13973
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -13849,17 +14005,17 @@ interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
|
13849
14005
|
*/
|
|
13850
14006
|
entityEventSequence?: string | null;
|
|
13851
14007
|
}
|
|
14008
|
+
interface CheckoutCompletedEnvelope {
|
|
14009
|
+
data: CheckoutMarkedAsCompleted;
|
|
14010
|
+
metadata: EventMetadata$7;
|
|
14011
|
+
}
|
|
13852
14012
|
interface CheckoutCreatedEnvelope {
|
|
13853
14013
|
entity: Checkout$1;
|
|
13854
|
-
metadata: EventMetadata$
|
|
14014
|
+
metadata: EventMetadata$7;
|
|
13855
14015
|
}
|
|
13856
14016
|
interface CheckoutUpdatedEnvelope {
|
|
13857
14017
|
entity: Checkout$1;
|
|
13858
|
-
metadata: EventMetadata$
|
|
13859
|
-
}
|
|
13860
|
-
interface CheckoutCompletedEnvelope {
|
|
13861
|
-
data: CheckoutMarkedAsCompleted;
|
|
13862
|
-
metadata: EventMetadata$8;
|
|
14018
|
+
metadata: EventMetadata$7;
|
|
13863
14019
|
}
|
|
13864
14020
|
interface CreateCheckoutOptions {
|
|
13865
14021
|
/** Checkout information. */
|
|
@@ -14279,11 +14435,11 @@ interface GetCheckoutPaymentSettingsSignature {
|
|
|
14279
14435
|
/** @param - Checkout ID. */
|
|
14280
14436
|
(_id: string): Promise<GetCheckoutPaymentSettingsResponse & GetCheckoutPaymentSettingsResponseNonNullableFields>;
|
|
14281
14437
|
}
|
|
14438
|
+
declare const onCheckoutCompleted$1: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
14282
14439
|
declare const onCheckoutCreated$1: EventDefinition<CheckoutCreatedEnvelope, "wix.ecom.v1.checkout_created">;
|
|
14283
14440
|
declare const onCheckoutUpdated$1: EventDefinition<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
|
|
14284
|
-
declare const onCheckoutCompleted$1: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
14285
14441
|
|
|
14286
|
-
declare function createEventModule$
|
|
14442
|
+
declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14287
14443
|
|
|
14288
14444
|
declare const createCheckout: MaybeContext<BuildRESTFunction<typeof createCheckout$1> & typeof createCheckout$1>;
|
|
14289
14445
|
declare const getCheckout: MaybeContext<BuildRESTFunction<typeof getCheckout$1> & typeof getCheckout$1>;
|
|
@@ -14300,24 +14456,24 @@ declare const markCheckoutAsCompleted: MaybeContext<BuildRESTFunction<typeof mar
|
|
|
14300
14456
|
declare const updateLineItemsQuantity: MaybeContext<BuildRESTFunction<typeof updateLineItemsQuantity$1> & typeof updateLineItemsQuantity$1>;
|
|
14301
14457
|
declare const getCheckoutPaymentSettings: MaybeContext<BuildRESTFunction<typeof getCheckoutPaymentSettings$1> & typeof getCheckoutPaymentSettings$1>;
|
|
14302
14458
|
|
|
14459
|
+
type _publicOnCheckoutCompletedType = typeof onCheckoutCompleted$1;
|
|
14460
|
+
/**
|
|
14461
|
+
* Triggered when an order created from this checkout is
|
|
14462
|
+
* successfully paid for or when a checkout is marked as completed.
|
|
14463
|
+
*/
|
|
14464
|
+
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$7<_publicOnCheckoutCompletedType>>;
|
|
14465
|
+
|
|
14303
14466
|
type _publicOnCheckoutCreatedType = typeof onCheckoutCreated$1;
|
|
14304
14467
|
/**
|
|
14305
14468
|
* Triggered when a checkout is created.
|
|
14306
14469
|
*/
|
|
14307
|
-
declare const onCheckoutCreated: ReturnType<typeof createEventModule$
|
|
14470
|
+
declare const onCheckoutCreated: ReturnType<typeof createEventModule$7<_publicOnCheckoutCreatedType>>;
|
|
14308
14471
|
|
|
14309
14472
|
type _publicOnCheckoutUpdatedType = typeof onCheckoutUpdated$1;
|
|
14310
14473
|
/**
|
|
14311
14474
|
* Triggered when a checkout is updated.
|
|
14312
14475
|
*/
|
|
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>>;
|
|
14476
|
+
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$7<_publicOnCheckoutUpdatedType>>;
|
|
14321
14477
|
|
|
14322
14478
|
type context$k_AddToCheckoutOptions = AddToCheckoutOptions;
|
|
14323
14479
|
type context$k_AddToCheckoutRequest = AddToCheckoutRequest;
|
|
@@ -14425,7 +14581,7 @@ declare const context$k_removeOverrideCheckoutUrl: typeof removeOverrideCheckout
|
|
|
14425
14581
|
declare const context$k_updateCheckout: typeof updateCheckout;
|
|
14426
14582
|
declare const context$k_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
14427
14583
|
declare namespace context$k {
|
|
14428
|
-
export { type ActionEvent$g as ActionEvent, type context$k_AddToCheckoutOptions as AddToCheckoutOptions, type context$k_AddToCheckoutRequest as AddToCheckoutRequest, type context$k_AddToCheckoutResponse as AddToCheckoutResponse, type context$k_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$8 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$7 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type context$k_ApiAddress as ApiAddress, type ApplicationError$9 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$8 as BaseEventMetadata, type BillingInfo$1 as BillingInfo, type BuyerInfo$5 as BuyerInfo, type BuyerInfoIdOneOf$3 as BuyerInfoIdOneOf, type CalculationErrors$3 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$3 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$4 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$6 as CatalogReference, type ChannelInfo$3 as ChannelInfo, context$k_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type context$k_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type context$k_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type context$k_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type context$k_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type context$k_CheckoutNonNullableFields as CheckoutNonNullableFields, type context$k_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type context$k_CommonVatId as CommonVatId, context$k_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type context$k_CreateCheckoutOptions as CreateCheckoutOptions, type context$k_CreateCheckoutRequest as CreateCheckoutRequest, type context$k_CreateCheckoutResponse as CreateCheckoutResponse, type context$k_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type context$k_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type context$k_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type context$k_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type context$k_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type context$k_CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOf, type CreateOrderResponseNonNullableFields$1 as CreateOrderResponseNonNullableFields, type CreatedBy$3 as CreatedBy, type CreatedByIdOneOf$1 as CreatedByIdOneOf, type CustomContentReference$1 as CustomContentReference, type CustomField$4 as CustomField, type CustomLineItem$2 as CustomLineItem, type CustomSettings$1 as CustomSettings, type CustomTextFieldSelection$1 as CustomTextFieldSelection, type DeliveryLogistics$5 as DeliveryLogistics, type DeliveryTimeSlot$5 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type Discount$2 as Discount, context$k_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$g as DomainEvent, type DomainEventBodyOneOf$g as DomainEventBodyOneOf, type context$k_DoublePaymentErrorData as DoublePaymentErrorData, type context$k_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$9 as Empty, type EntityCreatedEvent$g as EntityCreatedEvent, type EntityDeletedEvent$g as EntityDeletedEvent, type EntityUpdatedEvent$g as EntityUpdatedEvent, type EventMetadata$8 as EventMetadata, type ExtendedFields$8 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$2 as FileType, type FreeTrialPeriod$1 as FreeTrialPeriod, type FullAddressContactDetails$4 as FullAddressContactDetails, type FullName$1 as FullName, type context$k_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type context$k_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type context$k_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type context$k_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type context$k_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type context$k_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, context$k_GetCheckoutPaymentSettingsResponsePaymentOption as GetCheckoutPaymentSettingsResponsePaymentOption, type context$k_GetCheckoutRequest as GetCheckoutRequest, type context$k_GetCheckoutResponse as GetCheckoutResponse, type context$k_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type context$k_GetCheckoutURLRequest as GetCheckoutURLRequest, type context$k_GetCheckoutURLResponse as GetCheckoutURLResponse, type context$k_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type context$k_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type context$k_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type context$k_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type context$k_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$g as IdentificationData, type IdentificationDataIdOneOf$g as IdentificationDataIdOneOf, IdentityType$4 as IdentityType, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type context$k_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type context$k_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type context$k_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$2 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$f as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$2 as OtherCharge, type context$k_PaymentErrorResponseData as PaymentErrorResponseData, type PaymentOption$1 as PaymentOption, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$5 as PhysicalProperties, type PickupAddress$3 as PickupAddress, type PickupDetails$6 as PickupDetails, PickupMethod$5 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type Policy$1 as Policy, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type context$k_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type context$k_RedeemErrorData as RedeemErrorData, type context$k_RemoveCouponRequest as RemoveCouponRequest, type context$k_RemoveCouponResponse as RemoveCouponResponse, type context$k_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type context$k_RemoveGiftCardRequest as RemoveGiftCardRequest, type context$k_RemoveGiftCardResponse as RemoveGiftCardResponse, type context$k_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type context$k_RemoveLineItemsRequest as RemoveLineItemsRequest, type context$k_RemoveLineItemsResponse as RemoveLineItemsResponse, type context$k_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type context$k_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type context$k_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type context$k_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$g as RestoreInfo, RuleType$4 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type ServiceProperties$3 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type context$k_ShippingCalculationErrorData as ShippingCalculationErrorData, type context$k_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$4 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type context$k_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type context$k_Subscription as Subscription, type context$k_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type SystemError$4 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type TaxableAddress$4 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$4 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$4 as TaxableAddressType, type Title$1 as Title, type Totals$1 as Totals, type context$k_UpdateCheckout as UpdateCheckout, type context$k_UpdateCheckoutOptions as UpdateCheckoutOptions, type context$k_UpdateCheckoutRequest as UpdateCheckoutRequest, type context$k_UpdateCheckoutResponse as UpdateCheckoutResponse, type context$k_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type context$k_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type context$k_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type context$k_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type context$k_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type context$k_V1BuyerInfo as V1BuyerInfo, type context$k_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type context$k_V1ShippingInfo as V1ShippingInfo, type context$k_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type context$k_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type context$k_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type context$k_ViolationsList as ViolationsList, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$6 as WeightUnit, type context$k__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type context$k__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type context$k__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, context$k_addToCheckout as addToCheckout, context$k_createCheckout as createCheckout, createOrder$2 as createOrder, context$k_getCheckout as getCheckout, context$k_getCheckoutByCartId as getCheckoutByCartId, context$k_getCheckoutPaymentSettings as getCheckoutPaymentSettings, context$k_getCheckoutUrl as getCheckoutUrl, context$k_markCheckoutAsCompleted as markCheckoutAsCompleted, context$k_onCheckoutCompleted as onCheckoutCompleted, context$k_onCheckoutCreated as onCheckoutCreated, context$k_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, context$k_removeCoupon as removeCoupon, context$k_removeGiftCard as removeGiftCard, context$k_removeLineItems as removeLineItems, context$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, context$k_updateCheckout as updateCheckout, context$k_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14584
|
+
export { type ActionEvent$g as ActionEvent, type context$k_AddToCheckoutOptions as AddToCheckoutOptions, type context$k_AddToCheckoutRequest as AddToCheckoutRequest, type context$k_AddToCheckoutResponse as AddToCheckoutResponse, type context$k_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$8 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$7 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type context$k_ApiAddress as ApiAddress, type ApplicableLineItems$3 as ApplicableLineItems, type ApplicationError$9 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$7 as BaseEventMetadata, type BillingInfo$1 as BillingInfo, type BuyerInfo$5 as BuyerInfo, type BuyerInfoIdOneOf$3 as BuyerInfoIdOneOf, type CalculationErrors$3 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$3 as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$3 as Carrier, type CarrierError$4 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$6 as CatalogReference, type ChannelInfo$3 as ChannelInfo, context$k_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type context$k_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type context$k_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type context$k_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type context$k_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type context$k_CheckoutNonNullableFields as CheckoutNonNullableFields, type context$k_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type context$k_CommonVatId as CommonVatId, context$k_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type context$k_CreateCheckoutOptions as CreateCheckoutOptions, type context$k_CreateCheckoutRequest as CreateCheckoutRequest, type context$k_CreateCheckoutResponse as CreateCheckoutResponse, type context$k_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type context$k_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type context$k_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type context$k_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type context$k_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type context$k_CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOf, type CreateOrderResponseNonNullableFields$1 as CreateOrderResponseNonNullableFields, type CreatedBy$3 as CreatedBy, type CreatedByIdOneOf$1 as CreatedByIdOneOf, type CustomContentReference$1 as CustomContentReference, type CustomField$4 as CustomField, type CustomLineItem$2 as CustomLineItem, type CustomSettings$1 as CustomSettings, type CustomTextFieldSelection$1 as CustomTextFieldSelection, type DeliveryAllocation$3 as DeliveryAllocation, type DeliveryLogistics$5 as DeliveryLogistics, type DeliveryTimeSlot$5 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type Discount$2 as Discount, context$k_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$g as DomainEvent, type DomainEventBodyOneOf$g as DomainEventBodyOneOf, type context$k_DoublePaymentErrorData as DoublePaymentErrorData, type context$k_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$9 as Empty, type EntityCreatedEvent$g as EntityCreatedEvent, type EntityDeletedEvent$g as EntityDeletedEvent, type EntityUpdatedEvent$g as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type ExtendedFields$8 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$2 as FileType, type FreeTrialPeriod$1 as FreeTrialPeriod, type FullAddressContactDetails$4 as FullAddressContactDetails, type FullName$1 as FullName, type context$k_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type context$k_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type context$k_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type context$k_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type context$k_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type context$k_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, context$k_GetCheckoutPaymentSettingsResponsePaymentOption as GetCheckoutPaymentSettingsResponsePaymentOption, type context$k_GetCheckoutRequest as GetCheckoutRequest, type context$k_GetCheckoutResponse as GetCheckoutResponse, type context$k_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type context$k_GetCheckoutURLRequest as GetCheckoutURLRequest, type context$k_GetCheckoutURLResponse as GetCheckoutURLResponse, type context$k_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type context$k_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type context$k_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type context$k_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type context$k_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$g as IdentificationData, type IdentificationDataIdOneOf$g as IdentificationDataIdOneOf, IdentityType$4 as IdentityType, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type context$k_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type context$k_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type context$k_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$2 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$f as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$2 as OtherCharge, type context$k_PaymentErrorResponseData as PaymentErrorResponseData, type PaymentOption$1 as PaymentOption, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$5 as PhysicalProperties, type PickupAddress$3 as PickupAddress, type PickupDetails$6 as PickupDetails, PickupMethod$5 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type Policy$1 as Policy, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type context$k_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type context$k_RedeemErrorData as RedeemErrorData, type Region$3 as Region, type context$k_RemoveCouponRequest as RemoveCouponRequest, type context$k_RemoveCouponResponse as RemoveCouponResponse, type context$k_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type context$k_RemoveGiftCardRequest as RemoveGiftCardRequest, type context$k_RemoveGiftCardResponse as RemoveGiftCardResponse, type context$k_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type context$k_RemoveLineItemsRequest as RemoveLineItemsRequest, type context$k_RemoveLineItemsResponse as RemoveLineItemsResponse, type context$k_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type context$k_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type context$k_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type context$k_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$g as RestoreInfo, RuleType$4 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type ServiceProperties$3 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type context$k_ShippingCalculationErrorData as ShippingCalculationErrorData, type context$k_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$4 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type context$k_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type context$k_Subscription as Subscription, type context$k_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type SystemError$4 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type TaxableAddress$4 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$4 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$4 as TaxableAddressType, type Title$1 as Title, type Totals$1 as Totals, type context$k_UpdateCheckout as UpdateCheckout, type context$k_UpdateCheckoutOptions as UpdateCheckoutOptions, type context$k_UpdateCheckoutRequest as UpdateCheckoutRequest, type context$k_UpdateCheckoutResponse as UpdateCheckoutResponse, type context$k_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type context$k_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type context$k_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type context$k_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type context$k_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type context$k_V1BuyerInfo as V1BuyerInfo, type context$k_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type context$k_V1ShippingInfo as V1ShippingInfo, type context$k_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type context$k_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type context$k_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type context$k_ViolationsList as ViolationsList, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$6 as WeightUnit, type context$k__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type context$k__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type context$k__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, context$k_addToCheckout as addToCheckout, context$k_createCheckout as createCheckout, createOrder$2 as createOrder, context$k_getCheckout as getCheckout, context$k_getCheckoutByCartId as getCheckoutByCartId, context$k_getCheckoutPaymentSettings as getCheckoutPaymentSettings, context$k_getCheckoutUrl as getCheckoutUrl, context$k_markCheckoutAsCompleted as markCheckoutAsCompleted, context$k_onCheckoutCompleted as onCheckoutCompleted, context$k_onCheckoutCreated as onCheckoutCreated, context$k_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, context$k_removeCoupon as removeCoupon, context$k_removeGiftCard as removeGiftCard, context$k_removeLineItems as removeLineItems, context$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, context$k_updateCheckout as updateCheckout, context$k_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14429
14585
|
}
|
|
14430
14586
|
|
|
14431
14587
|
interface CheckoutSettings {
|
|
@@ -14766,7 +14922,7 @@ interface GetCheckoutSettingsResponseNonNullableFields {
|
|
|
14766
14922
|
interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
14767
14923
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
14768
14924
|
}
|
|
14769
|
-
interface BaseEventMetadata$
|
|
14925
|
+
interface BaseEventMetadata$6 {
|
|
14770
14926
|
/** App instance ID. */
|
|
14771
14927
|
instanceId?: string | null;
|
|
14772
14928
|
/** Event type. */
|
|
@@ -14774,7 +14930,7 @@ interface BaseEventMetadata$7 {
|
|
|
14774
14930
|
/** The identification type and identity data. */
|
|
14775
14931
|
identity?: IdentificationData$f;
|
|
14776
14932
|
}
|
|
14777
|
-
interface EventMetadata$
|
|
14933
|
+
interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
14778
14934
|
/**
|
|
14779
14935
|
* Unique event ID.
|
|
14780
14936
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -14814,7 +14970,7 @@ interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
|
14814
14970
|
}
|
|
14815
14971
|
interface CheckoutSettingsUpdatedEnvelope {
|
|
14816
14972
|
entity: CheckoutSettings;
|
|
14817
|
-
metadata: EventMetadata$
|
|
14973
|
+
metadata: EventMetadata$6;
|
|
14818
14974
|
}
|
|
14819
14975
|
|
|
14820
14976
|
declare function getCheckoutSettings$1(httpClient: HttpClient): GetCheckoutSettingsSignature;
|
|
@@ -14842,7 +14998,7 @@ interface UpdateCheckoutSettingsSignature {
|
|
|
14842
14998
|
}
|
|
14843
14999
|
declare const onCheckoutSettingsUpdated$1: EventDefinition<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
|
|
14844
15000
|
|
|
14845
|
-
declare function createEventModule$
|
|
15001
|
+
declare function createEventModule$6<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14846
15002
|
|
|
14847
15003
|
declare const getCheckoutSettings: MaybeContext<BuildRESTFunction<typeof getCheckoutSettings$1> & typeof getCheckoutSettings$1>;
|
|
14848
15004
|
declare const updateCheckoutSettings: MaybeContext<BuildRESTFunction<typeof updateCheckoutSettings$1> & typeof updateCheckoutSettings$1>;
|
|
@@ -14851,7 +15007,7 @@ type _publicOnCheckoutSettingsUpdatedType = typeof onCheckoutSettingsUpdated$1;
|
|
|
14851
15007
|
/**
|
|
14852
15008
|
* Triggered when checkout settings are updated.
|
|
14853
15009
|
*/
|
|
14854
|
-
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$
|
|
15010
|
+
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$6<_publicOnCheckoutSettingsUpdatedType>>;
|
|
14855
15011
|
|
|
14856
15012
|
type context$j_Alignment = Alignment;
|
|
14857
15013
|
declare const context$j_Alignment: typeof Alignment;
|
|
@@ -14887,7 +15043,7 @@ declare const context$j_getCheckoutSettings: typeof getCheckoutSettings;
|
|
|
14887
15043
|
declare const context$j_onCheckoutSettingsUpdated: typeof onCheckoutSettingsUpdated;
|
|
14888
15044
|
declare const context$j_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
14889
15045
|
declare namespace context$j {
|
|
14890
|
-
export { type ActionEvent$f as ActionEvent, context$j_Alignment as Alignment, type BaseEventMetadata$
|
|
15046
|
+
export { type ActionEvent$f as ActionEvent, context$j_Alignment as Alignment, type BaseEventMetadata$6 as BaseEventMetadata, type context$j_CheckboxField as CheckboxField, type context$j_CheckoutBrand as CheckoutBrand, type context$j_CheckoutFields as CheckoutFields, type context$j_CheckoutHeader as CheckoutHeader, type context$j_CheckoutPolicies as CheckoutPolicies, type context$j_CheckoutSettings as CheckoutSettings, type context$j_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type context$j_ContactUsPolicy as ContactUsPolicy, type context$j_CustomCheckoutPolicy as CustomCheckoutPolicy, type context$j_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type context$j_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type context$j_DigitalItemPolicy as DigitalItemPolicy, type DomainEvent$f as DomainEvent, type DomainEventBodyOneOf$f as DomainEventBodyOneOf, type Empty$8 as Empty, type EntityCreatedEvent$f as EntityCreatedEvent, type EntityDeletedEvent$f as EntityDeletedEvent, type EntityUpdatedEvent$f as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type context$j_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type context$j_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type context$j_GetCheckoutSettingsResponseNonNullableFields as GetCheckoutSettingsResponseNonNullableFields, type context$j_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$f as IdentificationData, type IdentificationDataIdOneOf$f as IdentificationDataIdOneOf, type context$j_ListCheckoutSettingsRequest as ListCheckoutSettingsRequest, type context$j_ListCheckoutSettingsResponse as ListCheckoutSettingsResponse, type context$j_Logo as Logo, context$j_LogoSize as LogoSize, type MessageEnvelope$e as MessageEnvelope, type context$j_PrivacyPolicy as PrivacyPolicy, type RestoreInfo$f as RestoreInfo, type context$j_ReturnPolicy as ReturnPolicy, type context$j_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type context$j_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type context$j_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, type context$j_UpdateCheckoutSettingsResponseNonNullableFields as UpdateCheckoutSettingsResponseNonNullableFields, WebhookIdentityType$e as WebhookIdentityType, type context$j__publicOnCheckoutSettingsUpdatedType as _publicOnCheckoutSettingsUpdatedType, context$j_getCheckoutSettings as getCheckoutSettings, context$j_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, onCheckoutSettingsUpdated$1 as publicOnCheckoutSettingsUpdated, context$j_updateCheckoutSettings as updateCheckoutSettings };
|
|
14891
15047
|
}
|
|
14892
15048
|
|
|
14893
15049
|
interface CheckoutTemplate {
|
|
@@ -15345,7 +15501,7 @@ interface ServiceProperties$2 {
|
|
|
15345
15501
|
}
|
|
15346
15502
|
interface Policy {
|
|
15347
15503
|
/** Policy title - should be translated */
|
|
15348
|
-
title?: string;
|
|
15504
|
+
title?: string | null;
|
|
15349
15505
|
/** Policy content - should be translated */
|
|
15350
15506
|
content?: string;
|
|
15351
15507
|
}
|
|
@@ -16164,6 +16320,30 @@ interface OtherCharge$1 {
|
|
|
16164
16320
|
/** Price of added cost. */
|
|
16165
16321
|
price?: MultiCurrencyPrice$1;
|
|
16166
16322
|
}
|
|
16323
|
+
interface DeliveryAllocation$2 {
|
|
16324
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
16325
|
+
deliveryCarrier?: Carrier$2;
|
|
16326
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
16327
|
+
deliveryRegion?: Region$2;
|
|
16328
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
16329
|
+
applicableLineItems?: ApplicableLineItems$2;
|
|
16330
|
+
}
|
|
16331
|
+
interface Carrier$2 {
|
|
16332
|
+
/** The carrier app id */
|
|
16333
|
+
appId?: string | null;
|
|
16334
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
16335
|
+
code?: string;
|
|
16336
|
+
}
|
|
16337
|
+
interface Region$2 {
|
|
16338
|
+
/** The delivery region id. */
|
|
16339
|
+
_id?: string | null;
|
|
16340
|
+
/** The delivery region name. */
|
|
16341
|
+
name?: string | null;
|
|
16342
|
+
}
|
|
16343
|
+
interface ApplicableLineItems$2 {
|
|
16344
|
+
/** Line items that the delivery solution is for. */
|
|
16345
|
+
lineItemIds?: string[];
|
|
16346
|
+
}
|
|
16167
16347
|
interface BuyerInfo$4 extends BuyerInfoIdOneOf$2 {
|
|
16168
16348
|
/**
|
|
16169
16349
|
* Visitor ID (if site visitor is **not** a member).
|
|
@@ -16316,7 +16496,8 @@ declare enum RuleType$3 {
|
|
|
16316
16496
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
16317
16497
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
16318
16498
|
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
16319
|
-
EXACT_LENGTH = "EXACT_LENGTH"
|
|
16499
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
16500
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
16320
16501
|
}
|
|
16321
16502
|
interface FieldViolation$3 {
|
|
16322
16503
|
field?: string;
|
|
@@ -16954,7 +17135,6 @@ interface SecuredMediaNonNullableFields {
|
|
|
16954
17135
|
fileType: FileType$1;
|
|
16955
17136
|
}
|
|
16956
17137
|
interface PolicyNonNullableFields {
|
|
16957
|
-
title: string;
|
|
16958
17138
|
content: string;
|
|
16959
17139
|
}
|
|
16960
17140
|
interface CustomLineItemNonNullableFields {
|
|
@@ -17015,7 +17195,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
17015
17195
|
body: Uint8Array;
|
|
17016
17196
|
headers: HeadersEntryNonNullableFields[];
|
|
17017
17197
|
}
|
|
17018
|
-
interface BaseEventMetadata$
|
|
17198
|
+
interface BaseEventMetadata$5 {
|
|
17019
17199
|
/** App instance ID. */
|
|
17020
17200
|
instanceId?: string | null;
|
|
17021
17201
|
/** Event type. */
|
|
@@ -17023,7 +17203,7 @@ interface BaseEventMetadata$6 {
|
|
|
17023
17203
|
/** The identification type and identity data. */
|
|
17024
17204
|
identity?: IdentificationData$e;
|
|
17025
17205
|
}
|
|
17026
|
-
interface EventMetadata$
|
|
17206
|
+
interface EventMetadata$5 extends BaseEventMetadata$5 {
|
|
17027
17207
|
/**
|
|
17028
17208
|
* Unique event ID.
|
|
17029
17209
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -17063,18 +17243,18 @@ interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
|
17063
17243
|
}
|
|
17064
17244
|
interface CheckoutTemplateCreatedEnvelope {
|
|
17065
17245
|
entity: CheckoutTemplate;
|
|
17066
|
-
metadata: EventMetadata$
|
|
17246
|
+
metadata: EventMetadata$5;
|
|
17247
|
+
}
|
|
17248
|
+
interface CheckoutTemplateDeletedEnvelope {
|
|
17249
|
+
metadata: EventMetadata$5;
|
|
17067
17250
|
}
|
|
17068
17251
|
interface CheckoutTemplateUpdatedEnvelope {
|
|
17069
17252
|
entity: CheckoutTemplate;
|
|
17070
|
-
metadata: EventMetadata$
|
|
17071
|
-
}
|
|
17072
|
-
interface CheckoutTemplateDeletedEnvelope {
|
|
17073
|
-
metadata: EventMetadata$6;
|
|
17253
|
+
metadata: EventMetadata$5;
|
|
17074
17254
|
}
|
|
17075
17255
|
interface CheckoutTemplateUsedEnvelope {
|
|
17076
17256
|
data: CheckoutTemplateUsed;
|
|
17077
|
-
metadata: EventMetadata$
|
|
17257
|
+
metadata: EventMetadata$5;
|
|
17078
17258
|
}
|
|
17079
17259
|
interface UpdateCheckoutTemplate {
|
|
17080
17260
|
/**
|
|
@@ -17279,11 +17459,11 @@ interface CreateAndRedirectToCheckoutSignature {
|
|
|
17279
17459
|
(checkoutTemplateId: string, siteId: string): Promise<RawHttpResponse & RawHttpResponseNonNullableFields>;
|
|
17280
17460
|
}
|
|
17281
17461
|
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
17462
|
declare const onCheckoutTemplateDeleted$1: EventDefinition<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
|
|
17463
|
+
declare const onCheckoutTemplateUpdated$1: EventDefinition<CheckoutTemplateUpdatedEnvelope, "wix.ecom.v1.checkout_template_updated">;
|
|
17284
17464
|
declare const onCheckoutTemplateUsed$1: EventDefinition<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
|
|
17285
17465
|
|
|
17286
|
-
declare function createEventModule$
|
|
17466
|
+
declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
17287
17467
|
|
|
17288
17468
|
declare const createCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof createCheckoutTemplate$1> & typeof createCheckoutTemplate$1>;
|
|
17289
17469
|
declare const getCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof getCheckoutTemplate$1> & typeof getCheckoutTemplate$1>;
|
|
@@ -17297,25 +17477,25 @@ type _publicOnCheckoutTemplateCreatedType = typeof onCheckoutTemplateCreated$1;
|
|
|
17297
17477
|
/**
|
|
17298
17478
|
* Triggered when a checkout template is created.
|
|
17299
17479
|
*/
|
|
17300
|
-
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$
|
|
17480
|
+
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$5<_publicOnCheckoutTemplateCreatedType>>;
|
|
17301
17481
|
|
|
17302
|
-
type
|
|
17482
|
+
type _publicOnCheckoutTemplateDeletedType = typeof onCheckoutTemplateDeleted$1;
|
|
17303
17483
|
/**
|
|
17304
|
-
* Triggered when a checkout template is
|
|
17484
|
+
* Triggered when a checkout template is deleted.
|
|
17305
17485
|
*/
|
|
17306
|
-
declare const
|
|
17486
|
+
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$5<_publicOnCheckoutTemplateDeletedType>>;
|
|
17307
17487
|
|
|
17308
|
-
type
|
|
17488
|
+
type _publicOnCheckoutTemplateUpdatedType = typeof onCheckoutTemplateUpdated$1;
|
|
17309
17489
|
/**
|
|
17310
|
-
* Triggered when a checkout template is
|
|
17490
|
+
* Triggered when a checkout template is updated.
|
|
17311
17491
|
*/
|
|
17312
|
-
declare const
|
|
17492
|
+
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$5<_publicOnCheckoutTemplateUpdatedType>>;
|
|
17313
17493
|
|
|
17314
17494
|
type _publicOnCheckoutTemplateUsedType = typeof onCheckoutTemplateUsed$1;
|
|
17315
17495
|
/**
|
|
17316
17496
|
* Triggered when a checkout is created from a checkout template.
|
|
17317
17497
|
*/
|
|
17318
|
-
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$
|
|
17498
|
+
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$5<_publicOnCheckoutTemplateUsedType>>;
|
|
17319
17499
|
|
|
17320
17500
|
type context$i_CatalogOverrideFields = CatalogOverrideFields;
|
|
17321
17501
|
type context$i_Checkout = Checkout;
|
|
@@ -17394,7 +17574,7 @@ declare const context$i_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
|
|
|
17394
17574
|
declare const context$i_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
17395
17575
|
declare const context$i_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
17396
17576
|
declare namespace context$i {
|
|
17397
|
-
export { type ActionEvent$e as ActionEvent, type AdditionalFee$3 as AdditionalFee, type Address$7 as Address, type AddressLocation$6 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type ApplicationError$8 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$6 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type context$i_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type context$i_Checkout as Checkout, type context$i_CheckoutCustomization as CheckoutCustomization, type context$i_CheckoutTemplate as CheckoutTemplate, type context$i_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type context$i_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type context$i_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type context$i_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type context$i_CheckoutTemplateUsed as CheckoutTemplateUsed, type context$i_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type context$i_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type context$i_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type context$i_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type context$i_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type context$i_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type context$i_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type context$i_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type context$i_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type context$i_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type context$i_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type context$i_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$b as CursorPaging, type CursorPagingMetadata$a as CursorPagingMetadata, type CursorQuery$7 as CursorQuery, type CursorQueryPagingMethodOneOf$7 as CursorQueryPagingMethodOneOf, type Cursors$b as Cursors, type context$i_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type context$i_CustomSettings as CustomSettings, type context$i_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type context$i_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type context$i_Description as Description, type DescriptionLine$2 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$2 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$2 as DescriptionLineName, DescriptionLineType$2 as DescriptionLineType, type DescriptionLineValueOneOf$2 as DescriptionLineValueOneOf, type Details$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$1 as FileType, type context$i_FreeTrialPeriod as FreeTrialPeriod, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$i_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type context$i_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type context$i_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type context$i_HeadersEntry as HeadersEntry, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type context$i_ItemAvailabilityInfo as ItemAvailabilityInfo, context$i_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$3 as ItemTaxFullDetails, type ItemType$3 as ItemType, ItemTypeItemType$3 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$3 as ItemTypeItemTypeDataOneOf, JurisdictionType$3 as JurisdictionType, type LineItem$3 as LineItem, type LineItemDiscount$3 as LineItemDiscount, ManualCalculationReason$1 as ManualCalculationReason, type Membership$1 as Membership, type MembershipName$3 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MessageEnvelope$d as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, context$i_NameInLineItem as NameInLineItem, context$i_NameInOther as NameInOther, type context$i_Other as Other, type OtherCharge$1 as OtherCharge, type context$i_PaymentOption as PaymentOption, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type context$i_Policy as Policy, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type context$i_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type context$i_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type context$i_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type context$i_RawHttpResponse as RawHttpResponse, type context$i_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$e as RestoreInfo, RuleType$3 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, context$i_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$b as SortOrder, type Sorting$b as Sorting, Status$2 as Status, type StreetAddress$6 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, context$i_SuggestedFix as SuggestedFix, type SystemError$3 as SystemError, type context$i_Target as Target, type context$i_TargetLineItem as TargetLineItem, type context$i_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type TaxableAddress$3 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$3 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$3 as TaxableAddressType, type context$i_Title as Title, type context$i_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type context$i_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type context$i_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type context$i_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type context$i_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type context$i_Violation as Violation, type context$i_WebClientCustomization as WebClientCustomization, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type context$i__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type context$i__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type context$i__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type context$i__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, context$i_createAndRedirectToCheckout as createAndRedirectToCheckout, context$i_createCheckoutFromTemplate as createCheckoutFromTemplate, context$i_createCheckoutTemplate as createCheckoutTemplate, context$i_deleteCheckoutTemplate as deleteCheckoutTemplate, context$i_getCheckoutTemplate as getCheckoutTemplate, context$i_onCheckoutTemplateCreated as onCheckoutTemplateCreated, context$i_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, context$i_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, context$i_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, context$i_queryCheckoutTemplates as queryCheckoutTemplates, context$i_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
17577
|
+
export { type ActionEvent$e as ActionEvent, type AdditionalFee$3 as AdditionalFee, type Address$7 as Address, type AddressLocation$6 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type ApplicableLineItems$2 as ApplicableLineItems, type ApplicationError$8 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$5 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$2 as Carrier, type CarrierError$3 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type context$i_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type context$i_Checkout as Checkout, type context$i_CheckoutCustomization as CheckoutCustomization, type context$i_CheckoutTemplate as CheckoutTemplate, type context$i_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type context$i_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type context$i_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type context$i_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type context$i_CheckoutTemplateUsed as CheckoutTemplateUsed, type context$i_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type context$i_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type context$i_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type context$i_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type context$i_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type context$i_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type context$i_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type context$i_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type context$i_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type context$i_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type context$i_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type context$i_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$b as CursorPaging, type CursorPagingMetadata$a as CursorPagingMetadata, type CursorQuery$7 as CursorQuery, type CursorQueryPagingMethodOneOf$7 as CursorQueryPagingMethodOneOf, type Cursors$b as Cursors, type context$i_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type context$i_CustomSettings as CustomSettings, type context$i_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type context$i_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryAllocation$2 as DeliveryAllocation, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type context$i_Description as Description, type DescriptionLine$2 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$2 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$2 as DescriptionLineName, DescriptionLineType$2 as DescriptionLineType, type DescriptionLineValueOneOf$2 as DescriptionLineValueOneOf, type Details$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$1 as FileType, type context$i_FreeTrialPeriod as FreeTrialPeriod, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$i_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type context$i_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type context$i_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type context$i_HeadersEntry as HeadersEntry, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type context$i_ItemAvailabilityInfo as ItemAvailabilityInfo, context$i_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$3 as ItemTaxFullDetails, type ItemType$3 as ItemType, ItemTypeItemType$3 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$3 as ItemTypeItemTypeDataOneOf, JurisdictionType$3 as JurisdictionType, type LineItem$3 as LineItem, type LineItemDiscount$3 as LineItemDiscount, ManualCalculationReason$1 as ManualCalculationReason, type Membership$1 as Membership, type MembershipName$3 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MessageEnvelope$d as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, context$i_NameInLineItem as NameInLineItem, context$i_NameInOther as NameInOther, type context$i_Other as Other, type OtherCharge$1 as OtherCharge, type context$i_PaymentOption as PaymentOption, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type context$i_Policy as Policy, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type context$i_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type context$i_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type context$i_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type context$i_RawHttpResponse as RawHttpResponse, type context$i_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type Region$2 as Region, type RestoreInfo$e as RestoreInfo, RuleType$3 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, context$i_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$b as SortOrder, type Sorting$b as Sorting, Status$2 as Status, type StreetAddress$6 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, context$i_SuggestedFix as SuggestedFix, type SystemError$3 as SystemError, type context$i_Target as Target, type context$i_TargetLineItem as TargetLineItem, type context$i_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type TaxableAddress$3 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$3 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$3 as TaxableAddressType, type context$i_Title as Title, type context$i_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type context$i_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type context$i_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type context$i_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type context$i_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type context$i_Violation as Violation, type context$i_WebClientCustomization as WebClientCustomization, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type context$i__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type context$i__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type context$i__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type context$i__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, context$i_createAndRedirectToCheckout as createAndRedirectToCheckout, context$i_createCheckoutFromTemplate as createCheckoutFromTemplate, context$i_createCheckoutTemplate as createCheckoutTemplate, context$i_deleteCheckoutTemplate as deleteCheckoutTemplate, context$i_getCheckoutTemplate as getCheckoutTemplate, context$i_onCheckoutTemplateCreated as onCheckoutTemplateCreated, context$i_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, context$i_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, context$i_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, context$i_queryCheckoutTemplates as queryCheckoutTemplates, context$i_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
17398
17578
|
}
|
|
17399
17579
|
|
|
17400
17580
|
/**
|
|
@@ -17508,14 +17688,6 @@ interface ExtendedFields$6 {
|
|
|
17508
17688
|
*/
|
|
17509
17689
|
namespaces?: Record<string, Record<string, any>>;
|
|
17510
17690
|
}
|
|
17511
|
-
interface CreateDeliveryProfileRequest {
|
|
17512
|
-
/** DeliveryProfile to be created. */
|
|
17513
|
-
deliveryProfile: DeliveryProfile;
|
|
17514
|
-
}
|
|
17515
|
-
interface CreateDeliveryProfileResponse {
|
|
17516
|
-
/** The created DeliveryProfile. */
|
|
17517
|
-
deliveryProfile?: DeliveryProfile;
|
|
17518
|
-
}
|
|
17519
17691
|
interface DeliveryRegionAdded {
|
|
17520
17692
|
/** The DeliveryProfile owns this region. */
|
|
17521
17693
|
deliveryProfileId?: string;
|
|
@@ -17541,6 +17713,45 @@ interface DeliveryRegionAdded {
|
|
|
17541
17713
|
*/
|
|
17542
17714
|
_createdDate?: Date | null;
|
|
17543
17715
|
}
|
|
17716
|
+
interface DeliveryRegionRemoved {
|
|
17717
|
+
/** The DeliveryProfile owns this region. */
|
|
17718
|
+
deliveryProfileId?: string;
|
|
17719
|
+
/** The removed DeliveryRegion id. */
|
|
17720
|
+
deliveryRegionId?: string;
|
|
17721
|
+
}
|
|
17722
|
+
interface DeliveryRegionUpdated {
|
|
17723
|
+
/** The DeliveryProfile owns this DeliveryRegion. */
|
|
17724
|
+
deliveryProfileId?: string;
|
|
17725
|
+
/**
|
|
17726
|
+
* The delivery region id.
|
|
17727
|
+
* @readonly
|
|
17728
|
+
*/
|
|
17729
|
+
deliveryRegionId?: string | null;
|
|
17730
|
+
/** Optional name of the rule, for example: "Domestic". */
|
|
17731
|
+
name?: string | null;
|
|
17732
|
+
/** Indicates that this rule is active, default value is true. */
|
|
17733
|
+
active?: boolean | null;
|
|
17734
|
+
/**
|
|
17735
|
+
* The spi implementers id of shipping-rates spi, assigned to this rule.
|
|
17736
|
+
* @readonly
|
|
17737
|
+
*/
|
|
17738
|
+
deliveryCarriers?: DeliveryCarrier[];
|
|
17739
|
+
/** The operation region of this rule, if empty than it is global. */
|
|
17740
|
+
destinations?: Destination$1[];
|
|
17741
|
+
/**
|
|
17742
|
+
* Represents the time this Profile was created
|
|
17743
|
+
* @readonly
|
|
17744
|
+
*/
|
|
17745
|
+
_createdDate?: Date | null;
|
|
17746
|
+
}
|
|
17747
|
+
interface CreateDeliveryProfileRequest {
|
|
17748
|
+
/** DeliveryProfile to be created. */
|
|
17749
|
+
deliveryProfile: DeliveryProfile;
|
|
17750
|
+
}
|
|
17751
|
+
interface CreateDeliveryProfileResponse {
|
|
17752
|
+
/** The created DeliveryProfile. */
|
|
17753
|
+
deliveryProfile?: DeliveryProfile;
|
|
17754
|
+
}
|
|
17544
17755
|
interface GetDeliveryProfileRequest {
|
|
17545
17756
|
/** ID of the DeliveryProfile to retrieve. */
|
|
17546
17757
|
deliveryProfileId: string;
|
|
@@ -17563,12 +17774,6 @@ interface DeleteDeliveryProfileRequest {
|
|
|
17563
17774
|
}
|
|
17564
17775
|
interface DeleteDeliveryProfileResponse {
|
|
17565
17776
|
}
|
|
17566
|
-
interface DeliveryRegionRemoved {
|
|
17567
|
-
/** The DeliveryProfile owns this region. */
|
|
17568
|
-
deliveryProfileId?: string;
|
|
17569
|
-
/** The removed DeliveryRegion id. */
|
|
17570
|
-
deliveryRegionId?: string;
|
|
17571
|
-
}
|
|
17572
17777
|
interface QueryDeliveryProfilesRequest {
|
|
17573
17778
|
/** WQL expression. */
|
|
17574
17779
|
query?: CursorQuery$6;
|
|
@@ -17672,31 +17877,6 @@ interface UpdateDeliveryRegionResponse {
|
|
|
17672
17877
|
/** The updated DeliveryProfile with the updated DeliveryRegion */
|
|
17673
17878
|
deliveryProfile?: DeliveryProfile;
|
|
17674
17879
|
}
|
|
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
17880
|
interface RemoveDeliveryRegionRequest$2 {
|
|
17701
17881
|
/** DeliveryProfile id that owns the DeliveryRegion */
|
|
17702
17882
|
deliveryProfileId: string;
|
|
@@ -18344,76 +18524,6 @@ interface ListDeliveryCarriersResponseNonNullableFields {
|
|
|
18344
18524
|
interface UpdateExtendedFieldsResponseNonNullableFields$3 {
|
|
18345
18525
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18346
18526
|
}
|
|
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
18527
|
interface UpdateDeliveryProfile {
|
|
18418
18528
|
/**
|
|
18419
18529
|
* DeliveryProfile ID.
|
|
@@ -18743,14 +18853,6 @@ interface UpdateExtendedFieldsSignature$3 {
|
|
|
18743
18853
|
*/
|
|
18744
18854
|
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions$3): Promise<UpdateExtendedFieldsResponse$4 & UpdateExtendedFieldsResponseNonNullableFields$3>;
|
|
18745
18855
|
}
|
|
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
18856
|
|
|
18755
18857
|
declare const createDeliveryProfile: MaybeContext<BuildRESTFunction<typeof createDeliveryProfile$1> & typeof createDeliveryProfile$1>;
|
|
18756
18858
|
declare const getDeliveryProfile: MaybeContext<BuildRESTFunction<typeof getDeliveryProfile$1> & typeof getDeliveryProfile$1>;
|
|
@@ -18767,38 +18869,6 @@ declare const listDeliveryCarrierDetails: MaybeContext<BuildRESTFunction<typeof
|
|
|
18767
18869
|
declare const listDeliveryCarriers: MaybeContext<BuildRESTFunction<typeof listDeliveryCarriers$1> & typeof listDeliveryCarriers$1>;
|
|
18768
18870
|
declare const updateExtendedFields$6: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$7> & typeof updateExtendedFields$7>;
|
|
18769
18871
|
|
|
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
18872
|
type context$h_AddDeliveryCarrierOptions = AddDeliveryCarrierOptions;
|
|
18803
18873
|
type context$h_AddDeliveryCarrierRequest = AddDeliveryCarrierRequest;
|
|
18804
18874
|
type context$h_AddDeliveryCarrierResponse = AddDeliveryCarrierResponse;
|
|
@@ -18819,13 +18889,7 @@ type context$h_DeliveryCarrier = DeliveryCarrier;
|
|
|
18819
18889
|
type context$h_DeliveryCarrierDetails = DeliveryCarrierDetails;
|
|
18820
18890
|
type context$h_DeliveryCarrierRegionalSettings = DeliveryCarrierRegionalSettings;
|
|
18821
18891
|
type context$h_DeliveryProfile = DeliveryProfile;
|
|
18822
|
-
type context$h_DeliveryProfileCreatedEnvelope = DeliveryProfileCreatedEnvelope;
|
|
18823
|
-
type context$h_DeliveryProfileDeletedEnvelope = DeliveryProfileDeletedEnvelope;
|
|
18824
|
-
type context$h_DeliveryProfileDeliveryRegionAddedEnvelope = DeliveryProfileDeliveryRegionAddedEnvelope;
|
|
18825
|
-
type context$h_DeliveryProfileDeliveryRegionRemovedEnvelope = DeliveryProfileDeliveryRegionRemovedEnvelope;
|
|
18826
|
-
type context$h_DeliveryProfileDeliveryRegionUpdatedEnvelope = DeliveryProfileDeliveryRegionUpdatedEnvelope;
|
|
18827
18892
|
type context$h_DeliveryProfileNonNullableFields = DeliveryProfileNonNullableFields;
|
|
18828
|
-
type context$h_DeliveryProfileUpdatedEnvelope = DeliveryProfileUpdatedEnvelope;
|
|
18829
18893
|
type context$h_DeliveryProfilesQueryBuilder = DeliveryProfilesQueryBuilder;
|
|
18830
18894
|
type context$h_DeliveryProfilesQueryResult = DeliveryProfilesQueryResult;
|
|
18831
18895
|
type context$h_DeliveryRegion = DeliveryRegion;
|
|
@@ -18885,31 +18949,19 @@ type context$h_UpdateDeliveryRegionOptions = UpdateDeliveryRegionOptions;
|
|
|
18885
18949
|
type context$h_UpdateDeliveryRegionRequest = UpdateDeliveryRegionRequest;
|
|
18886
18950
|
type context$h_UpdateDeliveryRegionResponse = UpdateDeliveryRegionResponse;
|
|
18887
18951
|
type context$h_UpdateDeliveryRegionResponseNonNullableFields = UpdateDeliveryRegionResponseNonNullableFields;
|
|
18888
|
-
type context$h__publicOnDeliveryProfileCreatedType = _publicOnDeliveryProfileCreatedType;
|
|
18889
|
-
type context$h__publicOnDeliveryProfileDeletedType = _publicOnDeliveryProfileDeletedType;
|
|
18890
|
-
type context$h__publicOnDeliveryProfileDeliveryRegionAddedType = _publicOnDeliveryProfileDeliveryRegionAddedType;
|
|
18891
|
-
type context$h__publicOnDeliveryProfileDeliveryRegionRemovedType = _publicOnDeliveryProfileDeliveryRegionRemovedType;
|
|
18892
|
-
type context$h__publicOnDeliveryProfileDeliveryRegionUpdatedType = _publicOnDeliveryProfileDeliveryRegionUpdatedType;
|
|
18893
|
-
type context$h__publicOnDeliveryProfileUpdatedType = _publicOnDeliveryProfileUpdatedType;
|
|
18894
18952
|
declare const context$h_addDeliveryCarrier: typeof addDeliveryCarrier;
|
|
18895
18953
|
declare const context$h_createDeliveryProfile: typeof createDeliveryProfile;
|
|
18896
18954
|
declare const context$h_deleteDeliveryProfile: typeof deleteDeliveryProfile;
|
|
18897
18955
|
declare const context$h_getDeliveryProfile: typeof getDeliveryProfile;
|
|
18898
18956
|
declare const context$h_listDeliveryCarrierDetails: typeof listDeliveryCarrierDetails;
|
|
18899
18957
|
declare const context$h_listDeliveryCarriers: typeof listDeliveryCarriers;
|
|
18900
|
-
declare const context$h_onDeliveryProfileCreated: typeof onDeliveryProfileCreated;
|
|
18901
|
-
declare const context$h_onDeliveryProfileDeleted: typeof onDeliveryProfileDeleted;
|
|
18902
|
-
declare const context$h_onDeliveryProfileDeliveryRegionAdded: typeof onDeliveryProfileDeliveryRegionAdded;
|
|
18903
|
-
declare const context$h_onDeliveryProfileDeliveryRegionRemoved: typeof onDeliveryProfileDeliveryRegionRemoved;
|
|
18904
|
-
declare const context$h_onDeliveryProfileDeliveryRegionUpdated: typeof onDeliveryProfileDeliveryRegionUpdated;
|
|
18905
|
-
declare const context$h_onDeliveryProfileUpdated: typeof onDeliveryProfileUpdated;
|
|
18906
18958
|
declare const context$h_queryDeliveryProfiles: typeof queryDeliveryProfiles;
|
|
18907
18959
|
declare const context$h_removeDeliveryCarrier: typeof removeDeliveryCarrier;
|
|
18908
18960
|
declare const context$h_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
18909
18961
|
declare const context$h_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
18910
18962
|
declare const context$h_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
18911
18963
|
declare namespace context$h {
|
|
18912
|
-
export { type ActionEvent$d as ActionEvent, type context$h_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type context$h_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type context$h_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type context$h_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type AddDeliveryRegionOptions$2 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$2 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$2 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$2 as AddDeliveryRegionResponseNonNullableFields, type AdditionalCharge$1 as AdditionalCharge, type ApplicationError$7 as ApplicationError, type context$h_Asset as Asset, type context$h_BackupRate as BackupRate, type BaseEventMetadata$5 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type context$h_Column as Column, type context$h_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type context$h_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type context$h_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$a as CursorPaging, type CursorPagingMetadata$9 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$a as Cursors, type context$h_DashboardTable as DashboardTable, type context$h_DeleteContext as DeleteContext, type context$h_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type context$h_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, context$h_DeleteStatus as DeleteStatus, type context$h_DeliveryCarrier as DeliveryCarrier, type context$h_DeliveryCarrierDetails as DeliveryCarrierDetails, type context$h_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type context$h_DeliveryProfile as DeliveryProfile, type context$h_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type context$h_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type context$h_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type context$h_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type context$h_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type context$h_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type context$h_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type context$h_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type context$h_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type context$h_DeliveryRegion as DeliveryRegion, type context$h_DeliveryRegionAdded as DeliveryRegionAdded, type context$h_DeliveryRegionRemoved as DeliveryRegionRemoved, type context$h_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type context$h_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type context$h_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type context$h_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type context$h_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type context$h_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type context$h_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type context$h_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type context$h_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type context$h_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type context$h_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type context$h_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$c as MessageEnvelope, type context$h_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$h_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type context$h_NamespaceChanged as NamespaceChanged, type context$h_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type context$h_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type context$h_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type context$h_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type context$h_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type context$h_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type context$h_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type context$h_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions$2 as RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest$2 as RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse$2 as RemoveDeliveryRegionResponse, type RemoveDeliveryRegionResponseNonNullableFields$2 as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$d as RestoreInfo, type context$h_Row as Row, type context$h_ServiceProvisioned as ServiceProvisioned, type context$h_ServiceRemoved as ServiceRemoved, type context$h_SiteCreated as SiteCreated, context$h_SiteCreatedContext as SiteCreatedContext, type context$h_SiteDeleted as SiteDeleted, type context$h_SiteHardDeleted as SiteHardDeleted, type context$h_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$h_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$h_SitePublished as SitePublished, type context$h_SiteRenamed as SiteRenamed, type context$h_SiteTransferred as SiteTransferred, type context$h_SiteUndeleted as SiteUndeleted, type context$h_SiteUnpublished as SiteUnpublished, SortOrder$a as SortOrder, type Sorting$a as Sorting, State$1 as State, type context$h_StudioAssigned as StudioAssigned, type context$h_StudioUnassigned as StudioUnassigned, type context$h_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type context$h_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type context$h_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type context$h_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type context$h_UpdateDeliveryProfile as UpdateDeliveryProfile, type context$h_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type context$h_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type context$h_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type context$h_UpdateDeliveryRegion as UpdateDeliveryRegion, type context$h_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type context$h_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type context$h_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type context$h_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type context$h_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$c as WebhookIdentityType, type context$h__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type context$h__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type context$h__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type context$h__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type context$h__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type context$h__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, context$h_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, context$h_createDeliveryProfile as createDeliveryProfile, context$h_deleteDeliveryProfile as deleteDeliveryProfile, context$h_getDeliveryProfile as getDeliveryProfile, context$h_listDeliveryCarrierDetails as listDeliveryCarrierDetails, context$h_listDeliveryCarriers as listDeliveryCarriers, context$h_onDeliveryProfileCreated as onDeliveryProfileCreated, context$h_onDeliveryProfileDeleted as onDeliveryProfileDeleted, context$h_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, context$h_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, context$h_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, context$h_onDeliveryProfileUpdated as onDeliveryProfileUpdated, onDeliveryProfileCreated$1 as publicOnDeliveryProfileCreated, onDeliveryProfileDeleted$1 as publicOnDeliveryProfileDeleted, onDeliveryProfileDeliveryRegionAdded$1 as publicOnDeliveryProfileDeliveryRegionAdded, onDeliveryProfileDeliveryRegionRemoved$1 as publicOnDeliveryProfileDeliveryRegionRemoved, onDeliveryProfileDeliveryRegionUpdated$1 as publicOnDeliveryProfileDeliveryRegionUpdated, onDeliveryProfileUpdated$1 as publicOnDeliveryProfileUpdated, context$h_queryDeliveryProfiles as queryDeliveryProfiles, context$h_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, context$h_updateDeliveryCarrier as updateDeliveryCarrier, context$h_updateDeliveryProfile as updateDeliveryProfile, context$h_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18964
|
+
export { type ActionEvent$d as ActionEvent, type context$h_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type context$h_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type context$h_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type context$h_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type AddDeliveryRegionOptions$2 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$2 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$2 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$2 as AddDeliveryRegionResponseNonNullableFields, type AdditionalCharge$1 as AdditionalCharge, type ApplicationError$7 as ApplicationError, type context$h_Asset as Asset, type context$h_BackupRate as BackupRate, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type context$h_Column as Column, type context$h_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type context$h_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type context$h_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$a as CursorPaging, type CursorPagingMetadata$9 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$a as Cursors, type context$h_DashboardTable as DashboardTable, type context$h_DeleteContext as DeleteContext, type context$h_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type context$h_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, context$h_DeleteStatus as DeleteStatus, type context$h_DeliveryCarrier as DeliveryCarrier, type context$h_DeliveryCarrierDetails as DeliveryCarrierDetails, type context$h_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type context$h_DeliveryProfile as DeliveryProfile, type context$h_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type context$h_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type context$h_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type context$h_DeliveryRegion as DeliveryRegion, type context$h_DeliveryRegionAdded as DeliveryRegionAdded, type context$h_DeliveryRegionRemoved as DeliveryRegionRemoved, type context$h_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type ExtendedFields$6 as ExtendedFields, type context$h_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type context$h_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type context$h_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type context$h_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type context$h_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type context$h_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type context$h_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type context$h_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type context$h_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type context$h_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type context$h_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$c as MessageEnvelope, type context$h_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$h_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type context$h_NamespaceChanged as NamespaceChanged, type context$h_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type context$h_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type context$h_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type context$h_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type context$h_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type context$h_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type context$h_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type context$h_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions$2 as RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest$2 as RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse$2 as RemoveDeliveryRegionResponse, type RemoveDeliveryRegionResponseNonNullableFields$2 as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$d as RestoreInfo, type context$h_Row as Row, type context$h_ServiceProvisioned as ServiceProvisioned, type context$h_ServiceRemoved as ServiceRemoved, type context$h_SiteCreated as SiteCreated, context$h_SiteCreatedContext as SiteCreatedContext, type context$h_SiteDeleted as SiteDeleted, type context$h_SiteHardDeleted as SiteHardDeleted, type context$h_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$h_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$h_SitePublished as SitePublished, type context$h_SiteRenamed as SiteRenamed, type context$h_SiteTransferred as SiteTransferred, type context$h_SiteUndeleted as SiteUndeleted, type context$h_SiteUnpublished as SiteUnpublished, SortOrder$a as SortOrder, type Sorting$a as Sorting, State$1 as State, type context$h_StudioAssigned as StudioAssigned, type context$h_StudioUnassigned as StudioUnassigned, type context$h_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type context$h_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type context$h_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type context$h_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type context$h_UpdateDeliveryProfile as UpdateDeliveryProfile, type context$h_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type context$h_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type context$h_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type context$h_UpdateDeliveryRegion as UpdateDeliveryRegion, type context$h_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type context$h_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type context$h_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type context$h_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type context$h_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$c as WebhookIdentityType, context$h_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, context$h_createDeliveryProfile as createDeliveryProfile, context$h_deleteDeliveryProfile as deleteDeliveryProfile, context$h_getDeliveryProfile as getDeliveryProfile, context$h_listDeliveryCarrierDetails as listDeliveryCarrierDetails, context$h_listDeliveryCarriers as listDeliveryCarriers, context$h_queryDeliveryProfiles as queryDeliveryProfiles, context$h_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, context$h_updateDeliveryCarrier as updateDeliveryCarrier, context$h_updateDeliveryProfile as updateDeliveryProfile, context$h_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18913
18965
|
}
|
|
18914
18966
|
|
|
18915
18967
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -35234,6 +35286,31 @@ declare enum TaxableAddressType {
|
|
|
35234
35286
|
BILLING = "BILLING",
|
|
35235
35287
|
SHIPPING = "SHIPPING"
|
|
35236
35288
|
}
|
|
35289
|
+
interface ApiV1AdditionalFee {
|
|
35290
|
+
/** Additional fee's unique code or ID. */
|
|
35291
|
+
code?: string | null;
|
|
35292
|
+
/**
|
|
35293
|
+
* Additional fee's name.
|
|
35294
|
+
*
|
|
35295
|
+
* Max: 50 characters
|
|
35296
|
+
*/
|
|
35297
|
+
name?: string;
|
|
35298
|
+
/** Total additional fees. This `price` does not include any taxes that may apply to these additional fees. */
|
|
35299
|
+
price?: string;
|
|
35300
|
+
/**
|
|
35301
|
+
* Tax details.
|
|
35302
|
+
*
|
|
35303
|
+
* > **Note:** Tax is not calculated in the returned `price` even when `taxDetails.taxable` is `true`.
|
|
35304
|
+
*/
|
|
35305
|
+
taxDetails?: V1TaxDetails;
|
|
35306
|
+
}
|
|
35307
|
+
/** Tax details. */
|
|
35308
|
+
interface V1TaxDetails {
|
|
35309
|
+
/** Whether additional fee is taxable. */
|
|
35310
|
+
taxable?: boolean;
|
|
35311
|
+
/** Reserved for internal use. */
|
|
35312
|
+
taxGroupId?: string | null;
|
|
35313
|
+
}
|
|
35237
35314
|
/** Physical address */
|
|
35238
35315
|
interface Address$1 {
|
|
35239
35316
|
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
@@ -35374,6 +35451,30 @@ declare enum ChargeType$1 {
|
|
|
35374
35451
|
HANDLING_FEE = "HANDLING_FEE",
|
|
35375
35452
|
INSURANCE = "INSURANCE"
|
|
35376
35453
|
}
|
|
35454
|
+
interface DeliveryAllocation$1 {
|
|
35455
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
35456
|
+
deliveryCarrier?: Carrier$1;
|
|
35457
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
35458
|
+
deliveryRegion?: Region$1;
|
|
35459
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
35460
|
+
applicableLineItems?: ApplicableLineItems$1;
|
|
35461
|
+
}
|
|
35462
|
+
interface Carrier$1 {
|
|
35463
|
+
/** The carrier app id */
|
|
35464
|
+
appId?: string | null;
|
|
35465
|
+
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
35466
|
+
code?: string;
|
|
35467
|
+
}
|
|
35468
|
+
interface Region$1 {
|
|
35469
|
+
/** The delivery region id. */
|
|
35470
|
+
_id?: string | null;
|
|
35471
|
+
/** The delivery region name. */
|
|
35472
|
+
name?: string | null;
|
|
35473
|
+
}
|
|
35474
|
+
interface ApplicableLineItems$1 {
|
|
35475
|
+
/** Line items that the delivery solution is for. */
|
|
35476
|
+
lineItemIds?: string[];
|
|
35477
|
+
}
|
|
35377
35478
|
interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
35378
35479
|
/** Coupon details. */
|
|
35379
35480
|
coupon?: Coupon;
|
|
@@ -36157,11 +36258,22 @@ interface ShippingPriceNonNullableFields {
|
|
|
36157
36258
|
price?: MultiCurrencyPriceNonNullableFields;
|
|
36158
36259
|
otherCharges: OtherChargeNonNullableFields[];
|
|
36159
36260
|
}
|
|
36261
|
+
interface CarrierNonNullableFields$1 {
|
|
36262
|
+
code: string;
|
|
36263
|
+
}
|
|
36264
|
+
interface ApplicableLineItemsNonNullableFields$1 {
|
|
36265
|
+
lineItemIds: string[];
|
|
36266
|
+
}
|
|
36267
|
+
interface DeliveryAllocationNonNullableFields$1 {
|
|
36268
|
+
deliveryCarrier?: CarrierNonNullableFields$1;
|
|
36269
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$1;
|
|
36270
|
+
}
|
|
36160
36271
|
interface ShippingOptionNonNullableFields {
|
|
36161
36272
|
code: string;
|
|
36162
36273
|
title: string;
|
|
36163
36274
|
logistics?: DeliveryLogisticsNonNullableFields$1;
|
|
36164
36275
|
cost?: ShippingPriceNonNullableFields;
|
|
36276
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$1[];
|
|
36165
36277
|
}
|
|
36166
36278
|
interface CarrierServiceOptionNonNullableFields {
|
|
36167
36279
|
carrierId: string;
|
|
@@ -36286,6 +36398,7 @@ interface CalculateTotalsResponseNonNullableFields {
|
|
|
36286
36398
|
siteCurrency: string;
|
|
36287
36399
|
payNowTotalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
|
|
36288
36400
|
totalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
|
|
36401
|
+
payAfterFreeTrial?: PriceSummaryNonNullableFields;
|
|
36289
36402
|
}
|
|
36290
36403
|
interface CalculateTotalsOptions extends CalculateTotalsRequestCouponOneOf, CalculateTotalsRequestGiftCardOneOf {
|
|
36291
36404
|
/**
|
|
@@ -36347,6 +36460,7 @@ declare const calculateTotals: MaybeContext<BuildRESTFunction<typeof calculateTo
|
|
|
36347
36460
|
|
|
36348
36461
|
type context$5_AdditionalFee = AdditionalFee;
|
|
36349
36462
|
type context$5_AggregatedTaxBreakdown = AggregatedTaxBreakdown;
|
|
36463
|
+
type context$5_ApiV1AdditionalFee = ApiV1AdditionalFee;
|
|
36350
36464
|
type context$5_AppliedDiscount = AppliedDiscount;
|
|
36351
36465
|
type context$5_AppliedDiscountDiscountSourceOneOf = AppliedDiscountDiscountSourceOneOf;
|
|
36352
36466
|
type context$5_AutoTaxFallbackCalculationDetails = AutoTaxFallbackCalculationDetails;
|
|
@@ -36427,9 +36541,10 @@ type context$5_TaxableAddressType = TaxableAddressType;
|
|
|
36427
36541
|
declare const context$5_TaxableAddressType: typeof TaxableAddressType;
|
|
36428
36542
|
type context$5_TotalsCalculationEntity = TotalsCalculationEntity;
|
|
36429
36543
|
type context$5_V1AdditionalFee = V1AdditionalFee;
|
|
36544
|
+
type context$5_V1TaxDetails = V1TaxDetails;
|
|
36430
36545
|
declare const context$5_calculateTotals: typeof calculateTotals;
|
|
36431
36546
|
declare namespace context$5 {
|
|
36432
|
-
export { type context$5_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type context$5_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type ApplicationError$1 as ApplicationError, type context$5_AppliedDiscount as AppliedDiscount, type context$5_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context$5_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type context$5_CalculateTotalsOptions as CalculateTotalsOptions, type context$5_CalculateTotalsRequest as CalculateTotalsRequest, type context$5_CalculateTotalsRequestCouponOneOf as CalculateTotalsRequestCouponOneOf, type context$5_CalculateTotalsRequestGiftCardOneOf as CalculateTotalsRequestGiftCardOneOf, type context$5_CalculateTotalsResponse as CalculateTotalsResponse, type context$5_CalculateTotalsResponseNonNullableFields as CalculateTotalsResponseNonNullableFields, type context$5_CalculatedLineItem as CalculatedLineItem, type context$5_CalculationErrors as CalculationErrors, type context$5_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$1 as CarrierError, type context$5_CarrierErrors as CarrierErrors, type context$5_CarrierServiceOption as CarrierServiceOption, type context$5_CarrierShippingOption as CarrierShippingOption, type CatalogReference$2 as CatalogReference, ChargeType$1 as ChargeType, type context$5_Coupon as Coupon, context$5_DataFetchType as DataFetchType, type DeliveryLogistics$1 as DeliveryLogistics, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type Details$1 as Details, type DetailsKindOneOf$1 as DetailsKindOneOf, type context$5_DiscountRule as DiscountRule, type context$5_DiscountRuleName as DiscountRuleName, context$5_DiscountType as DiscountType, type context$5_ExternalReference as ExternalReference, context$5_FallbackReason as FallbackReason, type FieldViolation$1 as FieldViolation, type context$5_GiftCard as GiftCard, type context$5_Group as Group, type context$5_InvalidMembership as InvalidMembership, type context$5_ItemTaxFullDetails as ItemTaxFullDetails, type context$5_ItemType as ItemType, context$5_ItemTypeItemType as ItemTypeItemType, type context$5_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context$5_JurisdictionType as JurisdictionType, type context$5_LineItem as LineItem, type context$5_LineItemDiscount as LineItemDiscount, type context$5_LineItemPricesData as LineItemPricesData, context$5_ManualCalculationReason as ManualCalculationReason, type context$5_Membership as Membership, type context$5_MembershipName as MembershipName, type context$5_MembershipOptions as MembershipOptions, type context$5_MembershipPaymentCredits as MembershipPaymentCredits, type context$5_MerchantDiscount as MerchantDiscount, type context$5_MerchantDiscountInput as MerchantDiscountInput, type context$5_MultiCurrencyPrice as MultiCurrencyPrice, type context$5_OtherCharge as OtherCharge, context$5_PaymentOptionType as PaymentOptionType, type PhysicalProperties$1 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type context$5_PriceSummary as PriceSummary, context$5_RateType as RateType, RuleType$1 as RuleType, type context$5_Scope as Scope, type context$5_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context$5_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type context$5_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type context$5_SelectedMembership as SelectedMembership, type context$5_SelectedMemberships as SelectedMemberships, type context$5_SelectedShippingOption as SelectedShippingOption, type context$5_ServiceProperties as ServiceProperties, type context$5_ShippingInformation as ShippingInformation, type context$5_ShippingOption as ShippingOption, type context$5_ShippingPrice as ShippingPrice, type context$5_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, context$5_SubscriptionFrequency as SubscriptionFrequency, type context$5_SubscriptionSettings as SubscriptionSettings, type SystemError$1 as SystemError, type context$5_TaxBreakdown as TaxBreakdown, type context$5_TaxCalculationDetails as TaxCalculationDetails, type context$5_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type context$5_TaxDetails as TaxDetails, type context$5_TaxRateBreakdown as TaxRateBreakdown, type context$5_TaxSummary as TaxSummary, type context$5_TaxableAddress as TaxableAddress, type context$5_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, context$5_TaxableAddressType as TaxableAddressType, type context$5_TotalsCalculationEntity as TotalsCalculationEntity, type context$5_V1AdditionalFee as V1AdditionalFee, type ValidationError$1 as ValidationError, WeightUnit$1 as WeightUnit, context$5_calculateTotals as calculateTotals };
|
|
36547
|
+
export { type context$5_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type context$5_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type context$5_ApiV1AdditionalFee as ApiV1AdditionalFee, type ApplicableLineItems$1 as ApplicableLineItems, type ApplicationError$1 as ApplicationError, type context$5_AppliedDiscount as AppliedDiscount, type context$5_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context$5_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type context$5_CalculateTotalsOptions as CalculateTotalsOptions, type context$5_CalculateTotalsRequest as CalculateTotalsRequest, type context$5_CalculateTotalsRequestCouponOneOf as CalculateTotalsRequestCouponOneOf, type context$5_CalculateTotalsRequestGiftCardOneOf as CalculateTotalsRequestGiftCardOneOf, type context$5_CalculateTotalsResponse as CalculateTotalsResponse, type context$5_CalculateTotalsResponseNonNullableFields as CalculateTotalsResponseNonNullableFields, type context$5_CalculatedLineItem as CalculatedLineItem, type context$5_CalculationErrors as CalculationErrors, type context$5_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$1 as Carrier, type CarrierError$1 as CarrierError, type context$5_CarrierErrors as CarrierErrors, type context$5_CarrierServiceOption as CarrierServiceOption, type context$5_CarrierShippingOption as CarrierShippingOption, type CatalogReference$2 as CatalogReference, ChargeType$1 as ChargeType, type context$5_Coupon as Coupon, context$5_DataFetchType as DataFetchType, type DeliveryAllocation$1 as DeliveryAllocation, type DeliveryLogistics$1 as DeliveryLogistics, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type Details$1 as Details, type DetailsKindOneOf$1 as DetailsKindOneOf, type context$5_DiscountRule as DiscountRule, type context$5_DiscountRuleName as DiscountRuleName, context$5_DiscountType as DiscountType, type context$5_ExternalReference as ExternalReference, context$5_FallbackReason as FallbackReason, type FieldViolation$1 as FieldViolation, type context$5_GiftCard as GiftCard, type context$5_Group as Group, type context$5_InvalidMembership as InvalidMembership, type context$5_ItemTaxFullDetails as ItemTaxFullDetails, type context$5_ItemType as ItemType, context$5_ItemTypeItemType as ItemTypeItemType, type context$5_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context$5_JurisdictionType as JurisdictionType, type context$5_LineItem as LineItem, type context$5_LineItemDiscount as LineItemDiscount, type context$5_LineItemPricesData as LineItemPricesData, context$5_ManualCalculationReason as ManualCalculationReason, type context$5_Membership as Membership, type context$5_MembershipName as MembershipName, type context$5_MembershipOptions as MembershipOptions, type context$5_MembershipPaymentCredits as MembershipPaymentCredits, type context$5_MerchantDiscount as MerchantDiscount, type context$5_MerchantDiscountInput as MerchantDiscountInput, type context$5_MultiCurrencyPrice as MultiCurrencyPrice, type context$5_OtherCharge as OtherCharge, context$5_PaymentOptionType as PaymentOptionType, type PhysicalProperties$1 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type context$5_PriceSummary as PriceSummary, context$5_RateType as RateType, type Region$1 as Region, RuleType$1 as RuleType, type context$5_Scope as Scope, type context$5_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context$5_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type context$5_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type context$5_SelectedMembership as SelectedMembership, type context$5_SelectedMemberships as SelectedMemberships, type context$5_SelectedShippingOption as SelectedShippingOption, type context$5_ServiceProperties as ServiceProperties, type context$5_ShippingInformation as ShippingInformation, type context$5_ShippingOption as ShippingOption, type context$5_ShippingPrice as ShippingPrice, type context$5_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, context$5_SubscriptionFrequency as SubscriptionFrequency, type context$5_SubscriptionSettings as SubscriptionSettings, type SystemError$1 as SystemError, type context$5_TaxBreakdown as TaxBreakdown, type context$5_TaxCalculationDetails as TaxCalculationDetails, type context$5_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type context$5_TaxDetails as TaxDetails, type context$5_TaxRateBreakdown as TaxRateBreakdown, type context$5_TaxSummary as TaxSummary, type context$5_TaxableAddress as TaxableAddress, type context$5_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, context$5_TaxableAddressType as TaxableAddressType, type context$5_TotalsCalculationEntity as TotalsCalculationEntity, type context$5_V1AdditionalFee as V1AdditionalFee, type context$5_V1TaxDetails as V1TaxDetails, type ValidationError$1 as ValidationError, WeightUnit$1 as WeightUnit, context$5_calculateTotals as calculateTotals };
|
|
36433
36548
|
}
|
|
36434
36549
|
|
|
36435
36550
|
interface CurrencyRate {
|
|
@@ -36993,12 +37108,12 @@ interface DeliverySolution {
|
|
|
36993
37108
|
logistics?: DeliveryLogistics;
|
|
36994
37109
|
/** Delivery cost. */
|
|
36995
37110
|
cost?: DeliveryCost;
|
|
36996
|
-
/** Delivery solution
|
|
36997
|
-
|
|
37111
|
+
/** Delivery solution allocations to different delivery carriers and delivery regions */
|
|
37112
|
+
deliveryAllocations?: DeliveryAllocation[];
|
|
36998
37113
|
/** If the delivery solution is a partial and doesn't apply to all items. */
|
|
36999
37114
|
partial?: boolean | null;
|
|
37000
37115
|
}
|
|
37001
|
-
interface
|
|
37116
|
+
interface DeliveryAllocation {
|
|
37002
37117
|
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
37003
37118
|
deliveryCarrier?: Carrier;
|
|
37004
37119
|
/** The delivery region that are relevant for this delivery solution. */
|
|
@@ -37130,7 +37245,7 @@ interface CarrierNonNullableFields {
|
|
|
37130
37245
|
interface ApplicableLineItemsNonNullableFields {
|
|
37131
37246
|
lineItemIds: string[];
|
|
37132
37247
|
}
|
|
37133
|
-
interface
|
|
37248
|
+
interface DeliveryAllocationNonNullableFields {
|
|
37134
37249
|
deliveryCarrier?: CarrierNonNullableFields;
|
|
37135
37250
|
applicableLineItems?: ApplicableLineItemsNonNullableFields;
|
|
37136
37251
|
}
|
|
@@ -37139,7 +37254,7 @@ interface DeliverySolutionNonNullableFields {
|
|
|
37139
37254
|
title: string;
|
|
37140
37255
|
logistics?: DeliveryLogisticsNonNullableFields;
|
|
37141
37256
|
cost?: DeliveryCostNonNullableFields;
|
|
37142
|
-
|
|
37257
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields[];
|
|
37143
37258
|
}
|
|
37144
37259
|
interface ApplicationErrorNonNullableFields {
|
|
37145
37260
|
code: string;
|
|
@@ -37200,13 +37315,13 @@ type context$3_AddressLocation = AddressLocation;
|
|
|
37200
37315
|
type context$3_AddressStreetOneOf = AddressStreetOneOf;
|
|
37201
37316
|
type context$3_ApplicableLineItems = ApplicableLineItems;
|
|
37202
37317
|
type context$3_ApplicationError = ApplicationError;
|
|
37203
|
-
type context$3_Breakdown = Breakdown;
|
|
37204
37318
|
type context$3_Carrier = Carrier;
|
|
37205
37319
|
type context$3_CarrierDetails = CarrierDetails;
|
|
37206
37320
|
type context$3_CarrierError = CarrierError;
|
|
37207
37321
|
type context$3_ChargeType = ChargeType;
|
|
37208
37322
|
declare const context$3_ChargeType: typeof ChargeType;
|
|
37209
37323
|
type context$3_DeliverableItem = DeliverableItem;
|
|
37324
|
+
type context$3_DeliveryAllocation = DeliveryAllocation;
|
|
37210
37325
|
type context$3_DeliveryCarrierError = DeliveryCarrierError;
|
|
37211
37326
|
type context$3_DeliveryCost = DeliveryCost;
|
|
37212
37327
|
type context$3_DeliveryDetails = DeliveryDetails;
|
|
@@ -37251,7 +37366,7 @@ type context$3_WeightUnit = WeightUnit;
|
|
|
37251
37366
|
declare const context$3_WeightUnit: typeof WeightUnit;
|
|
37252
37367
|
declare const context$3_getDeliverySolutions: typeof getDeliverySolutions;
|
|
37253
37368
|
declare namespace context$3 {
|
|
37254
|
-
export { type ActionEvent$2 as ActionEvent, type context$3_AdditionalCharge as AdditionalCharge, type context$3_Address as Address, type context$3_AddressLocation as AddressLocation, type context$3_AddressStreetOneOf as AddressStreetOneOf, type context$3_ApplicableLineItems as ApplicableLineItems, type context$3_ApplicationError as ApplicationError, type context$
|
|
37369
|
+
export { type ActionEvent$2 as ActionEvent, type context$3_AdditionalCharge as AdditionalCharge, type context$3_Address as Address, type context$3_AddressLocation as AddressLocation, type context$3_AddressStreetOneOf as AddressStreetOneOf, type context$3_ApplicableLineItems as ApplicableLineItems, type context$3_ApplicationError as ApplicationError, type context$3_Carrier as Carrier, type context$3_CarrierDetails as CarrierDetails, type context$3_CarrierError as CarrierError, type CatalogReference$1 as CatalogReference, context$3_ChargeType as ChargeType, type context$3_DeliverableItem as DeliverableItem, type context$3_DeliveryAllocation as DeliveryAllocation, type context$3_DeliveryCarrierError as DeliveryCarrierError, type context$3_DeliveryCost as DeliveryCost, type context$3_DeliveryDetails as DeliveryDetails, type context$3_DeliveryLogistics as DeliveryLogistics, type context$3_DeliveryOption as DeliveryOption, type context$3_DeliveryRatesGateway as DeliveryRatesGateway, type context$3_DeliverySolution as DeliverySolution, type context$3_DeliveryTimeSlot as DeliveryTimeSlot, type context$3_Details as Details, type context$3_DetailsKindOneOf as DetailsKindOneOf, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type context$3_Empty as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type context$3_FieldViolation as FieldViolation, type context$3_FullAddressContactDetails as FullAddressContactDetails, type context$3_GetDeliveryOptionsRequest as GetDeliveryOptionsRequest, type context$3_GetDeliveryOptionsResponse as GetDeliveryOptionsResponse, type context$3_GetDeliverySolutionsOptions as GetDeliverySolutionsOptions, type context$3_GetDeliverySolutionsRequest as GetDeliverySolutionsRequest, type context$3_GetDeliverySolutionsResponse as GetDeliverySolutionsResponse, type context$3_GetDeliverySolutionsResponseNonNullableFields as GetDeliverySolutionsResponseNonNullableFields, type context$3_PartialDeliveryOption as PartialDeliveryOption, type context$3_PhysicalProperties as PhysicalProperties, type context$3_PickupDetails as PickupDetails, context$3_PickupMethod as PickupMethod, type context$3_ProviderErrors as ProviderErrors, type context$3_Region as Region, type context$3_RegionDetails as RegionDetails, type RestoreInfo$2 as RestoreInfo, context$3_RuleType as RuleType, type context$3_StreetAddress as StreetAddress, type context$3_Subdivision as Subdivision, context$3_SubdivisionType as SubdivisionType, type context$3_SystemError as SystemError, type context$3_UserIntent as UserIntent, type context$3_UserPreference as UserPreference, type context$3_ValidationError as ValidationError, type context$3_VatId as VatId, context$3_VatType as VatType, context$3_WeightUnit as WeightUnit, context$3_getDeliverySolutions as getDeliverySolutions };
|
|
37255
37370
|
}
|
|
37256
37371
|
|
|
37257
37372
|
/**
|
|
@@ -37263,7 +37378,7 @@ declare namespace context$3 {
|
|
|
37263
37378
|
*/
|
|
37264
37379
|
interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
37265
37380
|
/**
|
|
37266
|
-
* ID of the [location](https://dev.wix.com/docs/
|
|
37381
|
+
* ID of the [location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
|
|
37267
37382
|
* for which the tip settings apply.
|
|
37268
37383
|
*/
|
|
37269
37384
|
locationId?: string | null;
|
|
@@ -37295,7 +37410,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
|
37295
37410
|
tipType?: TipType$1;
|
|
37296
37411
|
/**
|
|
37297
37412
|
* Information about the tip choices that Wix Tips displays to customers during the
|
|
37298
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
37413
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
37299
37414
|
*
|
|
37300
37415
|
* Min: `1` preset
|
|
37301
37416
|
* Max: `3` presets
|
|
@@ -37303,9 +37418,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
|
37303
37418
|
presets?: Preset[];
|
|
37304
37419
|
/**
|
|
37305
37420
|
* Whether customer are allowed to tip during the
|
|
37306
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
37307
|
-
*
|
|
37308
|
-
* Default: `true`
|
|
37421
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
37309
37422
|
*/
|
|
37310
37423
|
allowCustomerTip?: boolean | null;
|
|
37311
37424
|
/**
|
|
@@ -37380,7 +37493,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
|
37380
37493
|
/** @oneof */
|
|
37381
37494
|
interface TipSettingsIdentifierOneOf {
|
|
37382
37495
|
/**
|
|
37383
|
-
* ID of the [location](https://dev.wix.com/docs/
|
|
37496
|
+
* ID of the [location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
|
|
37384
37497
|
* for which the tip settings apply.
|
|
37385
37498
|
*/
|
|
37386
37499
|
locationId?: string | null;
|
|
@@ -37408,7 +37521,7 @@ declare enum TipType$1 {
|
|
|
37408
37521
|
interface Preset {
|
|
37409
37522
|
/**
|
|
37410
37523
|
* Value of the preset tip choice that's displayed to customers in the
|
|
37411
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
37524
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
37412
37525
|
* For example, `5`, `10`, and `15` percent or `1`, `3`, and `5` USD.
|
|
37413
37526
|
*
|
|
37414
37527
|
* Min: `0`
|
|
@@ -37416,7 +37529,7 @@ interface Preset {
|
|
|
37416
37529
|
value?: number | null;
|
|
37417
37530
|
/**
|
|
37418
37531
|
* Whether this tip choice value is the dafault preset that's highlighted automatically in the
|
|
37419
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
37532
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
37420
37533
|
*
|
|
37421
37534
|
* Default: `false`
|
|
37422
37535
|
*/
|
|
@@ -37744,22 +37857,22 @@ interface TipSettingsQueryBuilder {
|
|
|
37744
37857
|
declare function queryTipSettings$1(httpClient: HttpClient): QueryTipSettingsSignature;
|
|
37745
37858
|
interface QueryTipSettingsSignature {
|
|
37746
37859
|
/**
|
|
37747
|
-
*
|
|
37860
|
+
* Creates a query to retrieve a list of tip settings.
|
|
37748
37861
|
*
|
|
37749
|
-
*
|
|
37750
|
-
* - `cursorPaging.limit` is `50`.
|
|
37751
|
-
* - Sorted by `id` in ascending order.
|
|
37862
|
+
* The `queryTipSettings()` function builds a query to retrieve a list of tip settings and returns a `TipSettingsQueryBuilder` object.
|
|
37752
37863
|
*
|
|
37753
|
-
*
|
|
37754
|
-
* [Tip Settings: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tips/tip-settings/supported-filters).
|
|
37864
|
+
* 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
37865
|
*
|
|
37756
|
-
*
|
|
37757
|
-
* when setting a filter for dates.
|
|
37866
|
+
* 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
37867
|
*
|
|
37759
|
-
*
|
|
37760
|
-
*
|
|
37761
|
-
*
|
|
37762
|
-
*
|
|
37868
|
+
* `queryTipSettings()` runs with the following `TipSettingsQueryBuilder` default that you can override:
|
|
37869
|
+
*
|
|
37870
|
+
* + `limit` is `50`.
|
|
37871
|
+
* + Sorted by `id` in ascending order.
|
|
37872
|
+
*
|
|
37873
|
+
* 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"`.
|
|
37874
|
+
*
|
|
37875
|
+
* 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
37876
|
*/
|
|
37764
37877
|
(): TipSettingsQueryBuilder;
|
|
37765
37878
|
}
|
|
@@ -37771,6 +37884,7 @@ interface UpdateTipSettingsSignature {
|
|
|
37771
37884
|
*
|
|
37772
37885
|
* You can't update the `default` field.
|
|
37773
37886
|
* @param - Tip settings to update.
|
|
37887
|
+
* @param - Options to use when updating tip settings.
|
|
37774
37888
|
* @returns Updated tip settings.
|
|
37775
37889
|
*/
|
|
37776
37890
|
(tipSettings: TipSettings): Promise<TipSettings & TipSettingsNonNullableFields>;
|
|
@@ -37854,7 +37968,7 @@ declare namespace context$2 {
|
|
|
37854
37968
|
|
|
37855
37969
|
/**
|
|
37856
37970
|
* 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
|
|
37971
|
+
* Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
|
|
37858
37972
|
* and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
|
|
37859
37973
|
* are eligible for tip distributions.
|
|
37860
37974
|
*/
|
|
@@ -37865,15 +37979,11 @@ interface Staff$1 {
|
|
|
37865
37979
|
* @readonly
|
|
37866
37980
|
*/
|
|
37867
37981
|
_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
|
-
*/
|
|
37982
|
+
/** Staff name. Matches the name of the Bookings staff member if available. */
|
|
37873
37983
|
name?: string | null;
|
|
37874
37984
|
/**
|
|
37875
37985
|
* Staff member ID. Available only if the staff is connected to a
|
|
37876
|
-
*
|
|
37986
|
+
* Bookings staff member.
|
|
37877
37987
|
*/
|
|
37878
37988
|
staffMemberId?: string | null;
|
|
37879
37989
|
/**
|
|
@@ -37895,7 +38005,7 @@ interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
|
|
|
37895
38005
|
/** ID of an app. */
|
|
37896
38006
|
appId?: string;
|
|
37897
38007
|
/**
|
|
37898
|
-
* ID of the [contact](https://dev.wix.com/docs/
|
|
38008
|
+
* ID of the [contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
|
|
37899
38009
|
* in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
|
|
37900
38010
|
*/
|
|
37901
38011
|
contactId?: string | null;
|
|
@@ -37924,8 +38034,7 @@ declare enum IdentityType$1 {
|
|
|
37924
38034
|
interface ListTippableStaffRequest {
|
|
37925
38035
|
/**
|
|
37926
38036
|
* Whether to include staff who are only Wix users and not
|
|
37927
|
-
*
|
|
37928
|
-
* in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
38037
|
+
* Bookings staff members in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
37929
38038
|
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
37930
38039
|
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
37931
38040
|
* staff members or those who are both are returned.
|
|
@@ -37968,9 +38077,7 @@ interface ListTippableStaffResponseNonNullableFields {
|
|
|
37968
38077
|
}
|
|
37969
38078
|
interface ListTippableStaffOptions {
|
|
37970
38079
|
/**
|
|
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
|
|
38080
|
+
* Whether to include staff who are only Wix users and not Bookings staff members in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
37974
38081
|
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
37975
38082
|
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
37976
38083
|
* staff members or those who are both are returned.
|
|
@@ -38000,6 +38107,7 @@ interface ListTippableStaffSignature {
|
|
|
38000
38107
|
/**
|
|
38001
38108
|
* Retrieves a list of up to 100 staff who are eligible to receive tips, given
|
|
38002
38109
|
* the provided filtering.
|
|
38110
|
+
* @param - Options to use when listing tippable staff.
|
|
38003
38111
|
*/
|
|
38004
38112
|
(options?: ListTippableStaffOptions | undefined): Promise<ListTippableStaffResponse & ListTippableStaffResponseNonNullableFields>;
|
|
38005
38113
|
}
|
|
@@ -38169,7 +38277,7 @@ interface Staff {
|
|
|
38169
38277
|
* Identification data. Available only if the staff is a
|
|
38170
38278
|
* [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
38171
38279
|
* 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
|
|
38280
|
+
* [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction).
|
|
38173
38281
|
*/
|
|
38174
38282
|
identificationData?: CommonIdentificationData;
|
|
38175
38283
|
}
|