@wix/auto_sdk_ecom_ecommerce-settings 1.0.45 → 1.0.47
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +17 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +17 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -10
- package/build/internal/cjs/meta.d.ts +12 -9
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +13 -10
- package/build/internal/es/meta.d.mts +12 -9
- package/package.json +2 -2
|
@@ -240,14 +240,17 @@ interface CheckoutFields {
|
|
|
240
240
|
*/
|
|
241
241
|
purchaseRecommendationsEnabled?: boolean | null;
|
|
242
242
|
/**
|
|
243
|
-
* Who can enter
|
|
243
|
+
* Who can enter test mode on the site's checkout. In test mode, the regular payment methods are
|
|
244
244
|
* hidden and checkout completes with a dedicated test payment method, so no real payment is
|
|
245
|
-
* processed. The resulting order is
|
|
246
|
-
*
|
|
247
|
-
*
|
|
245
|
+
* processed. The resulting order is a
|
|
246
|
+
* [test order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/test-orders),
|
|
247
|
+
* and the order's `demo` field is `true`.
|
|
248
|
+
*
|
|
249
|
+
* Test orders reduce inventory, go through fulfillment, and trigger transactional emails, but
|
|
250
|
+
* they're excluded from sales reports and analytics. Most order events aren't sent to apps or
|
|
251
|
+
* sites for test orders.
|
|
248
252
|
*
|
|
249
253
|
* Default: `DISABLED`
|
|
250
|
-
* @internal
|
|
251
254
|
*/
|
|
252
255
|
testMode?: TestModeWithLiterals;
|
|
253
256
|
/**
|
|
@@ -262,7 +265,7 @@ interface CheckoutFields {
|
|
|
262
265
|
*
|
|
263
266
|
* Used only when both shipping and pickup are available for the cart.
|
|
264
267
|
*
|
|
265
|
-
* Default: `
|
|
268
|
+
* Default: `true`
|
|
266
269
|
* @internal
|
|
267
270
|
*/
|
|
268
271
|
deliveryMethodSelectionEnabled?: boolean | null;
|
|
@@ -299,13 +302,13 @@ interface CheckboxField {
|
|
|
299
302
|
declare enum TestMode {
|
|
300
303
|
/** Test Mode is off everywhere. */
|
|
301
304
|
DISABLED = "DISABLED",
|
|
302
|
-
/** Every checkout on the site
|
|
305
|
+
/** Every checkout on the site places a test order. This value is temporary: `testMode` changes back to `DISABLED` 30 minutes after it changes to `ENABLED_TO_ALL`. Setting `ENABLED_TO_ALL` again while `testMode` is already `ENABLED_TO_ALL` doesn't restart the 30 minutes. */
|
|
303
306
|
ENABLED_TO_ALL = "ENABLED_TO_ALL",
|
|
304
307
|
/**
|
|
305
308
|
* Only the site owner and collaborators enter Test Mode. Other visitors get the regular checkout.
|
|
306
309
|
*
|
|
307
|
-
* >**Note:** has no effect on sites without a Wix member area, such as Headless sites. On these
|
|
308
|
-
* sites, `DISABLED` and `ENABLED_TO_OWNER_AND_COLLABORATORS` behave the same
|
|
310
|
+
* >**Note:** This value has no effect on sites without a Wix member area, such as Headless sites. On these
|
|
311
|
+
* sites, `DISABLED` and `ENABLED_TO_OWNER_AND_COLLABORATORS` behave the same. Use `ENABLED_TO_ALL` instead.
|
|
309
312
|
*/
|
|
310
313
|
ENABLED_TO_OWNER_AND_COLLABORATORS = "ENABLED_TO_OWNER_AND_COLLABORATORS"
|
|
311
314
|
}
|
|
@@ -1619,7 +1622,7 @@ type GetEcommerceSettingsApplicationErrors = {
|
|
|
1619
1622
|
* @applicableIdentity APP
|
|
1620
1623
|
* @fqn wix.ecom.ecommerce_settings.v1.EcommerceSettingsService.GetEcommerceSettings
|
|
1621
1624
|
*/
|
|
1622
|
-
declare function getEcommerceSettings(fields: RequestedFieldsWithLiterals[]): Promise<NonNullablePaths<GetEcommerceSettingsResponse, `ecommerceSettings.additionalFeesServicePlugin.activeProviders` | `ecommerceSettings.additionalFeesServicePlugin.activeProviders.${number}.appId` | `ecommerceSettings.checkout.checkoutBrand.header.logo.size` | `ecommerceSettings.checkout.checkoutBrand.header.alignment` | `ecommerceSettings.checkout.checkoutBrand.header.continueShopping.displayType` | `ecommerceSettings.checkout.checkoutBrand.mainSection.expressButtonsCornerRadius` | `ecommerceSettings.checkout.checkoutBillingFields` | `ecommerceSettings.delivery.countries` | `ecommerceSettings.delivery.countries.${number}.country` | `ecommerceSettings.delivery.countries.${number}.deliveryDestinationProperties.postalCodeRequired` | `ecommerceSettings.delivery.countries.${number}.deliveryDestinationProperties.pickupOnly` | `ecommerceSettings.businessInfo.currency` | `ecommerceSettings.businessInfo.language` | `ecommerceSettings.businessInfo.locale.language` | `ecommerceSettings.businessInfo.address.streetAddress.number` | `ecommerceSettings.businessInfo.address.streetAddress.name` | `ecommerceSettings.businessLocale.currency` | `ecommerceSettings.businessLocale.language` | `ecommerceSettings.businessLocale.weightUnit` | `ecommerceSettings.businessLocale.unitSystem` | `errors` | `errors.${number}.requestedField`, 5> & {
|
|
1625
|
+
declare function getEcommerceSettings(fields: RequestedFieldsWithLiterals[]): Promise<NonNullablePaths<GetEcommerceSettingsResponse, `ecommerceSettings.additionalFeesServicePlugin.activeProviders` | `ecommerceSettings.additionalFeesServicePlugin.activeProviders.${number}.appId` | `ecommerceSettings.checkout.checkoutFields.testMode` | `ecommerceSettings.checkout.checkoutBrand.header.logo.size` | `ecommerceSettings.checkout.checkoutBrand.header.alignment` | `ecommerceSettings.checkout.checkoutBrand.header.continueShopping.displayType` | `ecommerceSettings.checkout.checkoutBrand.mainSection.expressButtonsCornerRadius` | `ecommerceSettings.checkout.checkoutBillingFields` | `ecommerceSettings.delivery.countries` | `ecommerceSettings.delivery.countries.${number}.country` | `ecommerceSettings.delivery.countries.${number}.deliveryDestinationProperties.postalCodeRequired` | `ecommerceSettings.delivery.countries.${number}.deliveryDestinationProperties.pickupOnly` | `ecommerceSettings.businessInfo.currency` | `ecommerceSettings.businessInfo.language` | `ecommerceSettings.businessInfo.locale.language` | `ecommerceSettings.businessInfo.address.streetAddress.number` | `ecommerceSettings.businessInfo.address.streetAddress.name` | `ecommerceSettings.businessLocale.currency` | `ecommerceSettings.businessLocale.language` | `ecommerceSettings.businessLocale.weightUnit` | `ecommerceSettings.businessLocale.unitSystem` | `errors` | `errors.${number}.requestedField`, 5> & {
|
|
1623
1626
|
__applicationErrorsType?: GetEcommerceSettingsApplicationErrors;
|
|
1624
1627
|
}>;
|
|
1625
1628
|
|
|
@@ -241,14 +241,17 @@ interface CheckoutFields {
|
|
|
241
241
|
*/
|
|
242
242
|
purchaseRecommendationsEnabled?: boolean | null;
|
|
243
243
|
/**
|
|
244
|
-
* Who can enter
|
|
244
|
+
* Who can enter test mode on the site's checkout. In test mode, the regular payment methods are
|
|
245
245
|
* hidden and checkout completes with a dedicated test payment method, so no real payment is
|
|
246
|
-
* processed. The resulting order is
|
|
247
|
-
*
|
|
248
|
-
*
|
|
246
|
+
* processed. The resulting order is a
|
|
247
|
+
* [test order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/test-orders),
|
|
248
|
+
* and the order's `demo` field is `true`.
|
|
249
|
+
*
|
|
250
|
+
* Test orders reduce inventory, go through fulfillment, and trigger transactional emails, but
|
|
251
|
+
* they're excluded from sales reports and analytics. Most order events aren't sent to apps or
|
|
252
|
+
* sites for test orders.
|
|
249
253
|
*
|
|
250
254
|
* Default: `DISABLED`
|
|
251
|
-
* @internal
|
|
252
255
|
*/
|
|
253
256
|
testMode?: TestModeWithLiterals;
|
|
254
257
|
/**
|
|
@@ -263,7 +266,7 @@ interface CheckoutFields {
|
|
|
263
266
|
*
|
|
264
267
|
* Used only when both shipping and pickup are available for the cart.
|
|
265
268
|
*
|
|
266
|
-
* Default: `
|
|
269
|
+
* Default: `true`
|
|
267
270
|
* @internal
|
|
268
271
|
*/
|
|
269
272
|
deliveryMethodSelectionEnabled?: boolean | null;
|
|
@@ -300,13 +303,13 @@ interface CheckboxField {
|
|
|
300
303
|
declare enum TestMode {
|
|
301
304
|
/** Test Mode is off everywhere. */
|
|
302
305
|
DISABLED = "DISABLED",
|
|
303
|
-
/** Every checkout on the site
|
|
306
|
+
/** Every checkout on the site places a test order. This value is temporary: `testMode` changes back to `DISABLED` 30 minutes after it changes to `ENABLED_TO_ALL`. Setting `ENABLED_TO_ALL` again while `testMode` is already `ENABLED_TO_ALL` doesn't restart the 30 minutes. */
|
|
304
307
|
ENABLED_TO_ALL = "ENABLED_TO_ALL",
|
|
305
308
|
/**
|
|
306
309
|
* Only the site owner and collaborators enter Test Mode. Other visitors get the regular checkout.
|
|
307
310
|
*
|
|
308
|
-
* >**Note:** has no effect on sites without a Wix member area, such as Headless sites. On these
|
|
309
|
-
* sites, `DISABLED` and `ENABLED_TO_OWNER_AND_COLLABORATORS` behave the same
|
|
311
|
+
* >**Note:** This value has no effect on sites without a Wix member area, such as Headless sites. On these
|
|
312
|
+
* sites, `DISABLED` and `ENABLED_TO_OWNER_AND_COLLABORATORS` behave the same. Use `ENABLED_TO_ALL` instead.
|
|
310
313
|
*/
|
|
311
314
|
ENABLED_TO_OWNER_AND_COLLABORATORS = "ENABLED_TO_OWNER_AND_COLLABORATORS"
|
|
312
315
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_ecommerce-settings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.ecom.v1.ecommerce_settings"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "33bd4dbc678370451fb1c3268617a2dec2fdc36ed18c79235a64f3ee"
|
|
54
54
|
}
|