@wix/ecom 1.0.714 → 1.0.716

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.
@@ -3060,6 +3060,13 @@ interface LineItem$7 {
3060
3060
  * @readonly
3061
3061
  */
3062
3062
  consentRequiredPaymentPolicy?: string | null;
3063
+ /**
3064
+ * Overriding values for catalog item properties.
3065
+ *
3066
+ * To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
3067
+ * Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
3068
+ */
3069
+ catalogOverrideFields?: CatalogOverrideFields$7;
3063
3070
  /**
3064
3071
  * Whether to save the payment method on the order.
3065
3072
  *
@@ -3312,6 +3319,20 @@ interface SelectedMembership$7 {
3312
3319
  /** ID of the app providing this payment option. */
3313
3320
  appId?: string;
3314
3321
  }
3322
+ interface CatalogOverrideFields$7 {
3323
+ /** Item name. */
3324
+ productName?: ProductName$b;
3325
+ /** Item price **after** discounts. */
3326
+ price?: string | null;
3327
+ /** Item price **before** discounts. */
3328
+ fullPrice?: string | null;
3329
+ /** Item description lines. Used when displaying the line item to customers. */
3330
+ descriptionLines?: DescriptionLine$b[];
3331
+ /** Physical properties of the item. */
3332
+ physicalProperties?: PhysicalProperties$d;
3333
+ /** Item image. */
3334
+ image?: Image$6;
3335
+ }
3315
3336
  interface Image$6 {
3316
3337
  /** WixMedia image ID. */
3317
3338
  id?: string;
@@ -4989,6 +5010,13 @@ interface LineItem$6 {
4989
5010
  * @readonly
4990
5011
  */
4991
5012
  consentRequiredPaymentPolicy?: string | null;
5013
+ /**
5014
+ * Overriding values for catalog item properties.
5015
+ *
5016
+ * To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
5017
+ * Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
5018
+ */
5019
+ catalogOverrideFields?: CatalogOverrideFields$6;
4992
5020
  /**
4993
5021
  * Whether to save the payment method on the order.
4994
5022
  *
@@ -5191,6 +5219,20 @@ interface SelectedMembership$6 {
5191
5219
  /** ID of the app providing this payment option. */
5192
5220
  appId?: string;
5193
5221
  }
5222
+ interface CatalogOverrideFields$6 {
5223
+ /** Item name. */
5224
+ productName?: ProductName$a;
5225
+ /** Item price **after** discounts. */
5226
+ price?: string | null;
5227
+ /** Item price **before** discounts. */
5228
+ fullPrice?: string | null;
5229
+ /** Item description lines. Used when displaying the line item to customers. */
5230
+ descriptionLines?: DescriptionLine$a[];
5231
+ /** Physical properties of the item. */
5232
+ physicalProperties?: PhysicalProperties$c;
5233
+ /** Item image. */
5234
+ image?: string;
5235
+ }
5194
5236
  /** Buyer Info */
5195
5237
  interface BuyerInfo$8 extends BuyerInfoIdOneOf$8 {
5196
5238
  /**
@@ -6898,6 +6940,13 @@ interface LineItem$5 {
6898
6940
  * @readonly
6899
6941
  */
6900
6942
  consentRequiredPaymentPolicy?: string | null;
6943
+ /**
6944
+ * Overriding values for catalog item properties.
6945
+ *
6946
+ * To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
6947
+ * Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
6948
+ */
6949
+ catalogOverrideFields?: CatalogOverrideFields$5;
6901
6950
  /**
6902
6951
  * Whether to save the payment method on the order.
6903
6952
  *
@@ -7150,6 +7199,20 @@ interface SelectedMembership$5 {
7150
7199
  /** ID of the app providing this payment option. */
7151
7200
  appId?: string;
7152
7201
  }
7202
+ interface CatalogOverrideFields$5 {
7203
+ /** Item name. */
7204
+ productName?: ProductName$9;
7205
+ /** Item price **after** discounts. */
7206
+ price?: string | null;
7207
+ /** Item price **before** discounts. */
7208
+ fullPrice?: string | null;
7209
+ /** Item description lines. Used when displaying the line item to customers. */
7210
+ descriptionLines?: DescriptionLine$9[];
7211
+ /** Physical properties of the item. */
7212
+ physicalProperties?: PhysicalProperties$b;
7213
+ /** Item image. */
7214
+ image?: Image$5;
7215
+ }
7153
7216
  interface Image$5 {
7154
7217
  /** WixMedia image ID. */
7155
7218
  id?: string;
@@ -8787,6 +8850,13 @@ interface LineItem$4 {
8787
8850
  * @readonly
8788
8851
  */
8789
8852
  consentRequiredPaymentPolicy?: string | null;
8853
+ /**
8854
+ * Overriding values for catalog item properties.
8855
+ *
8856
+ * To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
8857
+ * Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
8858
+ */
8859
+ catalogOverrideFields?: CatalogOverrideFields$4;
8790
8860
  /**
8791
8861
  * Whether to save the payment method on the order.
8792
8862
  *
@@ -8989,6 +9059,20 @@ interface SelectedMembership$4 {
8989
9059
  /** ID of the app providing this payment option. */
8990
9060
  appId?: string;
8991
9061
  }
9062
+ interface CatalogOverrideFields$4 {
9063
+ /** Item name. */
9064
+ productName?: ProductName$8;
9065
+ /** Item price **after** discounts. */
9066
+ price?: string | null;
9067
+ /** Item price **before** discounts. */
9068
+ fullPrice?: string | null;
9069
+ /** Item description lines. Used when displaying the line item to customers. */
9070
+ descriptionLines?: DescriptionLine$8[];
9071
+ /** Physical properties of the item. */
9072
+ physicalProperties?: PhysicalProperties$a;
9073
+ /** Item image. */
9074
+ image?: string;
9075
+ }
8992
9076
  /** Buyer Info */
8993
9077
  interface BuyerInfo$6 extends BuyerInfoIdOneOf$6 {
8994
9078
  /**
@@ -556,6 +556,11 @@ interface GetShippingRatesEnvelope {
556
556
  metadata: Context$4;
557
557
  }
558
558
  declare const provideHandlers$9: ServicePluginDefinition<{
559
+ /**
560
+ *
561
+ * This method retrieves applicable shipping rates for a delivery from your app.
562
+ *
563
+ * Wix calls this method when certain actions are performed on the cart and/or checkout. For example, when an item is added to the cart, or the shipping destination is changed. */
559
564
  getShippingRates(payload: GetShippingRatesEnvelope): GetShippingRatesResponse | Promise<GetShippingRatesResponse>;
560
565
  }>;
561
566
 
@@ -986,6 +991,14 @@ interface CalculateAdditionalFeesEnvelope {
986
991
  metadata: Context$3;
987
992
  }
988
993
  declare const provideHandlers$7: ServicePluginDefinition<{
994
+ /**
995
+ *
996
+ * This method retrieves additional fees calculated by your app.
997
+ *
998
+ * Wix calls this method when certain actions are performed on the cart or checkout.
999
+ * For example, when an item is added to the cart or the amount of an item is updated in the checkout.
1000
+ *
1001
+ * > __Note:__ The currency returned in the response object must match the wix site's currency or those fees will be filtered out and not returned. Extract the `currency` from 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-with-rest#request-envelope) to ensure the correct currency is used in your calculation. */
989
1002
  calculateAdditionalFees(payload: CalculateAdditionalFeesEnvelope): CalculateAdditionalFeesResponse | Promise<CalculateAdditionalFeesResponse>;
990
1003
  }>;
991
1004
 
@@ -1152,7 +1165,18 @@ interface GetEligibleTriggersEnvelope {
1152
1165
  metadata: Context$2;
1153
1166
  }
1154
1167
  declare const provideHandlers$5: ServicePluginDefinition<{
1168
+ /**
1169
+ *
1170
+ * Lists all custom triggers provided by your service plugin integration.
1171
+ *
1172
+ * This method is automatically called by Wix eCommerce to populate the custom [minimum requirements section of an automatic discount](https://support.wix.com/en/article/wix-stores-creating-automatic-discounts#:~:text=Create%20minimum%20requirements). */
1155
1173
  listTriggers(payload: ListTriggersEnvelope): ListTriggersResponse | Promise<ListTriggersResponse>;
1174
+ /**
1175
+ *
1176
+ * Retrieves eligible custom discount triggers based on the provided items.
1177
+ *
1178
+ * This method is automatically called by Wix eCommerce to retrieve the custom discount triggers provided by your extension.
1179
+ * This happens when actions are performed on the cart and checkout entities/pages. For example, when an item is added to the cart. */
1156
1180
  getEligibleTriggers(payload: GetEligibleTriggersEnvelope): GetEligibleTriggersResponse | Promise<GetEligibleTriggersResponse>;
1157
1181
  }>;
1158
1182
 
@@ -2564,6 +2588,12 @@ interface GetPaymentSettingsEnvelope {
2564
2588
  metadata: Context$1;
2565
2589
  }
2566
2590
  declare const provideHandlers$3: ServicePluginDefinition<{
2591
+ /**
2592
+ *
2593
+ * This method retrieves payment settings from your app.
2594
+ *
2595
+ * Wix calls this method during the payment process. For example, when a customer inserts credit card details and places an order.
2596
+ * This method retrieves the payment settings to apply, and Wix passes on the settings to the payment provider. */
2567
2597
  getPaymentSettings(payload: GetPaymentSettingsEnvelope): GetPaymentSettingsResponse | Promise<GetPaymentSettingsResponse>;
2568
2598
  }>;
2569
2599
 
@@ -3306,6 +3336,14 @@ interface GetValidationViolationsEnvelope {
3306
3336
  metadata: Context;
3307
3337
  }
3308
3338
  declare const provideHandlers$1: ServicePluginDefinition<{
3339
+ /**
3340
+ *
3341
+ * This method retrieves validation violations from your app.
3342
+ *
3343
+ * Wix calls this method when certain actions are performed on a visitor's cart and checkout. For example, when an item is added to the cart, or when a coupon is added to a checkout.
3344
+ * This method validates a visitor's cart and checkout, and returns any validation violations (using the structure provided by Wix eCommerce). Site visitors can see the validation violations in their cart and checkout pages. If there aren't any validation violations, the method returns an object containing an empty list.
3345
+ *
3346
+ * > __Note:__ By default, this method only retrieves validation violations from a visitor's checkout. If you want to also retrieve validation violations from a visitor's cart, set the `validateInCart` parameter to `true` in the Ecom Validations Integration's config file. */
3309
3347
  getValidationViolations(payload: GetValidationViolationsEnvelope): GetValidationViolationsResponse | Promise<GetValidationViolationsResponse>;
3310
3348
  }>;
3311
3349
 
@@ -443,6 +443,7 @@ type ServicePluginDefinition<Contract extends ServicePluginContract> = {
443
443
  __contract: Contract;
444
444
  };
445
445
  declare function ServicePluginDefinition<Contract extends ServicePluginContract>(componentType: string, methods: ServicePluginMethodMetadata[]): ServicePluginDefinition<Contract>;
446
+ type BuildServicePluginDefinition<T extends ServicePluginDefinition<any>> = (implementation: T['__contract']) => void;
446
447
 
447
448
  declare global {
448
449
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -455,10 +456,20 @@ interface GetShippingRatesEnvelope {
455
456
  request: GetShippingRatesRequest;
456
457
  metadata: Context$4;
457
458
  }
458
- declare const provideHandlers$4: ServicePluginDefinition<{
459
+ declare const provideHandlers$9: ServicePluginDefinition<{
460
+ /**
461
+ *
462
+ * This method retrieves applicable shipping rates for a delivery from your app.
463
+ *
464
+ * Wix calls this method when certain actions are performed on the cart and/or checkout. For example, when an item is added to the cart, or the shipping destination is changed. */
459
465
  getShippingRates(payload: GetShippingRatesEnvelope): GetShippingRatesResponse | Promise<GetShippingRatesResponse>;
460
466
  }>;
461
467
 
468
+ declare function createServicePluginModule$4<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
469
+
470
+ type _publicProvideHandlersType$4 = typeof provideHandlers$9;
471
+ declare const provideHandlers$8: ReturnType<typeof createServicePluginModule$4<_publicProvideHandlersType>>;
472
+
462
473
  /**
463
474
  * Missing postal code error.
464
475
 
@@ -570,7 +581,6 @@ type index_d$4_GenericShippingRatesWixError = GenericShippingRatesWixError;
570
581
  declare const index_d$4_GenericShippingRatesWixError: typeof GenericShippingRatesWixError;
571
582
  type index_d$4_GetDashboardTablesRequest = GetDashboardTablesRequest;
572
583
  type index_d$4_GetDashboardTablesResponse = GetDashboardTablesResponse;
573
- type index_d$4_GetShippingRatesEnvelope = GetShippingRatesEnvelope;
574
584
  type index_d$4_GetShippingRatesRequest = GetShippingRatesRequest;
575
585
  type index_d$4_GetShippingRatesResponse = GetShippingRatesResponse;
576
586
  type index_d$4_InvalidAddressError = InvalidAddressError;
@@ -595,7 +605,7 @@ type index_d$4_Subdivision = Subdivision;
595
605
  type index_d$4_SubdivisionType = SubdivisionType;
596
606
  declare const index_d$4_SubdivisionType: typeof SubdivisionType;
597
607
  declare namespace index_d$4 {
598
- export { type index_d$4_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type index_d$4_AddressStreetOneOf as AddressStreetOneOf, type index_d$4_ApplicationError as ApplicationError, type CatalogReference$4 as CatalogReference, ChargeType$1 as ChargeType, type index_d$4_Column as Column, type Context$4 as Context, type index_d$4_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$4_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type index_d$4_FieldViolation as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$4_GenericShippingRatesError as GenericShippingRatesError, index_d$4_GenericShippingRatesWixError as GenericShippingRatesWixError, type index_d$4_GetDashboardTablesRequest as GetDashboardTablesRequest, type index_d$4_GetDashboardTablesResponse as GetDashboardTablesResponse, type index_d$4_GetShippingRatesEnvelope as GetShippingRatesEnvelope, type index_d$4_GetShippingRatesRequest as GetShippingRatesRequest, type index_d$4_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, IdentityType$4 as IdentityType, type index_d$4_InvalidAddressError as InvalidAddressError, index_d$4_InvalidAddressWixError as InvalidAddressWixError, type index_d$4_InvalidPostalCodeError as InvalidPostalCodeError, index_d$4_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type index_d$4_MissingPostalCodeError as MissingPostalCodeError, index_d$4_MissingPostalCodeWixError as MissingPostalCodeWixError, type index_d$4_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$4_ProductItem as ProductItem, type index_d$4_RegionDashboardTables as RegionDashboardTables, type index_d$4_Row as Row, index_d$4_RuleType as RuleType, type index_d$4_ShippingOption as ShippingOption, type ShippingPrice$1 as ShippingPrice, type index_d$4_ShippingRatesConfig as ShippingRatesConfig, type index_d$4_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type index_d$4_Subdivision as Subdivision, index_d$4_SubdivisionType as SubdivisionType, type VatId$3 as VatId, VatType$3 as VatType, WeightUnit$2 as WeightUnit, provideHandlers$4 as provideHandlers };
608
+ export { type index_d$4_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type index_d$4_AddressStreetOneOf as AddressStreetOneOf, type index_d$4_ApplicationError as ApplicationError, type CatalogReference$4 as CatalogReference, ChargeType$1 as ChargeType, type index_d$4_Column as Column, type Context$4 as Context, type index_d$4_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$4_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type index_d$4_FieldViolation as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$4_GenericShippingRatesError as GenericShippingRatesError, index_d$4_GenericShippingRatesWixError as GenericShippingRatesWixError, type index_d$4_GetDashboardTablesRequest as GetDashboardTablesRequest, type index_d$4_GetDashboardTablesResponse as GetDashboardTablesResponse, type index_d$4_GetShippingRatesRequest as GetShippingRatesRequest, type index_d$4_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, IdentityType$4 as IdentityType, type index_d$4_InvalidAddressError as InvalidAddressError, index_d$4_InvalidAddressWixError as InvalidAddressWixError, type index_d$4_InvalidPostalCodeError as InvalidPostalCodeError, index_d$4_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type index_d$4_MissingPostalCodeError as MissingPostalCodeError, index_d$4_MissingPostalCodeWixError as MissingPostalCodeWixError, type index_d$4_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$4_ProductItem as ProductItem, type index_d$4_RegionDashboardTables as RegionDashboardTables, type index_d$4_Row as Row, index_d$4_RuleType as RuleType, type index_d$4_ShippingOption as ShippingOption, type ShippingPrice$1 as ShippingPrice, type index_d$4_ShippingRatesConfig as ShippingRatesConfig, type index_d$4_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type index_d$4_Subdivision as Subdivision, index_d$4_SubdivisionType as SubdivisionType, type VatId$3 as VatId, VatType$3 as VatType, WeightUnit$2 as WeightUnit, type _publicProvideHandlersType$4 as _publicProvideHandlersType, provideHandlers$8 as provideHandlers, provideHandlers$9 as publicProvideHandlers };
599
609
  }
600
610
 
601
611
  interface CalculateAdditionalFeesRequest {
@@ -980,12 +990,24 @@ interface CalculateAdditionalFeesEnvelope {
980
990
  request: CalculateAdditionalFeesRequest;
981
991
  metadata: Context$3;
982
992
  }
983
- declare const provideHandlers$3: ServicePluginDefinition<{
993
+ declare const provideHandlers$7: ServicePluginDefinition<{
994
+ /**
995
+ *
996
+ * This method retrieves additional fees calculated by your app.
997
+ *
998
+ * Wix calls this method when certain actions are performed on the cart or checkout.
999
+ * For example, when an item is added to the cart or the amount of an item is updated in the checkout.
1000
+ *
1001
+ * > __Note:__ The currency returned in the response object must match the wix site's currency or those fees will be filtered out and not returned. Extract the `currency` from 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-with-rest#request-envelope) to ensure the correct currency is used in your calculation. */
984
1002
  calculateAdditionalFees(payload: CalculateAdditionalFeesEnvelope): CalculateAdditionalFeesResponse | Promise<CalculateAdditionalFeesResponse>;
985
1003
  }>;
986
1004
 
1005
+ declare function createServicePluginModule$3<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
1006
+
1007
+ type _publicProvideHandlersType$3 = typeof provideHandlers$7;
1008
+ declare const provideHandlers$6: ReturnType<typeof createServicePluginModule$3<_publicProvideHandlersType>>;
1009
+
987
1010
  type index_d$3_AdditionalFeesSPIConfig = AdditionalFeesSPIConfig;
988
- type index_d$3_CalculateAdditionalFeesEnvelope = CalculateAdditionalFeesEnvelope;
989
1011
  type index_d$3_CalculateAdditionalFeesRequest = CalculateAdditionalFeesRequest;
990
1012
  type index_d$3_CalculateAdditionalFeesResponse = CalculateAdditionalFeesResponse;
991
1013
  type index_d$3_ChargeType = ChargeType;
@@ -993,7 +1015,7 @@ declare const index_d$3_ChargeType: typeof ChargeType;
993
1015
  type index_d$3_SelectedCarrierServiceOptionOtherCharge = SelectedCarrierServiceOptionOtherCharge;
994
1016
  type index_d$3_TaxDetails = TaxDetails;
995
1017
  declare namespace index_d$3 {
996
- export { type AdditionalFee$1 as AdditionalFee, type index_d$3_AdditionalFeesSPIConfig as AdditionalFeesSPIConfig, type Address$2 as Address, type AddressLocation$2 as AddressLocation, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type BuyerDetails$1 as BuyerDetails, type index_d$3_CalculateAdditionalFeesEnvelope as CalculateAdditionalFeesEnvelope, type index_d$3_CalculateAdditionalFeesRequest as CalculateAdditionalFeesRequest, type index_d$3_CalculateAdditionalFeesResponse as CalculateAdditionalFeesResponse, type CatalogReference$3 as CatalogReference, index_d$3_ChargeType as ChargeType, type Context$3 as Context, type Coupon$2 as Coupon, type DeliveryLogistics$1 as DeliveryLogistics, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type FullAddressContactDetails$2 as FullAddressContactDetails, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, IdentityType$3 as IdentityType, type LineItem$2 as LineItem, type MerchantDiscount$2 as MerchantDiscount, type PhysicalProperties$2 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type index_d$3_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type ShippingInformation$1 as ShippingInformation, type StreetAddress$2 as StreetAddress, type index_d$3_TaxDetails as TaxDetails, type VatId$2 as VatId, VatType$2 as VatType, provideHandlers$3 as provideHandlers };
1018
+ export { type AdditionalFee$1 as AdditionalFee, type index_d$3_AdditionalFeesSPIConfig as AdditionalFeesSPIConfig, type Address$2 as Address, type AddressLocation$2 as AddressLocation, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type BuyerDetails$1 as BuyerDetails, type index_d$3_CalculateAdditionalFeesRequest as CalculateAdditionalFeesRequest, type index_d$3_CalculateAdditionalFeesResponse as CalculateAdditionalFeesResponse, type CatalogReference$3 as CatalogReference, index_d$3_ChargeType as ChargeType, type Context$3 as Context, type Coupon$2 as Coupon, type DeliveryLogistics$1 as DeliveryLogistics, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type FullAddressContactDetails$2 as FullAddressContactDetails, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, IdentityType$3 as IdentityType, type LineItem$2 as LineItem, type MerchantDiscount$2 as MerchantDiscount, type PhysicalProperties$2 as PhysicalProperties, type PickupDetails$1 as PickupDetails, PickupMethod$1 as PickupMethod, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type index_d$3_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type ShippingInformation$1 as ShippingInformation, type StreetAddress$2 as StreetAddress, type index_d$3_TaxDetails as TaxDetails, type VatId$2 as VatId, VatType$2 as VatType, type _publicProvideHandlersType$3 as _publicProvideHandlersType, provideHandlers$6 as provideHandlers, provideHandlers$7 as publicProvideHandlers };
997
1019
  }
998
1020
 
999
1021
  interface CustomTrigger {
@@ -1142,24 +1164,38 @@ interface GetEligibleTriggersEnvelope {
1142
1164
  request: GetEligibleTriggersRequest;
1143
1165
  metadata: Context$2;
1144
1166
  }
1145
- declare const provideHandlers$2: ServicePluginDefinition<{
1167
+ declare const provideHandlers$5: ServicePluginDefinition<{
1168
+ /**
1169
+ *
1170
+ * Lists all custom triggers provided by your service plugin integration.
1171
+ *
1172
+ * This method is automatically called by Wix eCommerce to populate the custom [minimum requirements section of an automatic discount](https://support.wix.com/en/article/wix-stores-creating-automatic-discounts#:~:text=Create%20minimum%20requirements). */
1146
1173
  listTriggers(payload: ListTriggersEnvelope): ListTriggersResponse | Promise<ListTriggersResponse>;
1174
+ /**
1175
+ *
1176
+ * Retrieves eligible custom discount triggers based on the provided items.
1177
+ *
1178
+ * This method is automatically called by Wix eCommerce to retrieve the custom discount triggers provided by your extension.
1179
+ * This happens when actions are performed on the cart and checkout entities/pages. For example, when an item is added to the cart. */
1147
1180
  getEligibleTriggers(payload: GetEligibleTriggersEnvelope): GetEligibleTriggersResponse | Promise<GetEligibleTriggersResponse>;
1148
1181
  }>;
1149
1182
 
1183
+ declare function createServicePluginModule$2<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
1184
+
1185
+ type _publicProvideHandlersType$2 = typeof provideHandlers$5;
1186
+ declare const provideHandlers$4: ReturnType<typeof createServicePluginModule$2<_publicProvideHandlersType>>;
1187
+
1150
1188
  type index_d$2_CustomTrigger = CustomTrigger;
1151
1189
  type index_d$2_CustomTriggerConfig = CustomTriggerConfig;
1152
1190
  type index_d$2_EligibleTrigger = EligibleTrigger;
1153
- type index_d$2_GetEligibleTriggersEnvelope = GetEligibleTriggersEnvelope;
1154
1191
  type index_d$2_GetEligibleTriggersRequest = GetEligibleTriggersRequest;
1155
1192
  type index_d$2_GetEligibleTriggersResponse = GetEligibleTriggersResponse;
1156
- type index_d$2_ListTriggersEnvelope = ListTriggersEnvelope;
1157
1193
  type index_d$2_ListTriggersRequest = ListTriggersRequest;
1158
1194
  type index_d$2_ListTriggersResponse = ListTriggersResponse;
1159
1195
  type index_d$2_ListTriggersResponseCustomTrigger = ListTriggersResponseCustomTrigger;
1160
1196
  type index_d$2_TriggerToFilterBy = TriggerToFilterBy;
1161
1197
  declare namespace index_d$2 {
1162
- export { type CatalogReference$2 as CatalogReference, type Context$2 as Context, type index_d$2_CustomTrigger as CustomTrigger, type index_d$2_CustomTriggerConfig as CustomTriggerConfig, type index_d$2_EligibleTrigger as EligibleTrigger, type index_d$2_GetEligibleTriggersEnvelope as GetEligibleTriggersEnvelope, type index_d$2_GetEligibleTriggersRequest as GetEligibleTriggersRequest, type index_d$2_GetEligibleTriggersResponse as GetEligibleTriggersResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type LineItem$1 as LineItem, type index_d$2_ListTriggersEnvelope as ListTriggersEnvelope, type index_d$2_ListTriggersRequest as ListTriggersRequest, type index_d$2_ListTriggersResponse as ListTriggersResponse, type index_d$2_ListTriggersResponseCustomTrigger as ListTriggersResponseCustomTrigger, type index_d$2_TriggerToFilterBy as TriggerToFilterBy, provideHandlers$2 as provideHandlers };
1198
+ export { type CatalogReference$2 as CatalogReference, type Context$2 as Context, type index_d$2_CustomTrigger as CustomTrigger, type index_d$2_CustomTriggerConfig as CustomTriggerConfig, type index_d$2_EligibleTrigger as EligibleTrigger, type index_d$2_GetEligibleTriggersRequest as GetEligibleTriggersRequest, type index_d$2_GetEligibleTriggersResponse as GetEligibleTriggersResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type LineItem$1 as LineItem, type index_d$2_ListTriggersRequest as ListTriggersRequest, type index_d$2_ListTriggersResponse as ListTriggersResponse, type index_d$2_ListTriggersResponseCustomTrigger as ListTriggersResponseCustomTrigger, type index_d$2_TriggerToFilterBy as TriggerToFilterBy, type _publicProvideHandlersType$2 as _publicProvideHandlersType, provideHandlers$4 as provideHandlers, provideHandlers$5 as publicProvideHandlers };
1163
1199
  }
1164
1200
 
1165
1201
  interface GetPaymentSettingsRequest {
@@ -2551,10 +2587,21 @@ interface GetPaymentSettingsEnvelope {
2551
2587
  request: GetPaymentSettingsRequest;
2552
2588
  metadata: Context$1;
2553
2589
  }
2554
- declare const provideHandlers$1: ServicePluginDefinition<{
2590
+ declare const provideHandlers$3: ServicePluginDefinition<{
2591
+ /**
2592
+ *
2593
+ * This method retrieves payment settings from your app.
2594
+ *
2595
+ * Wix calls this method during the payment process. For example, when a customer inserts credit card details and places an order.
2596
+ * This method retrieves the payment settings to apply, and Wix passes on the settings to the payment provider. */
2555
2597
  getPaymentSettings(payload: GetPaymentSettingsEnvelope): GetPaymentSettingsResponse | Promise<GetPaymentSettingsResponse>;
2556
2598
  }>;
2557
2599
 
2600
+ declare function createServicePluginModule$1<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
2601
+
2602
+ type _publicProvideHandlersType$1 = typeof provideHandlers$3;
2603
+ declare const provideHandlers$2: ReturnType<typeof createServicePluginModule$1<_publicProvideHandlersType>>;
2604
+
2558
2605
  type index_d$1_Activity = Activity;
2559
2606
  type index_d$1_ActivityContentOneOf = ActivityContentOneOf;
2560
2607
  type index_d$1_ActivityType = ActivityType;
@@ -2592,7 +2639,6 @@ type index_d$1_DraftOrderChangesApplied = DraftOrderChangesApplied;
2592
2639
  type index_d$1_FulfillmentStatus = FulfillmentStatus;
2593
2640
  declare const index_d$1_FulfillmentStatus: typeof FulfillmentStatus;
2594
2641
  type index_d$1_FulfillmentStatusesAggregate = FulfillmentStatusesAggregate;
2595
- type index_d$1_GetPaymentSettingsEnvelope = GetPaymentSettingsEnvelope;
2596
2642
  type index_d$1_GetPaymentSettingsRequest = GetPaymentSettingsRequest;
2597
2643
  type index_d$1_GetPaymentSettingsResponse = GetPaymentSettingsResponse;
2598
2644
  type index_d$1_LineItemAmount = LineItemAmount;
@@ -2648,7 +2694,7 @@ type index_d$1_TotalPriceChange = TotalPriceChange;
2648
2694
  type index_d$1_TranslatedValue = TranslatedValue;
2649
2695
  type index_d$1_V1ShippingInformation = V1ShippingInformation;
2650
2696
  declare namespace index_d$1 {
2651
- export { type index_d$1_Activity as Activity, type index_d$1_ActivityContentOneOf as ActivityContentOneOf, index_d$1_ActivityType as ActivityType, type index_d$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, index_d$1_AttributionSource as AttributionSource, type index_d$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$1_Balance as Balance, type index_d$1_BalanceSummary as BalanceSummary, type index_d$1_BuyerInfo as BuyerInfo, type index_d$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type CatalogReference$1 as CatalogReference, type index_d$1_ChannelInfo as ChannelInfo, index_d$1_ChannelType as ChannelType, type index_d$1_Color as Color, type Context$1 as Context, type Coupon$1 as Coupon, type index_d$1_CreatedBy as CreatedBy, type index_d$1_CreatedByStringOneOf as CreatedByStringOneOf, type index_d$1_CustomActivity as CustomActivity, type CustomField$1 as CustomField, type index_d$1_DeliveryLogistics as DeliveryLogistics, type index_d$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$1_DeliveryTimeSlot as DeliveryTimeSlot, type index_d$1_DescriptionLine as DescriptionLine, type index_d$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$1_DescriptionLineName as DescriptionLineName, index_d$1_DescriptionLineType as DescriptionLineType, type index_d$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$1_DigitalFile as DigitalFile, index_d$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type index_d$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, index_d$1_FulfillmentStatus as FulfillmentStatus, type index_d$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$1_GetPaymentSettingsEnvelope as GetPaymentSettingsEnvelope, type index_d$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type index_d$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 index_d$1_LineItemAmount as LineItemAmount, type index_d$1_LineItemChanges as LineItemChanges, type index_d$1_LineItemDiscount as LineItemDiscount, type index_d$1_LineItemExchangeData as LineItemExchangeData, type index_d$1_LineItemPriceChange as LineItemPriceChange, type index_d$1_LineItemQuantityChange as LineItemQuantityChange, index_d$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$1_LineItemTaxInfo as LineItemTaxInfo, type index_d$1_LocationAndQuantity as LocationAndQuantity, type index_d$1_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$1_ManagedDiscount as ManagedDiscount, type index_d$1_ManagedLineItem as ManagedLineItem, type index_d$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type index_d$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$1_Order as Order, type index_d$1_OrderChange as OrderChange, type index_d$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$1_OrderLineItem as OrderLineItem, type index_d$1_OrderRefunded as OrderRefunded, index_d$1_OrderStatus as OrderStatus, type index_d$1_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$1_OrderTaxInfo as OrderTaxInfo, index_d$1_PaymentOptionType as PaymentOptionType, type index_d$1_PaymentSettings as PaymentSettings, type index_d$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, index_d$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type index_d$1_PickupAddress as PickupAddress, type index_d$1_PickupDetails as PickupDetails, index_d$1_PickupMethod as PickupMethod, type index_d$1_PlainTextValue as PlainTextValue, type index_d$1_Price as Price, type index_d$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type index_d$1_SavedPaymentMethod as SavedPaymentMethod, type index_d$1_ShippingInformation as ShippingInformation, type index_d$1_ShippingInformationChange as ShippingInformationChange, type index_d$1_ShippingPrice as ShippingPrice, type index_d$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$1_TagList as TagList, type index_d$1_Tags as Tags, type index_d$1_TaxSummary as TaxSummary, type index_d$1_TotalPriceChange as TotalPriceChange, type index_d$1_TranslatedValue as TranslatedValue, type index_d$1_V1ShippingInformation as V1ShippingInformation, type VatId$1 as VatId, VatType$1 as VatType, WeightUnit$1 as WeightUnit, provideHandlers$1 as provideHandlers };
2697
+ export { type index_d$1_Activity as Activity, type index_d$1_ActivityContentOneOf as ActivityContentOneOf, index_d$1_ActivityType as ActivityType, type index_d$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, index_d$1_AttributionSource as AttributionSource, type index_d$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$1_Balance as Balance, type index_d$1_BalanceSummary as BalanceSummary, type index_d$1_BuyerInfo as BuyerInfo, type index_d$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type CatalogReference$1 as CatalogReference, type index_d$1_ChannelInfo as ChannelInfo, index_d$1_ChannelType as ChannelType, type index_d$1_Color as Color, type Context$1 as Context, type Coupon$1 as Coupon, type index_d$1_CreatedBy as CreatedBy, type index_d$1_CreatedByStringOneOf as CreatedByStringOneOf, type index_d$1_CustomActivity as CustomActivity, type CustomField$1 as CustomField, type index_d$1_DeliveryLogistics as DeliveryLogistics, type index_d$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$1_DeliveryTimeSlot as DeliveryTimeSlot, type index_d$1_DescriptionLine as DescriptionLine, type index_d$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$1_DescriptionLineName as DescriptionLineName, index_d$1_DescriptionLineType as DescriptionLineType, type index_d$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$1_DigitalFile as DigitalFile, index_d$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type index_d$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, index_d$1_FulfillmentStatus as FulfillmentStatus, type index_d$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type index_d$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 index_d$1_LineItemAmount as LineItemAmount, type index_d$1_LineItemChanges as LineItemChanges, type index_d$1_LineItemDiscount as LineItemDiscount, type index_d$1_LineItemExchangeData as LineItemExchangeData, type index_d$1_LineItemPriceChange as LineItemPriceChange, type index_d$1_LineItemQuantityChange as LineItemQuantityChange, index_d$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$1_LineItemTaxInfo as LineItemTaxInfo, type index_d$1_LocationAndQuantity as LocationAndQuantity, type index_d$1_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$1_ManagedDiscount as ManagedDiscount, type index_d$1_ManagedLineItem as ManagedLineItem, type index_d$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type index_d$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$1_Order as Order, type index_d$1_OrderChange as OrderChange, type index_d$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$1_OrderLineItem as OrderLineItem, type index_d$1_OrderRefunded as OrderRefunded, index_d$1_OrderStatus as OrderStatus, type index_d$1_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$1_OrderTaxInfo as OrderTaxInfo, index_d$1_PaymentOptionType as PaymentOptionType, type index_d$1_PaymentSettings as PaymentSettings, type index_d$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, index_d$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type index_d$1_PickupAddress as PickupAddress, type index_d$1_PickupDetails as PickupDetails, index_d$1_PickupMethod as PickupMethod, type index_d$1_PlainTextValue as PlainTextValue, type index_d$1_Price as Price, type index_d$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type index_d$1_SavedPaymentMethod as SavedPaymentMethod, type index_d$1_ShippingInformation as ShippingInformation, type index_d$1_ShippingInformationChange as ShippingInformationChange, type index_d$1_ShippingPrice as ShippingPrice, type index_d$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$1_TagList as TagList, type index_d$1_Tags as Tags, type index_d$1_TaxSummary as TaxSummary, type index_d$1_TotalPriceChange as TotalPriceChange, type index_d$1_TranslatedValue as TranslatedValue, type index_d$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 };
2652
2698
  }
2653
2699
 
2654
2700
  interface GetValidationViolationsRequest {
@@ -3289,10 +3335,23 @@ interface GetValidationViolationsEnvelope {
3289
3335
  request: GetValidationViolationsRequest;
3290
3336
  metadata: Context;
3291
3337
  }
3292
- declare const provideHandlers: ServicePluginDefinition<{
3338
+ declare const provideHandlers$1: ServicePluginDefinition<{
3339
+ /**
3340
+ *
3341
+ * This method retrieves validation violations from your app.
3342
+ *
3343
+ * Wix calls this method when certain actions are performed on a visitor's cart and checkout. For example, when an item is added to the cart, or when a coupon is added to a checkout.
3344
+ * This method validates a visitor's cart and checkout, and returns any validation violations (using the structure provided by Wix eCommerce). Site visitors can see the validation violations in their cart and checkout pages. If there aren't any validation violations, the method returns an object containing an empty list.
3345
+ *
3346
+ * > __Note:__ By default, this method only retrieves validation violations from a visitor's checkout. If you want to also retrieve validation violations from a visitor's cart, set the `validateInCart` parameter to `true` in the Ecom Validations Integration's config file. */
3293
3347
  getValidationViolations(payload: GetValidationViolationsEnvelope): GetValidationViolationsResponse | Promise<GetValidationViolationsResponse>;
3294
3348
  }>;
3295
3349
 
3350
+ declare function createServicePluginModule<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
3351
+
3352
+ type _publicProvideHandlersType = typeof provideHandlers$1;
3353
+ declare const provideHandlers: ReturnType<typeof createServicePluginModule<_publicProvideHandlersType>>;
3354
+
3296
3355
  type index_d_Address = Address;
3297
3356
  type index_d_AddressLocation = AddressLocation;
3298
3357
  type index_d_AddressWithContact = AddressWithContact;
@@ -3314,7 +3373,6 @@ declare const index_d_DiscountType: typeof DiscountType;
3314
3373
  type index_d_ExtendedFields = ExtendedFields;
3315
3374
  type index_d_ExternalReference = ExternalReference;
3316
3375
  type index_d_FullAddressContactDetails = FullAddressContactDetails;
3317
- type index_d_GetValidationViolationsEnvelope = GetValidationViolationsEnvelope;
3318
3376
  type index_d_GetValidationViolationsRequest = GetValidationViolationsRequest;
3319
3377
  type index_d_GetValidationViolationsResponse = GetValidationViolationsResponse;
3320
3378
  type index_d_GiftCard = GiftCard;
@@ -3369,9 +3427,10 @@ declare const index_d_VatType: typeof VatType;
3369
3427
  type index_d_Violation = Violation;
3370
3428
  type index_d_WeightUnit = WeightUnit;
3371
3429
  declare const index_d_WeightUnit: typeof WeightUnit;
3430
+ type index_d__publicProvideHandlersType = _publicProvideHandlersType;
3372
3431
  declare const index_d_provideHandlers: typeof provideHandlers;
3373
3432
  declare namespace index_d {
3374
- export { type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressWithContact as AddressWithContact, type index_d_AppliedDiscount as AppliedDiscount, type index_d_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d_BuyerDetails as BuyerDetails, type index_d_CatalogReference as CatalogReference, index_d_CheckoutStage as CheckoutStage, type index_d_Context as Context, type index_d_Coupon as Coupon, type index_d_CustomField as CustomField, type index_d_CustomFields as CustomFields, type index_d_Description as Description, type index_d_DiscountRule as DiscountRule, type index_d_DiscountRuleName as DiscountRuleName, index_d_DiscountType as DiscountType, type index_d_ExtendedFields as ExtendedFields, type index_d_ExternalReference as ExternalReference, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_GetValidationViolationsEnvelope as GetValidationViolationsEnvelope, type index_d_GetValidationViolationsRequest as GetValidationViolationsRequest, type index_d_GetValidationViolationsResponse as GetValidationViolationsResponse, type index_d_GiftCard as GiftCard, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_ItemTaxFullDetails as ItemTaxFullDetails, type index_d_ItemType as ItemType, index_d_ItemTypeItemType as ItemTypeItemType, type index_d_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, index_d_JurisdictionType as JurisdictionType, type index_d_LineItem as LineItem, type index_d_LineItemPricesData as LineItemPricesData, type index_d_MerchantDiscount as MerchantDiscount, type index_d_MultiCurrencyPrice as MultiCurrencyPrice, index_d_NameInLineItem as NameInLineItem, index_d_NameInOther as NameInOther, type index_d_Other as Other, type index_d_PhysicalProperties as PhysicalProperties, type index_d_PriceSummary as PriceSummary, type index_d_ProductName as ProductName, type index_d_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, index_d_Severity as Severity, type index_d_ShippingInfo as ShippingInfo, index_d_Source as Source, type index_d_SourceInfo as SourceInfo, type index_d_Stage as Stage, type index_d_StageStagesOneOf as StageStagesOneOf, type index_d_StreetAddress as StreetAddress, index_d_SubscriptionFrequency as SubscriptionFrequency, type index_d_SubscriptionOptionInfo as SubscriptionOptionInfo, type index_d_SubscriptionSettings as SubscriptionSettings, type index_d_Target as Target, type index_d_TargetLineItem as TargetLineItem, type index_d_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d_TaxBreakdown as TaxBreakdown, type index_d_Title as Title, type index_d_ValidationInfo as ValidationInfo, type index_d_ValidationsSPIConfig as ValidationsSPIConfig, type index_d_VatId as VatId, index_d_VatType as VatType, type index_d_Violation as Violation, index_d_WeightUnit as WeightUnit, index_d_provideHandlers as provideHandlers };
3433
+ export { type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressWithContact as AddressWithContact, type index_d_AppliedDiscount as AppliedDiscount, type index_d_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d_BuyerDetails as BuyerDetails, type index_d_CatalogReference as CatalogReference, index_d_CheckoutStage as CheckoutStage, type index_d_Context as Context, type index_d_Coupon as Coupon, type index_d_CustomField as CustomField, type index_d_CustomFields as CustomFields, type index_d_Description as Description, type index_d_DiscountRule as DiscountRule, type index_d_DiscountRuleName as DiscountRuleName, index_d_DiscountType as DiscountType, type index_d_ExtendedFields as ExtendedFields, type index_d_ExternalReference as ExternalReference, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_GetValidationViolationsRequest as GetValidationViolationsRequest, type index_d_GetValidationViolationsResponse as GetValidationViolationsResponse, type index_d_GiftCard as GiftCard, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_ItemTaxFullDetails as ItemTaxFullDetails, type index_d_ItemType as ItemType, index_d_ItemTypeItemType as ItemTypeItemType, type index_d_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, index_d_JurisdictionType as JurisdictionType, type index_d_LineItem as LineItem, type index_d_LineItemPricesData as LineItemPricesData, type index_d_MerchantDiscount as MerchantDiscount, type index_d_MultiCurrencyPrice as MultiCurrencyPrice, index_d_NameInLineItem as NameInLineItem, index_d_NameInOther as NameInOther, type index_d_Other as Other, type index_d_PhysicalProperties as PhysicalProperties, type index_d_PriceSummary as PriceSummary, type index_d_ProductName as ProductName, type index_d_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, index_d_Severity as Severity, type index_d_ShippingInfo as ShippingInfo, index_d_Source as Source, type index_d_SourceInfo as SourceInfo, type index_d_Stage as Stage, type index_d_StageStagesOneOf as StageStagesOneOf, type index_d_StreetAddress as StreetAddress, index_d_SubscriptionFrequency as SubscriptionFrequency, type index_d_SubscriptionOptionInfo as SubscriptionOptionInfo, type index_d_SubscriptionSettings as SubscriptionSettings, type index_d_Target as Target, type index_d_TargetLineItem as TargetLineItem, type index_d_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d_TaxBreakdown as TaxBreakdown, type index_d_Title as Title, type index_d_ValidationInfo as ValidationInfo, type index_d_ValidationsSPIConfig as ValidationsSPIConfig, type index_d_VatId as VatId, index_d_VatType as VatType, type index_d_Violation as Violation, index_d_WeightUnit as WeightUnit, type index_d__publicProvideHandlersType as _publicProvideHandlersType, index_d_provideHandlers as provideHandlers, provideHandlers$1 as publicProvideHandlers };
3375
3434
  }
3376
3435
 
3377
3436
  export { index_d$3 as additionalFees, index_d$2 as customTriggers, index_d$1 as paymentSettings, index_d$4 as shippingRates, index_d as validations };