@wix/ecom 1.0.690 → 1.0.692

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom",
3
- "version": "1.0.690",
3
+ "version": "1.0.692",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -24,15 +24,15 @@
24
24
  "@wix/ecom_back-in-stock-notifications": "1.0.43",
25
25
  "@wix/ecom_back-in-stock-settings": "1.0.29",
26
26
  "@wix/ecom_cart": "1.0.59",
27
- "@wix/ecom_checkout": "1.0.64",
27
+ "@wix/ecom_checkout": "1.0.65",
28
28
  "@wix/ecom_checkout-content": "1.0.0",
29
29
  "@wix/ecom_checkout-settings": "1.0.43",
30
- "@wix/ecom_checkout-templates": "1.0.65",
30
+ "@wix/ecom_checkout-templates": "1.0.66",
31
31
  "@wix/ecom_currencies": "1.0.30",
32
32
  "@wix/ecom_current-cart": "1.0.59",
33
33
  "@wix/ecom_custom-triggers": "1.0.13",
34
34
  "@wix/ecom_delivery-profile": "1.0.10",
35
- "@wix/ecom_discount-rules": "1.0.45",
35
+ "@wix/ecom_discount-rules": "1.0.46",
36
36
  "@wix/ecom_discounts-custom-trigger": "1.0.1",
37
37
  "@wix/ecom_draft-orders": "1.0.1",
38
38
  "@wix/ecom_local-delivery-options": "1.0.2",
@@ -46,7 +46,7 @@
46
46
  "@wix/ecom_pickup-locations": "1.0.1",
47
47
  "@wix/ecom_recommendations": "1.0.33",
48
48
  "@wix/ecom_shipping-options": "1.0.1",
49
- "@wix/ecom_shipping-rates": "1.0.29",
49
+ "@wix/ecom_shipping-rates": "1.0.30",
50
50
  "@wix/ecom_shippo-configurations": "1.0.8",
51
51
  "@wix/ecom_validations": "1.0.18"
52
52
  },
@@ -72,5 +72,5 @@
72
72
  "fqdn": ""
73
73
  }
74
74
  },
75
- "falconPackageHash": "f1fd97bf7e6fc60aeb06e899e3efb667119e4a145eb66af79d1abde1"
75
+ "falconPackageHash": "42489847fe4fcd8441702066e3f3850e3f4fdfc7db8c0d651f62947a"
76
76
  }
@@ -364,13 +364,11 @@ interface CustomFilter {
364
364
  params?: Record<string, any> | null;
365
365
  }
366
366
  interface And {
367
- /**
368
- * List of triggers.
369
- * Max: 5 triggers.
370
- */
367
+ /** List of triggers to have an "AND" operator between their results. */
371
368
  triggers?: DiscountTrigger[];
372
369
  }
373
370
  interface Or {
371
+ /** List of triggers to have an "OR" operator between their results. */
374
372
  triggers?: DiscountTrigger[];
375
373
  }
376
374
  interface Custom {
@@ -659,6 +657,7 @@ interface Cursors$b {
659
657
  interface GetAppliedDiscountsRequest {
660
658
  /** Line items for which to check for discount rules. */
661
659
  lineItems?: LineItem$6[];
660
+ /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
662
661
  purchaseFlowId?: string | null;
663
662
  }
664
663
  interface LineItem$6 {
@@ -767,7 +766,7 @@ interface DomainEvent$j extends DomainEventBodyOneOf$j {
767
766
  slug?: string;
768
767
  /** ID of the entity associated with the event. */
769
768
  entityId?: string;
770
- /** Event timestamp. */
769
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
771
770
  eventTime?: Date;
772
771
  /**
773
772
  * Whether the event was triggered as a result of a privacy regulation application
@@ -796,7 +795,7 @@ interface DomainEventBodyOneOf$j {
796
795
  interface EntityCreatedEvent$j {
797
796
  entity?: string;
798
797
  }
799
- interface UndeleteInfo {
798
+ interface RestoreInfo$i {
800
799
  deletedDate?: Date;
801
800
  }
802
801
  interface EntityUpdatedEvent$j {
@@ -973,7 +972,7 @@ interface EventMetadata$g extends BaseEventMetadata$g {
973
972
  slug?: string;
974
973
  /** ID of the entity associated with the event. */
975
974
  entityId?: string;
976
- /** Event timestamp. */
975
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
977
976
  eventTime?: Date;
978
977
  /**
979
978
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1181,7 +1180,6 @@ type context$m_TriggerType = TriggerType;
1181
1180
  declare const context$m_TriggerType: typeof TriggerType;
1182
1181
  type context$m_Type = Type;
1183
1182
  declare const context$m_Type: typeof Type;
1184
- type context$m_UndeleteInfo = UndeleteInfo;
1185
1183
  type context$m_UpdateDiscountRule = UpdateDiscountRule;
1186
1184
  type context$m_UpdateDiscountRuleRequest = UpdateDiscountRuleRequest;
1187
1185
  type context$m_UpdateDiscountRuleResponse = UpdateDiscountRuleResponse;
@@ -1195,7 +1193,7 @@ declare const context$m_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
1195
1193
  declare const context$m_queryDiscountRules: typeof queryDiscountRules;
1196
1194
  declare const context$m_updateDiscountRule: typeof updateDiscountRule;
1197
1195
  declare namespace context$m {
1198
- export { type ActionEvent$j as ActionEvent, type context$m_ActiveTimeInfo as ActiveTimeInfo, type context$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type context$m_AppliedDiscountRule as AppliedDiscountRule, context$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type context$m_BuyXGetYInfo as BuyXGetYInfo, type context$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type context$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type context$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type context$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type context$m_Custom as Custom, type context$m_CustomFilter as CustomFilter, type context$m_CustomerBuy as CustomerBuy, type context$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type context$m_CustomerGet as CustomerGet, type context$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type context$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type context$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type context$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type context$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type context$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type context$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type context$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type context$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type context$m_DiscountSettings as DiscountSettings, type context$m_DiscountTrigger as DiscountTrigger, type context$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type context$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type context$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type context$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type context$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type context$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type context$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type context$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type context$m_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$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type context$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type context$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type Scope$4 as Scope, type context$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, context$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type context$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type context$m_SubtotalRange as SubtotalRange, context$m_TriggerType as TriggerType, context$m_Type as Type, type context$m_UndeleteInfo as UndeleteInfo, type context$m_UpdateDiscountRule as UpdateDiscountRule, type context$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type context$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type context$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, context$m_createDiscountRule as createDiscountRule, context$m_deleteDiscountRule as deleteDiscountRule, context$m_getDiscountRule as getDiscountRule, context$m_onDiscountRuleCreated as onDiscountRuleCreated, context$m_onDiscountRuleDeleted as onDiscountRuleDeleted, context$m_onDiscountRuleUpdated as onDiscountRuleUpdated, context$m_queryDiscountRules as queryDiscountRules, context$m_updateDiscountRule as updateDiscountRule };
1196
+ export { type ActionEvent$j as ActionEvent, type context$m_ActiveTimeInfo as ActiveTimeInfo, type context$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type context$m_AppliedDiscountRule as AppliedDiscountRule, context$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type context$m_BuyXGetYInfo as BuyXGetYInfo, type context$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type context$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type context$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type context$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type context$m_Custom as Custom, type context$m_CustomFilter as CustomFilter, type context$m_CustomerBuy as CustomerBuy, type context$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type context$m_CustomerGet as CustomerGet, type context$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type context$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type context$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type context$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type context$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type context$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type context$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type context$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type context$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type context$m_DiscountSettings as DiscountSettings, type context$m_DiscountTrigger as DiscountTrigger, type context$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type context$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type context$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type context$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type context$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type context$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type context$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type context$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type context$m_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$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type context$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type context$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$i as RestoreInfo, type Scope$4 as Scope, type context$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, context$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type context$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type context$m_SubtotalRange as SubtotalRange, context$m_TriggerType as TriggerType, context$m_Type as Type, type context$m_UpdateDiscountRule as UpdateDiscountRule, type context$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type context$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type context$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, context$m_createDiscountRule as createDiscountRule, context$m_deleteDiscountRule as deleteDiscountRule, context$m_getDiscountRule as getDiscountRule, context$m_onDiscountRuleCreated as onDiscountRuleCreated, context$m_onDiscountRuleDeleted as onDiscountRuleDeleted, context$m_onDiscountRuleUpdated as onDiscountRuleUpdated, context$m_queryDiscountRules as queryDiscountRules, context$m_updateDiscountRule as updateDiscountRule };
1199
1197
  }
1200
1198
 
1201
1199
  interface Invoice {
@@ -11810,6 +11808,12 @@ interface CustomContentReference {
11810
11808
  */
11811
11809
  componentId?: string;
11812
11810
  }
11811
+ interface ExternalReference {
11812
+ /** ID of the app that associated with the purchase flow. */
11813
+ appId?: string;
11814
+ /** Reference to an external system ID, used to link the purchase flow to a specific ID in another system */
11815
+ resourceId?: string | null;
11816
+ }
11813
11817
  interface CreateCheckoutTemplateRequest {
11814
11818
  /** Checkout template to create. */
11815
11819
  checkoutTemplate: CheckoutTemplate;
@@ -13329,12 +13333,16 @@ interface CustomContentReferenceNonNullableFields {
13329
13333
  appId: string;
13330
13334
  componentId: string;
13331
13335
  }
13336
+ interface ExternalReferenceNonNullableFields {
13337
+ appId: string;
13338
+ }
13332
13339
  interface CheckoutTemplateNonNullableFields {
13333
13340
  status: Status$1;
13334
13341
  customization?: CheckoutCustomizationNonNullableFields;
13335
13342
  lineItems: V1LineItemNonNullableFields[];
13336
13343
  customLineItems: CustomLineItemNonNullableFields[];
13337
13344
  customContentReference?: CustomContentReferenceNonNullableFields;
13345
+ externalReference?: ExternalReferenceNonNullableFields;
13338
13346
  }
13339
13347
  interface CreateCheckoutTemplateResponseNonNullableFields {
13340
13348
  checkoutTemplate?: CheckoutTemplateNonNullableFields;
@@ -13566,6 +13574,7 @@ type context$c_CustomSettings = CustomSettings;
13566
13574
  type context$c_DeleteCheckoutTemplateRequest = DeleteCheckoutTemplateRequest;
13567
13575
  type context$c_DeleteCheckoutTemplateResponse = DeleteCheckoutTemplateResponse;
13568
13576
  type context$c_Description = Description;
13577
+ type context$c_ExternalReference = ExternalReference;
13569
13578
  type context$c_FallbackReason = FallbackReason;
13570
13579
  declare const context$c_FallbackReason: typeof FallbackReason;
13571
13580
  type context$c_GetCheckoutTemplateRequest = GetCheckoutTemplateRequest;
@@ -13631,7 +13640,7 @@ declare const context$c_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
13631
13640
  declare const context$c_queryCheckoutTemplates: typeof queryCheckoutTemplates;
13632
13641
  declare const context$c_updateCheckoutTemplate: typeof updateCheckoutTemplate;
13633
13642
  declare namespace context$c {
13634
- export { type ActionEvent$b as ActionEvent, type AdditionalFee$2 as AdditionalFee, type Address$5 as Address, type AddressLocation$4 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type context$c_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type ApplicationError$6 as ApplicationError, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type context$c_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$1 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$1 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$1 as CarrierError, type CarrierErrors$1 as CarrierErrors, type context$c_CarrierServiceOption as CarrierServiceOption, type context$c_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$2 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$1 as ChargeType, type context$c_Checkout as Checkout, type context$c_CheckoutCustomization as CheckoutCustomization, type context$c_CheckoutTemplate as CheckoutTemplate, type context$c_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type context$c_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type context$c_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type context$c_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type context$c_CheckoutTemplateUsed as CheckoutTemplateUsed, type context$c_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type context$c_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type context$c_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type context$c_ConversionInfo as ConversionInfo, type Coupon$2 as Coupon, type context$c_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type context$c_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type context$c_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type context$c_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type context$c_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type context$c_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type context$c_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type context$c_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$8 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$8 as Cursors, type context$c_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type context$c_CustomSettings as CustomSettings, type context$c_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type context$c_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$2 as DeliveryLogistics, type DeliveryTimeSlot$2 as DeliveryTimeSlot, type context$c_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$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$9 as EventMetadata, type ExtendedFields$6 as ExtendedFields, context$c_FallbackReason as FallbackReason, type FieldViolation$2 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$2 as FullAddressContactDetails, type context$c_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type context$c_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type context$c_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$1 as GiftCard, type context$c_Group as Group, type context$c_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type context$c_InvalidMembership as InvalidMembership, type context$c_ItemAvailabilityInfo as ItemAvailabilityInfo, context$c_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItem$2 as LineItem, type LineItemDiscount$2 as LineItemDiscount, context$c_ManualCalculationReason as ManualCalculationReason, type context$c_Membership as Membership, type MembershipName$2 as MembershipName, type context$c_MembershipOptions as MembershipOptions, type context$c_MembershipPaymentCredits as MembershipPaymentCredits, type MerchantDiscount$2 as MerchantDiscount, type MessageEnvelope$b as MessageEnvelope, type context$c_MultiCurrencyPrice as MultiCurrencyPrice, context$c_NameInLineItem as NameInLineItem, context$c_NameInOther as NameInOther, type context$c_Other as Other, type context$c_OtherCharge as OtherCharge, PaymentOptionType$2 as PaymentOptionType, type PhysicalProperties$2 as PhysicalProperties, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$2 as PriceSummary, type ProductName$2 as ProductName, type context$c_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type context$c_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type context$c_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, context$c_RateType as RateType, type context$c_RawHttpResponse as RawHttpResponse, type context$c_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$b as RestoreInfo, RuleType$2 as RuleType, type context$c_Scope as Scope, type SecuredMedia$1 as SecuredMedia, type context$c_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context$c_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type context$c_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type context$c_SelectedMembership as SelectedMembership, type context$c_SelectedMemberships as SelectedMemberships, type ServiceProperties$1 as ServiceProperties, context$c_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$2 as ShippingOption, type ShippingPrice$2 as ShippingPrice, type ShippingRegion$2 as ShippingRegion, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, Status$1 as Status, type StreetAddress$4 as StreetAddress, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type context$c_Target as Target, type context$c_TargetLineItem as TargetLineItem, type context$c_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type context$c_TaxBreakdown as TaxBreakdown, type context$c_TaxCalculationDetails as TaxCalculationDetails, type context$c_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type context$c_TaxRateBreakdown as TaxRateBreakdown, type TaxSummary$2 as TaxSummary, type context$c_Title as Title, type context$c_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type context$c_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type context$c_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type context$c_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type context$c_V1LineItem as V1LineItem, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, type context$c_Violation as Violation, type context$c_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$3 as WeightUnit, context$c_createAndRedirectToCheckout as createAndRedirectToCheckout, context$c_createCheckoutFromTemplate as createCheckoutFromTemplate, context$c_createCheckoutTemplate as createCheckoutTemplate, context$c_deleteCheckoutTemplate as deleteCheckoutTemplate, context$c_getCheckoutTemplate as getCheckoutTemplate, context$c_onCheckoutTemplateCreated as onCheckoutTemplateCreated, context$c_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, context$c_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, context$c_onCheckoutTemplateUsed as onCheckoutTemplateUsed, context$c_queryCheckoutTemplates as queryCheckoutTemplates, context$c_updateCheckoutTemplate as updateCheckoutTemplate };
13643
+ export { type ActionEvent$b as ActionEvent, type AdditionalFee$2 as AdditionalFee, type Address$5 as Address, type AddressLocation$4 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type context$c_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type ApplicationError$6 as ApplicationError, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type context$c_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$1 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$1 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$1 as CarrierError, type CarrierErrors$1 as CarrierErrors, type context$c_CarrierServiceOption as CarrierServiceOption, type context$c_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$2 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$1 as ChargeType, type context$c_Checkout as Checkout, type context$c_CheckoutCustomization as CheckoutCustomization, type context$c_CheckoutTemplate as CheckoutTemplate, type context$c_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type context$c_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type context$c_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type context$c_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type context$c_CheckoutTemplateUsed as CheckoutTemplateUsed, type context$c_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type context$c_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type context$c_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type context$c_ConversionInfo as ConversionInfo, type Coupon$2 as Coupon, type context$c_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type context$c_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type context$c_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type context$c_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type context$c_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type context$c_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type context$c_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type context$c_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$8 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$8 as Cursors, type context$c_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type context$c_CustomSettings as CustomSettings, type context$c_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type context$c_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$2 as DeliveryLogistics, type DeliveryTimeSlot$2 as DeliveryTimeSlot, type context$c_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$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$9 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type context$c_ExternalReference as ExternalReference, context$c_FallbackReason as FallbackReason, type FieldViolation$2 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$2 as FullAddressContactDetails, type context$c_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type context$c_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type context$c_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$1 as GiftCard, type context$c_Group as Group, type context$c_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type context$c_InvalidMembership as InvalidMembership, type context$c_ItemAvailabilityInfo as ItemAvailabilityInfo, context$c_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItem$2 as LineItem, type LineItemDiscount$2 as LineItemDiscount, context$c_ManualCalculationReason as ManualCalculationReason, type context$c_Membership as Membership, type MembershipName$2 as MembershipName, type context$c_MembershipOptions as MembershipOptions, type context$c_MembershipPaymentCredits as MembershipPaymentCredits, type MerchantDiscount$2 as MerchantDiscount, type MessageEnvelope$b as MessageEnvelope, type context$c_MultiCurrencyPrice as MultiCurrencyPrice, context$c_NameInLineItem as NameInLineItem, context$c_NameInOther as NameInOther, type context$c_Other as Other, type context$c_OtherCharge as OtherCharge, PaymentOptionType$2 as PaymentOptionType, type PhysicalProperties$2 as PhysicalProperties, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$2 as PriceSummary, type ProductName$2 as ProductName, type context$c_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type context$c_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type context$c_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, context$c_RateType as RateType, type context$c_RawHttpResponse as RawHttpResponse, type context$c_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$b as RestoreInfo, RuleType$2 as RuleType, type context$c_Scope as Scope, type SecuredMedia$1 as SecuredMedia, type context$c_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context$c_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type context$c_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type context$c_SelectedMembership as SelectedMembership, type context$c_SelectedMemberships as SelectedMemberships, type ServiceProperties$1 as ServiceProperties, context$c_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$2 as ShippingOption, type ShippingPrice$2 as ShippingPrice, type ShippingRegion$2 as ShippingRegion, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, Status$1 as Status, type StreetAddress$4 as StreetAddress, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type context$c_Target as Target, type context$c_TargetLineItem as TargetLineItem, type context$c_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type context$c_TaxBreakdown as TaxBreakdown, type context$c_TaxCalculationDetails as TaxCalculationDetails, type context$c_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type context$c_TaxRateBreakdown as TaxRateBreakdown, type TaxSummary$2 as TaxSummary, type context$c_Title as Title, type context$c_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type context$c_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type context$c_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type context$c_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type context$c_V1LineItem as V1LineItem, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, type context$c_Violation as Violation, type context$c_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$3 as WeightUnit, context$c_createAndRedirectToCheckout as createAndRedirectToCheckout, context$c_createCheckoutFromTemplate as createCheckoutFromTemplate, context$c_createCheckoutTemplate as createCheckoutTemplate, context$c_deleteCheckoutTemplate as deleteCheckoutTemplate, context$c_getCheckoutTemplate as getCheckoutTemplate, context$c_onCheckoutTemplateCreated as onCheckoutTemplateCreated, context$c_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, context$c_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, context$c_onCheckoutTemplateUsed as onCheckoutTemplateUsed, context$c_queryCheckoutTemplates as queryCheckoutTemplates, context$c_updateCheckoutTemplate as updateCheckoutTemplate };
13635
13644
  }
13636
13645
 
13637
13646
  /**
@@ -364,13 +364,11 @@ interface CustomFilter {
364
364
  params?: Record<string, any> | null;
365
365
  }
366
366
  interface And {
367
- /**
368
- * List of triggers.
369
- * Max: 5 triggers.
370
- */
367
+ /** List of triggers to have an "AND" operator between their results. */
371
368
  triggers?: DiscountTrigger[];
372
369
  }
373
370
  interface Or {
371
+ /** List of triggers to have an "OR" operator between their results. */
374
372
  triggers?: DiscountTrigger[];
375
373
  }
376
374
  interface Custom {
@@ -659,6 +657,7 @@ interface Cursors$b {
659
657
  interface GetAppliedDiscountsRequest {
660
658
  /** Line items for which to check for discount rules. */
661
659
  lineItems?: LineItem$6[];
660
+ /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
662
661
  purchaseFlowId?: string | null;
663
662
  }
664
663
  interface LineItem$6 {
@@ -767,7 +766,7 @@ interface DomainEvent$j extends DomainEventBodyOneOf$j {
767
766
  slug?: string;
768
767
  /** ID of the entity associated with the event. */
769
768
  entityId?: string;
770
- /** Event timestamp. */
769
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
771
770
  eventTime?: Date;
772
771
  /**
773
772
  * Whether the event was triggered as a result of a privacy regulation application
@@ -796,7 +795,7 @@ interface DomainEventBodyOneOf$j {
796
795
  interface EntityCreatedEvent$j {
797
796
  entity?: string;
798
797
  }
799
- interface UndeleteInfo {
798
+ interface RestoreInfo$i {
800
799
  deletedDate?: Date;
801
800
  }
802
801
  interface EntityUpdatedEvent$j {
@@ -973,7 +972,7 @@ interface EventMetadata$g extends BaseEventMetadata$g {
973
972
  slug?: string;
974
973
  /** ID of the entity associated with the event. */
975
974
  entityId?: string;
976
- /** Event timestamp. */
975
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
977
976
  eventTime?: Date;
978
977
  /**
979
978
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1181,7 +1180,6 @@ type index_d$m_TriggerType = TriggerType;
1181
1180
  declare const index_d$m_TriggerType: typeof TriggerType;
1182
1181
  type index_d$m_Type = Type;
1183
1182
  declare const index_d$m_Type: typeof Type;
1184
- type index_d$m_UndeleteInfo = UndeleteInfo;
1185
1183
  type index_d$m_UpdateDiscountRule = UpdateDiscountRule;
1186
1184
  type index_d$m_UpdateDiscountRuleRequest = UpdateDiscountRuleRequest;
1187
1185
  type index_d$m_UpdateDiscountRuleResponse = UpdateDiscountRuleResponse;
@@ -1195,7 +1193,7 @@ declare const index_d$m_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
1195
1193
  declare const index_d$m_queryDiscountRules: typeof queryDiscountRules;
1196
1194
  declare const index_d$m_updateDiscountRule: typeof updateDiscountRule;
1197
1195
  declare namespace index_d$m {
1198
- export { type ActionEvent$j as ActionEvent, type index_d$m_ActiveTimeInfo as ActiveTimeInfo, type index_d$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type index_d$m_AppliedDiscountRule as AppliedDiscountRule, index_d$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type index_d$m_BuyXGetYInfo as BuyXGetYInfo, type index_d$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type index_d$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type index_d$m_Custom as Custom, type index_d$m_CustomFilter as CustomFilter, type index_d$m_CustomerBuy as CustomerBuy, type index_d$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$m_CustomerGet as CustomerGet, type index_d$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type index_d$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type index_d$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$m_DiscountSettings as DiscountSettings, type index_d$m_DiscountTrigger as DiscountTrigger, type index_d$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type index_d$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type index_d$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type index_d$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type index_d$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type index_d$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type Scope$4 as Scope, type index_d$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type index_d$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type index_d$m_SubtotalRange as SubtotalRange, index_d$m_TriggerType as TriggerType, index_d$m_Type as Type, type index_d$m_UndeleteInfo as UndeleteInfo, type index_d$m_UpdateDiscountRule as UpdateDiscountRule, type index_d$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, index_d$m_createDiscountRule as createDiscountRule, index_d$m_deleteDiscountRule as deleteDiscountRule, index_d$m_getDiscountRule as getDiscountRule, index_d$m_onDiscountRuleCreated as onDiscountRuleCreated, index_d$m_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$m_onDiscountRuleUpdated as onDiscountRuleUpdated, index_d$m_queryDiscountRules as queryDiscountRules, index_d$m_updateDiscountRule as updateDiscountRule };
1196
+ export { type ActionEvent$j as ActionEvent, type index_d$m_ActiveTimeInfo as ActiveTimeInfo, type index_d$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type index_d$m_AppliedDiscountRule as AppliedDiscountRule, index_d$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type index_d$m_BuyXGetYInfo as BuyXGetYInfo, type index_d$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type index_d$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type index_d$m_Custom as Custom, type index_d$m_CustomFilter as CustomFilter, type index_d$m_CustomerBuy as CustomerBuy, type index_d$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$m_CustomerGet as CustomerGet, type index_d$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type index_d$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type index_d$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$m_DiscountSettings as DiscountSettings, type index_d$m_DiscountTrigger as DiscountTrigger, type index_d$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type index_d$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type index_d$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type index_d$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type index_d$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type index_d$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$i as RestoreInfo, type Scope$4 as Scope, type index_d$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type index_d$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type index_d$m_SubtotalRange as SubtotalRange, index_d$m_TriggerType as TriggerType, index_d$m_Type as Type, type index_d$m_UpdateDiscountRule as UpdateDiscountRule, type index_d$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, index_d$m_createDiscountRule as createDiscountRule, index_d$m_deleteDiscountRule as deleteDiscountRule, index_d$m_getDiscountRule as getDiscountRule, index_d$m_onDiscountRuleCreated as onDiscountRuleCreated, index_d$m_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$m_onDiscountRuleUpdated as onDiscountRuleUpdated, index_d$m_queryDiscountRules as queryDiscountRules, index_d$m_updateDiscountRule as updateDiscountRule };
1199
1197
  }
1200
1198
 
1201
1199
  interface Invoice {
@@ -11810,6 +11808,12 @@ interface CustomContentReference {
11810
11808
  */
11811
11809
  componentId?: string;
11812
11810
  }
11811
+ interface ExternalReference {
11812
+ /** ID of the app that associated with the purchase flow. */
11813
+ appId?: string;
11814
+ /** Reference to an external system ID, used to link the purchase flow to a specific ID in another system */
11815
+ resourceId?: string | null;
11816
+ }
11813
11817
  interface CreateCheckoutTemplateRequest {
11814
11818
  /** Checkout template to create. */
11815
11819
  checkoutTemplate: CheckoutTemplate;
@@ -13329,12 +13333,16 @@ interface CustomContentReferenceNonNullableFields {
13329
13333
  appId: string;
13330
13334
  componentId: string;
13331
13335
  }
13336
+ interface ExternalReferenceNonNullableFields {
13337
+ appId: string;
13338
+ }
13332
13339
  interface CheckoutTemplateNonNullableFields {
13333
13340
  status: Status$1;
13334
13341
  customization?: CheckoutCustomizationNonNullableFields;
13335
13342
  lineItems: V1LineItemNonNullableFields[];
13336
13343
  customLineItems: CustomLineItemNonNullableFields[];
13337
13344
  customContentReference?: CustomContentReferenceNonNullableFields;
13345
+ externalReference?: ExternalReferenceNonNullableFields;
13338
13346
  }
13339
13347
  interface CreateCheckoutTemplateResponseNonNullableFields {
13340
13348
  checkoutTemplate?: CheckoutTemplateNonNullableFields;
@@ -13566,6 +13574,7 @@ type index_d$c_CustomSettings = CustomSettings;
13566
13574
  type index_d$c_DeleteCheckoutTemplateRequest = DeleteCheckoutTemplateRequest;
13567
13575
  type index_d$c_DeleteCheckoutTemplateResponse = DeleteCheckoutTemplateResponse;
13568
13576
  type index_d$c_Description = Description;
13577
+ type index_d$c_ExternalReference = ExternalReference;
13569
13578
  type index_d$c_FallbackReason = FallbackReason;
13570
13579
  declare const index_d$c_FallbackReason: typeof FallbackReason;
13571
13580
  type index_d$c_GetCheckoutTemplateRequest = GetCheckoutTemplateRequest;
@@ -13631,7 +13640,7 @@ declare const index_d$c_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
13631
13640
  declare const index_d$c_queryCheckoutTemplates: typeof queryCheckoutTemplates;
13632
13641
  declare const index_d$c_updateCheckoutTemplate: typeof updateCheckoutTemplate;
13633
13642
  declare namespace index_d$c {
13634
- export { type ActionEvent$b as ActionEvent, type AdditionalFee$2 as AdditionalFee, type Address$5 as Address, type AddressLocation$4 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type index_d$c_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type ApplicationError$6 as ApplicationError, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type index_d$c_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$1 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$1 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$1 as CarrierError, type CarrierErrors$1 as CarrierErrors, type index_d$c_CarrierServiceOption as CarrierServiceOption, type index_d$c_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$2 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$1 as ChargeType, type index_d$c_Checkout as Checkout, type index_d$c_CheckoutCustomization as CheckoutCustomization, type index_d$c_CheckoutTemplate as CheckoutTemplate, type index_d$c_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$c_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$c_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$c_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$c_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$c_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$c_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$c_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$c_ConversionInfo as ConversionInfo, type Coupon$2 as Coupon, type index_d$c_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$c_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$c_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$c_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$c_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$c_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$c_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$c_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$8 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$8 as Cursors, type index_d$c_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$c_CustomSettings as CustomSettings, type index_d$c_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$c_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$2 as DeliveryLogistics, type DeliveryTimeSlot$2 as DeliveryTimeSlot, type index_d$c_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$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$9 as EventMetadata, type ExtendedFields$6 as ExtendedFields, index_d$c_FallbackReason as FallbackReason, type FieldViolation$2 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$2 as FullAddressContactDetails, type index_d$c_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$c_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$c_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$1 as GiftCard, type index_d$c_Group as Group, type index_d$c_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type index_d$c_InvalidMembership as InvalidMembership, type index_d$c_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$c_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItem$2 as LineItem, type LineItemDiscount$2 as LineItemDiscount, index_d$c_ManualCalculationReason as ManualCalculationReason, type index_d$c_Membership as Membership, type MembershipName$2 as MembershipName, type index_d$c_MembershipOptions as MembershipOptions, type index_d$c_MembershipPaymentCredits as MembershipPaymentCredits, type MerchantDiscount$2 as MerchantDiscount, type MessageEnvelope$b as MessageEnvelope, type index_d$c_MultiCurrencyPrice as MultiCurrencyPrice, index_d$c_NameInLineItem as NameInLineItem, index_d$c_NameInOther as NameInOther, type index_d$c_Other as Other, type index_d$c_OtherCharge as OtherCharge, PaymentOptionType$2 as PaymentOptionType, type PhysicalProperties$2 as PhysicalProperties, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$2 as PriceSummary, type ProductName$2 as ProductName, type index_d$c_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$c_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$c_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, index_d$c_RateType as RateType, type index_d$c_RawHttpResponse as RawHttpResponse, type index_d$c_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$b as RestoreInfo, RuleType$2 as RuleType, type index_d$c_Scope as Scope, type SecuredMedia$1 as SecuredMedia, type index_d$c_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d$c_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type index_d$c_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type index_d$c_SelectedMembership as SelectedMembership, type index_d$c_SelectedMemberships as SelectedMemberships, type ServiceProperties$1 as ServiceProperties, index_d$c_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$2 as ShippingOption, type ShippingPrice$2 as ShippingPrice, type ShippingRegion$2 as ShippingRegion, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, Status$1 as Status, type StreetAddress$4 as StreetAddress, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type index_d$c_Target as Target, type index_d$c_TargetLineItem as TargetLineItem, type index_d$c_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d$c_TaxBreakdown as TaxBreakdown, type index_d$c_TaxCalculationDetails as TaxCalculationDetails, type index_d$c_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type index_d$c_TaxRateBreakdown as TaxRateBreakdown, type TaxSummary$2 as TaxSummary, type index_d$c_Title as Title, type index_d$c_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$c_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$c_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$c_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$c_V1LineItem as V1LineItem, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, type index_d$c_Violation as Violation, type index_d$c_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$3 as WeightUnit, index_d$c_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$c_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$c_createCheckoutTemplate as createCheckoutTemplate, index_d$c_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$c_getCheckoutTemplate as getCheckoutTemplate, index_d$c_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$c_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$c_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$c_onCheckoutTemplateUsed as onCheckoutTemplateUsed, index_d$c_queryCheckoutTemplates as queryCheckoutTemplates, index_d$c_updateCheckoutTemplate as updateCheckoutTemplate };
13643
+ export { type ActionEvent$b as ActionEvent, type AdditionalFee$2 as AdditionalFee, type Address$5 as Address, type AddressLocation$4 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type index_d$c_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type ApplicationError$6 as ApplicationError, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type index_d$c_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$1 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$1 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$1 as CarrierError, type CarrierErrors$1 as CarrierErrors, type index_d$c_CarrierServiceOption as CarrierServiceOption, type index_d$c_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$2 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$1 as ChargeType, type index_d$c_Checkout as Checkout, type index_d$c_CheckoutCustomization as CheckoutCustomization, type index_d$c_CheckoutTemplate as CheckoutTemplate, type index_d$c_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$c_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$c_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$c_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$c_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$c_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$c_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$c_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$c_ConversionInfo as ConversionInfo, type Coupon$2 as Coupon, type index_d$c_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$c_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$c_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$c_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$c_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$c_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$c_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$c_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$8 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$8 as Cursors, type index_d$c_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$c_CustomSettings as CustomSettings, type index_d$c_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$c_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$2 as DeliveryLogistics, type DeliveryTimeSlot$2 as DeliveryTimeSlot, type index_d$c_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$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$9 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type index_d$c_ExternalReference as ExternalReference, index_d$c_FallbackReason as FallbackReason, type FieldViolation$2 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$2 as FullAddressContactDetails, type index_d$c_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$c_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$c_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$1 as GiftCard, type index_d$c_Group as Group, type index_d$c_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type index_d$c_InvalidMembership as InvalidMembership, type index_d$c_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$c_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItem$2 as LineItem, type LineItemDiscount$2 as LineItemDiscount, index_d$c_ManualCalculationReason as ManualCalculationReason, type index_d$c_Membership as Membership, type MembershipName$2 as MembershipName, type index_d$c_MembershipOptions as MembershipOptions, type index_d$c_MembershipPaymentCredits as MembershipPaymentCredits, type MerchantDiscount$2 as MerchantDiscount, type MessageEnvelope$b as MessageEnvelope, type index_d$c_MultiCurrencyPrice as MultiCurrencyPrice, index_d$c_NameInLineItem as NameInLineItem, index_d$c_NameInOther as NameInOther, type index_d$c_Other as Other, type index_d$c_OtherCharge as OtherCharge, PaymentOptionType$2 as PaymentOptionType, type PhysicalProperties$2 as PhysicalProperties, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$2 as PriceSummary, type ProductName$2 as ProductName, type index_d$c_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$c_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$c_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, index_d$c_RateType as RateType, type index_d$c_RawHttpResponse as RawHttpResponse, type index_d$c_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$b as RestoreInfo, RuleType$2 as RuleType, type index_d$c_Scope as Scope, type SecuredMedia$1 as SecuredMedia, type index_d$c_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d$c_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type index_d$c_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type index_d$c_SelectedMembership as SelectedMembership, type index_d$c_SelectedMemberships as SelectedMemberships, type ServiceProperties$1 as ServiceProperties, index_d$c_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$2 as ShippingOption, type ShippingPrice$2 as ShippingPrice, type ShippingRegion$2 as ShippingRegion, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, Status$1 as Status, type StreetAddress$4 as StreetAddress, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type index_d$c_Target as Target, type index_d$c_TargetLineItem as TargetLineItem, type index_d$c_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d$c_TaxBreakdown as TaxBreakdown, type index_d$c_TaxCalculationDetails as TaxCalculationDetails, type index_d$c_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type index_d$c_TaxRateBreakdown as TaxRateBreakdown, type TaxSummary$2 as TaxSummary, type index_d$c_Title as Title, type index_d$c_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$c_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$c_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$c_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$c_V1LineItem as V1LineItem, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, type index_d$c_Violation as Violation, type index_d$c_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$3 as WeightUnit, index_d$c_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$c_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$c_createCheckoutTemplate as createCheckoutTemplate, index_d$c_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$c_getCheckoutTemplate as getCheckoutTemplate, index_d$c_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$c_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$c_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$c_onCheckoutTemplateUsed as onCheckoutTemplateUsed, index_d$c_queryCheckoutTemplates as queryCheckoutTemplates, index_d$c_updateCheckoutTemplate as updateCheckoutTemplate };
13635
13644
  }
13636
13645
 
13637
13646
  /**
@@ -312,13 +312,11 @@ interface CustomFilter$1 {
312
312
  params?: Record<string, any> | null;
313
313
  }
314
314
  interface And$1 {
315
- /**
316
- * List of triggers.
317
- * Max: 5 triggers.
318
- */
315
+ /** List of triggers to have an "AND" operator between their results. */
319
316
  triggers?: DiscountTrigger$1[];
320
317
  }
321
318
  interface Or$1 {
319
+ /** List of triggers to have an "OR" operator between their results. */
322
320
  triggers?: DiscountTrigger$1[];
323
321
  }
324
322
  interface Custom$1 {
@@ -766,13 +764,11 @@ interface CustomFilter {
766
764
  params?: Record<string, any> | null;
767
765
  }
768
766
  interface And {
769
- /**
770
- * List of triggers.
771
- * Max: 5 triggers.
772
- */
767
+ /** List of triggers to have an "AND" operator between their results. */
773
768
  triggers?: DiscountTrigger[];
774
769
  }
775
770
  interface Or {
771
+ /** List of triggers to have an "OR" operator between their results. */
776
772
  triggers?: DiscountTrigger[];
777
773
  }
778
774
  interface Custom {
@@ -15447,12 +15443,16 @@ interface CustomContentReferenceNonNullableFields$1 {
15447
15443
  appId: string;
15448
15444
  componentId: string;
15449
15445
  }
15446
+ interface ExternalReferenceNonNullableFields$1 {
15447
+ appId: string;
15448
+ }
15450
15449
  interface CheckoutTemplateNonNullableFields$1 {
15451
15450
  status: Status$3;
15452
15451
  customization?: CheckoutCustomizationNonNullableFields$1;
15453
15452
  lineItems: V1LineItemNonNullableFields$1[];
15454
15453
  customLineItems: CustomLineItemNonNullableFields$1[];
15455
15454
  customContentReference?: CustomContentReferenceNonNullableFields$1;
15455
+ externalReference?: ExternalReferenceNonNullableFields$1;
15456
15456
  }
15457
15457
  interface CreateCheckoutTemplateResponseNonNullableFields$1 {
15458
15458
  checkoutTemplate?: CheckoutTemplateNonNullableFields$1;
@@ -16066,12 +16066,16 @@ interface CustomContentReferenceNonNullableFields {
16066
16066
  appId: string;
16067
16067
  componentId: string;
16068
16068
  }
16069
+ interface ExternalReferenceNonNullableFields {
16070
+ appId: string;
16071
+ }
16069
16072
  interface CheckoutTemplateNonNullableFields {
16070
16073
  status: Status$2;
16071
16074
  customization?: CheckoutCustomizationNonNullableFields;
16072
16075
  lineItems: V1LineItemNonNullableFields[];
16073
16076
  customLineItems: CustomLineItemNonNullableFields[];
16074
16077
  customContentReference?: CustomContentReferenceNonNullableFields;
16078
+ externalReference?: ExternalReferenceNonNullableFields;
16075
16079
  }
16076
16080
  interface CreateCheckoutTemplateResponseNonNullableFields {
16077
16081
  checkoutTemplate?: CheckoutTemplateNonNullableFields;
@@ -424,7 +424,11 @@ interface IdentificationDataIdOneOf$4 {
424
424
  }
425
425
 
426
426
  /**
427
- * Postal Code was missing from request
427
+ * Postal Code was missing from request.
428
+ This error should be returned when the postal code is missing from the request and it is impossible to calculate the shipping rates.
429
+ If it is returned in cases where the postal code exists, it will be ignored and considered as a bug in the carrier's implementation.
430
+ Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
431
+ Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
428
432
  */
429
433
  declare class MissingPostalCodeWixError extends Error {
430
434
  /** @hidden */
@@ -437,15 +441,17 @@ declare class MissingPostalCodeWixError extends Error {
437
441
  name: string;
438
442
  /** @hidden */
439
443
  errorSchemaName: string;
440
- /** @hidden */
441
- description: string;
442
444
  data: MissingPostalCodeError;
443
445
  constructor(data: MissingPostalCodeError);
444
446
  /** @hidden */
445
447
  static readonly __type = "wix_spi_error";
446
448
  }
447
449
  /**
448
- * Postal Code was invalid in request
450
+ * Postal Code was invalid.
451
+ This error should be returned when the postal code is invalid and it is impossible to calculate the shipping rates.
452
+ If it is returned in cases where the postal code is valid, it will be ignored and considered as a bug in the carrier's implementation.
453
+ Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
454
+ Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
449
455
  */
450
456
  declare class InvalidPostalCodeWixError extends Error {
451
457
  /** @hidden */
@@ -458,15 +464,17 @@ declare class InvalidPostalCodeWixError extends Error {
458
464
  name: string;
459
465
  /** @hidden */
460
466
  errorSchemaName: string;
461
- /** @hidden */
462
- description: string;
463
467
  data: InvalidPostalCodeError;
464
468
  constructor(data: InvalidPostalCodeError);
465
469
  /** @hidden */
466
470
  static readonly __type = "wix_spi_error";
467
471
  }
468
472
  /**
469
- * The provided address was incomplete
473
+ * The provided address was invalid.
474
+ This error is to indicate the system that more detailed information is needed (such as subdivision) in order to provide shipping rates.
475
+ This may happen in early stages of the purchase flow, where not all shipping address information has been collected yet.
476
+ Client, such as cart page, that receive this error can use it to customise the flow to ask for more detailed address information in order to get valid shipping rates.
477
+ Data is mandatory and should include the invalid fields in the address. for example: "ShippingDestination.subdivision".
470
478
  */
471
479
  declare class InvalidAddressWixError extends Error {
472
480
  /** @hidden */
@@ -479,15 +487,17 @@ declare class InvalidAddressWixError extends Error {
479
487
  name: string;
480
488
  /** @hidden */
481
489
  errorSchemaName: string;
482
- /** @hidden */
483
- description: string;
484
490
  data: InvalidAddressError;
485
491
  constructor(data: InvalidAddressError);
486
492
  /** @hidden */
487
493
  static readonly __type = "wix_spi_error";
488
494
  }
489
495
  /**
490
- * The provided address was incomplete
496
+ * Generic error for shipping rates calculation.
497
+ This error should be returned when there is a generic error in the shipping rates calculation that is not covered by the other errors.
498
+ Since this error is generic it is highly encouraged to provide error data that will help in debugging the issue.
499
+ If error data is provided, it will appear in the monitoring system but will not be exposed to the user.
500
+ This error may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
491
501
  */
492
502
  declare class GenericShippingRatesWixError extends Error {
493
503
  /** @hidden */
@@ -500,8 +510,6 @@ declare class GenericShippingRatesWixError extends Error {
500
510
  name: string;
501
511
  /** @hidden */
502
512
  errorSchemaName: string;
503
- /** @hidden */
504
- description: string;
505
513
  data: GenericShippingRatesError;
506
514
  constructor(data: GenericShippingRatesError);
507
515
  /** @hidden */
@@ -460,7 +460,11 @@ declare const provideHandlers$4: ServicePluginDefinition<{
460
460
  }>;
461
461
 
462
462
  /**
463
- * Postal Code was missing from request
463
+ * Postal Code was missing from request.
464
+ This error should be returned when the postal code is missing from the request and it is impossible to calculate the shipping rates.
465
+ If it is returned in cases where the postal code exists, it will be ignored and considered as a bug in the carrier's implementation.
466
+ Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
467
+ Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
464
468
  */
465
469
  declare class MissingPostalCodeWixError extends Error {
466
470
  /** @hidden */
@@ -473,15 +477,17 @@ declare class MissingPostalCodeWixError extends Error {
473
477
  name: string;
474
478
  /** @hidden */
475
479
  errorSchemaName: string;
476
- /** @hidden */
477
- description: string;
478
480
  data: MissingPostalCodeError;
479
481
  constructor(data: MissingPostalCodeError);
480
482
  /** @hidden */
481
483
  static readonly __type = "wix_spi_error";
482
484
  }
483
485
  /**
484
- * Postal Code was invalid in request
486
+ * Postal Code was invalid.
487
+ This error should be returned when the postal code is invalid and it is impossible to calculate the shipping rates.
488
+ If it is returned in cases where the postal code is valid, it will be ignored and considered as a bug in the carrier's implementation.
489
+ Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
490
+ Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
485
491
  */
486
492
  declare class InvalidPostalCodeWixError extends Error {
487
493
  /** @hidden */
@@ -494,15 +500,17 @@ declare class InvalidPostalCodeWixError extends Error {
494
500
  name: string;
495
501
  /** @hidden */
496
502
  errorSchemaName: string;
497
- /** @hidden */
498
- description: string;
499
503
  data: InvalidPostalCodeError;
500
504
  constructor(data: InvalidPostalCodeError);
501
505
  /** @hidden */
502
506
  static readonly __type = "wix_spi_error";
503
507
  }
504
508
  /**
505
- * The provided address was incomplete
509
+ * The provided address was invalid.
510
+ This error is to indicate the system that more detailed information is needed (such as subdivision) in order to provide shipping rates.
511
+ This may happen in early stages of the purchase flow, where not all shipping address information has been collected yet.
512
+ Client, such as cart page, that receive this error can use it to customise the flow to ask for more detailed address information in order to get valid shipping rates.
513
+ Data is mandatory and should include the invalid fields in the address. for example: "ShippingDestination.subdivision".
506
514
  */
507
515
  declare class InvalidAddressWixError extends Error {
508
516
  /** @hidden */
@@ -515,15 +523,17 @@ declare class InvalidAddressWixError extends Error {
515
523
  name: string;
516
524
  /** @hidden */
517
525
  errorSchemaName: string;
518
- /** @hidden */
519
- description: string;
520
526
  data: InvalidAddressError;
521
527
  constructor(data: InvalidAddressError);
522
528
  /** @hidden */
523
529
  static readonly __type = "wix_spi_error";
524
530
  }
525
531
  /**
526
- * The provided address was incomplete
532
+ * Generic error for shipping rates calculation.
533
+ This error should be returned when there is a generic error in the shipping rates calculation that is not covered by the other errors.
534
+ Since this error is generic it is highly encouraged to provide error data that will help in debugging the issue.
535
+ If error data is provided, it will appear in the monitoring system but will not be exposed to the user.
536
+ This error may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
527
537
  */
528
538
  declare class GenericShippingRatesWixError extends Error {
529
539
  /** @hidden */
@@ -536,8 +546,6 @@ declare class GenericShippingRatesWixError extends Error {
536
546
  name: string;
537
547
  /** @hidden */
538
548
  errorSchemaName: string;
539
- /** @hidden */
540
- description: string;
541
549
  data: GenericShippingRatesError;
542
550
  constructor(data: GenericShippingRatesError);
543
551
  /** @hidden */