@wix/ecom 1.0.745 → 1.0.746

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom",
3
- "version": "1.0.745",
3
+ "version": "1.0.746",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -43,13 +43,13 @@
43
43
  "@wix/ecom_order-invoices": "1.0.38",
44
44
  "@wix/ecom_order-payment-requests": "1.0.9",
45
45
  "@wix/ecom_order-transactions": "1.0.65",
46
- "@wix/ecom_orders": "1.0.113",
46
+ "@wix/ecom_orders": "1.0.114",
47
47
  "@wix/ecom_orders-settings": "1.0.44",
48
48
  "@wix/ecom_payment-settings": "1.0.37",
49
49
  "@wix/ecom_pickup-locations": "1.0.7",
50
50
  "@wix/ecom_recommendations": "1.0.38",
51
51
  "@wix/ecom_shipping-options": "1.0.6",
52
- "@wix/ecom_shipping-rates": "1.0.40",
52
+ "@wix/ecom_shipping-rates": "1.0.41",
53
53
  "@wix/ecom_shippo-configurations": "1.0.13",
54
54
  "@wix/ecom_totals-calculator": "1.0.7",
55
55
  "@wix/ecom_validations": "1.0.31"
@@ -77,5 +77,5 @@
77
77
  "fqdn": ""
78
78
  }
79
79
  },
80
- "falconPackageHash": "d772f176a5575975566635af35138b9e4f0235a3c133675ff0c01815"
80
+ "falconPackageHash": "cf47b53e7504141cdf74b17098c6fe1b7f03715570b6f29a0c44c292"
81
81
  }
@@ -23615,6 +23615,8 @@ interface SendCancelRefundEmailRequest {
23615
23615
  customMessage?: string | null;
23616
23616
  /** Refund amount */
23617
23617
  refundAmount?: Price$2;
23618
+ /** Refund ID. (Optional) */
23619
+ refundId?: string | null;
23618
23620
  }
23619
23621
  interface SendCancelRefundEmailResponse {
23620
23622
  }
@@ -23643,6 +23645,8 @@ interface PreviewRefundEmailRequest {
23643
23645
  details?: RefundDetails$2;
23644
23646
  /** Personal note added to the email (optional) */
23645
23647
  customMessage?: string | null;
23648
+ /** Refund ID. (Optional) */
23649
+ refundId?: string | null;
23646
23650
  }
23647
23651
  interface PreviewRefundEmailResponse {
23648
23652
  emailPreview?: string;
@@ -23661,6 +23665,8 @@ interface PreviewCancelRefundEmailRequest {
23661
23665
  customMessage?: string | null;
23662
23666
  /** Refund amount */
23663
23667
  refundAmount?: Price$2;
23668
+ /** Refund ID. (Optional) */
23669
+ refundId?: string | null;
23664
23670
  }
23665
23671
  interface PreviewCancelRefundEmailResponse {
23666
23672
  emailPreview?: string;
@@ -23615,6 +23615,8 @@ interface SendCancelRefundEmailRequest {
23615
23615
  customMessage?: string | null;
23616
23616
  /** Refund amount */
23617
23617
  refundAmount?: Price$2;
23618
+ /** Refund ID. (Optional) */
23619
+ refundId?: string | null;
23618
23620
  }
23619
23621
  interface SendCancelRefundEmailResponse {
23620
23622
  }
@@ -23643,6 +23645,8 @@ interface PreviewRefundEmailRequest {
23643
23645
  details?: RefundDetails$2;
23644
23646
  /** Personal note added to the email (optional) */
23645
23647
  customMessage?: string | null;
23648
+ /** Refund ID. (Optional) */
23649
+ refundId?: string | null;
23646
23650
  }
23647
23651
  interface PreviewRefundEmailResponse {
23648
23652
  emailPreview?: string;
@@ -23661,6 +23665,8 @@ interface PreviewCancelRefundEmailRequest {
23661
23665
  customMessage?: string | null;
23662
23666
  /** Refund amount */
23663
23667
  refundAmount?: Price$2;
23668
+ /** Refund ID. (Optional) */
23669
+ refundId?: string | null;
23664
23670
  }
23665
23671
  interface PreviewCancelRefundEmailResponse {
23666
23672
  emailPreview?: string;
@@ -373,6 +373,11 @@ interface GetShippingRatesRequest {
373
373
  deliveryPreferences?: DeliveryPreferences;
374
374
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
375
375
  purchaseFlowId?: string | null;
376
+ /**
377
+ * Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
378
+ * Used for integration and tracking across different platforms.
379
+ */
380
+ externalReferences?: ExternalReference$2[];
376
381
  }
377
382
  interface ProductItem {
378
383
  /** Item name. */
@@ -540,6 +545,18 @@ declare enum WeightUnit$2 {
540
545
  interface DeliveryPreferences {
541
546
  preferredCode?: string | null;
542
547
  }
548
+ interface ExternalReference$2 {
549
+ /**
550
+ * ID of the app associated with the purchase flow.
551
+ * For example, the Wix Pay Links app ID.
552
+ */
553
+ appId?: string;
554
+ /**
555
+ * Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
556
+ * For example, a Wix Pay Link ID.
557
+ */
558
+ resourceId?: string | null;
559
+ }
543
560
  interface GetShippingRatesResponse {
544
561
  /** Available shipping rates. These define the shipping rate options that are displayed to site visitors on the cart and checkout pages. */
545
562
  shippingRates?: ShippingOption$1[];
@@ -923,7 +940,7 @@ type context$5_Subdivision = Subdivision;
923
940
  type context$5_SubdivisionType = SubdivisionType;
924
941
  declare const context$5_SubdivisionType: typeof SubdivisionType;
925
942
  declare namespace context$5 {
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 };
943
+ 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 ExternalReference$2 as ExternalReference, 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 };
927
944
  }
928
945
 
929
946
  interface CalculateAdditionalFeesRequest {
@@ -373,6 +373,11 @@ interface GetShippingRatesRequest {
373
373
  deliveryPreferences?: DeliveryPreferences;
374
374
  /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
375
375
  purchaseFlowId?: string | null;
376
+ /**
377
+ * Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
378
+ * Used for integration and tracking across different platforms.
379
+ */
380
+ externalReferences?: ExternalReference$2[];
376
381
  }
377
382
  interface ProductItem {
378
383
  /** Item name. */
@@ -540,6 +545,18 @@ declare enum WeightUnit$2 {
540
545
  interface DeliveryPreferences {
541
546
  preferredCode?: string | null;
542
547
  }
548
+ interface ExternalReference$2 {
549
+ /**
550
+ * ID of the app associated with the purchase flow.
551
+ * For example, the Wix Pay Links app ID.
552
+ */
553
+ appId?: string;
554
+ /**
555
+ * Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
556
+ * For example, a Wix Pay Link ID.
557
+ */
558
+ resourceId?: string | null;
559
+ }
543
560
  interface GetShippingRatesResponse {
544
561
  /** Available shipping rates. These define the shipping rate options that are displayed to site visitors on the cart and checkout pages. */
545
562
  shippingRates?: ShippingOption$1[];
@@ -923,7 +940,7 @@ type index_d$5_Subdivision = Subdivision;
923
940
  type index_d$5_SubdivisionType = SubdivisionType;
924
941
  declare const index_d$5_SubdivisionType: typeof SubdivisionType;
925
942
  declare namespace index_d$5 {
926
- export { type index_d$5_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type index_d$5_AddressStreetOneOf as AddressStreetOneOf, type ApplicationError$1 as ApplicationError, type CatalogReference$5 as CatalogReference, ChargeType$2 as ChargeType, type index_d$5_Column as Column, type Context$5 as Context, type index_d$5_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$5_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type FieldViolation$1 as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$5_GenericShippingRatesError as GenericShippingRatesError, index_d$5_GenericShippingRatesWixError as GenericShippingRatesWixError, type index_d$5_GetDashboardTablesRequest as GetDashboardTablesRequest, type index_d$5_GetDashboardTablesResponse as GetDashboardTablesResponse, type index_d$5_GetShippingRatesRequest as GetShippingRatesRequest, type index_d$5_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, IdentityType$5 as IdentityType, type index_d$5_InvalidAddressError as InvalidAddressError, index_d$5_InvalidAddressWixError as InvalidAddressWixError, type index_d$5_InvalidPostalCodeError as InvalidPostalCodeError, index_d$5_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type index_d$5_MissingPostalCodeError as MissingPostalCodeError, index_d$5_MissingPostalCodeWixError as MissingPostalCodeWixError, type index_d$5_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$5_ProductItem as ProductItem, type index_d$5_RegionDashboardTables as RegionDashboardTables, type index_d$5_Row as Row, RuleType$1 as RuleType, type ShippingOption$1 as ShippingOption, type ShippingPrice$1 as ShippingPrice, type index_d$5_ShippingRatesConfig as ShippingRatesConfig, type index_d$5_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type index_d$5_Subdivision as Subdivision, index_d$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 };
943
+ export { type index_d$5_AdditionalCharge as AdditionalCharge, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type index_d$5_AddressStreetOneOf as AddressStreetOneOf, type ApplicationError$1 as ApplicationError, type CatalogReference$5 as CatalogReference, ChargeType$2 as ChargeType, type index_d$5_Column as Column, type Context$5 as Context, type index_d$5_DashboardTable as DashboardTable, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$5_DeliveryPreferences as DeliveryPreferences, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type ExternalReference$2 as ExternalReference, type FieldViolation$1 as FieldViolation, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$5_GenericShippingRatesError as GenericShippingRatesError, index_d$5_GenericShippingRatesWixError as GenericShippingRatesWixError, type index_d$5_GetDashboardTablesRequest as GetDashboardTablesRequest, type index_d$5_GetDashboardTablesResponse as GetDashboardTablesResponse, type index_d$5_GetShippingRatesRequest as GetShippingRatesRequest, type index_d$5_GetShippingRatesResponse as GetShippingRatesResponse, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, IdentityType$5 as IdentityType, type index_d$5_InvalidAddressError as InvalidAddressError, index_d$5_InvalidAddressWixError as InvalidAddressWixError, type index_d$5_InvalidPostalCodeError as InvalidPostalCodeError, index_d$5_InvalidPostalCodeWixError as InvalidPostalCodeWixError, type index_d$5_MissingPostalCodeError as MissingPostalCodeError, index_d$5_MissingPostalCodeWixError as MissingPostalCodeWixError, type index_d$5_PartialOption as PartialOption, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$5_ProductItem as ProductItem, type index_d$5_RegionDashboardTables as RegionDashboardTables, type index_d$5_Row as Row, RuleType$1 as RuleType, type ShippingOption$1 as ShippingOption, type ShippingPrice$1 as ShippingPrice, type index_d$5_ShippingRatesConfig as ShippingRatesConfig, type index_d$5_StandardDetails as StandardDetails, type StreetAddress$3 as StreetAddress, type index_d$5_Subdivision as Subdivision, index_d$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 };
927
944
  }
928
945
 
929
946
  interface CalculateAdditionalFeesRequest {