@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.
@@ -4295,7 +4295,11 @@ type SetDepositApplicationErrors = {
4295
4295
  description?: string;
4296
4296
  data?: Record<string, any>;
4297
4297
  } | {
4298
- code?: 'DEPOSIT_AMOUNT_EXCEEDS_ORDER_TOTALS';
4298
+ code?: 'INVALID_AMOUNT';
4299
+ description?: string;
4300
+ data?: Record<string, any>;
4301
+ } | {
4302
+ code?: 'SET_DEPOSIT_NOT_ALLOWED_IN_EDIT_MODE';
4299
4303
  description?: string;
4300
4304
  data?: Record<string, any>;
4301
4305
  };
@@ -35,6 +35,18 @@ function resolveComWixEcomOrdersDraftV1DraftOrdersUrl(opts) {
35
35
  srcPath: "/ecom/v1/draft-orders",
36
36
  destPath: "/v1/draft-orders"
37
37
  }
38
+ ],
39
+ "*.dev.wix-code.com": [
40
+ {
41
+ srcPath: "/ecom/v1/draft-orders",
42
+ destPath: "/v1/draft-orders"
43
+ }
44
+ ],
45
+ _: [
46
+ {
47
+ srcPath: "/ecom/v1/draft-orders",
48
+ destPath: "/v1/draft-orders"
49
+ }
38
50
  ]
39
51
  };
40
52
  return resolveUrl(Object.assign(opts, { domainToMappings }));