@wix/auto_sdk_bookings_services 1.0.178 → 1.0.179
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.
- package/build/cjs/{bookings-services-v2-service-services.universal-V03VQ8tx.d.ts → bookings-services-v2-service-services.universal-B7-Plu-S.d.ts} +158 -187
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +10 -232
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +10 -232
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +161 -190
- package/build/cjs/meta.js +10 -232
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-V03VQ8tx.d.mts → bookings-services-v2-service-services.universal-B7-Plu-S.d.mts} +158 -187
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +10 -232
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +10 -232
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +161 -190
- package/build/es/meta.mjs +10 -232
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-V03VQ8tx.d.ts → bookings-services-v2-service-services.universal-B7-Plu-S.d.ts} +158 -187
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +10 -232
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +10 -232
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +161 -190
- package/build/internal/cjs/meta.js +10 -232
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-V03VQ8tx.d.mts → bookings-services-v2-service-services.universal-B7-Plu-S.d.mts} +158 -187
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +10 -232
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +10 -232
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +161 -190
- package/build/internal/es/meta.mjs +10 -232
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -109,233 +109,11 @@ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
|
109
109
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
110
110
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
111
111
|
function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
|
|
112
|
-
const domainToMappings = {
|
|
113
|
-
"*.dev.wix-code.com": [
|
|
114
|
-
{
|
|
115
|
-
srcPath: "/_api/services-2",
|
|
116
|
-
destPath: ""
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
srcPath: "/_api/bookings/v2/services",
|
|
120
|
-
destPath: "/v2/services"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"www.wixapis.com": [
|
|
124
|
-
{
|
|
125
|
-
srcPath: "/_api/bookings/v2/services",
|
|
126
|
-
destPath: "/v2/services"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
srcPath: "/bookings/v2/services",
|
|
130
|
-
destPath: "/v2/services"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
srcPath: "/bookings/v2/bulk/services",
|
|
134
|
-
destPath: "/v2/bulk/services"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
srcPath: "/bookings/services/v2/bulk/services",
|
|
138
|
-
destPath: "/v2/bulk/services"
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"manage._base_domain_": [
|
|
142
|
-
{
|
|
143
|
-
srcPath: "/_api/bookings/v2/services",
|
|
144
|
-
destPath: "/v2/services"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
148
|
-
destPath: "/v2/bulk/services"
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
"editor._base_domain_": [
|
|
152
|
-
{
|
|
153
|
-
srcPath: "/_api/bookings/v2/services",
|
|
154
|
-
destPath: "/v2/services"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
158
|
-
destPath: "/v2/bulk/services"
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
"blocks._base_domain_": [
|
|
162
|
-
{
|
|
163
|
-
srcPath: "/_api/bookings/v2/services",
|
|
164
|
-
destPath: "/v2/services"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
168
|
-
destPath: "/v2/bulk/services"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"create.editorx": [
|
|
172
|
-
{
|
|
173
|
-
srcPath: "/_api/bookings/v2/services",
|
|
174
|
-
destPath: "/v2/services"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
178
|
-
destPath: "/v2/bulk/services"
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
_: [
|
|
182
|
-
{
|
|
183
|
-
srcPath: "/_api/bookings/v2/services",
|
|
184
|
-
destPath: "/v2/services"
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
"www._base_domain_": [
|
|
188
|
-
{
|
|
189
|
-
srcPath: "/_api/bookings/v2/services",
|
|
190
|
-
destPath: "/v2/services"
|
|
191
|
-
}
|
|
192
|
-
],
|
|
193
|
-
"bo._base_domain_": [
|
|
194
|
-
{
|
|
195
|
-
srcPath: "/_api/bookings/v2/services",
|
|
196
|
-
destPath: "/v2/services"
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
"wixbo.ai": [
|
|
200
|
-
{
|
|
201
|
-
srcPath: "/_api/bookings/v2/services",
|
|
202
|
-
destPath: "/v2/services"
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
"wix-bo.com": [
|
|
206
|
-
{
|
|
207
|
-
srcPath: "/_api/bookings/v2/services",
|
|
208
|
-
destPath: "/v2/services"
|
|
209
|
-
}
|
|
210
|
-
],
|
|
211
|
-
"editor.wixapps.net": [
|
|
212
|
-
{
|
|
213
|
-
srcPath: "/_api/bookings/v2/services",
|
|
214
|
-
destPath: "/v2/services"
|
|
215
|
-
}
|
|
216
|
-
],
|
|
217
|
-
"api._api_base_domain_": [
|
|
218
|
-
{
|
|
219
|
-
srcPath: "/services-2",
|
|
220
|
-
destPath: ""
|
|
221
|
-
}
|
|
222
|
-
]
|
|
223
|
-
};
|
|
112
|
+
const domainToMappings = {};
|
|
224
113
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
225
114
|
}
|
|
226
115
|
function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
|
|
227
|
-
const domainToMappings = {
|
|
228
|
-
"*.dev.wix-code.com": [
|
|
229
|
-
{
|
|
230
|
-
srcPath: "/_api/services-2",
|
|
231
|
-
destPath: ""
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
srcPath: "/_api/bookings/v2/services",
|
|
235
|
-
destPath: "/v2/services"
|
|
236
|
-
}
|
|
237
|
-
],
|
|
238
|
-
"www.wixapis.com": [
|
|
239
|
-
{
|
|
240
|
-
srcPath: "/_api/bookings/v2/services",
|
|
241
|
-
destPath: "/v2/services"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
srcPath: "/bookings/v2/services",
|
|
245
|
-
destPath: "/v2/services"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
srcPath: "/bookings/v2/bulk/services",
|
|
249
|
-
destPath: "/v2/bulk/services"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
srcPath: "/bookings/services/v2/bulk/services",
|
|
253
|
-
destPath: "/v2/bulk/services"
|
|
254
|
-
}
|
|
255
|
-
],
|
|
256
|
-
"manage._base_domain_": [
|
|
257
|
-
{
|
|
258
|
-
srcPath: "/_api/bookings/v2/services",
|
|
259
|
-
destPath: "/v2/services"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
263
|
-
destPath: "/v2/bulk/services"
|
|
264
|
-
}
|
|
265
|
-
],
|
|
266
|
-
"editor._base_domain_": [
|
|
267
|
-
{
|
|
268
|
-
srcPath: "/_api/bookings/v2/services",
|
|
269
|
-
destPath: "/v2/services"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
273
|
-
destPath: "/v2/bulk/services"
|
|
274
|
-
}
|
|
275
|
-
],
|
|
276
|
-
"blocks._base_domain_": [
|
|
277
|
-
{
|
|
278
|
-
srcPath: "/_api/bookings/v2/services",
|
|
279
|
-
destPath: "/v2/services"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
283
|
-
destPath: "/v2/bulk/services"
|
|
284
|
-
}
|
|
285
|
-
],
|
|
286
|
-
"create.editorx": [
|
|
287
|
-
{
|
|
288
|
-
srcPath: "/_api/bookings/v2/services",
|
|
289
|
-
destPath: "/v2/services"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
293
|
-
destPath: "/v2/bulk/services"
|
|
294
|
-
}
|
|
295
|
-
],
|
|
296
|
-
_: [
|
|
297
|
-
{
|
|
298
|
-
srcPath: "/_api/bookings/v2/services",
|
|
299
|
-
destPath: "/v2/services"
|
|
300
|
-
}
|
|
301
|
-
],
|
|
302
|
-
"www._base_domain_": [
|
|
303
|
-
{
|
|
304
|
-
srcPath: "/_api/bookings/v2/services",
|
|
305
|
-
destPath: "/v2/services"
|
|
306
|
-
}
|
|
307
|
-
],
|
|
308
|
-
"bo._base_domain_": [
|
|
309
|
-
{
|
|
310
|
-
srcPath: "/_api/bookings/v2/services",
|
|
311
|
-
destPath: "/v2/services"
|
|
312
|
-
}
|
|
313
|
-
],
|
|
314
|
-
"wixbo.ai": [
|
|
315
|
-
{
|
|
316
|
-
srcPath: "/_api/bookings/v2/services",
|
|
317
|
-
destPath: "/v2/services"
|
|
318
|
-
}
|
|
319
|
-
],
|
|
320
|
-
"wix-bo.com": [
|
|
321
|
-
{
|
|
322
|
-
srcPath: "/_api/bookings/v2/services",
|
|
323
|
-
destPath: "/v2/services"
|
|
324
|
-
}
|
|
325
|
-
],
|
|
326
|
-
"editor.wixapps.net": [
|
|
327
|
-
{
|
|
328
|
-
srcPath: "/_api/bookings/v2/services",
|
|
329
|
-
destPath: "/v2/services"
|
|
330
|
-
}
|
|
331
|
-
],
|
|
332
|
-
"api._api_base_domain_": [
|
|
333
|
-
{
|
|
334
|
-
srcPath: "/services-2",
|
|
335
|
-
destPath: ""
|
|
336
|
-
}
|
|
337
|
-
]
|
|
338
|
-
};
|
|
116
|
+
const domainToMappings = {};
|
|
339
117
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
340
118
|
}
|
|
341
119
|
var PACKAGE_NAME = "@wix/auto_sdk_bookings_services";
|
|
@@ -1866,14 +1644,6 @@ var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
|
1866
1644
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1867
1645
|
return TaxableAddressType2;
|
|
1868
1646
|
})(TaxableAddressType || {});
|
|
1869
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1870
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1871
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1872
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1873
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1874
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1875
|
-
return WebhookIdentityType2;
|
|
1876
|
-
})(WebhookIdentityType || {});
|
|
1877
1647
|
var V2RequestedFields = /* @__PURE__ */ ((V2RequestedFields2) => {
|
|
1878
1648
|
V2RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
1879
1649
|
V2RequestedFields2["STAFF_MEMBER_DETAILS"] = "STAFF_MEMBER_DETAILS";
|
|
@@ -2017,6 +1787,14 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
|
|
|
2017
1787
|
ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
|
|
2018
1788
|
return ResolutionMethod2;
|
|
2019
1789
|
})(ResolutionMethod || {});
|
|
1790
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1791
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1792
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1793
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1794
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1795
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1796
|
+
return WebhookIdentityType2;
|
|
1797
|
+
})(WebhookIdentityType || {});
|
|
2020
1798
|
async function createService2(service) {
|
|
2021
1799
|
const { httpClient, sideEffects } = arguments[1];
|
|
2022
1800
|
const payload = (0, import_transform_paths2.transformPaths)(
|