@wix/auto_sdk_ecom_cart 1.0.64 → 1.0.66

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.
@@ -4,6 +4,7 @@ interface Cart {
4
4
  /**
5
5
  * Cart ID.
6
6
  * @format GUID
7
+ * @readonly
7
8
  */
8
9
  _id?: string | null;
9
10
  /**
@@ -3027,6 +3028,7 @@ interface UpdateCartOptions {
3027
3028
  /**
3028
3029
  * Cart ID.
3029
3030
  * @format GUID
3031
+ * @readonly
3030
3032
  */
3031
3033
  _id?: string | null;
3032
3034
  /**
@@ -16,103 +16,17 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
16
16
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
17
17
  function resolveComWixEcomCartApiV1CartServiceUrl(opts) {
18
18
  const domainToMappings = {
19
- "api._api_base_domain_": [
20
- {
21
- srcPath: "/cart",
22
- destPath: ""
23
- }
24
- ],
25
- "www.wixapis.com": [
26
- {
27
- srcPath: "/ecom/v1/carts",
28
- destPath: "/v1/carts"
29
- }
30
- ],
31
- "www.wixgateway.com": [
32
- {
33
- srcPath: "/ecom/v1/carts",
34
- destPath: "/v1/carts"
35
- }
36
- ],
37
19
  _: [
38
- {
39
- srcPath: "/_api/ecom-cart",
40
- destPath: ""
41
- },
42
- {
43
- srcPath: "/_api/cart",
44
- destPath: ""
45
- },
46
20
  {
47
21
  srcPath: "/ecom/v1/carts",
48
22
  destPath: "/v1/carts"
49
23
  }
50
24
  ],
51
- "manage._base_domain_": [
52
- {
53
- srcPath: "/ecom/v1/carts",
54
- destPath: "/v1/carts"
55
- }
56
- ],
57
- "editor._base_domain_": [
58
- {
59
- srcPath: "/_api/ecom-cart",
60
- destPath: ""
61
- }
62
- ],
63
- "blocks._base_domain_": [
64
- {
65
- srcPath: "/_api/ecom-cart",
66
- destPath: ""
67
- }
68
- ],
69
- "create.editorx": [
70
- {
71
- srcPath: "/_api/ecom-cart",
72
- destPath: ""
73
- }
74
- ],
75
- "*.dev.wix-code.com": [
76
- {
77
- srcPath: "/_api/ecom-cart",
78
- destPath: ""
79
- }
80
- ],
81
25
  "www._base_domain_": [
82
26
  {
83
27
  srcPath: "/_api/ecom-cart",
84
28
  destPath: ""
85
29
  }
86
- ],
87
- "bo._base_domain_": [
88
- {
89
- srcPath: "/ecom/v1/carts",
90
- destPath: "/v1/carts"
91
- }
92
- ],
93
- "wixbo.ai": [
94
- {
95
- srcPath: "/ecom/v1/carts",
96
- destPath: "/v1/carts"
97
- }
98
- ],
99
- "wix-bo.com": [
100
- {
101
- srcPath: "/ecom/v1/carts",
102
- destPath: "/v1/carts"
103
- }
104
- ],
105
- "editor.wixapps.net": [
106
- {
107
- srcPath: "/_api/ecom-cart",
108
- destPath: ""
109
- }
110
- ],
111
- "apps._base_domain_": [
112
- {
113
- srcPath: "/ecom/v1/carts",
114
- destPath: "/v1/carts"
115
- }
116
30
  ]
117
31
  };
118
32
  return resolveUrl(Object.assign(opts, { domainToMappings }));