@wix/auto_sdk_ecom_ecommerce-settings 1.0.45 → 1.0.46

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.
@@ -241,14 +241,17 @@ interface CheckoutFields {
241
241
  */
242
242
  purchaseRecommendationsEnabled?: boolean | null;
243
243
  /**
244
- * Who can enter Test Mode on the site's checkout. In Test Mode, the regular payment methods are
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 marked as a test order and excluded from analytics, but it
247
- * still triggers the regular order flows, including fulfillment, transactional emails,
248
- * automations, and inventory changes.
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
  /**
@@ -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 runs as a test flow. */
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 - use `ENABLED_TO_ALL` instead.
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.45",
3
+ "version": "1.0.46",
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": "80a6716ff82b06df4a11035c51f0f9c1609c693f1f46c9ce1cbfd282"
53
+ "falconPackageHash": "5656805056ca0cecb86eb18faa32d9f761e320c860d441afa6477e84"
54
54
  }