@wix/ecom 1.0.744 → 1.0.745

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.
@@ -542,9 +542,9 @@ interface DeliveryPreferences {
542
542
  }
543
543
  interface GetShippingRatesResponse {
544
544
  /** Available shipping rates. These define the shipping rate options that are displayed to site visitors on the cart and checkout pages. */
545
- shippingRates?: ShippingOption[];
545
+ shippingRates?: ShippingOption$1[];
546
546
  }
547
- interface ShippingOption {
547
+ interface ShippingOption$1 {
548
548
  /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
549
549
  code?: string;
550
550
  /** Shipping rate title. For example, `"USPS Standard Overnight Delivery"`, `"Standard"`, or `"First-Class Package International"`. */
@@ -595,13 +595,13 @@ interface ShippingPrice$1 {
595
595
  }
596
596
  interface AdditionalCharge {
597
597
  /** Additional charge type. */
598
- type?: ChargeType$1;
598
+ type?: ChargeType$2;
599
599
  /** Details of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`. */
600
600
  details?: string | null;
601
601
  /** Cost of additional charge. For example, `12.5`. */
602
602
  price?: string;
603
603
  }
604
- declare enum ChargeType$1 {
604
+ declare enum ChargeType$2 {
605
605
  HANDLING_FEE = "HANDLING_FEE"
606
606
  }
607
607
  interface PartialOption {
@@ -609,9 +609,9 @@ interface PartialOption {
609
609
  lineItemIds?: string[];
610
610
  }
611
611
  interface MissingPostalCodeError {
612
- error?: ApplicationError;
612
+ error?: ApplicationError$1;
613
613
  }
614
- interface ApplicationError {
614
+ interface ApplicationError$1 {
615
615
  /** Error code. */
616
616
  code?: string;
617
617
  /** Description of the error. */
@@ -620,20 +620,20 @@ interface ApplicationError {
620
620
  data?: Record<string, any> | null;
621
621
  }
622
622
  interface InvalidPostalCodeError {
623
- error?: ApplicationError;
623
+ error?: ApplicationError$1;
624
624
  }
625
625
  interface InvalidAddressError {
626
- fields?: FieldViolation[];
626
+ fields?: FieldViolation$1[];
627
627
  }
628
- interface FieldViolation {
628
+ interface FieldViolation$1 {
629
629
  field?: string;
630
630
  description?: string;
631
- violatedRule?: RuleType;
631
+ violatedRule?: RuleType$1;
632
632
  /** applicable when violated_rule=OTHER */
633
633
  ruleName?: string | null;
634
634
  data?: Record<string, any> | null;
635
635
  }
636
- declare enum RuleType {
636
+ declare enum RuleType$1 {
637
637
  VALIDATION = "VALIDATION",
638
638
  OTHER = "OTHER",
639
639
  MAX = "MAX",
@@ -654,7 +654,7 @@ declare enum RuleType {
654
654
  ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT"
655
655
  }
656
656
  interface GenericShippingRatesError {
657
- errors?: ApplicationError[];
657
+ errors?: ApplicationError$1[];
658
658
  }
659
659
  interface GetDashboardTablesRequest {
660
660
  /** Delivery profile id. */
@@ -894,11 +894,9 @@ declare const provideHandlers$a: ReturnType<typeof createServicePluginModule$5<_
894
894
 
895
895
  type context$5_AdditionalCharge = AdditionalCharge;
896
896
  type context$5_AddressStreetOneOf = AddressStreetOneOf;
897
- type context$5_ApplicationError = ApplicationError;
898
897
  type context$5_Column = Column;
899
898
  type context$5_DashboardTable = DashboardTable;
900
899
  type context$5_DeliveryPreferences = DeliveryPreferences;
901
- type context$5_FieldViolation = FieldViolation;
902
900
  type context$5_GenericShippingRatesError = GenericShippingRatesError;
903
901
  type context$5_GenericShippingRatesWixError = GenericShippingRatesWixError;
904
902
  declare const context$5_GenericShippingRatesWixError: typeof GenericShippingRatesWixError;
@@ -919,16 +917,13 @@ type context$5_PartialOption = PartialOption;
919
917
  type context$5_ProductItem = ProductItem;
920
918
  type context$5_RegionDashboardTables = RegionDashboardTables;
921
919
  type context$5_Row = Row;
922
- type context$5_RuleType = RuleType;
923
- declare const context$5_RuleType: typeof RuleType;
924
- type context$5_ShippingOption = ShippingOption;
925
920
  type context$5_ShippingRatesConfig = ShippingRatesConfig;
926
921
  type context$5_StandardDetails = StandardDetails;
927
922
  type context$5_Subdivision = Subdivision;
928
923
  type context$5_SubdivisionType = SubdivisionType;
929
924
  declare const context$5_SubdivisionType: typeof SubdivisionType;
930
925
  declare namespace context$5 {
931
- 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 };
926
+ export { type context$5_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type context$5_AddressStreetOneOf as AddressStreetOneOf, type ApplicationError$1 as ApplicationError, type CatalogReference$5 as CatalogReference, ChargeType$2 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 FieldViolation$1 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, RuleType$1 as RuleType, type ShippingOption$1 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 };
932
927
  }
933
928
 
934
929
  interface CalculateAdditionalFeesRequest {
@@ -937,7 +932,7 @@ interface CalculateAdditionalFeesRequest {
937
932
  *
938
933
  * Max: 300 items
939
934
  */
940
- lineItems?: LineItem$3[];
935
+ lineItems?: LineItem$4[];
941
936
  /** Shipping address. */
942
937
  shippingAddress?: Address$2;
943
938
  /** Information about the buyer, such as contact details. */
@@ -949,7 +944,7 @@ interface CalculateAdditionalFeesRequest {
949
944
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
950
945
  purchaseFlowId?: string | null;
951
946
  }
952
- interface LineItem$3 {
947
+ interface LineItem$4 {
953
948
  /** Line item ID. */
954
949
  _id?: string;
955
950
  /**
@@ -1125,9 +1120,9 @@ interface DiscountRuleName$2 {
1125
1120
  }
1126
1121
  interface ShippingInformation$1 {
1127
1122
  /** Selected carrier shipping option. */
1128
- selectedCarrierServiceOption?: SelectedCarrierServiceOption$1;
1123
+ selectedCarrierServiceOption?: SelectedCarrierServiceOption$2;
1129
1124
  }
1130
- interface SelectedCarrierServiceOption$1 {
1125
+ interface SelectedCarrierServiceOption$2 {
1131
1126
  /** Unique identifier of selected option. For example, `"usps_std_overnight"`. */
1132
1127
  code?: string;
1133
1128
  /**
@@ -1145,9 +1140,9 @@ interface SelectedCarrierServiceOption$1 {
1145
1140
  * Shipping costs.
1146
1141
  * @readonly
1147
1142
  */
1148
- cost?: SelectedCarrierServiceOptionPrices$1;
1143
+ cost?: SelectedCarrierServiceOptionPrices$2;
1149
1144
  /** Other charges. */
1150
- otherCharges?: SelectedCarrierServiceOptionOtherCharge[];
1145
+ otherCharges?: SelectedCarrierServiceOptionOtherCharge$1[];
1151
1146
  }
1152
1147
  interface DeliveryLogistics$1 {
1153
1148
  /** Expected delivery time. For example, "3-5 business days". */
@@ -1173,15 +1168,15 @@ declare enum PickupMethod$1 {
1173
1168
  STORE_PICKUP = "STORE_PICKUP",
1174
1169
  PICKUP_POINT = "PICKUP_POINT"
1175
1170
  }
1176
- interface SelectedCarrierServiceOptionPrices$1 {
1171
+ interface SelectedCarrierServiceOptionPrices$2 {
1177
1172
  /** Price. */
1178
1173
  price?: string;
1179
1174
  /** Total shipping discount. */
1180
1175
  totalDiscount?: string | null;
1181
1176
  }
1182
- interface SelectedCarrierServiceOptionOtherCharge {
1177
+ interface SelectedCarrierServiceOptionOtherCharge$1 {
1183
1178
  /** Type of charge. */
1184
- type?: ChargeType;
1179
+ type?: ChargeType$1;
1185
1180
  /**
1186
1181
  * Details of the charge.
1187
1182
  *
@@ -1193,9 +1188,9 @@ interface SelectedCarrierServiceOptionOtherCharge {
1193
1188
  *
1194
1189
  * `cost` is `price` minus `totalDiscount`.
1195
1190
  */
1196
- cost?: SelectedCarrierServiceOptionPrices$1;
1191
+ cost?: SelectedCarrierServiceOptionPrices$2;
1197
1192
  }
1198
- declare enum ChargeType {
1193
+ declare enum ChargeType$1 {
1199
1194
  HANDLING_FEE = "HANDLING_FEE",
1200
1195
  INSURANCE = "INSURANCE"
1201
1196
  }
@@ -1333,12 +1328,9 @@ declare const provideHandlers$8: ReturnType<typeof createServicePluginModule$4<_
1333
1328
  type context$4_AdditionalFeesSPIConfig = AdditionalFeesSPIConfig;
1334
1329
  type context$4_CalculateAdditionalFeesRequest = CalculateAdditionalFeesRequest;
1335
1330
  type context$4_CalculateAdditionalFeesResponse = CalculateAdditionalFeesResponse;
1336
- type context$4_ChargeType = ChargeType;
1337
- declare const context$4_ChargeType: typeof ChargeType;
1338
- type context$4_SelectedCarrierServiceOptionOtherCharge = SelectedCarrierServiceOptionOtherCharge;
1339
1331
  type context$4_TaxDetails = TaxDetails;
1340
1332
  declare namespace context$4 {
1341
- 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 };
1333
+ 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, ChargeType$1 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$4 as LineItem, type MerchantDiscount$2 as MerchantDiscount, type PhysicalProperties$2 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 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 };
1342
1334
  }
1343
1335
 
1344
1336
  interface CustomTrigger {
@@ -1359,13 +1351,13 @@ interface ListTriggersResponseCustomTrigger {
1359
1351
  }
1360
1352
  interface GetEligibleTriggersRequest {
1361
1353
  /** List of line items in the cart/checkout. */
1362
- lineItems?: LineItem$2[];
1354
+ lineItems?: LineItem$3[];
1363
1355
  /** List of triggers to be checked for discount eligibility. */
1364
1356
  triggers?: TriggerToFilterBy[];
1365
1357
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
1366
1358
  purchaseFlowId?: string | null;
1367
1359
  }
1368
- interface LineItem$2 {
1360
+ interface LineItem$3 {
1369
1361
  /** Line item ID. */
1370
1362
  _id?: string;
1371
1363
  /** Item quantity in this line item. */
@@ -1518,12 +1510,12 @@ type context$3_ListTriggersResponse = ListTriggersResponse;
1518
1510
  type context$3_ListTriggersResponseCustomTrigger = ListTriggersResponseCustomTrigger;
1519
1511
  type context$3_TriggerToFilterBy = TriggerToFilterBy;
1520
1512
  declare namespace context$3 {
1521
- 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 };
1513
+ 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$3 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 };
1522
1514
  }
1523
1515
 
1524
1516
  interface GetEligibleDiscountsRequest {
1525
1517
  /** Line items */
1526
- lineItems?: LineItem$1[];
1518
+ lineItems?: LineItem$2[];
1527
1519
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
1528
1520
  purchaseFlowId?: string | null;
1529
1521
  /** Number of coupons is limited to 1 due to limitations in Checkout. */
@@ -1531,7 +1523,7 @@ interface GetEligibleDiscountsRequest {
1531
1523
  /** Buyer email */
1532
1524
  buyerEmail?: string | null;
1533
1525
  }
1534
- interface LineItem$1 {
1526
+ interface LineItem$2 {
1535
1527
  /** Line item ID. */
1536
1528
  _id?: string;
1537
1529
  /** Line item quantity. */
@@ -1760,7 +1752,7 @@ declare const context$2_TargetType: typeof TargetType;
1760
1752
  type context$2_Type = Type;
1761
1753
  declare const context$2_Type: typeof Type;
1762
1754
  declare namespace context$2 {
1763
- 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 };
1755
+ 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$2 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 };
1764
1756
  }
1765
1757
 
1766
1758
  interface GetPaymentSettingsRequest {
@@ -1794,7 +1786,7 @@ interface Order {
1794
1786
  */
1795
1787
  lineItems?: OrderLineItem[];
1796
1788
  /** Buyer information. */
1797
- buyerInfo?: BuyerInfo;
1789
+ buyerInfo?: V1BuyerInfo;
1798
1790
  /**
1799
1791
  * Order payment status.
1800
1792
  * + `NOT_PAID` - This can be an order made online, but not yet paid. In such cases `order.status` will be `INITIALIZED`.
@@ -1833,7 +1825,7 @@ interface Order {
1833
1825
  */
1834
1826
  priceSummary?: PriceSummary$1;
1835
1827
  /** Billing address and contact details. */
1836
- billingInfo?: AddressWithContact$1;
1828
+ billingInfo?: ApiAddressWithContact;
1837
1829
  /** Shipping info and selected shipping option details. */
1838
1830
  shippingInfo?: V1ShippingInformation;
1839
1831
  /** [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer. */
@@ -1857,7 +1849,7 @@ interface Order {
1857
1849
  * @replacedBy tax_info
1858
1850
  * @targetRemovalDate 2024-09-30
1859
1851
  */
1860
- taxSummary?: TaxSummary;
1852
+ taxSummary?: ApiTaxSummary;
1861
1853
  /** Tax information. */
1862
1854
  taxInfo?: OrderTaxInfo;
1863
1855
  /** Applied discounts. */
@@ -1873,7 +1865,7 @@ interface Order {
1873
1865
  * ID of the order's initiator.
1874
1866
  * @readonly
1875
1867
  */
1876
- createdBy?: CreatedBy;
1868
+ createdBy?: V1CreatedBy;
1877
1869
  /** Information about the sales channel that submitted this order. */
1878
1870
  channelInfo?: ChannelInfo;
1879
1871
  /** Whether a human has seen the order. Set when an order is clicked on in the dashboard. */
@@ -1904,7 +1896,7 @@ interface Order {
1904
1896
  * + The chosen shipping option is pickup point or store pickup.
1905
1897
  * + No shipping option is selected.
1906
1898
  */
1907
- recipientInfo?: AddressWithContact$1;
1899
+ recipientInfo?: ApiAddressWithContact;
1908
1900
  }
1909
1901
  interface OrderLineItem {
1910
1902
  /** Line item ID. */
@@ -1986,7 +1978,7 @@ interface OrderLineItem {
1986
1978
  * @replacedBy tax_info
1987
1979
  * @targetRemovalDate 2024-09-30
1988
1980
  */
1989
- taxDetails?: ItemTaxFullDetails$1;
1981
+ taxDetails?: ApiItemTaxFullDetails;
1990
1982
  /** Represents all the relevant tax details for a specific line item. */
1991
1983
  taxInfo?: LineItemTaxInfo;
1992
1984
  /** Digital file identifier, relevant only for items with type DIGITAL. */
@@ -2145,7 +2137,7 @@ declare enum PaymentOptionType {
2145
2137
  /** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
2146
2138
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
2147
2139
  }
2148
- interface ItemTaxFullDetails$1 {
2140
+ interface ApiItemTaxFullDetails {
2149
2141
  /** Taxable amount of this line item. */
2150
2142
  taxableAmount?: Price;
2151
2143
  /** Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`. */
@@ -2264,7 +2256,7 @@ interface LocationAndQuantity {
2264
2256
  quantity?: number;
2265
2257
  }
2266
2258
  /** Buyer Info */
2267
- interface BuyerInfo extends BuyerInfoIdOneOf {
2259
+ interface V1BuyerInfo extends V1BuyerInfoIdOneOf {
2268
2260
  /** Visitor ID (if site visitor is not a member). */
2269
2261
  visitorId?: string;
2270
2262
  /** Member ID (if site visitor is a site member). */
@@ -2275,7 +2267,7 @@ interface BuyerInfo extends BuyerInfoIdOneOf {
2275
2267
  email?: string | null;
2276
2268
  }
2277
2269
  /** @oneof */
2278
- interface BuyerInfoIdOneOf {
2270
+ interface V1BuyerInfoIdOneOf {
2279
2271
  /** Visitor ID (if site visitor is not a member). */
2280
2272
  visitorId?: string;
2281
2273
  /** Member ID (if site visitor is a site member). */
@@ -2330,7 +2322,7 @@ interface PriceSummary$1 {
2330
2322
  totalAdditionalFees?: Price;
2331
2323
  }
2332
2324
  /** Billing Info and shipping details */
2333
- interface AddressWithContact$1 {
2325
+ interface ApiAddressWithContact {
2334
2326
  /** Address. */
2335
2327
  address?: Address$1;
2336
2328
  /** Contact details. */
@@ -2417,7 +2409,7 @@ interface V1ShippingInformation {
2417
2409
  }
2418
2410
  interface DeliveryLogistics extends DeliveryLogisticsAddressOneOf {
2419
2411
  /** Shipping address and contact details. */
2420
- shippingDestination?: AddressWithContact$1;
2412
+ shippingDestination?: ApiAddressWithContact;
2421
2413
  /** Pickup details. */
2422
2414
  pickupDetails?: PickupDetails;
2423
2415
  /** Expected delivery time in free text. For example, `"3-5 business days"`. */
@@ -2435,7 +2427,7 @@ interface DeliveryLogistics extends DeliveryLogisticsAddressOneOf {
2435
2427
  /** @oneof */
2436
2428
  interface DeliveryLogisticsAddressOneOf {
2437
2429
  /** Shipping address and contact details. */
2438
- shippingDestination?: AddressWithContact$1;
2430
+ shippingDestination?: ApiAddressWithContact;
2439
2431
  /** Pickup details. */
2440
2432
  pickupDetails?: PickupDetails;
2441
2433
  }
@@ -2487,7 +2479,7 @@ interface ShippingPrice {
2487
2479
  */
2488
2480
  totalPriceAfterTax?: Price;
2489
2481
  /** Tax details. */
2490
- taxDetails?: ItemTaxFullDetails$1;
2482
+ taxDetails?: ApiItemTaxFullDetails;
2491
2483
  /**
2492
2484
  * Shipping discount before tax.
2493
2485
  * @readonly
@@ -2503,7 +2495,7 @@ declare enum OrderStatus {
2503
2495
  APPROVED = "APPROVED",
2504
2496
  CANCELED = "CANCELED"
2505
2497
  }
2506
- interface TaxSummary {
2498
+ interface ApiTaxSummary {
2507
2499
  /**
2508
2500
  * Total tax.
2509
2501
  * @readonly
@@ -2939,7 +2931,7 @@ declare enum AttributionSource {
2939
2931
  UNSPECIFIED = "UNSPECIFIED",
2940
2932
  FACEBOOK_ADS = "FACEBOOK_ADS"
2941
2933
  }
2942
- interface CreatedBy extends CreatedByStringOneOf {
2934
+ interface V1CreatedBy extends V1CreatedByStringOneOf {
2943
2935
  /**
2944
2936
  * User ID - when the order was created by a Wix user on behalf of a buyer.
2945
2937
  * For example, via POS (point of service).
@@ -2953,7 +2945,7 @@ interface CreatedBy extends CreatedByStringOneOf {
2953
2945
  appId?: string;
2954
2946
  }
2955
2947
  /** @oneof */
2956
- interface CreatedByStringOneOf {
2948
+ interface V1CreatedByStringOneOf {
2957
2949
  /**
2958
2950
  * User ID - when the order was created by a Wix user on behalf of a buyer.
2959
2951
  * For example, via POS (point of service).
@@ -3053,7 +3045,7 @@ interface AdditionalFee {
3053
3045
  /** Additional fee's price. */
3054
3046
  price?: Price;
3055
3047
  /** Tax details. */
3056
- taxDetails?: ItemTaxFullDetails$1;
3048
+ taxDetails?: ApiItemTaxFullDetails;
3057
3049
  /** SPI implementer's `appId`. */
3058
3050
  providerAppId?: string | null;
3059
3051
  /** Additional fee's price before tax. */
@@ -3129,88 +3121,1335 @@ interface PaymentSettings {
3129
3121
  */
3130
3122
  requires3dSecure?: boolean | null;
3131
3123
  }
3132
- interface PaymentSettingsSPIConfig {
3124
+ interface GetPaymentSettingsForCheckoutRequest {
3125
+ /** Checkout. */
3126
+ checkout?: Checkout;
3127
+ }
3128
+ interface Checkout {
3133
3129
  /**
3134
- * *Required.** Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI.
3135
- * For example, to call the Get Payment Settings endpoint at `https://my-payment-settings.com/v1/payment-settings`,
3136
- * the base URI you provide here is `https://my-payment-settings.com/`.
3130
+ * Checkout ID.
3131
+ * @readonly
3137
3132
  */
3138
- deploymentUri?: string;
3133
+ _id?: string | null;
3139
3134
  /**
3140
- * The value to set for `paymentSettings.requires3dSecure` if the service plugin call fails.
3135
+ * Line items.
3141
3136
  *
3142
- * Default: `false`
3137
+ * Max: 300 items
3138
+ * @readonly
3143
3139
  */
3144
- fallbackValueForRequires3dSecure?: boolean;
3145
- }
3146
- /**
3147
- * this message is not directly used by any service,
3148
- * it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.
3149
- * e.g. SPIs, event-handlers, etc..
3150
- * NOTE: this context object MUST be provided as the last argument in each Velo method signature.
3151
- *
3152
- * Example:
3153
- * ```typescript
3154
- * export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {
3155
- * ...
3156
- * }
3157
- * ```
3158
- */
3159
- interface Context$1 {
3160
- /** 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. */
3161
- requestId?: string | null;
3162
- /** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
3163
- currency?: string | null;
3164
- /** An object that describes the identity that triggered this request. */
3165
- identity?: IdentificationData$1;
3166
- /** 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"`. */
3167
- languages?: string[];
3168
- /** The service provider app's instance ID. */
3169
- instanceId?: string | null;
3170
- }
3171
- declare enum IdentityType$1 {
3172
- UNKNOWN = "UNKNOWN",
3173
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3174
- MEMBER = "MEMBER",
3175
- WIX_USER = "WIX_USER",
3176
- APP = "APP"
3177
- }
3178
- interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
3179
- /** ID of a site visitor that has not logged in to the site. */
3180
- anonymousVisitorId?: string;
3181
- /** ID of a site visitor that has logged in to the site. */
3182
- memberId?: string;
3183
- /** ID of a Wix user (site owner, contributor, etc.). */
3184
- wixUserId?: string;
3185
- /** ID of an app. */
3186
- appId?: string;
3187
- /** @readonly */
3188
- identityType?: IdentityType$1;
3189
- }
3190
- /** @oneof */
3191
- interface IdentificationDataIdOneOf$1 {
3192
- /** ID of a site visitor that has not logged in to the site. */
3193
- anonymousVisitorId?: string;
3194
- /** ID of a site visitor that has logged in to the site. */
3195
- memberId?: string;
3196
- /** ID of a Wix user (site owner, contributor, etc.). */
3197
- wixUserId?: string;
3198
- /** ID of an app. */
3199
- appId?: string;
3200
- }
3201
-
3202
- interface GetPaymentSettingsEnvelope {
3203
- request: GetPaymentSettingsRequest;
3204
- metadata: Context$1;
3205
- }
3206
- declare const provideHandlers$3: ServicePluginDefinition<{
3140
+ lineItems?: LineItem$1[];
3141
+ /** Billing information. */
3142
+ billingInfo?: AddressWithContact$1;
3143
+ /** Shipping information. */
3144
+ shippingInfo?: ShippingInfo$1;
3145
+ /** [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer. */
3146
+ buyerNote?: string | null;
3147
+ /** Buyer information. */
3148
+ buyerInfo?: BuyerInfo;
3149
+ /**
3150
+ * All converted prices are displayed in this currency in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
3151
+ * @readonly
3152
+ */
3153
+ conversionCurrency?: string;
3154
+ /**
3155
+ * Calculated price summary for the checkout.
3156
+ * @readonly
3157
+ */
3158
+ priceSummary?: V1PriceSummary;
3159
+ /**
3160
+ * Errors when calculating totals.
3161
+ * @readonly
3162
+ */
3163
+ calculationErrors?: CalculationErrors;
3207
3164
  /**
3165
+ * Applied gift card details.
3208
3166
  *
3209
- * This method retrieves payment settings from your app.
3167
+ * >**Note:** Gift cards are supported through the Wix UI, though the service plugin is not currently available. Learn more about [Wix Gift Cards](https://support.wix.com/en/article/wix-stores-setting-up-wix-gift-cards).
3168
+ * @readonly
3169
+ */
3170
+ giftCard?: GiftCard$1;
3171
+ /**
3172
+ * Applied discounts.
3173
+ * @readonly
3174
+ */
3175
+ appliedDiscounts?: V1AppliedDiscount[];
3176
+ /** Custom fields. */
3177
+ customFields?: CustomField$1[];
3178
+ /**
3179
+ * Weight measurement unit - defaults to site's weight unit.
3180
+ * @readonly
3181
+ */
3182
+ weightUnit?: WeightUnit$1;
3183
+ /**
3184
+ * Tax summary.
3185
+ * @readonly
3186
+ */
3187
+ taxSummary?: TaxSummary;
3188
+ /**
3189
+ * The currency used when submitting the order.
3190
+ * @readonly
3191
+ */
3192
+ currency?: string;
3193
+ /**
3194
+ * Sales channel that submitted the order.
3195
+ * + `"UNSPECIFIED"`: Unspecified sales channel. This value is not supported.
3196
+ * + `"WEB"`: A web client.
3197
+ * + `"POS"`: [Point of sale solutions](https://support.wix.com/en/wix-mobile-pos-2196395)
3198
+ * + `"EBAY"`: [eBay](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-an-ebay-shop)
3199
+ * + `"AMAZON"`: [Amazon](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-an-amazon-shop)
3200
+ * + `"WISH"`: [Wish](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-a-wish-shop)
3201
+ * + `"WIX_INVOICES"`: Wix Invoices app in [your dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Finvoices/settings/general-settings)
3202
+ * + `"WIX_APP_STORE"`: [Wix Owner app](https://support.wix.com/article/wix-owner-app-an-overview)
3203
+ * + `"BACKOFFICE_MERCHANT"`: Wix merchant backoffice
3204
+ * + `"OTHER_PLATFORM"`: Other sales platform.
3205
+ * @readonly
3206
+ */
3207
+ channelType?: ChannelType;
3208
+ /**
3209
+ * Site language in which original values are shown.
3210
+ * @readonly
3211
+ */
3212
+ siteLanguage?: string;
3213
+ /**
3214
+ * Language for communication with the buyer. Defaults to the site language.
3215
+ * For a site that supports multiple languages, this is the language the buyer selected.
3216
+ * @readonly
3217
+ */
3218
+ buyerLanguage?: string;
3219
+ /**
3220
+ * Whether an order was successfully created from this checkout.
3221
+ * For an order to be successful, it must be successfully paid for (unless the total is 0).
3222
+ * @readonly
3223
+ */
3224
+ completed?: boolean;
3225
+ /**
3226
+ * Whether tax is included in line item prices.
3227
+ * @readonly
3228
+ */
3229
+ taxIncludedInPrice?: boolean;
3230
+ /**
3231
+ * ID of the checkout's initiator.
3232
+ * @readonly
3233
+ */
3234
+ createdBy?: CreatedBy;
3235
+ /**
3236
+ * Date and time the checkout was created.
3237
+ * @readonly
3238
+ */
3239
+ _createdDate?: Date;
3240
+ /**
3241
+ * Date and time the checkout was updated.
3242
+ * @readonly
3243
+ */
3244
+ _updatedDate?: Date;
3245
+ /**
3246
+ * Minimal amount to pay in order to place the order.
3247
+ * @readonly
3248
+ */
3249
+ payNow?: V1PriceSummary;
3250
+ /**
3251
+ * Remaining amount for the order to be fully paid.
3252
+ * @readonly
3253
+ */
3254
+ payLater?: V1PriceSummary;
3255
+ /** Memberships to apply when creating the order. */
3256
+ membershipOptions?: MembershipOptions;
3257
+ /** Additional Fees. */
3258
+ additionalFees?: V1AdditionalFee[];
3259
+ /** Cart ID that this checkout was created from. Empty if this checkout wasn't created from a cart. */
3260
+ cartId?: string | null;
3261
+ /**
3262
+ * List of validation violations raised by the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
3263
+ * @readonly
3264
+ */
3265
+ violations?: Violation$1[];
3266
+ /**
3267
+ * Custom field data for the checkout object.
3210
3268
  *
3211
- * Wix calls this method during the payment process. For example, when a customer inserts credit card details and places an order.
3212
- * This method retrieves the payment settings to apply, and Wix passes on the settings to the payment provider. */
3213
- getPaymentSettings(payload: GetPaymentSettingsEnvelope): GetPaymentSettingsResponse | Promise<GetPaymentSettingsResponse>;
3269
+ * [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the Wix Dev Center before they can be accessed with API calls.
3270
+ */
3271
+ extendedFields?: ExtendedFields$1;
3272
+ /**
3273
+ * Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
3274
+ * @readonly
3275
+ */
3276
+ purchaseFlowId?: string | null;
3277
+ /**
3278
+ * Additional settings for customization of the checkout process.
3279
+ *
3280
+ * > **Notes:**
3281
+ * > * Custom settings can only be set when [creating a checkout](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/checkout/create-checkout).
3282
+ * > * To access and manage custom checkout page content, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
3283
+ */
3284
+ customSettings?: CustomSettings;
3285
+ /**
3286
+ * Reference IDs for the app and component providing custom checkout page content.
3287
+ *
3288
+ * To access and manage custom checkout page content, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
3289
+ * Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
3290
+ */
3291
+ customContentReference?: CustomContentReference;
3292
+ }
3293
+ interface LineItem$1 {
3294
+ /**
3295
+ * Line item ID.
3296
+ * @readonly
3297
+ */
3298
+ _id?: string | null;
3299
+ /**
3300
+ * Item quantity.
3301
+ *
3302
+ * Min: `"1"`
3303
+ * Max: `"100000"`
3304
+ */
3305
+ quantity?: number;
3306
+ /** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
3307
+ catalogReference?: CatalogReference$1;
3308
+ /**
3309
+ * Item name.
3310
+ * + Stores - `product.name`
3311
+ * + Bookings - `service.info.name`
3312
+ * + Events - `ticket.name`
3313
+ * @readonly
3314
+ */
3315
+ productName?: ProductName$1;
3316
+ /**
3317
+ * URL to the item's page on the site.
3318
+ * @readonly
3319
+ */
3320
+ url?: string;
3321
+ /**
3322
+ * Item price **after** catalog-defined discount and line item discounts.
3323
+ * @readonly
3324
+ */
3325
+ price?: MultiCurrencyPrice$1;
3326
+ /**
3327
+ * Total line item price **after** catalog-defined discount and line item discounts.
3328
+ * @readonly
3329
+ */
3330
+ lineItemPrice?: MultiCurrencyPrice$1;
3331
+ /**
3332
+ * Item price **before** catalog-defined discount. Defaults to `price` when not provided.
3333
+ * @readonly
3334
+ */
3335
+ fullPrice?: MultiCurrencyPrice$1;
3336
+ /**
3337
+ * Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided.
3338
+ * @readonly
3339
+ */
3340
+ priceBeforeDiscounts?: MultiCurrencyPrice$1;
3341
+ /**
3342
+ * Total price after all discounts and tax.
3343
+ * @readonly
3344
+ */
3345
+ totalPriceAfterTax?: MultiCurrencyPrice$1;
3346
+ /**
3347
+ * Total price after discounts, and before tax.
3348
+ * @readonly
3349
+ */
3350
+ totalPriceBeforeTax?: MultiCurrencyPrice$1;
3351
+ /**
3352
+ * Tax details for this line item.
3353
+ * @readonly
3354
+ */
3355
+ taxDetails?: ItemTaxFullDetails$1;
3356
+ /**
3357
+ * Discount for this line item's entire quantity.
3358
+ * @readonly
3359
+ */
3360
+ discount?: MultiCurrencyPrice$1;
3361
+ /**
3362
+ * Line item description lines. Used for display purposes for the cart, checkout and order.
3363
+ * @readonly
3364
+ */
3365
+ descriptionLines?: DescriptionLine[];
3366
+ /**
3367
+ * Line item image details.
3368
+ * @readonly
3369
+ */
3370
+ media?: string;
3371
+ /**
3372
+ * Item availability details.
3373
+ * @readonly
3374
+ */
3375
+ availability?: ItemAvailabilityInfo;
3376
+ /**
3377
+ * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
3378
+ * @readonly
3379
+ */
3380
+ physicalProperties?: PhysicalProperties$1;
3381
+ /**
3382
+ * Item type. Either a preset type or custom.
3383
+ * @readonly
3384
+ */
3385
+ itemType?: ItemType$1;
3386
+ /**
3387
+ * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
3388
+ * + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
3389
+ * + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
3390
+ * + `MEMBERSHIP`: Payment for this item is done by charging a membership. When this option is used, `lineItem.price.amount` is `0`.
3391
+ * + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is defined by `lineItem.deposit`.
3392
+ * + `MEMBERSHIP_OFFLINE`: Payment for this item can only be performed by using a membership and must be manually redeemed in the dashboard by the site owner. When this option is used, `lineItem.price.amount` is `0`.
3393
+ * @readonly
3394
+ */
3395
+ paymentOption?: PaymentOptionType;
3396
+ /**
3397
+ * Service properties. When relevant, this contains information such as date and number of participants.
3398
+ * @readonly
3399
+ */
3400
+ serviceProperties?: ServiceProperties;
3401
+ /**
3402
+ * In cases where `catalogReference.catalogItemId` is NOT the actual catalog item ID, this field will return the true item's ID.
3403
+ * + For example, for Wix Bookings, `catalogReference.catalogItemId` is the booking ID. Therefore this value is set to the service ID.
3404
+ * + In most cases, this field has the same value as `catalogReference.catalogItemId`.
3405
+ * + Used in membership validation.
3406
+ * @readonly
3407
+ */
3408
+ rootCatalogItemId?: string | null;
3409
+ /**
3410
+ * Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67".
3411
+ * @readonly
3412
+ */
3413
+ priceDescription?: PriceDescription;
3414
+ /**
3415
+ * Partial payment to be paid upfront during the checkout. Eligible for catalog items with `lineItem.paymentOption` type `DEPOSIT_ONLINE` only.
3416
+ * @readonly
3417
+ */
3418
+ depositAmount?: MultiCurrencyPrice$1;
3419
+ /**
3420
+ * Whether the line item is a custom line item. Custom line items don't trigger the Catalog service plugin.
3421
+ * @readonly
3422
+ */
3423
+ customLineItem?: boolean;
3424
+ /**
3425
+ * Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
3426
+ * @readonly
3427
+ */
3428
+ consentRequiredPaymentPolicy?: string | null;
3429
+ /**
3430
+ * Overriding values for catalog item properties.
3431
+ *
3432
+ * To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
3433
+ * Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
3434
+ */
3435
+ catalogOverrideFields?: CatalogOverrideFields;
3436
+ /**
3437
+ * Whether to save the payment method on the order.
3438
+ *
3439
+ * Default: `false`
3440
+ * @readonly
3441
+ */
3442
+ savePaymentMethod?: boolean;
3443
+ }
3444
+ interface MultiCurrencyPrice$1 {
3445
+ /** Amount. */
3446
+ amount?: string;
3447
+ /**
3448
+ * Converted amount.
3449
+ * @readonly
3450
+ */
3451
+ convertedAmount?: string;
3452
+ /**
3453
+ * Amount formatted with currency symbol.
3454
+ * @readonly
3455
+ */
3456
+ formattedAmount?: string;
3457
+ /**
3458
+ * Converted amount formatted with currency symbol.
3459
+ * @readonly
3460
+ */
3461
+ formattedConvertedAmount?: string;
3462
+ }
3463
+ interface ItemTaxFullDetails$1 {
3464
+ /** Amount for which tax is calculated. */
3465
+ taxableAmount?: MultiCurrencyPrice$1;
3466
+ /** Tax rate %, as a decimal point between 0 and 1. */
3467
+ taxRate?: string;
3468
+ /** Calculated tax, based on `taxable_amount` and `tax_rate`. */
3469
+ totalTax?: MultiCurrencyPrice$1;
3470
+ /**
3471
+ * If breakdown exists, the sum of rates in the breakdown must equal `tax_rate`. Deprecated - use 'tax_breakdown' instead.
3472
+ * @readonly
3473
+ * @deprecated
3474
+ */
3475
+ rateBreakdown?: TaxRateBreakdown[];
3476
+ }
3477
+ interface TaxRateBreakdown {
3478
+ /** Name of tax against which the calculation was performed. */
3479
+ name?: string;
3480
+ /** Rate at which this tax detail was calculated. */
3481
+ rate?: string;
3482
+ /** Amount of tax for this tax detail. */
3483
+ tax?: MultiCurrencyPrice$1;
3484
+ }
3485
+ /**
3486
+ * TaxBreakdown represents tax information for a line item.
3487
+ * It holds the tax amount and the tax rate for each tax authority that apply on the line item.
3488
+ */
3489
+ interface TaxBreakdown$1 {
3490
+ /** The name of the jurisdiction to which this tax detail applies. For example, "New York" or "Quebec". */
3491
+ jurisdiction?: string | null;
3492
+ /** The amount of this line item price that was considered nontaxable. (Decimal value) */
3493
+ nonTaxableAmount?: MultiCurrencyPrice$1;
3494
+ /** The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.0000 signifies 200% tax. (Decimal value) */
3495
+ rate?: string | null;
3496
+ /** The amount of tax estimated for this line item. (Decimal value) */
3497
+ taxAmount?: MultiCurrencyPrice$1;
3498
+ /** The taxable amount of this line item. */
3499
+ taxableAmount?: MultiCurrencyPrice$1;
3500
+ /** The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc. */
3501
+ taxType?: string | null;
3502
+ /**
3503
+ * The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
3504
+ * This name should be explicit enough to allow the merchant to understand what tax was calculated.
3505
+ */
3506
+ taxName?: string | null;
3507
+ /** The type of the jurisdiction in which this tax detail applies. */
3508
+ jurisdictionType?: V1JurisdictionType;
3509
+ }
3510
+ /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
3511
+ declare enum V1JurisdictionType {
3512
+ UNDEFINED = "UNDEFINED",
3513
+ COUNTRY = "COUNTRY",
3514
+ STATE = "STATE",
3515
+ COUNTY = "COUNTY",
3516
+ CITY = "CITY",
3517
+ SPECIAL = "SPECIAL"
3518
+ }
3519
+ interface ItemAvailabilityInfo {
3520
+ /**
3521
+ * Item availability status.
3522
+ * + `"NOT_FOUND"`: Item does not exist
3523
+ * + `"NOT_AVAILABLE"`: Item not in stock
3524
+ * + `"PARTIALLY_AVAILABLE"`: Available quantity is less than requested
3525
+ */
3526
+ status?: ItemAvailabilityStatus;
3527
+ /** Quantity available. */
3528
+ quantityAvailable?: number | null;
3529
+ }
3530
+ declare enum ItemAvailabilityStatus {
3531
+ AVAILABLE = "AVAILABLE",
3532
+ NOT_FOUND = "NOT_FOUND",
3533
+ /** Not in stock */
3534
+ NOT_AVAILABLE = "NOT_AVAILABLE",
3535
+ /** Available quantity is less than requested */
3536
+ PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
3537
+ }
3538
+ interface Scope {
3539
+ /** Scope namespace (Wix Stores, Wix Bookings, Wix Events, Wix Pricing Plans) */
3540
+ namespace?: string;
3541
+ /** Coupon scope's applied group (e.g., event or ticket in Wix Events) */
3542
+ group?: Group;
3543
+ }
3544
+ interface Group {
3545
+ /** Coupon scope's group (e.g., product or collection in Wix Stores). See [valid scope values](https://dev.wix.com/api/rest/coupons/coupons/valid-scope-values). */
3546
+ name?: string;
3547
+ /** Item ID (when the coupon scope is limited to just one item). */
3548
+ entityId?: string | null;
3549
+ }
3550
+ interface SubscriptionOptionInfo$1 {
3551
+ /** Subscription option settings. */
3552
+ subscriptionSettings?: V1SubscriptionSettings;
3553
+ /** Subscription option title. */
3554
+ title?: Title$1;
3555
+ /** Subscription option description. */
3556
+ description?: Description$1;
3557
+ }
3558
+ interface V1SubscriptionSettings {
3559
+ /** Frequency of recurring payment. */
3560
+ frequency?: SubscriptionFrequency$1;
3561
+ /**
3562
+ * Interval of recurring payment.
3563
+ *
3564
+ * Default: `1`.
3565
+ */
3566
+ interval?: number | null;
3567
+ /** Whether subscription is renewed automatically at the end of each period. */
3568
+ autoRenewal?: boolean;
3569
+ /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
3570
+ billingCycles?: number | null;
3571
+ }
3572
+ interface Title$1 {
3573
+ /** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
3574
+ original?: string;
3575
+ /**
3576
+ * Subscription option name translated into the buyer's language.
3577
+ *
3578
+ * Default: Same as `original`.
3579
+ */
3580
+ translated?: string | null;
3581
+ }
3582
+ interface Description$1 {
3583
+ /** Subscription option description. */
3584
+ original?: string;
3585
+ /** Translated subscription option description. */
3586
+ translated?: string | null;
3587
+ }
3588
+ interface SecuredMedia {
3589
+ /** Media ID in Wix Media Manager. */
3590
+ _id?: string;
3591
+ /** Original filename. */
3592
+ fileName?: string;
3593
+ /** File type. */
3594
+ fileType?: FileType;
3595
+ }
3596
+ declare enum FileType {
3597
+ UNSPECIFIED = "UNSPECIFIED",
3598
+ SECURE_PICTURE = "SECURE_PICTURE",
3599
+ SECURE_VIDEO = "SECURE_VIDEO",
3600
+ SECURE_DOCUMENT = "SECURE_DOCUMENT",
3601
+ SECURE_MUSIC = "SECURE_MUSIC",
3602
+ SECURE_ARCHIVE = "SECURE_ARCHIVE"
3603
+ }
3604
+ interface ServiceProperties {
3605
+ /**
3606
+ * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
3607
+ * For example, the start time of a class.
3608
+ */
3609
+ scheduledDate?: Date;
3610
+ /** The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room. */
3611
+ numberOfParticipants?: number | null;
3612
+ }
3613
+ interface CatalogOverrideFields {
3614
+ /** Item name. */
3615
+ productName?: ProductName$1;
3616
+ /** Item price **after** discounts. */
3617
+ price?: string | null;
3618
+ /** Item price **before** discounts. */
3619
+ fullPrice?: string | null;
3620
+ /** Item description lines. Used when displaying the line item to customers. */
3621
+ descriptionLines?: DescriptionLine[];
3622
+ /** Physical properties of the item. */
3623
+ physicalProperties?: PhysicalProperties$1;
3624
+ /** Item image. */
3625
+ image?: string;
3626
+ }
3627
+ interface TaxableAddress extends TaxableAddressTaxableAddressDataOneOf {
3628
+ /** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
3629
+ addressType?: TaxableAddressType;
3630
+ }
3631
+ /** @oneof */
3632
+ interface TaxableAddressTaxableAddressDataOneOf {
3633
+ /** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
3634
+ addressType?: TaxableAddressType;
3635
+ }
3636
+ declare enum TaxableAddressType {
3637
+ UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
3638
+ BUSINESS = "BUSINESS",
3639
+ BILLING = "BILLING",
3640
+ SHIPPING = "SHIPPING"
3641
+ }
3642
+ /** Billing Info and shipping details */
3643
+ interface AddressWithContact$1 {
3644
+ /** Address. */
3645
+ address?: Address$1;
3646
+ /** Contact details. */
3647
+ contactDetails?: FullAddressContactDetails$1;
3648
+ }
3649
+ interface ShippingInfo$1 {
3650
+ /** Shipping address and contact details. */
3651
+ shippingDestination?: AddressWithContact$1;
3652
+ /** Selected option out of the options allowed for the `region`. */
3653
+ selectedCarrierServiceOption?: SelectedCarrierServiceOption$1;
3654
+ /**
3655
+ * Shipping region. Based on the address provided.
3656
+ * @readonly
3657
+ */
3658
+ region?: V1ShippingRegion;
3659
+ /**
3660
+ * All carrier options for this shipping rule.
3661
+ * @readonly
3662
+ */
3663
+ carrierServiceOptions?: CarrierServiceOption[];
3664
+ }
3665
+ interface SelectedCarrierServiceOption$1 {
3666
+ /** Unique identifier of selected option. For example, "usps_std_overnight". */
3667
+ code?: string;
3668
+ /**
3669
+ * Title of the option, such as USPS Standard Overnight Delivery (in the requested locale).
3670
+ * For example, "Standard" or "First-Class Package International".
3671
+ * @readonly
3672
+ */
3673
+ title?: string;
3674
+ /**
3675
+ * Delivery logistics.
3676
+ * @readonly
3677
+ */
3678
+ logistics?: V1DeliveryLogistics;
3679
+ /**
3680
+ * Shipping costs.
3681
+ * @readonly
3682
+ */
3683
+ cost?: SelectedCarrierServiceOptionPrices$1;
3684
+ /**
3685
+ * Were we able to find the requested shipping option, or otherwise we fallback to the default one (the first)
3686
+ * @readonly
3687
+ */
3688
+ requestedShippingOption?: boolean;
3689
+ /** Other charges */
3690
+ otherCharges?: SelectedCarrierServiceOptionOtherCharge[];
3691
+ /** This carrier's unique ID */
3692
+ carrierId?: string | null;
3693
+ }
3694
+ interface V1DeliveryLogistics {
3695
+ /** Expected delivery time, in free text. For example, "3-5 business days". */
3696
+ deliveryTime?: string | null;
3697
+ /** Instructions for caller, e.g for pickup: "Please deliver during opening hours, and please don't park in disabled parking spot". */
3698
+ instructions?: string | null;
3699
+ /** Pickup details. */
3700
+ pickupDetails?: V1PickupDetails;
3701
+ }
3702
+ interface V1PickupDetails {
3703
+ /** Pickup address. */
3704
+ address?: Address$1;
3705
+ /**
3706
+ * Whether the pickup address is that of a business - this may effect tax calculation.
3707
+ * @deprecated
3708
+ */
3709
+ businessLocation?: boolean;
3710
+ /** Pickup method */
3711
+ pickupMethod?: PickupDetailsPickupMethod;
3712
+ }
3713
+ declare enum PickupDetailsPickupMethod {
3714
+ UNKNOWN_METHOD = "UNKNOWN_METHOD",
3715
+ STORE_PICKUP = "STORE_PICKUP",
3716
+ PICKUP_POINT = "PICKUP_POINT"
3717
+ }
3718
+ interface V1DeliveryTimeSlot {
3719
+ /** starting time of the delivery time slot */
3720
+ from?: Date;
3721
+ /** ending time of the delivery time slot */
3722
+ to?: Date;
3723
+ }
3724
+ interface SelectedCarrierServiceOptionPrices$1 {
3725
+ /** Total shipping price, after discount and after tax. */
3726
+ totalPriceAfterTax?: MultiCurrencyPrice$1;
3727
+ /** Total price of shipping after discounts (when relevant), and before tax. */
3728
+ totalPriceBeforeTax?: MultiCurrencyPrice$1;
3729
+ /** Tax details. */
3730
+ taxDetails?: ItemTaxFullDetails$1;
3731
+ /** Shipping discount before tax. */
3732
+ totalDiscount?: MultiCurrencyPrice$1;
3733
+ /** Shipping price before discount and before tax. */
3734
+ price?: MultiCurrencyPrice$1;
3735
+ }
3736
+ interface SelectedCarrierServiceOptionOtherCharge {
3737
+ /** Type of additional cost. */
3738
+ type?: ChargeType;
3739
+ /** Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'. */
3740
+ details?: string | null;
3741
+ /** Price of added charge. */
3742
+ cost?: SelectedCarrierServiceOptionPrices$1;
3743
+ }
3744
+ declare enum ChargeType {
3745
+ HANDLING_FEE = "HANDLING_FEE",
3746
+ INSURANCE = "INSURANCE"
3747
+ }
3748
+ interface V1ShippingRegion {
3749
+ /**
3750
+ * Shipping region ID.
3751
+ * @readonly
3752
+ */
3753
+ _id?: string;
3754
+ /** Shipping region name. */
3755
+ name?: string;
3756
+ }
3757
+ interface CarrierServiceOption {
3758
+ /** Carrier ID. */
3759
+ carrierId?: string;
3760
+ /** Shipping options offered by this carrier for this request. */
3761
+ shippingOptions?: ShippingOption[];
3762
+ }
3763
+ interface ShippingOption {
3764
+ /**
3765
+ * Unique code of provided shipping option like "usps_std_overnight".
3766
+ * For legacy calculators this would be the UUID of the option.
3767
+ */
3768
+ code?: string;
3769
+ /**
3770
+ * Title of the option, such as USPS Standard Overnight Delivery (in the requested locale).
3771
+ * For example, "Standard" or "First-Class Package International".
3772
+ */
3773
+ title?: string;
3774
+ /** Delivery logistics. */
3775
+ logistics?: V1DeliveryLogistics;
3776
+ /** Sipping price information. */
3777
+ cost?: V1ShippingPrice;
3778
+ }
3779
+ interface V1ShippingPrice {
3780
+ /** Shipping price. */
3781
+ price?: MultiCurrencyPrice$1;
3782
+ /** Other costs such as insurance, handling & packaging for fragile items, etc. */
3783
+ otherCharges?: OtherCharge[];
3784
+ }
3785
+ interface OtherCharge {
3786
+ /** Type of additional cost. */
3787
+ type?: ChargeType;
3788
+ /** Price of added cost. */
3789
+ price?: MultiCurrencyPrice$1;
3790
+ }
3791
+ interface BuyerInfo extends BuyerInfoIdOneOf {
3792
+ /**
3793
+ * Visitor ID (if site visitor is **not** a member).
3794
+ * @readonly
3795
+ */
3796
+ visitorId?: string;
3797
+ /**
3798
+ * Member ID (if site visitor is a site member).
3799
+ * @readonly
3800
+ */
3801
+ memberId?: string;
3802
+ /**
3803
+ * Contact ID. Auto-created if one does not yet exist. For more information, see [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/introduction).
3804
+ * @readonly
3805
+ */
3806
+ contactId?: string | null;
3807
+ /** Buyer email address. */
3808
+ email?: string | null;
3809
+ }
3810
+ /** @oneof */
3811
+ interface BuyerInfoIdOneOf {
3812
+ /**
3813
+ * Visitor ID (if site visitor is **not** a member).
3814
+ * @readonly
3815
+ */
3816
+ visitorId?: string;
3817
+ /**
3818
+ * Member ID (if site visitor is a site member).
3819
+ * @readonly
3820
+ */
3821
+ memberId?: string;
3822
+ }
3823
+ interface V1PriceSummary {
3824
+ /** Subtotal of all line items, before discounts and before tax. */
3825
+ subtotal?: MultiCurrencyPrice$1;
3826
+ /** Total shipping price, before discounts and before tax. */
3827
+ shipping?: MultiCurrencyPrice$1;
3828
+ /** Total tax. */
3829
+ tax?: MultiCurrencyPrice$1;
3830
+ /** Total calculated discount value. */
3831
+ discount?: MultiCurrencyPrice$1;
3832
+ /** Total price after discounts, gift cards, and tax. */
3833
+ total?: MultiCurrencyPrice$1;
3834
+ /** Total additional fees price before tax. */
3835
+ additionalFees?: MultiCurrencyPrice$1;
3836
+ }
3837
+ interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOneOf {
3838
+ /** General shipping calculation error. */
3839
+ generalShippingCalculationError?: Details;
3840
+ /** Carrier errors. */
3841
+ carrierErrors?: CarrierErrors;
3842
+ /** Tax calculation error. */
3843
+ taxCalculationError?: Details;
3844
+ /** Coupon calculation error. */
3845
+ couponCalculationError?: Details;
3846
+ /** Gift card calculation error. */
3847
+ giftCardCalculationError?: Details;
3848
+ /** Order validation errors. */
3849
+ orderValidationErrors?: ApplicationError[];
3850
+ /**
3851
+ * Membership payment methods calculation errors
3852
+ * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
3853
+ */
3854
+ membershipError?: Details;
3855
+ /** Discount Rule calculation error. */
3856
+ discountsCalculationError?: Details;
3857
+ }
3858
+ /** @oneof */
3859
+ interface CalculationErrorsShippingCalculationErrorOneOf {
3860
+ /** General shipping calculation error. */
3861
+ generalShippingCalculationError?: Details;
3862
+ /** Carrier errors. */
3863
+ carrierErrors?: CarrierErrors;
3864
+ }
3865
+ interface Details extends DetailsKindOneOf {
3866
+ applicationError?: ApplicationError;
3867
+ validationError?: ValidationError;
3868
+ systemError?: SystemError;
3869
+ /**
3870
+ * deprecated in API's - to enable migration from rendering arbitrary tracing to rest response
3871
+ * @deprecated
3872
+ */
3873
+ tracing?: Record<string, string>;
3874
+ }
3875
+ /** @oneof */
3876
+ interface DetailsKindOneOf {
3877
+ applicationError?: ApplicationError;
3878
+ validationError?: ValidationError;
3879
+ systemError?: SystemError;
3880
+ }
3881
+ interface ApplicationError {
3882
+ /** Error code. */
3883
+ code?: string;
3884
+ /** Description of the error. */
3885
+ description?: string;
3886
+ /** Data related to the error. */
3887
+ data?: Record<string, any> | null;
3888
+ }
3889
+ /**
3890
+ * example result:
3891
+ * {
3892
+ * "fieldViolations": [
3893
+ * {
3894
+ * "field": "fieldA",
3895
+ * "description": "invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]",
3896
+ * "violatedRule": "OTHER",
3897
+ * "ruleName": "INVALID_NOTE",
3898
+ * "data": {
3899
+ * "value": "FI"
3900
+ * }
3901
+ * },
3902
+ * {
3903
+ * "field": "fieldB",
3904
+ * "description": "field value out of range. supported range: [0-20]",
3905
+ * "violatedRule": "MAX",
3906
+ * "data": {
3907
+ * "threshold": 20
3908
+ * }
3909
+ * },
3910
+ * {
3911
+ * "field": "fieldC",
3912
+ * "description": "invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]",
3913
+ * "violatedRule": "FORMAT",
3914
+ * "data": {
3915
+ * "type": "PHONE"
3916
+ * }
3917
+ * }
3918
+ * ]
3919
+ * }
3920
+ */
3921
+ interface ValidationError {
3922
+ fieldViolations?: FieldViolation[];
3923
+ }
3924
+ declare enum RuleType {
3925
+ VALIDATION = "VALIDATION",
3926
+ OTHER = "OTHER",
3927
+ MAX = "MAX",
3928
+ MIN = "MIN",
3929
+ MAX_LENGTH = "MAX_LENGTH",
3930
+ MIN_LENGTH = "MIN_LENGTH",
3931
+ MAX_SIZE = "MAX_SIZE",
3932
+ MIN_SIZE = "MIN_SIZE",
3933
+ FORMAT = "FORMAT",
3934
+ DECIMAL_LTE = "DECIMAL_LTE",
3935
+ DECIMAL_GTE = "DECIMAL_GTE",
3936
+ DECIMAL_LT = "DECIMAL_LT",
3937
+ DECIMAL_GT = "DECIMAL_GT",
3938
+ DECIMAL_MAX_SCALE = "DECIMAL_MAX_SCALE",
3939
+ INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
3940
+ REQUIRED_FIELD = "REQUIRED_FIELD",
3941
+ FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
3942
+ ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT"
3943
+ }
3944
+ interface FieldViolation {
3945
+ field?: string;
3946
+ description?: string;
3947
+ violatedRule?: RuleType;
3948
+ /** applicable when violated_rule=OTHER */
3949
+ ruleName?: string | null;
3950
+ data?: Record<string, any> | null;
3951
+ }
3952
+ interface SystemError {
3953
+ /** Error code. */
3954
+ errorCode?: string | null;
3955
+ }
3956
+ interface CarrierErrors {
3957
+ /** Carrier errors. */
3958
+ errors?: CarrierError[];
3959
+ }
3960
+ interface CarrierError {
3961
+ /** Carrier ID. */
3962
+ carrierId?: string;
3963
+ /** Error details. */
3964
+ error?: Details;
3965
+ }
3966
+ interface GiftCard$1 {
3967
+ /**
3968
+ * Gift Card ID.
3969
+ * @deprecated
3970
+ */
3971
+ _id?: string;
3972
+ /** Gift card obfuscated code. */
3973
+ obfuscatedCode?: string;
3974
+ /** Gift card value. */
3975
+ amount?: MultiCurrencyPrice$1;
3976
+ /** App ID of the gift card provider. */
3977
+ appId?: string;
3978
+ }
3979
+ interface V1AppliedDiscount extends V1AppliedDiscountDiscountSourceOneOf {
3980
+ /** Coupon details. */
3981
+ coupon?: V1Coupon;
3982
+ /** Merchant discount. */
3983
+ merchantDiscount?: V1MerchantDiscount;
3984
+ /** Discount rule */
3985
+ discountRule?: V1DiscountRule;
3986
+ /** Discount type. */
3987
+ discountType?: AppliedDiscountDiscountType;
3988
+ /**
3989
+ * IDs of line items the discount applies to.
3990
+ * @deprecated IDs of line items the discount applies to.
3991
+ * @replacedBy line_items_discounts
3992
+ * @targetRemovalDate 2024-06-01
3993
+ */
3994
+ lineItemIds?: string[];
3995
+ }
3996
+ /** @oneof */
3997
+ interface V1AppliedDiscountDiscountSourceOneOf {
3998
+ /** Coupon details. */
3999
+ coupon?: V1Coupon;
4000
+ /** Merchant discount. */
4001
+ merchantDiscount?: V1MerchantDiscount;
4002
+ /** Discount rule */
4003
+ discountRule?: V1DiscountRule;
4004
+ }
4005
+ declare enum AppliedDiscountDiscountType {
4006
+ GLOBAL = "GLOBAL",
4007
+ SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
4008
+ SHIPPING = "SHIPPING"
4009
+ }
4010
+ /** Coupon */
4011
+ interface V1Coupon {
4012
+ /** Coupon ID. */
4013
+ _id?: string;
4014
+ /** Coupon code. */
4015
+ code?: string;
4016
+ /** Coupon value. */
4017
+ amount?: MultiCurrencyPrice$1;
4018
+ /** Coupon name. */
4019
+ name?: string;
4020
+ }
4021
+ interface V1MerchantDiscount {
4022
+ /** Discount value. */
4023
+ amount?: MultiCurrencyPrice$1;
4024
+ /** Discount Percentage. Will be calculated from items price before other discounts. */
4025
+ percentage?: number | null;
4026
+ }
4027
+ interface V1DiscountRule {
4028
+ /** Discount rule ID */
4029
+ _id?: string;
4030
+ /** Discount rule name */
4031
+ name?: V1DiscountRuleName;
4032
+ /** Discount value. */
4033
+ amount?: MultiCurrencyPrice$1;
4034
+ }
4035
+ interface V1DiscountRuleName {
4036
+ /** Original discount rule name (in site's default language). */
4037
+ original?: string;
4038
+ /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
4039
+ translated?: string | null;
4040
+ }
4041
+ interface V1LineItemDiscount {
4042
+ /** ID of line item the discount applies to. */
4043
+ _id?: string;
4044
+ /** Discount value. */
4045
+ totalDiscountAmount?: MultiCurrencyPrice$1;
4046
+ }
4047
+ interface TaxSummary {
4048
+ /**
4049
+ * Amount for which tax is calculated, added from line items.
4050
+ * @readonly
4051
+ */
4052
+ taxableAmount?: MultiCurrencyPrice$1;
4053
+ /**
4054
+ * Calculated tax, added from line items.
4055
+ * @readonly
4056
+ */
4057
+ totalTax?: MultiCurrencyPrice$1;
4058
+ /**
4059
+ * Tax calculator that was active when the order was created.
4060
+ * @deprecated
4061
+ */
4062
+ calculationDetails?: TaxCalculationDetails;
4063
+ }
4064
+ interface TaxCalculationDetails extends TaxCalculationDetailsCalculationDetailsOneOf {
4065
+ /** Reason the manual calculation was used. */
4066
+ manualRateReason?: ManualCalculationReason;
4067
+ /** Details of the fallback rate calculation. */
4068
+ autoTaxFallbackDetails?: AutoTaxFallbackCalculationDetails;
4069
+ /** Rate calculation type. */
4070
+ rateType?: RateType;
4071
+ }
4072
+ /** @oneof */
4073
+ interface TaxCalculationDetailsCalculationDetailsOneOf {
4074
+ /** Reason the manual calculation was used. */
4075
+ manualRateReason?: ManualCalculationReason;
4076
+ /** Details of the fallback rate calculation. */
4077
+ autoTaxFallbackDetails?: AutoTaxFallbackCalculationDetails;
4078
+ }
4079
+ declare enum RateType {
4080
+ /** no tax being collected for this request due to location of purchase */
4081
+ NO_TAX_COLLECTED = "NO_TAX_COLLECTED",
4082
+ /** manual rate used for calculation */
4083
+ MANUAL_RATE = "MANUAL_RATE",
4084
+ /** autotax rate used for calculation */
4085
+ AUTO_RATE = "AUTO_RATE",
4086
+ /** fallback rate used for calculation */
4087
+ FALLBACK_RATE = "FALLBACK_RATE"
4088
+ }
4089
+ declare enum ManualCalculationReason {
4090
+ /** user set calculator in Business Manager to be Manual */
4091
+ GLOBAL_SETTING_TO_MANUAL = "GLOBAL_SETTING_TO_MANUAL",
4092
+ /** specific region is on manual even though Global setting is Auto-tax */
4093
+ REGION_SETTING_TO_MANUAL = "REGION_SETTING_TO_MANUAL"
4094
+ }
4095
+ interface AutoTaxFallbackCalculationDetails {
4096
+ /** reason for fallback */
4097
+ fallbackReason?: FallbackReason;
4098
+ /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
4099
+ error?: ApplicationError;
4100
+ }
4101
+ declare enum FallbackReason {
4102
+ /** auto-tax failed to be calculated */
4103
+ AUTO_TAX_FAILED = "AUTO_TAX_FAILED",
4104
+ /** auto-tax was temporarily deactivated on a system-level */
4105
+ AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
4106
+ }
4107
+ /**
4108
+ * The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
4109
+ * Tax breakdown is the tax amount split to the tax authorities that applied on the line item.
4110
+ */
4111
+ interface AggregatedTaxBreakdown {
4112
+ /** The name of the tax against which this tax amount was calculated. */
4113
+ taxName?: string;
4114
+ /** The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws. */
4115
+ taxType?: string;
4116
+ /** The name of the jurisdiction in which this tax detail applies. */
4117
+ jurisdiction?: string;
4118
+ /** The type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
4119
+ jurisdictionTypeEnum?: V1JurisdictionType;
4120
+ /** The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.000 signifies 200% tax. (Decimal value) */
4121
+ rate?: string;
4122
+ /** The sum of all the tax from line items that calculated by the tax identifiers. */
4123
+ aggregatedTaxAmount?: MultiCurrencyPrice$1;
4124
+ }
4125
+ interface CreatedBy extends CreatedByIdOneOf {
4126
+ /**
4127
+ * User ID - when the order was created by a Wix user on behalf of a buyer.
4128
+ * For example, via POS (point of service).
4129
+ */
4130
+ userId?: string;
4131
+ /** Member ID - when the order was created by a **logged in** site visitor. */
4132
+ memberId?: string;
4133
+ /** Visitor ID - when the order was created by a site visitor that was **not** logged in. */
4134
+ visitorId?: string;
4135
+ /** App ID - when the order was created by an external application or Wix service. */
4136
+ appId?: string;
4137
+ }
4138
+ /** @oneof */
4139
+ interface CreatedByIdOneOf {
4140
+ /**
4141
+ * User ID - when the order was created by a Wix user on behalf of a buyer.
4142
+ * For example, via POS (point of service).
4143
+ */
4144
+ userId?: string;
4145
+ /** Member ID - when the order was created by a **logged in** site visitor. */
4146
+ memberId?: string;
4147
+ /** Visitor ID - when the order was created by a site visitor that was **not** logged in. */
4148
+ visitorId?: string;
4149
+ /** App ID - when the order was created by an external application or Wix service. */
4150
+ appId?: string;
4151
+ }
4152
+ /** Reserved for internal use. */
4153
+ interface MembershipOptions {
4154
+ /**
4155
+ * Reserved for internal use.
4156
+ * @readonly
4157
+ */
4158
+ eligibleMemberships?: Membership[];
4159
+ /**
4160
+ * Reserved for internal use.
4161
+ * @readonly
4162
+ */
4163
+ invalidMemberships?: InvalidMembership[];
4164
+ /** Selected membership to apply to this checkout. */
4165
+ selectedMemberships?: SelectedMemberships;
4166
+ }
4167
+ interface Membership {
4168
+ /** Membership ID. */
4169
+ _id?: string;
4170
+ /** ID of the application providing this payment option. */
4171
+ appId?: string;
4172
+ /** The name of this membership. */
4173
+ name?: MembershipName;
4174
+ /** Line item IDs which are "paid" for by this membership. */
4175
+ lineItemIds?: string[];
4176
+ /** Optional - For a membership that has limited credits, information about credit usage. */
4177
+ credits?: MembershipPaymentCredits;
4178
+ /** Optional - TMembership expiry date. */
4179
+ expirationDate?: Date;
4180
+ /** Additional data about this membership. */
4181
+ additionalData?: Record<string, any> | null;
4182
+ }
4183
+ interface MembershipName {
4184
+ /** The name of this membership */
4185
+ original?: string;
4186
+ /** Optional - Translated name of this membership. Defaults to `original` when not provided. */
4187
+ translated?: string | null;
4188
+ }
4189
+ interface MembershipPaymentCredits {
4190
+ /** How much credit this membership has in total */
4191
+ total?: number;
4192
+ /** How much credit remained for this membership */
4193
+ remaining?: number;
4194
+ }
4195
+ interface InvalidMembership {
4196
+ /** Membership details. */
4197
+ membership?: Membership;
4198
+ /** Reason why this membership is invalid and cannot be used. */
4199
+ reason?: string;
4200
+ }
4201
+ interface SelectedMemberships {
4202
+ /** Selected memberships. */
4203
+ memberships?: SelectedMembership[];
4204
+ }
4205
+ interface SelectedMembership {
4206
+ /** Membership ID. */
4207
+ _id?: string;
4208
+ /** ID of the app providing this payment option. */
4209
+ appId?: string;
4210
+ /** IDs of the line items this membership applies to. */
4211
+ lineItemIds?: string[];
4212
+ }
4213
+ interface V1AdditionalFee {
4214
+ /** Additional fee's unique code (or ID) for future processing. */
4215
+ code?: string | null;
4216
+ /** Translated additional fee's name. */
4217
+ name?: string;
4218
+ /** Additional fee's price. */
4219
+ price?: MultiCurrencyPrice$1;
4220
+ /** Tax details. */
4221
+ taxDetails?: ItemTaxFullDetails$1;
4222
+ /** Provider's app id. */
4223
+ providerAppId?: string | null;
4224
+ /** Additional fee's price before tax. */
4225
+ priceBeforeTax?: MultiCurrencyPrice$1;
4226
+ /** Additional fee's price after tax. */
4227
+ priceAfterTax?: MultiCurrencyPrice$1;
4228
+ /**
4229
+ * Optional - Line items associated with this additional fee.
4230
+ * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
4231
+ */
4232
+ lineItemIds?: string[];
4233
+ }
4234
+ interface ConversionInfo {
4235
+ /**
4236
+ * The site currency.
4237
+ * @readonly
4238
+ */
4239
+ siteCurrency?: string;
4240
+ /**
4241
+ * The rate used when converting from the site currency to the checkout currency.
4242
+ * @readonly
4243
+ */
4244
+ conversionRate?: string;
4245
+ }
4246
+ interface Violation$1 {
4247
+ /** Severity of the violation. The violations are shown on the cart and checkout pages. A warning is displayed as yellow, and allows a site visitor to proceed with caution. An error is displayed as red, and doesn't allow a site visitor to proceed with the eCommerce flow. */
4248
+ severity?: Severity$1;
4249
+ /** Target location on a checkout or cart page where the violation will be displayed. */
4250
+ target?: Target$1;
4251
+ /** Violation description. Can include rich text. Only HTTP or HTTPS links in the following format are allowed: `<a href="https://www.wix.com">Click me</a>`. */
4252
+ description?: string | null;
4253
+ }
4254
+ declare enum Severity$1 {
4255
+ /** The user is allowed to move forward in the flow. */
4256
+ WARNING = "WARNING",
4257
+ /**
4258
+ * The user is blocked from moving forward in the flow.
4259
+ * For example, if callerContext is CART - moving to checkout is blocked. if callerContext is CHECKOUT, placing an order is blocked.
4260
+ */
4261
+ ERROR = "ERROR"
4262
+ }
4263
+ interface Target$1 extends TargetTargetTypeOneOf$1 {
4264
+ /** General (other) violation. */
4265
+ other?: Other$1;
4266
+ /** Specific line item violation. */
4267
+ lineItem?: TargetLineItem$1;
4268
+ }
4269
+ /** @oneof */
4270
+ interface TargetTargetTypeOneOf$1 {
4271
+ /** General (other) violation. */
4272
+ other?: Other$1;
4273
+ /** Specific line item violation. */
4274
+ lineItem?: TargetLineItem$1;
4275
+ }
4276
+ /** Available locations on the webpage */
4277
+ declare enum NameInOther$1 {
4278
+ /** default location, in case no specific location is specified */
4279
+ OTHER_DEFAULT = "OTHER_DEFAULT"
4280
+ }
4281
+ /** Available locations on the line item */
4282
+ declare enum NameInLineItem$1 {
4283
+ /** default location, in case no specific location is specified */
4284
+ LINE_ITEM_DEFAULT = "LINE_ITEM_DEFAULT"
4285
+ }
4286
+ /** General (other) violation. */
4287
+ interface Other$1 {
4288
+ /** Location on a checkout or a cart page where a general (other) violation will be displayed. */
4289
+ name?: NameInOther$1;
4290
+ }
4291
+ /** Specific line item violation. */
4292
+ interface TargetLineItem$1 {
4293
+ /** Location on a checkout or a cart page where the specific line item violation will be displayed. */
4294
+ name?: NameInLineItem$1;
4295
+ /** ID of the line item containing the violation. */
4296
+ _id?: string | null;
4297
+ }
4298
+ interface CustomSettings {
4299
+ /**
4300
+ * Whether to restrict the option to add or remove a gift card on the checkout page.
4301
+ *
4302
+ * Default: `false`
4303
+ */
4304
+ lockGiftCard?: boolean;
4305
+ /**
4306
+ * Whether to restrict the option to add or remove a coupon code on the checkout page.
4307
+ *
4308
+ * Default: `false`
4309
+ */
4310
+ lockCouponCode?: boolean;
4311
+ /**
4312
+ * Whether to disable policy agreement checkout in the checkout page
4313
+ *
4314
+ * Default: `false`
4315
+ */
4316
+ disabledPolicyAgreementCheckbox?: boolean;
4317
+ /**
4318
+ * Whether to disable manual payment option for this checkout.
4319
+ *
4320
+ * Default: `false`
4321
+ */
4322
+ disabledManualPayment?: boolean;
4323
+ }
4324
+ interface CustomContentReference {
4325
+ /**
4326
+ * ID of the app providing the content.
4327
+ *
4328
+ * You can get your app's ID from its page in the [Wix Dev Center](https://dev.wix.com/apps).
4329
+ */
4330
+ appId?: string;
4331
+ /**
4332
+ * ID of the component within the app it belongs to.
4333
+ *
4334
+ * You can get your component's ID from its page in the [Wix Dev Center](https://dev.wix.com/apps).
4335
+ */
4336
+ componentId?: string;
4337
+ }
4338
+ interface ExternalReference$1 {
4339
+ /**
4340
+ * ID of the app associated with the purchase flow.
4341
+ * For example, the Wix Pay Links app ID.
4342
+ */
4343
+ appId?: string;
4344
+ /**
4345
+ * Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
4346
+ * For example, a Wix Pay Link ID.
4347
+ */
4348
+ resourceId?: string | null;
4349
+ }
4350
+ interface GetPaymentSettingsForCheckoutResponse {
4351
+ /** Blocked payment options. */
4352
+ blockedPaymentOptions?: PaymentOption[];
4353
+ }
4354
+ declare enum PaymentOption {
4355
+ UNKNOWN_PAYMENT_OPTION = "UNKNOWN_PAYMENT_OPTION",
4356
+ MANUAL = "MANUAL"
4357
+ }
4358
+ interface PaymentSettingsSPIConfig {
4359
+ /**
4360
+ * *Required.** Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI.
4361
+ * For example, to call the Get Payment Settings endpoint at `https://my-payment-settings.com/v1/payment-settings`,
4362
+ * the base URI you provide here is `https://my-payment-settings.com/`.
4363
+ */
4364
+ deploymentUri?: string;
4365
+ /**
4366
+ * The value to set for `paymentSettings.requires3dSecure` if the service plugin call fails.
4367
+ *
4368
+ * Default: `false`
4369
+ */
4370
+ fallbackValueForRequires3dSecure?: boolean;
4371
+ /**
4372
+ * `true` if SPI implementer provides payments settings for checkout
4373
+ *
4374
+ * Default: `false`
4375
+ */
4376
+ providePaymentsSettingsForCheckout?: boolean;
4377
+ }
4378
+ /**
4379
+ * this message is not directly used by any service,
4380
+ * it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.
4381
+ * e.g. SPIs, event-handlers, etc..
4382
+ * NOTE: this context object MUST be provided as the last argument in each Velo method signature.
4383
+ *
4384
+ * Example:
4385
+ * ```typescript
4386
+ * export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {
4387
+ * ...
4388
+ * }
4389
+ * ```
4390
+ */
4391
+ interface Context$1 {
4392
+ /** 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. */
4393
+ requestId?: string | null;
4394
+ /** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
4395
+ currency?: string | null;
4396
+ /** An object that describes the identity that triggered this request. */
4397
+ identity?: IdentificationData$1;
4398
+ /** 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"`. */
4399
+ languages?: string[];
4400
+ /** The service provider app's instance ID. */
4401
+ instanceId?: string | null;
4402
+ }
4403
+ declare enum IdentityType$1 {
4404
+ UNKNOWN = "UNKNOWN",
4405
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
4406
+ MEMBER = "MEMBER",
4407
+ WIX_USER = "WIX_USER",
4408
+ APP = "APP"
4409
+ }
4410
+ interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
4411
+ /** ID of a site visitor that has not logged in to the site. */
4412
+ anonymousVisitorId?: string;
4413
+ /** ID of a site visitor that has logged in to the site. */
4414
+ memberId?: string;
4415
+ /** ID of a Wix user (site owner, contributor, etc.). */
4416
+ wixUserId?: string;
4417
+ /** ID of an app. */
4418
+ appId?: string;
4419
+ /** @readonly */
4420
+ identityType?: IdentityType$1;
4421
+ }
4422
+ /** @oneof */
4423
+ interface IdentificationDataIdOneOf$1 {
4424
+ /** ID of a site visitor that has not logged in to the site. */
4425
+ anonymousVisitorId?: string;
4426
+ /** ID of a site visitor that has logged in to the site. */
4427
+ memberId?: string;
4428
+ /** ID of a Wix user (site owner, contributor, etc.). */
4429
+ wixUserId?: string;
4430
+ /** ID of an app. */
4431
+ appId?: string;
4432
+ }
4433
+
4434
+ interface GetPaymentSettingsEnvelope {
4435
+ request: GetPaymentSettingsRequest;
4436
+ metadata: Context$1;
4437
+ }
4438
+ interface GetPaymentSettingsForCheckoutEnvelope {
4439
+ request: GetPaymentSettingsForCheckoutRequest;
4440
+ metadata: Context$1;
4441
+ }
4442
+ declare const provideHandlers$3: ServicePluginDefinition<{
4443
+ /**
4444
+ *
4445
+ * This method retrieves payment settings from your app.
4446
+ *
4447
+ * Wix calls this method during the payment process. For example, when a customer inserts credit card details and places an order.
4448
+ * This method retrieves the payment settings to apply, and Wix passes on the settings to the payment provider. */
4449
+ getPaymentSettings(payload: GetPaymentSettingsEnvelope): GetPaymentSettingsResponse | Promise<GetPaymentSettingsResponse>;
4450
+ /**
4451
+ * Returns payment settings for provided Checkout entity. */
4452
+ getPaymentSettingsForCheckout(payload: GetPaymentSettingsForCheckoutEnvelope): GetPaymentSettingsForCheckoutResponse | Promise<GetPaymentSettingsForCheckoutResponse>;
3214
4453
  }>;
3215
4454
 
3216
4455
  declare function createServicePluginModule$1<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
@@ -3223,22 +4462,42 @@ type context$1_ActivityContentOneOf = ActivityContentOneOf;
3223
4462
  type context$1_ActivityType = ActivityType;
3224
4463
  declare const context$1_ActivityType: typeof ActivityType;
3225
4464
  type context$1_AdditionalFee = AdditionalFee;
4465
+ type context$1_AggregatedTaxBreakdown = AggregatedTaxBreakdown;
4466
+ type context$1_ApiAddressWithContact = ApiAddressWithContact;
4467
+ type context$1_ApiItemTaxFullDetails = ApiItemTaxFullDetails;
4468
+ type context$1_ApiTaxSummary = ApiTaxSummary;
4469
+ type context$1_ApplicationError = ApplicationError;
4470
+ type context$1_AppliedDiscountDiscountType = AppliedDiscountDiscountType;
4471
+ declare const context$1_AppliedDiscountDiscountType: typeof AppliedDiscountDiscountType;
3226
4472
  type context$1_AttributionSource = AttributionSource;
3227
4473
  declare const context$1_AttributionSource: typeof AttributionSource;
3228
4474
  type context$1_AuthorizedPaymentCaptured = AuthorizedPaymentCaptured;
3229
4475
  type context$1_AuthorizedPaymentCreated = AuthorizedPaymentCreated;
3230
4476
  type context$1_AuthorizedPaymentVoided = AuthorizedPaymentVoided;
4477
+ type context$1_AutoTaxFallbackCalculationDetails = AutoTaxFallbackCalculationDetails;
3231
4478
  type context$1_Balance = Balance;
3232
4479
  type context$1_BalanceSummary = BalanceSummary;
3233
4480
  type context$1_BuyerInfo = BuyerInfo;
3234
4481
  type context$1_BuyerInfoIdOneOf = BuyerInfoIdOneOf;
4482
+ type context$1_CalculationErrors = CalculationErrors;
4483
+ type context$1_CalculationErrorsShippingCalculationErrorOneOf = CalculationErrorsShippingCalculationErrorOneOf;
4484
+ type context$1_CarrierError = CarrierError;
4485
+ type context$1_CarrierErrors = CarrierErrors;
4486
+ type context$1_CarrierServiceOption = CarrierServiceOption;
4487
+ type context$1_CatalogOverrideFields = CatalogOverrideFields;
3235
4488
  type context$1_ChannelInfo = ChannelInfo;
3236
4489
  type context$1_ChannelType = ChannelType;
3237
4490
  declare const context$1_ChannelType: typeof ChannelType;
4491
+ type context$1_ChargeType = ChargeType;
4492
+ declare const context$1_ChargeType: typeof ChargeType;
4493
+ type context$1_Checkout = Checkout;
3238
4494
  type context$1_Color = Color;
4495
+ type context$1_ConversionInfo = ConversionInfo;
3239
4496
  type context$1_CreatedBy = CreatedBy;
3240
- type context$1_CreatedByStringOneOf = CreatedByStringOneOf;
4497
+ type context$1_CreatedByIdOneOf = CreatedByIdOneOf;
3241
4498
  type context$1_CustomActivity = CustomActivity;
4499
+ type context$1_CustomContentReference = CustomContentReference;
4500
+ type context$1_CustomSettings = CustomSettings;
3242
4501
  type context$1_DeliveryLogistics = DeliveryLogistics;
3243
4502
  type context$1_DeliveryLogisticsAddressOneOf = DeliveryLogisticsAddressOneOf;
3244
4503
  type context$1_DeliveryTimeSlot = DeliveryTimeSlot;
@@ -3248,15 +4507,29 @@ type context$1_DescriptionLineName = DescriptionLineName;
3248
4507
  type context$1_DescriptionLineType = DescriptionLineType;
3249
4508
  declare const context$1_DescriptionLineType: typeof DescriptionLineType;
3250
4509
  type context$1_DescriptionLineValueOneOf = DescriptionLineValueOneOf;
4510
+ type context$1_Details = Details;
4511
+ type context$1_DetailsKindOneOf = DetailsKindOneOf;
3251
4512
  type context$1_DigitalFile = DigitalFile;
3252
4513
  type context$1_DiscountReason = DiscountReason;
3253
4514
  declare const context$1_DiscountReason: typeof DiscountReason;
3254
4515
  type context$1_DraftOrderChangesApplied = DraftOrderChangesApplied;
4516
+ type context$1_FallbackReason = FallbackReason;
4517
+ declare const context$1_FallbackReason: typeof FallbackReason;
4518
+ type context$1_FieldViolation = FieldViolation;
4519
+ type context$1_FileType = FileType;
4520
+ declare const context$1_FileType: typeof FileType;
3255
4521
  type context$1_FulfillmentStatus = FulfillmentStatus;
3256
4522
  declare const context$1_FulfillmentStatus: typeof FulfillmentStatus;
3257
4523
  type context$1_FulfillmentStatusesAggregate = FulfillmentStatusesAggregate;
4524
+ type context$1_GetPaymentSettingsForCheckoutRequest = GetPaymentSettingsForCheckoutRequest;
4525
+ type context$1_GetPaymentSettingsForCheckoutResponse = GetPaymentSettingsForCheckoutResponse;
3258
4526
  type context$1_GetPaymentSettingsRequest = GetPaymentSettingsRequest;
3259
4527
  type context$1_GetPaymentSettingsResponse = GetPaymentSettingsResponse;
4528
+ type context$1_Group = Group;
4529
+ type context$1_InvalidMembership = InvalidMembership;
4530
+ type context$1_ItemAvailabilityInfo = ItemAvailabilityInfo;
4531
+ type context$1_ItemAvailabilityStatus = ItemAvailabilityStatus;
4532
+ declare const context$1_ItemAvailabilityStatus: typeof ItemAvailabilityStatus;
3260
4533
  type context$1_LineItemAmount = LineItemAmount;
3261
4534
  type context$1_LineItemChanges = LineItemChanges;
3262
4535
  type context$1_LineItemDiscount = LineItemDiscount;
@@ -3271,6 +4544,12 @@ type context$1_LocationAndQuantity = LocationAndQuantity;
3271
4544
  type context$1_ManagedAdditionalFee = ManagedAdditionalFee;
3272
4545
  type context$1_ManagedDiscount = ManagedDiscount;
3273
4546
  type context$1_ManagedLineItem = ManagedLineItem;
4547
+ type context$1_ManualCalculationReason = ManualCalculationReason;
4548
+ declare const context$1_ManualCalculationReason: typeof ManualCalculationReason;
4549
+ type context$1_Membership = Membership;
4550
+ type context$1_MembershipName = MembershipName;
4551
+ type context$1_MembershipOptions = MembershipOptions;
4552
+ type context$1_MembershipPaymentCredits = MembershipPaymentCredits;
3274
4553
  type context$1_MerchantComment = MerchantComment;
3275
4554
  type context$1_MerchantDiscountMerchantDiscountReasonOneOf = MerchantDiscountMerchantDiscountReasonOneOf;
3276
4555
  type context$1_NewExchangeOrderCreated = NewExchangeOrderCreated;
@@ -3284,6 +4563,9 @@ type context$1_OrderStatus = OrderStatus;
3284
4563
  declare const context$1_OrderStatus: typeof OrderStatus;
3285
4564
  type context$1_OrderTaxBreakdown = OrderTaxBreakdown;
3286
4565
  type context$1_OrderTaxInfo = OrderTaxInfo;
4566
+ type context$1_OtherCharge = OtherCharge;
4567
+ type context$1_PaymentOption = PaymentOption;
4568
+ declare const context$1_PaymentOption: typeof PaymentOption;
3287
4569
  type context$1_PaymentOptionType = PaymentOptionType;
3288
4570
  declare const context$1_PaymentOptionType: typeof PaymentOptionType;
3289
4571
  type context$1_PaymentRefundFailed = PaymentRefundFailed;
@@ -3294,29 +4576,72 @@ type context$1_PaymentStatus = PaymentStatus;
3294
4576
  declare const context$1_PaymentStatus: typeof PaymentStatus;
3295
4577
  type context$1_PickupAddress = PickupAddress;
3296
4578
  type context$1_PickupDetails = PickupDetails;
4579
+ type context$1_PickupDetailsPickupMethod = PickupDetailsPickupMethod;
4580
+ declare const context$1_PickupDetailsPickupMethod: typeof PickupDetailsPickupMethod;
3297
4581
  type context$1_PickupMethod = PickupMethod;
3298
4582
  declare const context$1_PickupMethod: typeof PickupMethod;
3299
4583
  type context$1_PlainTextValue = PlainTextValue;
3300
4584
  type context$1_Price = Price;
3301
4585
  type context$1_PriceDescription = PriceDescription;
4586
+ type context$1_RateType = RateType;
4587
+ declare const context$1_RateType: typeof RateType;
3302
4588
  type context$1_RefundInitiated = RefundInitiated;
3303
4589
  type context$1_RefundedPayment = RefundedPayment;
3304
4590
  type context$1_RefundedPaymentKindOneOf = RefundedPaymentKindOneOf;
3305
4591
  type context$1_RegularPaymentRefund = RegularPaymentRefund;
4592
+ type context$1_RuleType = RuleType;
4593
+ declare const context$1_RuleType: typeof RuleType;
3306
4594
  type context$1_SavedPaymentMethod = SavedPaymentMethod;
4595
+ type context$1_Scope = Scope;
4596
+ type context$1_SecuredMedia = SecuredMedia;
4597
+ type context$1_SelectedCarrierServiceOptionOtherCharge = SelectedCarrierServiceOptionOtherCharge;
4598
+ type context$1_SelectedMembership = SelectedMembership;
4599
+ type context$1_SelectedMemberships = SelectedMemberships;
4600
+ type context$1_ServiceProperties = ServiceProperties;
3307
4601
  type context$1_ShippingInformation = ShippingInformation;
3308
4602
  type context$1_ShippingInformationChange = ShippingInformationChange;
4603
+ type context$1_ShippingOption = ShippingOption;
3309
4604
  type context$1_ShippingPrice = ShippingPrice;
3310
4605
  type context$1_ShippingRegion = ShippingRegion;
3311
4606
  type context$1_SubscriptionInfo = SubscriptionInfo;
4607
+ type context$1_SystemError = SystemError;
3312
4608
  type context$1_TagList = TagList;
3313
4609
  type context$1_Tags = Tags;
4610
+ type context$1_TaxCalculationDetails = TaxCalculationDetails;
4611
+ type context$1_TaxCalculationDetailsCalculationDetailsOneOf = TaxCalculationDetailsCalculationDetailsOneOf;
4612
+ type context$1_TaxRateBreakdown = TaxRateBreakdown;
3314
4613
  type context$1_TaxSummary = TaxSummary;
4614
+ type context$1_TaxableAddress = TaxableAddress;
4615
+ type context$1_TaxableAddressTaxableAddressDataOneOf = TaxableAddressTaxableAddressDataOneOf;
4616
+ type context$1_TaxableAddressType = TaxableAddressType;
4617
+ declare const context$1_TaxableAddressType: typeof TaxableAddressType;
3315
4618
  type context$1_TotalPriceChange = TotalPriceChange;
3316
4619
  type context$1_TranslatedValue = TranslatedValue;
4620
+ type context$1_V1AdditionalFee = V1AdditionalFee;
4621
+ type context$1_V1AppliedDiscount = V1AppliedDiscount;
4622
+ type context$1_V1AppliedDiscountDiscountSourceOneOf = V1AppliedDiscountDiscountSourceOneOf;
4623
+ type context$1_V1BuyerInfo = V1BuyerInfo;
4624
+ type context$1_V1BuyerInfoIdOneOf = V1BuyerInfoIdOneOf;
4625
+ type context$1_V1Coupon = V1Coupon;
4626
+ type context$1_V1CreatedBy = V1CreatedBy;
4627
+ type context$1_V1CreatedByStringOneOf = V1CreatedByStringOneOf;
4628
+ type context$1_V1DeliveryLogistics = V1DeliveryLogistics;
4629
+ type context$1_V1DeliveryTimeSlot = V1DeliveryTimeSlot;
4630
+ type context$1_V1DiscountRule = V1DiscountRule;
4631
+ type context$1_V1DiscountRuleName = V1DiscountRuleName;
4632
+ type context$1_V1JurisdictionType = V1JurisdictionType;
4633
+ declare const context$1_V1JurisdictionType: typeof V1JurisdictionType;
4634
+ type context$1_V1LineItemDiscount = V1LineItemDiscount;
4635
+ type context$1_V1MerchantDiscount = V1MerchantDiscount;
4636
+ type context$1_V1PickupDetails = V1PickupDetails;
4637
+ type context$1_V1PriceSummary = V1PriceSummary;
3317
4638
  type context$1_V1ShippingInformation = V1ShippingInformation;
4639
+ type context$1_V1ShippingPrice = V1ShippingPrice;
4640
+ type context$1_V1ShippingRegion = V1ShippingRegion;
4641
+ type context$1_V1SubscriptionSettings = V1SubscriptionSettings;
4642
+ type context$1_ValidationError = ValidationError;
3318
4643
  declare namespace context$1 {
3319
- 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_PaymentRefundFailed as PaymentRefundFailed, type context$1_PaymentRefunded as PaymentRefunded, 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_RefundInitiated as RefundInitiated, type context$1_RefundedPayment as RefundedPayment, type context$1_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type context$1_RegularPaymentRefund as RegularPaymentRefund, 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 };
4644
+ 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 context$1_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type context$1_ApiAddressWithContact as ApiAddressWithContact, type context$1_ApiItemTaxFullDetails as ApiItemTaxFullDetails, type context$1_ApiTaxSummary as ApiTaxSummary, type context$1_ApplicationError as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, context$1_AppliedDiscountDiscountType as AppliedDiscountDiscountType, 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_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, 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 context$1_CalculationErrors as CalculationErrors, type context$1_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type context$1_CarrierError as CarrierError, type context$1_CarrierErrors as CarrierErrors, type context$1_CarrierServiceOption as CarrierServiceOption, type context$1_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$1 as CatalogReference, type context$1_ChannelInfo as ChannelInfo, context$1_ChannelType as ChannelType, context$1_ChargeType as ChargeType, type context$1_Checkout as Checkout, type context$1_Color as Color, type Context$1 as Context, type context$1_ConversionInfo as ConversionInfo, type Coupon$1 as Coupon, type context$1_CreatedBy as CreatedBy, type context$1_CreatedByIdOneOf as CreatedByIdOneOf, type context$1_CustomActivity as CustomActivity, type context$1_CustomContentReference as CustomContentReference, type CustomField$1 as CustomField, type context$1_CustomSettings as CustomSettings, type context$1_DeliveryLogistics as DeliveryLogistics, type context$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type context$1_DeliveryTimeSlot as DeliveryTimeSlot, type Description$1 as Description, 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_Details as Details, type context$1_DetailsKindOneOf as DetailsKindOneOf, 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, type ExternalReference$1 as ExternalReference, context$1_FallbackReason as FallbackReason, type context$1_FieldViolation as FieldViolation, context$1_FileType as FileType, context$1_FulfillmentStatus as FulfillmentStatus, type context$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type context$1_GetPaymentSettingsForCheckoutRequest as GetPaymentSettingsForCheckoutRequest, type context$1_GetPaymentSettingsForCheckoutResponse as GetPaymentSettingsForCheckoutResponse, type context$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type context$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type GiftCard$1 as GiftCard, type context$1_Group as Group, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type context$1_InvalidMembership as InvalidMembership, type context$1_ItemAvailabilityInfo as ItemAvailabilityInfo, context$1_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type LineItem$1 as LineItem, 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, context$1_ManualCalculationReason as ManualCalculationReason, type context$1_Membership as Membership, type context$1_MembershipName as MembershipName, type context$1_MembershipOptions as MembershipOptions, type context$1_MembershipPaymentCredits as MembershipPaymentCredits, type context$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MultiCurrencyPrice$1 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, 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, type Other$1 as Other, type context$1_OtherCharge as OtherCharge, context$1_PaymentOption as PaymentOption, context$1_PaymentOptionType as PaymentOptionType, type context$1_PaymentRefundFailed as PaymentRefundFailed, type context$1_PaymentRefunded as PaymentRefunded, 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_PickupDetailsPickupMethod as PickupDetailsPickupMethod, 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, context$1_RateType as RateType, type context$1_RefundInitiated as RefundInitiated, type context$1_RefundedPayment as RefundedPayment, type context$1_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type context$1_RegularPaymentRefund as RegularPaymentRefund, context$1_RuleType as RuleType, type context$1_SavedPaymentMethod as SavedPaymentMethod, type context$1_Scope as Scope, type context$1_SecuredMedia as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type context$1_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type context$1_SelectedMembership as SelectedMembership, type context$1_SelectedMemberships as SelectedMemberships, type context$1_ServiceProperties as ServiceProperties, Severity$1 as Severity, type ShippingInfo$1 as ShippingInfo, type context$1_ShippingInformation as ShippingInformation, type context$1_ShippingInformationChange as ShippingInformationChange, type context$1_ShippingOption as ShippingOption, 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 SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type context$1_SystemError as SystemError, type context$1_TagList as TagList, type context$1_Tags as Tags, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type context$1_TaxCalculationDetails as TaxCalculationDetails, type context$1_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type context$1_TaxRateBreakdown as TaxRateBreakdown, type context$1_TaxSummary as TaxSummary, type context$1_TaxableAddress as TaxableAddress, type context$1_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, context$1_TaxableAddressType as TaxableAddressType, type Title$1 as Title, type context$1_TotalPriceChange as TotalPriceChange, type context$1_TranslatedValue as TranslatedValue, type context$1_V1AdditionalFee as V1AdditionalFee, type context$1_V1AppliedDiscount as V1AppliedDiscount, type context$1_V1AppliedDiscountDiscountSourceOneOf as V1AppliedDiscountDiscountSourceOneOf, type context$1_V1BuyerInfo as V1BuyerInfo, type context$1_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type context$1_V1Coupon as V1Coupon, type context$1_V1CreatedBy as V1CreatedBy, type context$1_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type context$1_V1DeliveryLogistics as V1DeliveryLogistics, type context$1_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type context$1_V1DiscountRule as V1DiscountRule, type context$1_V1DiscountRuleName as V1DiscountRuleName, context$1_V1JurisdictionType as V1JurisdictionType, type context$1_V1LineItemDiscount as V1LineItemDiscount, type context$1_V1MerchantDiscount as V1MerchantDiscount, type context$1_V1PickupDetails as V1PickupDetails, type context$1_V1PriceSummary as V1PriceSummary, type context$1_V1ShippingInformation as V1ShippingInformation, type context$1_V1ShippingPrice as V1ShippingPrice, type context$1_V1ShippingRegion as V1ShippingRegion, type context$1_V1SubscriptionSettings as V1SubscriptionSettings, type context$1_ValidationError as ValidationError, type VatId$1 as VatId, VatType$1 as VatType, type Violation$1 as Violation, WeightUnit$1 as WeightUnit, type _publicProvideHandlersType$1 as _publicProvideHandlersType, provideHandlers$2 as provideHandlers, provideHandlers$3 as publicProvideHandlers };
3320
4645
  }
3321
4646
 
3322
4647
  interface GetValidationViolationsRequest {