@wix/ecom 1.0.720 → 1.0.721

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.
@@ -28,7 +28,7 @@ interface ProductItem {
28
28
  /** The number of items ordered. */
29
29
  quantity?: number;
30
30
  /** Reference to the item's origin catalog. */
31
- catalogReference?: CatalogReference$4;
31
+ catalogReference?: CatalogReference$5;
32
32
  /** Physical properties of the item. */
33
33
  physicalProperties?: PhysicalProperties$3;
34
34
  /** Price of a single item after discounts. */
@@ -47,7 +47,7 @@ interface ProductItem {
47
47
  taxIncludedInPrice?: boolean | null;
48
48
  }
49
49
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
50
- interface CatalogReference$4 {
50
+ interface CatalogReference$5 {
51
51
  /** ID of the item within the catalog it belongs to. */
52
52
  catalogItemId?: string;
53
53
  /**
@@ -380,26 +380,26 @@ interface ShippingRatesConfig {
380
380
  * }
381
381
  * ```
382
382
  */
383
- interface Context$4 {
383
+ interface Context$5 {
384
384
  /** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
385
385
  requestId?: string | null;
386
386
  /** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
387
387
  currency?: string | null;
388
388
  /** An object that describes the identity that triggered this request. */
389
- identity?: IdentificationData$4;
389
+ identity?: IdentificationData$5;
390
390
  /** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
391
391
  languages?: string[];
392
392
  /** The service provider app's instance ID. */
393
393
  instanceId?: string | null;
394
394
  }
395
- declare enum IdentityType$4 {
395
+ declare enum IdentityType$5 {
396
396
  UNKNOWN = "UNKNOWN",
397
397
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
398
398
  MEMBER = "MEMBER",
399
399
  WIX_USER = "WIX_USER",
400
400
  APP = "APP"
401
401
  }
402
- interface IdentificationData$4 extends IdentificationDataIdOneOf$4 {
402
+ interface IdentificationData$5 extends IdentificationDataIdOneOf$5 {
403
403
  /** ID of a site visitor that has not logged in to the site. */
404
404
  anonymousVisitorId?: string;
405
405
  /** ID of a site visitor that has logged in to the site. */
@@ -409,10 +409,10 @@ interface IdentificationData$4 extends IdentificationDataIdOneOf$4 {
409
409
  /** ID of an app. */
410
410
  appId?: string;
411
411
  /** @readonly */
412
- identityType?: IdentityType$4;
412
+ identityType?: IdentityType$5;
413
413
  }
414
414
  /** @oneof */
415
- interface IdentificationDataIdOneOf$4 {
415
+ interface IdentificationDataIdOneOf$5 {
416
416
  /** ID of a site visitor that has not logged in to the site. */
417
417
  anonymousVisitorId?: string;
418
418
  /** ID of a site visitor that has logged in to the site. */
@@ -553,9 +553,9 @@ declare global {
553
553
 
554
554
  interface GetShippingRatesEnvelope {
555
555
  request: GetShippingRatesRequest;
556
- metadata: Context$4;
556
+ metadata: Context$5;
557
557
  }
558
- declare const provideHandlers$9: ServicePluginDefinition<{
558
+ declare const provideHandlers$b: ServicePluginDefinition<{
559
559
  /**
560
560
  *
561
561
  * This method retrieves applicable shipping rates for a delivery from your app.
@@ -564,48 +564,48 @@ declare const provideHandlers$9: ServicePluginDefinition<{
564
564
  getShippingRates(payload: GetShippingRatesEnvelope): GetShippingRatesResponse | Promise<GetShippingRatesResponse>;
565
565
  }>;
566
566
 
567
- declare function createServicePluginModule$4<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
567
+ declare function createServicePluginModule$5<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
568
568
 
569
- type _publicProvideHandlersType$4 = typeof provideHandlers$9;
570
- declare const provideHandlers$8: ReturnType<typeof createServicePluginModule$4<_publicProvideHandlersType>>;
569
+ type _publicProvideHandlersType$5 = typeof provideHandlers$b;
570
+ declare const provideHandlers$a: ReturnType<typeof createServicePluginModule$5<_publicProvideHandlersType>>;
571
571
 
572
- type context$4_AdditionalCharge = AdditionalCharge;
573
- type context$4_AddressStreetOneOf = AddressStreetOneOf;
574
- type context$4_ApplicationError = ApplicationError;
575
- type context$4_Column = Column;
576
- type context$4_DashboardTable = DashboardTable;
577
- type context$4_DeliveryPreferences = DeliveryPreferences;
578
- type context$4_FieldViolation = FieldViolation;
579
- type context$4_GenericShippingRatesError = GenericShippingRatesError;
580
- type context$4_GenericShippingRatesWixError = GenericShippingRatesWixError;
581
- declare const context$4_GenericShippingRatesWixError: typeof GenericShippingRatesWixError;
582
- type context$4_GetDashboardTablesRequest = GetDashboardTablesRequest;
583
- type context$4_GetDashboardTablesResponse = GetDashboardTablesResponse;
584
- type context$4_GetShippingRatesRequest = GetShippingRatesRequest;
585
- type context$4_GetShippingRatesResponse = GetShippingRatesResponse;
586
- type context$4_InvalidAddressError = InvalidAddressError;
587
- type context$4_InvalidAddressWixError = InvalidAddressWixError;
588
- declare const context$4_InvalidAddressWixError: typeof InvalidAddressWixError;
589
- type context$4_InvalidPostalCodeError = InvalidPostalCodeError;
590
- type context$4_InvalidPostalCodeWixError = InvalidPostalCodeWixError;
591
- declare const context$4_InvalidPostalCodeWixError: typeof InvalidPostalCodeWixError;
592
- type context$4_MissingPostalCodeError = MissingPostalCodeError;
593
- type context$4_MissingPostalCodeWixError = MissingPostalCodeWixError;
594
- declare const context$4_MissingPostalCodeWixError: typeof MissingPostalCodeWixError;
595
- type context$4_PartialOption = PartialOption;
596
- type context$4_ProductItem = ProductItem;
597
- type context$4_RegionDashboardTables = RegionDashboardTables;
598
- type context$4_Row = Row;
599
- type context$4_RuleType = RuleType;
600
- declare const context$4_RuleType: typeof RuleType;
601
- type context$4_ShippingOption = ShippingOption;
602
- type context$4_ShippingRatesConfig = ShippingRatesConfig;
603
- type context$4_StandardDetails = StandardDetails;
604
- type context$4_Subdivision = Subdivision;
605
- type context$4_SubdivisionType = SubdivisionType;
606
- declare const context$4_SubdivisionType: typeof SubdivisionType;
607
- declare namespace context$4 {
608
- 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 };
572
+ type context$5_AdditionalCharge = AdditionalCharge;
573
+ type context$5_AddressStreetOneOf = AddressStreetOneOf;
574
+ type context$5_ApplicationError = ApplicationError;
575
+ type context$5_Column = Column;
576
+ type context$5_DashboardTable = DashboardTable;
577
+ type context$5_DeliveryPreferences = DeliveryPreferences;
578
+ type context$5_FieldViolation = FieldViolation;
579
+ type context$5_GenericShippingRatesError = GenericShippingRatesError;
580
+ type context$5_GenericShippingRatesWixError = GenericShippingRatesWixError;
581
+ declare const context$5_GenericShippingRatesWixError: typeof GenericShippingRatesWixError;
582
+ type context$5_GetDashboardTablesRequest = GetDashboardTablesRequest;
583
+ type context$5_GetDashboardTablesResponse = GetDashboardTablesResponse;
584
+ type context$5_GetShippingRatesRequest = GetShippingRatesRequest;
585
+ type context$5_GetShippingRatesResponse = GetShippingRatesResponse;
586
+ type context$5_InvalidAddressError = InvalidAddressError;
587
+ type context$5_InvalidAddressWixError = InvalidAddressWixError;
588
+ declare const context$5_InvalidAddressWixError: typeof InvalidAddressWixError;
589
+ type context$5_InvalidPostalCodeError = InvalidPostalCodeError;
590
+ type context$5_InvalidPostalCodeWixError = InvalidPostalCodeWixError;
591
+ declare const context$5_InvalidPostalCodeWixError: typeof InvalidPostalCodeWixError;
592
+ type context$5_MissingPostalCodeError = MissingPostalCodeError;
593
+ type context$5_MissingPostalCodeWixError = MissingPostalCodeWixError;
594
+ declare const context$5_MissingPostalCodeWixError: typeof MissingPostalCodeWixError;
595
+ type context$5_PartialOption = PartialOption;
596
+ type context$5_ProductItem = ProductItem;
597
+ type context$5_RegionDashboardTables = RegionDashboardTables;
598
+ type context$5_Row = Row;
599
+ type context$5_RuleType = RuleType;
600
+ declare const context$5_RuleType: typeof RuleType;
601
+ type context$5_ShippingOption = ShippingOption;
602
+ type context$5_ShippingRatesConfig = ShippingRatesConfig;
603
+ type context$5_StandardDetails = StandardDetails;
604
+ type context$5_Subdivision = Subdivision;
605
+ type context$5_SubdivisionType = SubdivisionType;
606
+ declare const context$5_SubdivisionType: typeof SubdivisionType;
607
+ declare namespace context$5 {
608
+ export { type context$5_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type context$5_AddressStreetOneOf as AddressStreetOneOf, type context$5_ApplicationError as ApplicationError, type CatalogReference$5 as CatalogReference, ChargeType$1 as ChargeType, type context$5_Column as Column, type Context$5 as Context, type context$5_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type context$5_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type context$5_FieldViolation as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type context$5_GenericShippingRatesError as GenericShippingRatesError, context$5_GenericShippingRatesWixError as GenericShippingRatesWixError, type context$5_GetDashboardTablesRequest as GetDashboardTablesRequest, type context$5_GetDashboardTablesResponse as GetDashboardTablesResponse, type context$5_GetShippingRatesRequest as GetShippingRatesRequest, type context$5_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, IdentityType$5 as IdentityType, type context$5_InvalidAddressError as InvalidAddressError, context$5_InvalidAddressWixError as InvalidAddressWixError, type context$5_InvalidPostalCodeError as InvalidPostalCodeError, context$5_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type context$5_MissingPostalCodeError as MissingPostalCodeError, context$5_MissingPostalCodeWixError as MissingPostalCodeWixError, type context$5_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type context$5_ProductItem as ProductItem, type context$5_RegionDashboardTables as RegionDashboardTables, type context$5_Row as Row, context$5_RuleType as RuleType, type context$5_ShippingOption as ShippingOption, type ShippingPrice$1 as ShippingPrice, type context$5_ShippingRatesConfig as ShippingRatesConfig, type context$5_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type context$5_Subdivision as Subdivision, context$5_SubdivisionType as SubdivisionType, type VatId$3 as VatId, VatType$3 as VatType, WeightUnit$2 as WeightUnit, type _publicProvideHandlersType$5 as _publicProvideHandlersType, provideHandlers$a as provideHandlers, provideHandlers$b as publicProvideHandlers };
609
609
  }
610
610
 
611
611
  interface CalculateAdditionalFeesRequest {
@@ -614,7 +614,7 @@ interface CalculateAdditionalFeesRequest {
614
614
  *
615
615
  * Max: 300 items
616
616
  */
617
- lineItems?: LineItem$2[];
617
+ lineItems?: LineItem$3[];
618
618
  /** Shipping address. */
619
619
  shippingAddress?: Address$2;
620
620
  /** Information about the buyer, such as contact details. */
@@ -626,7 +626,7 @@ interface CalculateAdditionalFeesRequest {
626
626
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
627
627
  purchaseFlowId?: string | null;
628
628
  }
629
- interface LineItem$2 {
629
+ interface LineItem$3 {
630
630
  /** Line item ID. */
631
631
  _id?: string;
632
632
  /**
@@ -637,7 +637,7 @@ interface LineItem$2 {
637
637
  */
638
638
  quantity?: number | null;
639
639
  /** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. */
640
- catalogReference?: CatalogReference$3;
640
+ catalogReference?: CatalogReference$4;
641
641
  /** Item name. */
642
642
  productName?: string | null;
643
643
  /** Price for a single item. */
@@ -651,7 +651,7 @@ interface LineItem$2 {
651
651
  depositAmount?: string | null;
652
652
  }
653
653
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
654
- interface CatalogReference$3 {
654
+ interface CatalogReference$4 {
655
655
  /** ID of the item within the catalog it belongs to. */
656
656
  catalogItemId?: string;
657
657
  /**
@@ -943,26 +943,26 @@ interface AdditionalFeesSPIConfig {
943
943
  * }
944
944
  * ```
945
945
  */
946
- interface Context$3 {
946
+ interface Context$4 {
947
947
  /** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
948
948
  requestId?: string | null;
949
949
  /** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
950
950
  currency?: string | null;
951
951
  /** An object that describes the identity that triggered this request. */
952
- identity?: IdentificationData$3;
952
+ identity?: IdentificationData$4;
953
953
  /** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
954
954
  languages?: string[];
955
955
  /** The service provider app's instance ID. */
956
956
  instanceId?: string | null;
957
957
  }
958
- declare enum IdentityType$3 {
958
+ declare enum IdentityType$4 {
959
959
  UNKNOWN = "UNKNOWN",
960
960
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
961
961
  MEMBER = "MEMBER",
962
962
  WIX_USER = "WIX_USER",
963
963
  APP = "APP"
964
964
  }
965
- interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
965
+ interface IdentificationData$4 extends IdentificationDataIdOneOf$4 {
966
966
  /** ID of a site visitor that has not logged in to the site. */
967
967
  anonymousVisitorId?: string;
968
968
  /** ID of a site visitor that has logged in to the site. */
@@ -972,10 +972,10 @@ interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
972
972
  /** ID of an app. */
973
973
  appId?: string;
974
974
  /** @readonly */
975
- identityType?: IdentityType$3;
975
+ identityType?: IdentityType$4;
976
976
  }
977
977
  /** @oneof */
978
- interface IdentificationDataIdOneOf$3 {
978
+ interface IdentificationDataIdOneOf$4 {
979
979
  /** ID of a site visitor that has not logged in to the site. */
980
980
  anonymousVisitorId?: string;
981
981
  /** ID of a site visitor that has logged in to the site. */
@@ -988,9 +988,9 @@ interface IdentificationDataIdOneOf$3 {
988
988
 
989
989
  interface CalculateAdditionalFeesEnvelope {
990
990
  request: CalculateAdditionalFeesRequest;
991
- metadata: Context$3;
991
+ metadata: Context$4;
992
992
  }
993
- declare const provideHandlers$7: ServicePluginDefinition<{
993
+ declare const provideHandlers$9: ServicePluginDefinition<{
994
994
  /**
995
995
  *
996
996
  * This method retrieves additional fees calculated by your app.
@@ -1002,20 +1002,20 @@ declare const provideHandlers$7: ServicePluginDefinition<{
1002
1002
  calculateAdditionalFees(payload: CalculateAdditionalFeesEnvelope): CalculateAdditionalFeesResponse | Promise<CalculateAdditionalFeesResponse>;
1003
1003
  }>;
1004
1004
 
1005
- declare function createServicePluginModule$3<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
1005
+ declare function createServicePluginModule$4<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
1006
1006
 
1007
- type _publicProvideHandlersType$3 = typeof provideHandlers$7;
1008
- declare const provideHandlers$6: ReturnType<typeof createServicePluginModule$3<_publicProvideHandlersType>>;
1007
+ type _publicProvideHandlersType$4 = typeof provideHandlers$9;
1008
+ declare const provideHandlers$8: ReturnType<typeof createServicePluginModule$4<_publicProvideHandlersType>>;
1009
1009
 
1010
- type context$3_AdditionalFeesSPIConfig = AdditionalFeesSPIConfig;
1011
- type context$3_CalculateAdditionalFeesRequest = CalculateAdditionalFeesRequest;
1012
- type context$3_CalculateAdditionalFeesResponse = CalculateAdditionalFeesResponse;
1013
- type context$3_ChargeType = ChargeType;
1014
- declare const context$3_ChargeType: typeof ChargeType;
1015
- type context$3_SelectedCarrierServiceOptionOtherCharge = SelectedCarrierServiceOptionOtherCharge;
1016
- type context$3_TaxDetails = TaxDetails;
1017
- declare namespace context$3 {
1018
- 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 };
1010
+ type context$4_AdditionalFeesSPIConfig = AdditionalFeesSPIConfig;
1011
+ type context$4_CalculateAdditionalFeesRequest = CalculateAdditionalFeesRequest;
1012
+ type context$4_CalculateAdditionalFeesResponse = CalculateAdditionalFeesResponse;
1013
+ type context$4_ChargeType = ChargeType;
1014
+ declare const context$4_ChargeType: typeof ChargeType;
1015
+ type context$4_SelectedCarrierServiceOptionOtherCharge = SelectedCarrierServiceOptionOtherCharge;
1016
+ type context$4_TaxDetails = TaxDetails;
1017
+ declare namespace context$4 {
1018
+ export { type AdditionalFee$1 as AdditionalFee, type context$4_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$4_CalculateAdditionalFeesRequest as CalculateAdditionalFeesRequest, type context$4_CalculateAdditionalFeesResponse as CalculateAdditionalFeesResponse, type CatalogReference$4 as CatalogReference, context$4_ChargeType as ChargeType, type Context$4 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$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, IdentityType$4 as IdentityType, type LineItem$3 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$4_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type ShippingInformation$1 as ShippingInformation, type StreetAddress$2 as StreetAddress, type context$4_TaxDetails as TaxDetails, type VatId$2 as VatId, VatType$2 as VatType, type _publicProvideHandlersType$4 as _publicProvideHandlersType, provideHandlers$8 as provideHandlers, provideHandlers$9 as publicProvideHandlers };
1019
1019
  }
1020
1020
 
1021
1021
  interface CustomTrigger {
@@ -1036,13 +1036,13 @@ interface ListTriggersResponseCustomTrigger {
1036
1036
  }
1037
1037
  interface GetEligibleTriggersRequest {
1038
1038
  /** List of line items in the cart/checkout. */
1039
- lineItems?: LineItem$1[];
1039
+ lineItems?: LineItem$2[];
1040
1040
  /** List of triggers to be checked for discount eligibility. */
1041
1041
  triggers?: TriggerToFilterBy[];
1042
1042
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
1043
1043
  purchaseFlowId?: string | null;
1044
1044
  }
1045
- interface LineItem$1 {
1045
+ interface LineItem$2 {
1046
1046
  /** Line item ID. */
1047
1047
  _id?: string;
1048
1048
  /** Item quantity in this line item. */
@@ -1051,12 +1051,12 @@ interface LineItem$1 {
1051
1051
  * Catalog and item reference. Holds IDs for the item and the catalog it came from, as well as further optional info.
1052
1052
  * This field is empty in the case of a custom line item.
1053
1053
  */
1054
- catalogReference?: CatalogReference$2;
1054
+ catalogReference?: CatalogReference$3;
1055
1055
  /** Price of a single item. */
1056
1056
  price?: string;
1057
1057
  }
1058
1058
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
1059
- interface CatalogReference$2 {
1059
+ interface CatalogReference$3 {
1060
1060
  /** ID of the item within the catalog it belongs to. */
1061
1061
  catalogItemId?: string;
1062
1062
  /**
@@ -1113,26 +1113,26 @@ interface CustomTriggerConfig {
1113
1113
  * }
1114
1114
  * ```
1115
1115
  */
1116
- interface Context$2 {
1116
+ interface Context$3 {
1117
1117
  /** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
1118
1118
  requestId?: string | null;
1119
1119
  /** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
1120
1120
  currency?: string | null;
1121
1121
  /** An object that describes the identity that triggered this request. */
1122
- identity?: IdentificationData$2;
1122
+ identity?: IdentificationData$3;
1123
1123
  /** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
1124
1124
  languages?: string[];
1125
1125
  /** The service provider app's instance ID. */
1126
1126
  instanceId?: string | null;
1127
1127
  }
1128
- declare enum IdentityType$2 {
1128
+ declare enum IdentityType$3 {
1129
1129
  UNKNOWN = "UNKNOWN",
1130
1130
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1131
1131
  MEMBER = "MEMBER",
1132
1132
  WIX_USER = "WIX_USER",
1133
1133
  APP = "APP"
1134
1134
  }
1135
- interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
1135
+ interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
1136
1136
  /** ID of a site visitor that has not logged in to the site. */
1137
1137
  anonymousVisitorId?: string;
1138
1138
  /** ID of a site visitor that has logged in to the site. */
@@ -1142,10 +1142,10 @@ interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
1142
1142
  /** ID of an app. */
1143
1143
  appId?: string;
1144
1144
  /** @readonly */
1145
- identityType?: IdentityType$2;
1145
+ identityType?: IdentityType$3;
1146
1146
  }
1147
1147
  /** @oneof */
1148
- interface IdentificationDataIdOneOf$2 {
1148
+ interface IdentificationDataIdOneOf$3 {
1149
1149
  /** ID of a site visitor that has not logged in to the site. */
1150
1150
  anonymousVisitorId?: string;
1151
1151
  /** ID of a site visitor that has logged in to the site. */
@@ -1158,13 +1158,13 @@ interface IdentificationDataIdOneOf$2 {
1158
1158
 
1159
1159
  interface ListTriggersEnvelope {
1160
1160
  request: ListTriggersRequest;
1161
- metadata: Context$2;
1161
+ metadata: Context$3;
1162
1162
  }
1163
1163
  interface GetEligibleTriggersEnvelope {
1164
1164
  request: GetEligibleTriggersRequest;
1165
- metadata: Context$2;
1165
+ metadata: Context$3;
1166
1166
  }
1167
- declare const provideHandlers$5: ServicePluginDefinition<{
1167
+ declare const provideHandlers$7: ServicePluginDefinition<{
1168
1168
  /**
1169
1169
  *
1170
1170
  * Lists all custom triggers provided by your service plugin integration.
@@ -1180,22 +1180,262 @@ declare const provideHandlers$5: ServicePluginDefinition<{
1180
1180
  getEligibleTriggers(payload: GetEligibleTriggersEnvelope): GetEligibleTriggersResponse | Promise<GetEligibleTriggersResponse>;
1181
1181
  }>;
1182
1182
 
1183
+ declare function createServicePluginModule$3<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
1184
+
1185
+ type _publicProvideHandlersType$3 = typeof provideHandlers$7;
1186
+ declare const provideHandlers$6: ReturnType<typeof createServicePluginModule$3<_publicProvideHandlersType>>;
1187
+
1188
+ type context$3_CustomTrigger = CustomTrigger;
1189
+ type context$3_CustomTriggerConfig = CustomTriggerConfig;
1190
+ type context$3_EligibleTrigger = EligibleTrigger;
1191
+ type context$3_GetEligibleTriggersRequest = GetEligibleTriggersRequest;
1192
+ type context$3_GetEligibleTriggersResponse = GetEligibleTriggersResponse;
1193
+ type context$3_ListTriggersRequest = ListTriggersRequest;
1194
+ type context$3_ListTriggersResponse = ListTriggersResponse;
1195
+ type context$3_ListTriggersResponseCustomTrigger = ListTriggersResponseCustomTrigger;
1196
+ type context$3_TriggerToFilterBy = TriggerToFilterBy;
1197
+ declare namespace context$3 {
1198
+ export { type CatalogReference$3 as CatalogReference, type Context$3 as Context, type context$3_CustomTrigger as CustomTrigger, type context$3_CustomTriggerConfig as CustomTriggerConfig, type context$3_EligibleTrigger as EligibleTrigger, type context$3_GetEligibleTriggersRequest as GetEligibleTriggersRequest, type context$3_GetEligibleTriggersResponse as GetEligibleTriggersResponse, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, IdentityType$3 as IdentityType, type LineItem$2 as LineItem, type context$3_ListTriggersRequest as ListTriggersRequest, type context$3_ListTriggersResponse as ListTriggersResponse, type context$3_ListTriggersResponseCustomTrigger as ListTriggersResponseCustomTrigger, type context$3_TriggerToFilterBy as TriggerToFilterBy, type _publicProvideHandlersType$3 as _publicProvideHandlersType, provideHandlers$6 as provideHandlers, provideHandlers$7 as publicProvideHandlers };
1199
+ }
1200
+
1201
+ interface GetEligibleDiscountsRequest {
1202
+ /** Line items */
1203
+ lineItems?: LineItem$1[];
1204
+ /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
1205
+ purchaseFlowId?: string | null;
1206
+ /** Number of coupons is limited to 1 due to limitations in Checkout. */
1207
+ couponCodes?: string[];
1208
+ }
1209
+ interface LineItem$1 {
1210
+ /** Line item ID. */
1211
+ _id?: string;
1212
+ /** Line item quantity. */
1213
+ quantity?: number | null;
1214
+ /** Catalog and item reference info. Learn more about [integrating Wix Stores products with Wix eCommerce](https://dev.wix.com/api/rest/wix-stores/catalog/ecommerce-integration). */
1215
+ catalogReference?: CatalogReference$2;
1216
+ /** Line item price. */
1217
+ price?: string;
1218
+ }
1219
+ /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
1220
+ interface CatalogReference$2 {
1221
+ /** ID of the item within the catalog it belongs to. */
1222
+ catalogItemId?: string;
1223
+ /**
1224
+ * ID of the app providing the catalog.
1225
+ *
1226
+ * You can get your app's ID from its page in the [Wix Dev Center](https://dev.wix.com/apps).
1227
+ *
1228
+ * For items from Wix catalogs, the following values always apply:
1229
+ * + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
1230
+ * + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
1231
+ * + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
1232
+ */
1233
+ appId?: string;
1234
+ /**
1235
+ * Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
1236
+ *
1237
+ * For products and variants from a Wix Stores catalog, learn more about [eCommerce integration](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration).
1238
+ */
1239
+ options?: Record<string, any> | null;
1240
+ }
1241
+ interface GetEligibleDiscountsResponse {
1242
+ /** List of discounts to apply */
1243
+ discounts?: Discount[];
1244
+ }
1245
+ /** Discount */
1246
+ interface Discount extends DiscountDiscountTypeOneOf, DiscountDiscountScopesOneOf {
1247
+ /** Global discounts */
1248
+ globalDiscounts?: BaseDiscounts;
1249
+ /** Shipping discounts */
1250
+ shippingDiscounts?: BaseDiscounts;
1251
+ /** line items discounts */
1252
+ lineItemsDiscounts?: LineItemsDiscounts;
1253
+ /** Coupon options */
1254
+ couponOptions?: CouponOptions;
1255
+ /** Target type */
1256
+ targetType?: TargetType;
1257
+ /** Name */
1258
+ name?: DiscountName;
1259
+ /** external id used by the implementor */
1260
+ externalId?: string | null;
1261
+ /** Source */
1262
+ source?: DiscountSource;
1263
+ }
1264
+ /** @oneof */
1265
+ interface DiscountDiscountTypeOneOf {
1266
+ /** Global discounts */
1267
+ globalDiscounts?: BaseDiscounts;
1268
+ /** Shipping discounts */
1269
+ shippingDiscounts?: BaseDiscounts;
1270
+ /** line items discounts */
1271
+ lineItemsDiscounts?: LineItemsDiscounts;
1272
+ }
1273
+ /** @oneof */
1274
+ interface DiscountDiscountScopesOneOf {
1275
+ /** Coupon options */
1276
+ couponOptions?: CouponOptions;
1277
+ }
1278
+ declare enum TargetType {
1279
+ UNKNOWN_TARGET = "UNKNOWN_TARGET",
1280
+ GLOBAL = "GLOBAL",
1281
+ SHIPPING = "SHIPPING",
1282
+ LINE_ITEMS = "LINE_ITEMS"
1283
+ }
1284
+ interface DiscountName {
1285
+ /** Original discount rule name (in site's default language). */
1286
+ original?: string;
1287
+ /**
1288
+ * Translated discount rule name according to buyer language.
1289
+ *
1290
+ * Default: `original`
1291
+ */
1292
+ translated?: string | null;
1293
+ }
1294
+ interface BaseDiscounts {
1295
+ /** The rate of the discount. */
1296
+ rate?: DiscountRate;
1297
+ }
1298
+ interface DiscountRate extends DiscountRateRateOneOf {
1299
+ /** Global discounts */
1300
+ fixedAmountValue?: string;
1301
+ /** Shipping discounts */
1302
+ percentageValue?: string;
1303
+ /** Type of calculation */
1304
+ type?: Type;
1305
+ }
1306
+ /** @oneof */
1307
+ interface DiscountRateRateOneOf {
1308
+ /** Global discounts */
1309
+ fixedAmountValue?: string;
1310
+ /** Shipping discounts */
1311
+ percentageValue?: string;
1312
+ }
1313
+ declare enum Type {
1314
+ UNKNOWN_RATE = "UNKNOWN_RATE",
1315
+ FIXED_AMOUNT = "FIXED_AMOUNT",
1316
+ PERCENTAGE = "PERCENTAGE"
1317
+ }
1318
+ interface LineItemsDiscounts {
1319
+ /** Line items */
1320
+ lineItems?: LineItemRate[];
1321
+ }
1322
+ interface LineItemRate {
1323
+ /** The rate of the discount. */
1324
+ rate?: DiscountRate;
1325
+ /** id of the line item. */
1326
+ _id?: string;
1327
+ }
1328
+ declare enum DiscountSource {
1329
+ UNKNOWN_SOURCE = "UNKNOWN_SOURCE",
1330
+ COUPON = "COUPON",
1331
+ AUTOMATIC = "AUTOMATIC",
1332
+ CUSTOM = "CUSTOM"
1333
+ }
1334
+ interface CouponOptions {
1335
+ /** Coupon code, only relevant when source is coupon. */
1336
+ code?: string | null;
1337
+ }
1338
+ interface DiscountsSPIConfig {
1339
+ /**
1340
+ * Base URI where the endpoints are called.
1341
+ * Wix eCommerce appends the endpoint path to the base URI.
1342
+ */
1343
+ deploymentUri?: string;
1344
+ }
1345
+ /**
1346
+ * this message is not directly used by any service,
1347
+ * it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.
1348
+ * e.g. SPIs, event-handlers, etc..
1349
+ * NOTE: this context object MUST be provided as the last argument in each Velo method signature.
1350
+ *
1351
+ * Example:
1352
+ * ```typescript
1353
+ * export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {
1354
+ * ...
1355
+ * }
1356
+ * ```
1357
+ */
1358
+ interface Context$2 {
1359
+ /** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
1360
+ requestId?: string | null;
1361
+ /** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
1362
+ currency?: string | null;
1363
+ /** An object that describes the identity that triggered this request. */
1364
+ identity?: IdentificationData$2;
1365
+ /** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
1366
+ languages?: string[];
1367
+ /** The service provider app's instance ID. */
1368
+ instanceId?: string | null;
1369
+ }
1370
+ declare enum IdentityType$2 {
1371
+ UNKNOWN = "UNKNOWN",
1372
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1373
+ MEMBER = "MEMBER",
1374
+ WIX_USER = "WIX_USER",
1375
+ APP = "APP"
1376
+ }
1377
+ interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
1378
+ /** ID of a site visitor that has not logged in to the site. */
1379
+ anonymousVisitorId?: string;
1380
+ /** ID of a site visitor that has logged in to the site. */
1381
+ memberId?: string;
1382
+ /** ID of a Wix user (site owner, contributor, etc.). */
1383
+ wixUserId?: string;
1384
+ /** ID of an app. */
1385
+ appId?: string;
1386
+ /** @readonly */
1387
+ identityType?: IdentityType$2;
1388
+ }
1389
+ /** @oneof */
1390
+ interface IdentificationDataIdOneOf$2 {
1391
+ /** ID of a site visitor that has not logged in to the site. */
1392
+ anonymousVisitorId?: string;
1393
+ /** ID of a site visitor that has logged in to the site. */
1394
+ memberId?: string;
1395
+ /** ID of a Wix user (site owner, contributor, etc.). */
1396
+ wixUserId?: string;
1397
+ /** ID of an app. */
1398
+ appId?: string;
1399
+ }
1400
+
1401
+ interface GetEligibleDiscountsEnvelope {
1402
+ request: GetEligibleDiscountsRequest;
1403
+ metadata: Context$2;
1404
+ }
1405
+ declare const provideHandlers$5: ServicePluginDefinition<{
1406
+ /**
1407
+ *
1408
+ * Wix calls this method when certain actions are performed on the cart or checkout.
1409
+ * For example, when an item is added to the cart or the amount of an item is updated in the checkout. */
1410
+ getEligibleDiscounts(payload: GetEligibleDiscountsEnvelope): GetEligibleDiscountsResponse | Promise<GetEligibleDiscountsResponse>;
1411
+ }>;
1412
+
1183
1413
  declare function createServicePluginModule$2<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
1184
1414
 
1185
1415
  type _publicProvideHandlersType$2 = typeof provideHandlers$5;
1186
1416
  declare const provideHandlers$4: ReturnType<typeof createServicePluginModule$2<_publicProvideHandlersType>>;
1187
1417
 
1188
- type context$2_CustomTrigger = CustomTrigger;
1189
- type context$2_CustomTriggerConfig = CustomTriggerConfig;
1190
- type context$2_EligibleTrigger = EligibleTrigger;
1191
- type context$2_GetEligibleTriggersRequest = GetEligibleTriggersRequest;
1192
- type context$2_GetEligibleTriggersResponse = GetEligibleTriggersResponse;
1193
- type context$2_ListTriggersRequest = ListTriggersRequest;
1194
- type context$2_ListTriggersResponse = ListTriggersResponse;
1195
- type context$2_ListTriggersResponseCustomTrigger = ListTriggersResponseCustomTrigger;
1196
- type context$2_TriggerToFilterBy = TriggerToFilterBy;
1418
+ type context$2_BaseDiscounts = BaseDiscounts;
1419
+ type context$2_CouponOptions = CouponOptions;
1420
+ type context$2_Discount = Discount;
1421
+ type context$2_DiscountDiscountScopesOneOf = DiscountDiscountScopesOneOf;
1422
+ type context$2_DiscountDiscountTypeOneOf = DiscountDiscountTypeOneOf;
1423
+ type context$2_DiscountName = DiscountName;
1424
+ type context$2_DiscountRate = DiscountRate;
1425
+ type context$2_DiscountRateRateOneOf = DiscountRateRateOneOf;
1426
+ type context$2_DiscountSource = DiscountSource;
1427
+ declare const context$2_DiscountSource: typeof DiscountSource;
1428
+ type context$2_DiscountsSPIConfig = DiscountsSPIConfig;
1429
+ type context$2_GetEligibleDiscountsRequest = GetEligibleDiscountsRequest;
1430
+ type context$2_GetEligibleDiscountsResponse = GetEligibleDiscountsResponse;
1431
+ type context$2_LineItemRate = LineItemRate;
1432
+ type context$2_LineItemsDiscounts = LineItemsDiscounts;
1433
+ type context$2_TargetType = TargetType;
1434
+ declare const context$2_TargetType: typeof TargetType;
1435
+ type context$2_Type = Type;
1436
+ declare const context$2_Type: typeof Type;
1197
1437
  declare namespace context$2 {
1198
- 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 };
1438
+ export { type context$2_BaseDiscounts as BaseDiscounts, type CatalogReference$2 as CatalogReference, type Context$2 as Context, type context$2_CouponOptions as CouponOptions, type context$2_Discount as Discount, type context$2_DiscountDiscountScopesOneOf as DiscountDiscountScopesOneOf, type context$2_DiscountDiscountTypeOneOf as DiscountDiscountTypeOneOf, type context$2_DiscountName as DiscountName, type context$2_DiscountRate as DiscountRate, type context$2_DiscountRateRateOneOf as DiscountRateRateOneOf, context$2_DiscountSource as DiscountSource, type context$2_DiscountsSPIConfig as DiscountsSPIConfig, type context$2_GetEligibleDiscountsRequest as GetEligibleDiscountsRequest, type context$2_GetEligibleDiscountsResponse as GetEligibleDiscountsResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type LineItem$1 as LineItem, type context$2_LineItemRate as LineItemRate, type context$2_LineItemsDiscounts as LineItemsDiscounts, context$2_TargetType as TargetType, context$2_Type as Type, type _publicProvideHandlersType$2 as _publicProvideHandlersType, provideHandlers$4 as provideHandlers, provideHandlers$5 as publicProvideHandlers };
1199
1439
  }
1200
1440
 
1201
1441
  interface GetPaymentSettingsRequest {
@@ -3433,4 +3673,4 @@ declare namespace context {
3433
3673
  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 };
3434
3674
  }
3435
3675
 
3436
- export { context$3 as additionalFees, context$2 as customTriggers, context$1 as paymentSettings, context$4 as shippingRates, context as validations };
3676
+ export { context$4 as additionalFees, context$3 as customTriggers, context$2 as discounts, context$1 as paymentSettings, context$5 as shippingRates, context as validations };