@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
  /**
@@ -75,103 +75,17 @@ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform
75
75
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
76
76
  function resolveComWixEcomCartApiV1CartServiceUrl(opts) {
77
77
  const domainToMappings = {
78
- "api._api_base_domain_": [
79
- {
80
- srcPath: "/cart",
81
- destPath: ""
82
- }
83
- ],
84
- "www.wixapis.com": [
85
- {
86
- srcPath: "/ecom/v1/carts",
87
- destPath: "/v1/carts"
88
- }
89
- ],
90
- "www.wixgateway.com": [
91
- {
92
- srcPath: "/ecom/v1/carts",
93
- destPath: "/v1/carts"
94
- }
95
- ],
96
78
  _: [
97
- {
98
- srcPath: "/_api/ecom-cart",
99
- destPath: ""
100
- },
101
- {
102
- srcPath: "/_api/cart",
103
- destPath: ""
104
- },
105
79
  {
106
80
  srcPath: "/ecom/v1/carts",
107
81
  destPath: "/v1/carts"
108
82
  }
109
83
  ],
110
- "manage._base_domain_": [
111
- {
112
- srcPath: "/ecom/v1/carts",
113
- destPath: "/v1/carts"
114
- }
115
- ],
116
- "editor._base_domain_": [
117
- {
118
- srcPath: "/_api/ecom-cart",
119
- destPath: ""
120
- }
121
- ],
122
- "blocks._base_domain_": [
123
- {
124
- srcPath: "/_api/ecom-cart",
125
- destPath: ""
126
- }
127
- ],
128
- "create.editorx": [
129
- {
130
- srcPath: "/_api/ecom-cart",
131
- destPath: ""
132
- }
133
- ],
134
- "*.dev.wix-code.com": [
135
- {
136
- srcPath: "/_api/ecom-cart",
137
- destPath: ""
138
- }
139
- ],
140
84
  "www._base_domain_": [
141
85
  {
142
86
  srcPath: "/_api/ecom-cart",
143
87
  destPath: ""
144
88
  }
145
- ],
146
- "bo._base_domain_": [
147
- {
148
- srcPath: "/ecom/v1/carts",
149
- destPath: "/v1/carts"
150
- }
151
- ],
152
- "wixbo.ai": [
153
- {
154
- srcPath: "/ecom/v1/carts",
155
- destPath: "/v1/carts"
156
- }
157
- ],
158
- "wix-bo.com": [
159
- {
160
- srcPath: "/ecom/v1/carts",
161
- destPath: "/v1/carts"
162
- }
163
- ],
164
- "editor.wixapps.net": [
165
- {
166
- srcPath: "/_api/ecom-cart",
167
- destPath: ""
168
- }
169
- ],
170
- "apps._base_domain_": [
171
- {
172
- srcPath: "/ecom/v1/carts",
173
- destPath: "/v1/carts"
174
- }
175
89
  ]
176
90
  };
177
91
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));