@wix/auto_sdk_ecom_draft-orders 1.0.70 → 1.0.72

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.
@@ -4327,7 +4327,11 @@ type SetDepositApplicationErrors = {
4327
4327
  description?: string;
4328
4328
  data?: Record<string, any>;
4329
4329
  } | {
4330
- code?: 'DEPOSIT_AMOUNT_EXCEEDS_ORDER_TOTALS';
4330
+ code?: 'INVALID_AMOUNT';
4331
+ description?: string;
4332
+ data?: Record<string, any>;
4333
+ } | {
4334
+ code?: 'SET_DEPOSIT_NOT_ALLOWED_IN_EDIT_MODE';
4331
4335
  description?: string;
4332
4336
  data?: Record<string, any>;
4333
4337
  };
@@ -27,6 +27,18 @@ function resolveComWixEcomOrdersDraftV1DraftOrdersUrl(opts) {
27
27
  srcPath: "/ecom/v1/draft-orders",
28
28
  destPath: "/v1/draft-orders"
29
29
  }
30
+ ],
31
+ "*.dev.wix-code.com": [
32
+ {
33
+ srcPath: "/ecom/v1/draft-orders",
34
+ destPath: "/v1/draft-orders"
35
+ }
36
+ ],
37
+ _: [
38
+ {
39
+ srcPath: "/ecom/v1/draft-orders",
40
+ destPath: "/v1/draft-orders"
41
+ }
30
42
  ]
31
43
  };
32
44
  return resolveUrl(Object.assign(opts, { domainToMappings }));