commerce-sdk-isomorphic 4.0.0-unstable-20251105080754 → 4.0.0-unstable-20251106080748

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.
Files changed (47) hide show
  1. package/lib/helpers.cjs.js +1 -1
  2. package/lib/helpers.js +1 -1
  3. package/lib/index.cjs.d.ts +28 -9
  4. package/lib/index.cjs.js +1 -1
  5. package/lib/index.esm.d.ts +28 -9
  6. package/lib/index.esm.js +1 -1
  7. package/lib/shopperBaskets.cjs.js +1 -1
  8. package/lib/shopperBaskets.js +1 -1
  9. package/lib/shopperBasketsv2.cjs.d.ts +17 -1
  10. package/lib/shopperBasketsv2.cjs.js +1 -1
  11. package/lib/shopperBasketsv2.d.ts +17 -1
  12. package/lib/shopperBasketsv2.js +1 -1
  13. package/lib/shopperConfigurations.cjs.js +1 -1
  14. package/lib/shopperConfigurations.js +1 -1
  15. package/lib/shopperConsents.cjs.js +1 -1
  16. package/lib/shopperConsents.js +1 -1
  17. package/lib/shopperContext.cjs.js +1 -1
  18. package/lib/shopperContext.js +1 -1
  19. package/lib/shopperCustomers.cjs.js +1 -1
  20. package/lib/shopperCustomers.js +1 -1
  21. package/lib/shopperExperience.cjs.js +1 -1
  22. package/lib/shopperExperience.js +1 -1
  23. package/lib/shopperGiftCertificates.cjs.js +1 -1
  24. package/lib/shopperGiftCertificates.js +1 -1
  25. package/lib/shopperLogin.cjs.js +1 -1
  26. package/lib/shopperLogin.js +1 -1
  27. package/lib/shopperOrders.cjs.js +1 -1
  28. package/lib/shopperOrders.js +1 -1
  29. package/lib/shopperPayments.cjs.d.ts +12 -9
  30. package/lib/shopperPayments.cjs.js +1 -1
  31. package/lib/shopperPayments.d.ts +12 -9
  32. package/lib/shopperPayments.js +1 -1
  33. package/lib/shopperProducts.cjs.js +1 -1
  34. package/lib/shopperProducts.js +1 -1
  35. package/lib/shopperPromotions.cjs.js +1 -1
  36. package/lib/shopperPromotions.js +1 -1
  37. package/lib/shopperSearch.cjs.js +1 -1
  38. package/lib/shopperSearch.js +1 -1
  39. package/lib/shopperSeo.cjs.js +1 -1
  40. package/lib/shopperSeo.js +1 -1
  41. package/lib/shopperStores.cjs.js +1 -1
  42. package/lib/shopperStores.js +1 -1
  43. package/lib/version.cjs.d.ts +1 -1
  44. package/lib/version.cjs.js +1 -1
  45. package/lib/version.d.ts +1 -1
  46. package/lib/version.js +1 -1
  47. package/package.json +1 -1
@@ -11155,13 +11155,18 @@ type OrderPaymentCardRequest$0 = {
11155
11155
  * @property zoneId: The zone ID.
11156
11156
  * - **Max Length:** 100
11157
11157
  *
11158
+ * @property shippingPreference: Shipping preference for PayPal payment processing. Applicable only for basket payment instruments.
11159
+ * - **Max Length:** 64
11160
+ *
11158
11161
  */
11159
11162
  type SalesforcePaymentsRequest = {
11160
11163
  paymentMethodType?: string;
11161
11164
  zoneId?: string;
11165
+ shippingPreference?: SalesforcePaymentsRequestShippingPreferenceEnum;
11162
11166
  } & {
11163
11167
  [key: string]: any;
11164
11168
  };
11169
+ type SalesforcePaymentsRequestShippingPreferenceEnum = "GET_FROM_FILE" | "NO_SHIPPING" | "SET_PROVIDED_ADDRESS";
11165
11170
  /**
11166
11171
  * @type BasketPaymentInstrumentRequest: Document representing a basket payment instrument request.
11167
11172
  *
@@ -15751,13 +15756,18 @@ declare namespace ShopperBasketsV2ApiTypes {
15751
15756
  * @property zoneId: The zone ID.
15752
15757
  * - **Max Length:** 100
15753
15758
  *
15759
+ * @property shippingPreference: Shipping preference for PayPal payment processing. Applicable only for basket payment instruments.
15760
+ * - **Max Length:** 64
15761
+ *
15754
15762
  */
15755
15763
  type SalesforcePaymentsRequest = {
15756
15764
  paymentMethodType?: string;
15757
15765
  zoneId?: string;
15766
+ shippingPreference?: SalesforcePaymentsRequestShippingPreferenceEnum;
15758
15767
  } & {
15759
15768
  [key: string]: any;
15760
15769
  };
15770
+ type SalesforcePaymentsRequestShippingPreferenceEnum = "GET_FROM_FILE" | "NO_SHIPPING" | "SET_PROVIDED_ADDRESS";
15761
15771
  /**
15762
15772
  * @type BasketPaymentInstrumentRequest: Document representing a basket payment instrument request.
15763
15773
  *
@@ -20263,13 +20273,18 @@ declare namespace ShopperBasketsV2ModelTypes {
20263
20273
  * @property zoneId: The zone ID.
20264
20274
  * - **Max Length:** 100
20265
20275
  *
20276
+ * @property shippingPreference: Shipping preference for PayPal payment processing. Applicable only for basket payment instruments.
20277
+ * - **Max Length:** 64
20278
+ *
20266
20279
  */
20267
20280
  type SalesforcePaymentsRequest = {
20268
20281
  paymentMethodType?: string;
20269
20282
  zoneId?: string;
20283
+ shippingPreference?: SalesforcePaymentsRequestShippingPreferenceEnum;
20270
20284
  } & {
20271
20285
  [key: string]: any;
20272
20286
  };
20287
+ type SalesforcePaymentsRequestShippingPreferenceEnum = "GET_FROM_FILE" | "NO_SHIPPING" | "SET_PROVIDED_ADDRESS";
20273
20288
  /**
20274
20289
  * @type BasketPaymentInstrumentRequest: Document representing a basket payment instrument request.
20275
20290
  *
@@ -20617,6 +20632,7 @@ declare namespace ShopperBasketsV2Types {
20617
20632
  type ProductListLink = ShopperBasketsV2ModelTypes.ProductListLink;
20618
20633
  type ProductListLinkTypeEnum = ShopperBasketsV2ModelTypes.ProductListLinkTypeEnum;
20619
20634
  type SalesforcePaymentsRequest = ShopperBasketsV2ModelTypes.SalesforcePaymentsRequest;
20635
+ type SalesforcePaymentsRequestShippingPreferenceEnum = ShopperBasketsV2ModelTypes.SalesforcePaymentsRequestShippingPreferenceEnum;
20620
20636
  type Shipment = ShopperBasketsV2ModelTypes.Shipment;
20621
20637
  type ShipmentShippingStatusEnum = ShopperBasketsV2ModelTypes.ShipmentShippingStatusEnum;
20622
20638
  type ShippingItem = ShopperBasketsV2ModelTypes.ShippingItem;
@@ -47087,9 +47103,13 @@ type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse = {
47087
47103
  * @property key: API key for the payment processor
47088
47104
  * - **Max Length:** 200
47089
47105
  *
47106
+ * @property bnCode: Account BN code (optional, null if not a PayPal account)
47107
+ * - **Max Length:** 100
47108
+ *
47090
47109
  */
47091
47110
  type PaymentConfigurationPaymentMethodSetAccountsInnerConfig = {
47092
47111
  key?: string;
47112
+ bnCode?: string;
47093
47113
  } & {
47094
47114
  [key: string]: any;
47095
47115
  };
@@ -47134,14 +47154,11 @@ type PaymentConfigurationPaymentMethodSetAccountsInner = {
47134
47154
  *
47135
47155
  * @property paymentMethods: Configured payment methods
47136
47156
  *
47137
- * @property sdkVersion: SDK version to use
47138
- *
47139
47157
  */
47140
47158
  type PaymentConfiguration = {
47141
47159
  zoneId?: string | null;
47142
47160
  paymentMethodSetAccounts: Array<PaymentConfigurationPaymentMethodSetAccountsInner>;
47143
47161
  paymentMethods: Array<PaymentConfigurationPaymentMethodsInner>;
47144
- sdkVersion: string;
47145
47162
  } & {
47146
47163
  [key: string]: any;
47147
47164
  };
@@ -47532,9 +47549,13 @@ declare namespace ShopperPaymentsApiTypes {
47532
47549
  * @property key: API key for the payment processor
47533
47550
  * - **Max Length:** 200
47534
47551
  *
47552
+ * @property bnCode: Account BN code (optional, null if not a PayPal account)
47553
+ * - **Max Length:** 100
47554
+ *
47535
47555
  */
47536
47556
  type PaymentConfigurationPaymentMethodSetAccountsInnerConfig = {
47537
47557
  key?: string;
47558
+ bnCode?: string;
47538
47559
  } & {
47539
47560
  [key: string]: any;
47540
47561
  };
@@ -47579,14 +47600,11 @@ declare namespace ShopperPaymentsApiTypes {
47579
47600
  *
47580
47601
  * @property paymentMethods: Configured payment methods
47581
47602
  *
47582
- * @property sdkVersion: SDK version to use
47583
- *
47584
47603
  */
47585
47604
  type PaymentConfiguration = {
47586
47605
  zoneId?: string | null;
47587
47606
  paymentMethodSetAccounts: Array<PaymentConfigurationPaymentMethodSetAccountsInner>;
47588
47607
  paymentMethods: Array<PaymentConfigurationPaymentMethodsInner>;
47589
- sdkVersion: string;
47590
47608
  } & {
47591
47609
  [key: string]: any;
47592
47610
  };
@@ -47870,9 +47888,13 @@ declare namespace ShopperPaymentsModelTypes {
47870
47888
  * @property key: API key for the payment processor
47871
47889
  * - **Max Length:** 200
47872
47890
  *
47891
+ * @property bnCode: Account BN code (optional, null if not a PayPal account)
47892
+ * - **Max Length:** 100
47893
+ *
47873
47894
  */
47874
47895
  type PaymentConfigurationPaymentMethodSetAccountsInnerConfig = {
47875
47896
  key?: string;
47897
+ bnCode?: string;
47876
47898
  } & {
47877
47899
  [key: string]: any;
47878
47900
  };
@@ -47917,14 +47939,11 @@ declare namespace ShopperPaymentsModelTypes {
47917
47939
  *
47918
47940
  * @property paymentMethods: Configured payment methods
47919
47941
  *
47920
- * @property sdkVersion: SDK version to use
47921
- *
47922
47942
  */
47923
47943
  type PaymentConfiguration = {
47924
47944
  zoneId?: string | null;
47925
47945
  paymentMethodSetAccounts: Array<PaymentConfigurationPaymentMethodSetAccountsInner>;
47926
47946
  paymentMethods: Array<PaymentConfigurationPaymentMethodsInner>;
47927
- sdkVersion: string;
47928
47947
  } & {
47929
47948
  [key: string]: any;
47930
47949
  };