@wix/ecom 1.0.709 → 1.0.710

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.
@@ -10557,6 +10557,11 @@ interface Checkout$1 {
10557
10557
  * Includes IDs for the app and the component providing the content
10558
10558
  */
10559
10559
  customContentReference?: CustomContentReference$3;
10560
+ /**
10561
+ * Used for integration and tracking across different platforms.
10562
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
10563
+ */
10564
+ externalReference?: ExternalReference$3;
10560
10565
  }
10561
10566
  interface LineItem$3 {
10562
10567
  /**
@@ -11742,6 +11747,12 @@ interface CustomContentReference$3 {
11742
11747
  */
11743
11748
  componentId?: string;
11744
11749
  }
11750
+ interface ExternalReference$3 {
11751
+ /** ID of the app that associated with the purchase flow. */
11752
+ appId?: string;
11753
+ /** Reference to an external system ID, used to link the purchase flow to a specific ID in another system */
11754
+ resourceId?: string | null;
11755
+ }
11745
11756
  interface CreateCheckoutRequest$1 {
11746
11757
  /** Checkout information. */
11747
11758
  checkoutInfo?: Checkout$1;
@@ -12648,6 +12659,11 @@ interface Checkout {
12648
12659
  * Includes IDs for the app and the component providing the content
12649
12660
  */
12650
12661
  customContentReference?: CustomContentReference$2;
12662
+ /**
12663
+ * Used for integration and tracking across different platforms.
12664
+ * Contains external system IDs (e.g., app ID, external ID) to link the checkout with other systems.
12665
+ */
12666
+ externalReference?: ExternalReference$2;
12651
12667
  }
12652
12668
  interface LineItem$2 {
12653
12669
  /**
@@ -13783,6 +13799,12 @@ interface CustomContentReference$2 {
13783
13799
  */
13784
13800
  componentId?: string;
13785
13801
  }
13802
+ interface ExternalReference$2 {
13803
+ /** ID of the app that associated with the purchase flow. */
13804
+ appId?: string;
13805
+ /** Reference to an external system ID, used to link the purchase flow to a specific ID in another system */
13806
+ resourceId?: string | null;
13807
+ }
13786
13808
  interface CreateCheckoutRequest {
13787
13809
  /** Checkout information. */
13788
13810
  checkoutInfo?: Checkout;
@@ -551,9 +551,18 @@ declare global {
551
551
  }
552
552
  }
553
553
 
554
+ interface GetShippingRatesEnvelope {
555
+ request: GetShippingRatesRequest;
556
+ metadata: Context$4;
557
+ }
558
+ declare const provideHandlers$9: ServicePluginDefinition<{
559
+ getShippingRates(payload: GetShippingRatesEnvelope): GetShippingRatesResponse | Promise<GetShippingRatesResponse>;
560
+ }>;
561
+
554
562
  declare function createServicePluginModule$4<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
555
563
 
556
- declare const provideHandlers$4: ReturnType<typeof createServicePluginModule$4<typeof publicProvideHandlers>>;
564
+ type _publicProvideHandlersType$4 = typeof provideHandlers$9;
565
+ declare const provideHandlers$8: ReturnType<typeof createServicePluginModule$4<_publicProvideHandlersType>>;
557
566
 
558
567
  type context$4_AdditionalCharge = AdditionalCharge;
559
568
  type context$4_AddressStreetOneOf = AddressStreetOneOf;
@@ -591,7 +600,7 @@ type context$4_Subdivision = Subdivision;
591
600
  type context$4_SubdivisionType = SubdivisionType;
592
601
  declare const context$4_SubdivisionType: typeof SubdivisionType;
593
602
  declare namespace context$4 {
594
- export { type context$4_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type context$4_AddressStreetOneOf as AddressStreetOneOf, type context$4_ApplicationError as ApplicationError, type CatalogReference$4 as CatalogReference, ChargeType$1 as ChargeType, type context$4_Column as Column, type Context$4 as Context, type context$4_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type context$4_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type context$4_FieldViolation as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$4_GenericShippingRatesError as GenericShippingRatesError, context$4_GenericShippingRatesWixError as GenericShippingRatesWixError, type context$4_GetDashboardTablesRequest as GetDashboardTablesRequest, type context$4_GetDashboardTablesResponse as GetDashboardTablesResponse, type context$4_GetShippingRatesRequest as GetShippingRatesRequest, type context$4_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, IdentityType$4 as IdentityType, type context$4_InvalidAddressError as InvalidAddressError, context$4_InvalidAddressWixError as InvalidAddressWixError, type context$4_InvalidPostalCodeError as InvalidPostalCodeError, context$4_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type context$4_MissingPostalCodeError as MissingPostalCodeError, context$4_MissingPostalCodeWixError as MissingPostalCodeWixError, type context$4_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type context$4_ProductItem as ProductItem, type context$4_RegionDashboardTables as RegionDashboardTables, type context$4_Row as Row, context$4_RuleType as RuleType, type context$4_ShippingOption as ShippingOption, type ShippingPrice$1 as ShippingPrice, type context$4_ShippingRatesConfig as ShippingRatesConfig, type context$4_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type context$4_Subdivision as Subdivision, context$4_SubdivisionType as SubdivisionType, type VatId$3 as VatId, VatType$3 as VatType, WeightUnit$2 as WeightUnit, provideHandlers$4 as provideHandlers };
603
+ export { type context$4_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type context$4_AddressStreetOneOf as AddressStreetOneOf, type context$4_ApplicationError as ApplicationError, type CatalogReference$4 as CatalogReference, ChargeType$1 as ChargeType, type context$4_Column as Column, type Context$4 as Context, type context$4_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type context$4_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type context$4_FieldViolation as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$4_GenericShippingRatesError as GenericShippingRatesError, context$4_GenericShippingRatesWixError as GenericShippingRatesWixError, type context$4_GetDashboardTablesRequest as GetDashboardTablesRequest, type context$4_GetDashboardTablesResponse as GetDashboardTablesResponse, type context$4_GetShippingRatesRequest as GetShippingRatesRequest, type context$4_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, IdentityType$4 as IdentityType, type context$4_InvalidAddressError as InvalidAddressError, context$4_InvalidAddressWixError as InvalidAddressWixError, type context$4_InvalidPostalCodeError as InvalidPostalCodeError, context$4_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type context$4_MissingPostalCodeError as MissingPostalCodeError, context$4_MissingPostalCodeWixError as MissingPostalCodeWixError, type context$4_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type context$4_ProductItem as ProductItem, type context$4_RegionDashboardTables as RegionDashboardTables, type context$4_Row as Row, context$4_RuleType as RuleType, type context$4_ShippingOption as ShippingOption, type ShippingPrice$1 as ShippingPrice, type context$4_ShippingRatesConfig as ShippingRatesConfig, type context$4_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type context$4_Subdivision as Subdivision, context$4_SubdivisionType as SubdivisionType, type VatId$3 as VatId, VatType$3 as VatType, WeightUnit$2 as WeightUnit, type _publicProvideHandlersType$4 as _publicProvideHandlersType, provideHandlers$8 as provideHandlers, provideHandlers$9 as publicProvideHandlers };
595
604
  }
596
605
 
597
606
  interface CalculateAdditionalFeesRequest {
@@ -972,9 +981,18 @@ interface IdentificationDataIdOneOf$3 {
972
981
  appId?: string;
973
982
  }
974
983
 
984
+ interface CalculateAdditionalFeesEnvelope {
985
+ request: CalculateAdditionalFeesRequest;
986
+ metadata: Context$3;
987
+ }
988
+ declare const provideHandlers$7: ServicePluginDefinition<{
989
+ calculateAdditionalFees(payload: CalculateAdditionalFeesEnvelope): CalculateAdditionalFeesResponse | Promise<CalculateAdditionalFeesResponse>;
990
+ }>;
991
+
975
992
  declare function createServicePluginModule$3<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
976
993
 
977
- declare const provideHandlers$3: ReturnType<typeof createServicePluginModule$3<typeof publicProvideHandlers>>;
994
+ type _publicProvideHandlersType$3 = typeof provideHandlers$7;
995
+ declare const provideHandlers$6: ReturnType<typeof createServicePluginModule$3<_publicProvideHandlersType>>;
978
996
 
979
997
  type context$3_AdditionalFeesSPIConfig = AdditionalFeesSPIConfig;
980
998
  type context$3_CalculateAdditionalFeesRequest = CalculateAdditionalFeesRequest;
@@ -984,7 +1002,7 @@ declare const context$3_ChargeType: typeof ChargeType;
984
1002
  type context$3_SelectedCarrierServiceOptionOtherCharge = SelectedCarrierServiceOptionOtherCharge;
985
1003
  type context$3_TaxDetails = TaxDetails;
986
1004
  declare namespace context$3 {
987
- export { type AdditionalFee$1 as AdditionalFee, type context$3_AdditionalFeesSPIConfig as AdditionalFeesSPIConfig, type Address$2 as Address, type AddressLocation$2 as AddressLocation, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type BuyerDetails$1 as BuyerDetails, type context$3_CalculateAdditionalFeesRequest as CalculateAdditionalFeesRequest, type context$3_CalculateAdditionalFeesResponse as CalculateAdditionalFeesResponse, type CatalogReference$3 as CatalogReference, context$3_ChargeType as ChargeType, type Context$3 as Context, type Coupon$2 as Coupon, type DeliveryLogistics$1 as DeliveryLogistics, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type FullAddressContactDetails$2 as FullAddressContactDetails, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, IdentityType$3 as IdentityType, type LineItem$2 as LineItem, type MerchantDiscount$2 as MerchantDiscount, type PhysicalProperties$2 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type context$3_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type ShippingInformation$1 as ShippingInformation, type StreetAddress$2 as StreetAddress, type context$3_TaxDetails as TaxDetails, type VatId$2 as VatId, VatType$2 as VatType, provideHandlers$3 as provideHandlers };
1005
+ export { type AdditionalFee$1 as AdditionalFee, type context$3_AdditionalFeesSPIConfig as AdditionalFeesSPIConfig, type Address$2 as Address, type AddressLocation$2 as AddressLocation, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type BuyerDetails$1 as BuyerDetails, type context$3_CalculateAdditionalFeesRequest as CalculateAdditionalFeesRequest, type context$3_CalculateAdditionalFeesResponse as CalculateAdditionalFeesResponse, type CatalogReference$3 as CatalogReference, context$3_ChargeType as ChargeType, type Context$3 as Context, type Coupon$2 as Coupon, type DeliveryLogistics$1 as DeliveryLogistics, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type FullAddressContactDetails$2 as FullAddressContactDetails, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, IdentityType$3 as IdentityType, type LineItem$2 as LineItem, type MerchantDiscount$2 as MerchantDiscount, type PhysicalProperties$2 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type context$3_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type ShippingInformation$1 as ShippingInformation, type StreetAddress$2 as StreetAddress, type context$3_TaxDetails as TaxDetails, type VatId$2 as VatId, VatType$2 as VatType, type _publicProvideHandlersType$3 as _publicProvideHandlersType, provideHandlers$6 as provideHandlers, provideHandlers$7 as publicProvideHandlers };
988
1006
  }
989
1007
 
990
1008
  interface CustomTrigger {
@@ -1125,9 +1143,23 @@ interface IdentificationDataIdOneOf$2 {
1125
1143
  appId?: string;
1126
1144
  }
1127
1145
 
1146
+ interface ListTriggersEnvelope {
1147
+ request: ListTriggersRequest;
1148
+ metadata: Context$2;
1149
+ }
1150
+ interface GetEligibleTriggersEnvelope {
1151
+ request: GetEligibleTriggersRequest;
1152
+ metadata: Context$2;
1153
+ }
1154
+ declare const provideHandlers$5: ServicePluginDefinition<{
1155
+ listTriggers(payload: ListTriggersEnvelope): ListTriggersResponse | Promise<ListTriggersResponse>;
1156
+ getEligibleTriggers(payload: GetEligibleTriggersEnvelope): GetEligibleTriggersResponse | Promise<GetEligibleTriggersResponse>;
1157
+ }>;
1158
+
1128
1159
  declare function createServicePluginModule$2<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
1129
1160
 
1130
- declare const provideHandlers$2: ReturnType<typeof createServicePluginModule$2<typeof publicProvideHandlers>>;
1161
+ type _publicProvideHandlersType$2 = typeof provideHandlers$5;
1162
+ declare const provideHandlers$4: ReturnType<typeof createServicePluginModule$2<_publicProvideHandlersType>>;
1131
1163
 
1132
1164
  type context$2_CustomTrigger = CustomTrigger;
1133
1165
  type context$2_CustomTriggerConfig = CustomTriggerConfig;
@@ -1139,7 +1171,7 @@ type context$2_ListTriggersResponse = ListTriggersResponse;
1139
1171
  type context$2_ListTriggersResponseCustomTrigger = ListTriggersResponseCustomTrigger;
1140
1172
  type context$2_TriggerToFilterBy = TriggerToFilterBy;
1141
1173
  declare namespace context$2 {
1142
- export { type CatalogReference$2 as CatalogReference, type Context$2 as Context, type context$2_CustomTrigger as CustomTrigger, type context$2_CustomTriggerConfig as CustomTriggerConfig, type context$2_EligibleTrigger as EligibleTrigger, type context$2_GetEligibleTriggersRequest as GetEligibleTriggersRequest, type context$2_GetEligibleTriggersResponse as GetEligibleTriggersResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type LineItem$1 as LineItem, type context$2_ListTriggersRequest as ListTriggersRequest, type context$2_ListTriggersResponse as ListTriggersResponse, type context$2_ListTriggersResponseCustomTrigger as ListTriggersResponseCustomTrigger, type context$2_TriggerToFilterBy as TriggerToFilterBy, provideHandlers$2 as provideHandlers };
1174
+ export { type CatalogReference$2 as CatalogReference, type Context$2 as Context, type context$2_CustomTrigger as CustomTrigger, type context$2_CustomTriggerConfig as CustomTriggerConfig, type context$2_EligibleTrigger as EligibleTrigger, type context$2_GetEligibleTriggersRequest as GetEligibleTriggersRequest, type context$2_GetEligibleTriggersResponse as GetEligibleTriggersResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type LineItem$1 as LineItem, type context$2_ListTriggersRequest as ListTriggersRequest, type context$2_ListTriggersResponse as ListTriggersResponse, type context$2_ListTriggersResponseCustomTrigger as ListTriggersResponseCustomTrigger, type context$2_TriggerToFilterBy as TriggerToFilterBy, type _publicProvideHandlersType$2 as _publicProvideHandlersType, provideHandlers$4 as provideHandlers, provideHandlers$5 as publicProvideHandlers };
1143
1175
  }
1144
1176
 
1145
1177
  interface GetPaymentSettingsRequest {
@@ -2527,9 +2559,18 @@ interface IdentificationDataIdOneOf$1 {
2527
2559
  appId?: string;
2528
2560
  }
2529
2561
 
2562
+ interface GetPaymentSettingsEnvelope {
2563
+ request: GetPaymentSettingsRequest;
2564
+ metadata: Context$1;
2565
+ }
2566
+ declare const provideHandlers$3: ServicePluginDefinition<{
2567
+ getPaymentSettings(payload: GetPaymentSettingsEnvelope): GetPaymentSettingsResponse | Promise<GetPaymentSettingsResponse>;
2568
+ }>;
2569
+
2530
2570
  declare function createServicePluginModule$1<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
2531
2571
 
2532
- declare const provideHandlers$1: ReturnType<typeof createServicePluginModule$1<typeof publicProvideHandlers>>;
2572
+ type _publicProvideHandlersType$1 = typeof provideHandlers$3;
2573
+ declare const provideHandlers$2: ReturnType<typeof createServicePluginModule$1<_publicProvideHandlersType>>;
2533
2574
 
2534
2575
  type context$1_Activity = Activity;
2535
2576
  type context$1_ActivityContentOneOf = ActivityContentOneOf;
@@ -2623,7 +2664,7 @@ type context$1_TotalPriceChange = TotalPriceChange;
2623
2664
  type context$1_TranslatedValue = TranslatedValue;
2624
2665
  type context$1_V1ShippingInformation = V1ShippingInformation;
2625
2666
  declare namespace context$1 {
2626
- export { type context$1_Activity as Activity, type context$1_ActivityContentOneOf as ActivityContentOneOf, context$1_ActivityType as ActivityType, type context$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, context$1_AttributionSource as AttributionSource, type context$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$1_Balance as Balance, type context$1_BalanceSummary as BalanceSummary, type context$1_BuyerInfo as BuyerInfo, type context$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type CatalogReference$1 as CatalogReference, type context$1_ChannelInfo as ChannelInfo, context$1_ChannelType as ChannelType, type context$1_Color as Color, type Context$1 as Context, type Coupon$1 as Coupon, type context$1_CreatedBy as CreatedBy, type context$1_CreatedByStringOneOf as CreatedByStringOneOf, type context$1_CustomActivity as CustomActivity, type CustomField$1 as CustomField, type context$1_DeliveryLogistics as DeliveryLogistics, type context$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type context$1_DeliveryTimeSlot as DeliveryTimeSlot, type context$1_DescriptionLine as DescriptionLine, type context$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$1_DescriptionLineName as DescriptionLineName, context$1_DescriptionLineType as DescriptionLineType, type context$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type context$1_DigitalFile as DigitalFile, context$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type context$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, context$1_FulfillmentStatus as FulfillmentStatus, type context$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type context$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type context$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type context$1_LineItemAmount as LineItemAmount, type context$1_LineItemChanges as LineItemChanges, type context$1_LineItemDiscount as LineItemDiscount, type context$1_LineItemExchangeData as LineItemExchangeData, type context$1_LineItemPriceChange as LineItemPriceChange, type context$1_LineItemQuantityChange as LineItemQuantityChange, context$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type context$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$1_LineItemTaxInfo as LineItemTaxInfo, type context$1_LocationAndQuantity as LocationAndQuantity, type context$1_ManagedAdditionalFee as ManagedAdditionalFee, type context$1_ManagedDiscount as ManagedDiscount, type context$1_ManagedLineItem as ManagedLineItem, type context$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type context$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type context$1_Order as Order, type context$1_OrderChange as OrderChange, type context$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$1_OrderLineItem as OrderLineItem, type context$1_OrderRefunded as OrderRefunded, context$1_OrderStatus as OrderStatus, type context$1_OrderTaxBreakdown as OrderTaxBreakdown, type context$1_OrderTaxInfo as OrderTaxInfo, context$1_PaymentOptionType as PaymentOptionType, type context$1_PaymentSettings as PaymentSettings, type context$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, context$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type context$1_PickupAddress as PickupAddress, type context$1_PickupDetails as PickupDetails, context$1_PickupMethod as PickupMethod, type context$1_PlainTextValue as PlainTextValue, type context$1_Price as Price, type context$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type context$1_SavedPaymentMethod as SavedPaymentMethod, type context$1_ShippingInformation as ShippingInformation, type context$1_ShippingInformationChange as ShippingInformationChange, type context$1_ShippingPrice as ShippingPrice, type context$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type context$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type context$1_TagList as TagList, type context$1_Tags as Tags, type context$1_TaxSummary as TaxSummary, type context$1_TotalPriceChange as TotalPriceChange, type context$1_TranslatedValue as TranslatedValue, type context$1_V1ShippingInformation as V1ShippingInformation, type VatId$1 as VatId, VatType$1 as VatType, WeightUnit$1 as WeightUnit, provideHandlers$1 as provideHandlers };
2667
+ export { type context$1_Activity as Activity, type context$1_ActivityContentOneOf as ActivityContentOneOf, context$1_ActivityType as ActivityType, type context$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, context$1_AttributionSource as AttributionSource, type context$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$1_Balance as Balance, type context$1_BalanceSummary as BalanceSummary, type context$1_BuyerInfo as BuyerInfo, type context$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type CatalogReference$1 as CatalogReference, type context$1_ChannelInfo as ChannelInfo, context$1_ChannelType as ChannelType, type context$1_Color as Color, type Context$1 as Context, type Coupon$1 as Coupon, type context$1_CreatedBy as CreatedBy, type context$1_CreatedByStringOneOf as CreatedByStringOneOf, type context$1_CustomActivity as CustomActivity, type CustomField$1 as CustomField, type context$1_DeliveryLogistics as DeliveryLogistics, type context$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type context$1_DeliveryTimeSlot as DeliveryTimeSlot, type context$1_DescriptionLine as DescriptionLine, type context$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$1_DescriptionLineName as DescriptionLineName, context$1_DescriptionLineType as DescriptionLineType, type context$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type context$1_DigitalFile as DigitalFile, context$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type context$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, context$1_FulfillmentStatus as FulfillmentStatus, type context$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type context$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type context$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type context$1_LineItemAmount as LineItemAmount, type context$1_LineItemChanges as LineItemChanges, type context$1_LineItemDiscount as LineItemDiscount, type context$1_LineItemExchangeData as LineItemExchangeData, type context$1_LineItemPriceChange as LineItemPriceChange, type context$1_LineItemQuantityChange as LineItemQuantityChange, context$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type context$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$1_LineItemTaxInfo as LineItemTaxInfo, type context$1_LocationAndQuantity as LocationAndQuantity, type context$1_ManagedAdditionalFee as ManagedAdditionalFee, type context$1_ManagedDiscount as ManagedDiscount, type context$1_ManagedLineItem as ManagedLineItem, type context$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type context$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type context$1_Order as Order, type context$1_OrderChange as OrderChange, type context$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$1_OrderLineItem as OrderLineItem, type context$1_OrderRefunded as OrderRefunded, context$1_OrderStatus as OrderStatus, type context$1_OrderTaxBreakdown as OrderTaxBreakdown, type context$1_OrderTaxInfo as OrderTaxInfo, context$1_PaymentOptionType as PaymentOptionType, type context$1_PaymentSettings as PaymentSettings, type context$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, context$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type context$1_PickupAddress as PickupAddress, type context$1_PickupDetails as PickupDetails, context$1_PickupMethod as PickupMethod, type context$1_PlainTextValue as PlainTextValue, type context$1_Price as Price, type context$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type context$1_SavedPaymentMethod as SavedPaymentMethod, type context$1_ShippingInformation as ShippingInformation, type context$1_ShippingInformationChange as ShippingInformationChange, type context$1_ShippingPrice as ShippingPrice, type context$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type context$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type context$1_TagList as TagList, type context$1_Tags as Tags, type context$1_TaxSummary as TaxSummary, type context$1_TotalPriceChange as TotalPriceChange, type context$1_TranslatedValue as TranslatedValue, type context$1_V1ShippingInformation as V1ShippingInformation, type VatId$1 as VatId, VatType$1 as VatType, WeightUnit$1 as WeightUnit, type _publicProvideHandlersType$1 as _publicProvideHandlersType, provideHandlers$2 as provideHandlers, provideHandlers$3 as publicProvideHandlers };
2627
2668
  }
2628
2669
 
2629
2670
  interface GetValidationViolationsRequest {
@@ -2637,6 +2678,8 @@ interface SourceInfo {
2637
2678
  source?: Source;
2638
2679
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
2639
2680
  purchaseFlowId?: string | null;
2681
+ /** The stage at which the service plugin is called. */
2682
+ stage?: Stage;
2640
2683
  }
2641
2684
  declare enum Source {
2642
2685
  /** Context cannot be recognized */
@@ -2700,6 +2743,11 @@ interface ValidationInfo {
2700
2743
  customFields?: CustomFields;
2701
2744
  /** Applied discounts. */
2702
2745
  appliedDiscounts?: AppliedDiscount[];
2746
+ /**
2747
+ * Used for integration and tracking across different platforms.
2748
+ * Contains external system IDs (e.g., app ID, external ID) to link the purchase flow with other systems.
2749
+ */
2750
+ externalReference?: ExternalReference;
2703
2751
  }
2704
2752
  interface BuyerDetails {
2705
2753
  /** Buyer's email address. */
@@ -3253,9 +3301,18 @@ interface IdentificationDataIdOneOf {
3253
3301
  appId?: string;
3254
3302
  }
3255
3303
 
3304
+ interface GetValidationViolationsEnvelope {
3305
+ request: GetValidationViolationsRequest;
3306
+ metadata: Context;
3307
+ }
3308
+ declare const provideHandlers$1: ServicePluginDefinition<{
3309
+ getValidationViolations(payload: GetValidationViolationsEnvelope): GetValidationViolationsResponse | Promise<GetValidationViolationsResponse>;
3310
+ }>;
3311
+
3256
3312
  declare function createServicePluginModule<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
3257
3313
 
3258
- declare const provideHandlers: ReturnType<typeof createServicePluginModule<typeof publicProvideHandlers>>;
3314
+ type _publicProvideHandlersType = typeof provideHandlers$1;
3315
+ declare const provideHandlers: ReturnType<typeof createServicePluginModule<_publicProvideHandlersType>>;
3259
3316
 
3260
3317
  type context_Address = Address;
3261
3318
  type context_AddressLocation = AddressLocation;
@@ -3332,9 +3389,10 @@ declare const context_VatType: typeof VatType;
3332
3389
  type context_Violation = Violation;
3333
3390
  type context_WeightUnit = WeightUnit;
3334
3391
  declare const context_WeightUnit: typeof WeightUnit;
3392
+ type context__publicProvideHandlersType = _publicProvideHandlersType;
3335
3393
  declare const context_provideHandlers: typeof provideHandlers;
3336
3394
  declare namespace context {
3337
- export { type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressWithContact as AddressWithContact, type context_AppliedDiscount as AppliedDiscount, type context_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context_BuyerDetails as BuyerDetails, type context_CatalogReference as CatalogReference, context_CheckoutStage as CheckoutStage, type context_Context as Context, type context_Coupon as Coupon, type context_CustomField as CustomField, type context_CustomFields as CustomFields, type context_Description as Description, type context_DiscountRule as DiscountRule, type context_DiscountRuleName as DiscountRuleName, context_DiscountType as DiscountType, type context_ExtendedFields as ExtendedFields, type context_ExternalReference as ExternalReference, type context_FullAddressContactDetails as FullAddressContactDetails, type context_GetValidationViolationsRequest as GetValidationViolationsRequest, type context_GetValidationViolationsResponse as GetValidationViolationsResponse, type context_GiftCard as GiftCard, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_ItemTaxFullDetails as ItemTaxFullDetails, type context_ItemType as ItemType, context_ItemTypeItemType as ItemTypeItemType, type context_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context_JurisdictionType as JurisdictionType, type context_LineItem as LineItem, type context_LineItemPricesData as LineItemPricesData, type context_MerchantDiscount as MerchantDiscount, type context_MultiCurrencyPrice as MultiCurrencyPrice, context_NameInLineItem as NameInLineItem, context_NameInOther as NameInOther, type context_Other as Other, type context_PhysicalProperties as PhysicalProperties, type context_PriceSummary as PriceSummary, type context_ProductName as ProductName, type context_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, context_Severity as Severity, type context_ShippingInfo as ShippingInfo, context_Source as Source, type context_SourceInfo as SourceInfo, type context_Stage as Stage, type context_StageStagesOneOf as StageStagesOneOf, type context_StreetAddress as StreetAddress, context_SubscriptionFrequency as SubscriptionFrequency, type context_SubscriptionOptionInfo as SubscriptionOptionInfo, type context_SubscriptionSettings as SubscriptionSettings, type context_Target as Target, type context_TargetLineItem as TargetLineItem, type context_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type context_TaxBreakdown as TaxBreakdown, type context_Title as Title, type context_ValidationInfo as ValidationInfo, type context_ValidationsSPIConfig as ValidationsSPIConfig, type context_VatId as VatId, context_VatType as VatType, type context_Violation as Violation, context_WeightUnit as WeightUnit, context_provideHandlers as provideHandlers };
3395
+ export { type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressWithContact as AddressWithContact, type context_AppliedDiscount as AppliedDiscount, type context_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context_BuyerDetails as BuyerDetails, type context_CatalogReference as CatalogReference, context_CheckoutStage as CheckoutStage, type context_Context as Context, type context_Coupon as Coupon, type context_CustomField as CustomField, type context_CustomFields as CustomFields, type context_Description as Description, type context_DiscountRule as DiscountRule, type context_DiscountRuleName as DiscountRuleName, context_DiscountType as DiscountType, type context_ExtendedFields as ExtendedFields, type context_ExternalReference as ExternalReference, type context_FullAddressContactDetails as FullAddressContactDetails, type context_GetValidationViolationsRequest as GetValidationViolationsRequest, type context_GetValidationViolationsResponse as GetValidationViolationsResponse, type context_GiftCard as GiftCard, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_ItemTaxFullDetails as ItemTaxFullDetails, type context_ItemType as ItemType, context_ItemTypeItemType as ItemTypeItemType, type context_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context_JurisdictionType as JurisdictionType, type context_LineItem as LineItem, type context_LineItemPricesData as LineItemPricesData, type context_MerchantDiscount as MerchantDiscount, type context_MultiCurrencyPrice as MultiCurrencyPrice, context_NameInLineItem as NameInLineItem, context_NameInOther as NameInOther, type context_Other as Other, type context_PhysicalProperties as PhysicalProperties, type context_PriceSummary as PriceSummary, type context_ProductName as ProductName, type context_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, context_Severity as Severity, type context_ShippingInfo as ShippingInfo, context_Source as Source, type context_SourceInfo as SourceInfo, type context_Stage as Stage, type context_StageStagesOneOf as StageStagesOneOf, type context_StreetAddress as StreetAddress, context_SubscriptionFrequency as SubscriptionFrequency, type context_SubscriptionOptionInfo as SubscriptionOptionInfo, type context_SubscriptionSettings as SubscriptionSettings, type context_Target as Target, type context_TargetLineItem as TargetLineItem, type context_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type context_TaxBreakdown as TaxBreakdown, type context_Title as Title, type context_ValidationInfo as ValidationInfo, type context_ValidationsSPIConfig as ValidationsSPIConfig, type context_VatId as VatId, context_VatType as VatType, type context_Violation as Violation, context_WeightUnit as WeightUnit, type context__publicProvideHandlersType as _publicProvideHandlersType, context_provideHandlers as provideHandlers, provideHandlers$1 as publicProvideHandlers };
3338
3396
  }
3339
3397
 
3340
3398
  export { context$3 as additionalFees, context$2 as customTriggers, context$1 as paymentSettings, context$4 as shippingRates, context as validations };
@@ -2662,6 +2662,8 @@ interface SourceInfo {
2662
2662
  source?: Source;
2663
2663
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
2664
2664
  purchaseFlowId?: string | null;
2665
+ /** The stage at which the service plugin is called. */
2666
+ stage?: Stage;
2665
2667
  }
2666
2668
  declare enum Source {
2667
2669
  /** Context cannot be recognized */
@@ -2725,6 +2727,11 @@ interface ValidationInfo {
2725
2727
  customFields?: CustomFields;
2726
2728
  /** Applied discounts. */
2727
2729
  appliedDiscounts?: AppliedDiscount[];
2730
+ /**
2731
+ * Used for integration and tracking across different platforms.
2732
+ * Contains external system IDs (e.g., app ID, external ID) to link the purchase flow with other systems.
2733
+ */
2734
+ externalReference?: ExternalReference;
2728
2735
  }
2729
2736
  interface BuyerDetails {
2730
2737
  /** Buyer's email address. */