@wix/auto_sdk_bookings_services 1.0.131 → 1.0.133
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-CyRaI-DD.d.ts → bookings-services-v2-service-services.universal-BdI6PnqP.d.ts} +285 -271
- package/build/cjs/index.d.ts +60 -60
- package/build/cjs/index.js +312 -312
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +275 -275
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +138 -138
- package/build/cjs/meta.js +200 -200
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-CyRaI-DD.d.mts → bookings-services-v2-service-services.universal-BdI6PnqP.d.mts} +285 -271
- package/build/es/index.d.mts +60 -60
- package/build/es/index.mjs +312 -312
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +275 -275
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +138 -138
- package/build/es/meta.mjs +200 -200
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-CyRaI-DD.d.ts → bookings-services-v2-service-services.universal-BdI6PnqP.d.ts} +285 -271
- package/build/internal/cjs/index.d.ts +60 -60
- package/build/internal/cjs/index.js +312 -312
- 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 +275 -275
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +138 -138
- package/build/internal/cjs/meta.js +200 -200
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-CyRaI-DD.d.mts → bookings-services-v2-service-services.universal-BdI6PnqP.d.mts} +285 -271
- package/build/internal/es/index.d.mts +60 -60
- package/build/internal/es/index.mjs +312 -312
- 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 +275 -275
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +138 -138
- package/build/internal/es/meta.mjs +200 -200
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -59,7 +59,7 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
59
59
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
60
60
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
61
61
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
62
|
-
function
|
|
62
|
+
function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
|
|
63
63
|
const domainToMappings = {
|
|
64
64
|
"*.dev.wix-code.com": [
|
|
65
65
|
{
|
|
@@ -174,7 +174,7 @@ function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
|
|
|
174
174
|
};
|
|
175
175
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
|
|
178
178
|
const domainToMappings = {
|
|
179
179
|
"*.dev.wix-code.com": [
|
|
180
180
|
{
|
|
@@ -290,6 +290,117 @@ function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
|
|
|
290
290
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
291
291
|
}
|
|
292
292
|
var PACKAGE_NAME = "@wix/auto_sdk_bookings_services";
|
|
293
|
+
function createAddOnGroup(payload) {
|
|
294
|
+
function __createAddOnGroup({ host }) {
|
|
295
|
+
const metadata = {
|
|
296
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
297
|
+
method: "POST",
|
|
298
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup",
|
|
299
|
+
packageName: PACKAGE_NAME,
|
|
300
|
+
migrationOptions: {
|
|
301
|
+
optInTransformResponse: true
|
|
302
|
+
},
|
|
303
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
304
|
+
protoPath: "/v2/services/add-on-groups/create",
|
|
305
|
+
data: payload,
|
|
306
|
+
host
|
|
307
|
+
}),
|
|
308
|
+
data: payload
|
|
309
|
+
};
|
|
310
|
+
return metadata;
|
|
311
|
+
}
|
|
312
|
+
return __createAddOnGroup;
|
|
313
|
+
}
|
|
314
|
+
function deleteAddOnGroup(payload) {
|
|
315
|
+
function __deleteAddOnGroup({ host }) {
|
|
316
|
+
const metadata = {
|
|
317
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
318
|
+
method: "POST",
|
|
319
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup",
|
|
320
|
+
packageName: PACKAGE_NAME,
|
|
321
|
+
migrationOptions: {
|
|
322
|
+
optInTransformResponse: true
|
|
323
|
+
},
|
|
324
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
325
|
+
protoPath: "/v2/services/add-on-groups/delete",
|
|
326
|
+
data: payload,
|
|
327
|
+
host
|
|
328
|
+
}),
|
|
329
|
+
data: payload
|
|
330
|
+
};
|
|
331
|
+
return metadata;
|
|
332
|
+
}
|
|
333
|
+
return __deleteAddOnGroup;
|
|
334
|
+
}
|
|
335
|
+
function updateAddOnGroup(payload) {
|
|
336
|
+
function __updateAddOnGroup({ host }) {
|
|
337
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
338
|
+
{
|
|
339
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
340
|
+
paths: [{ path: "mask" }]
|
|
341
|
+
}
|
|
342
|
+
]);
|
|
343
|
+
const metadata = {
|
|
344
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
345
|
+
method: "POST",
|
|
346
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup",
|
|
347
|
+
packageName: PACKAGE_NAME,
|
|
348
|
+
migrationOptions: {
|
|
349
|
+
optInTransformResponse: true
|
|
350
|
+
},
|
|
351
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
352
|
+
protoPath: "/v2/services/add-on-groups/update",
|
|
353
|
+
data: serializedData,
|
|
354
|
+
host
|
|
355
|
+
}),
|
|
356
|
+
data: serializedData
|
|
357
|
+
};
|
|
358
|
+
return metadata;
|
|
359
|
+
}
|
|
360
|
+
return __updateAddOnGroup;
|
|
361
|
+
}
|
|
362
|
+
function listAddOnGroupsByServiceId(payload) {
|
|
363
|
+
function __listAddOnGroupsByServiceId({ host }) {
|
|
364
|
+
const metadata = {
|
|
365
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
366
|
+
method: "POST",
|
|
367
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId",
|
|
368
|
+
packageName: PACKAGE_NAME,
|
|
369
|
+
migrationOptions: {
|
|
370
|
+
optInTransformResponse: true
|
|
371
|
+
},
|
|
372
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
373
|
+
protoPath: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
|
|
374
|
+
data: payload,
|
|
375
|
+
host
|
|
376
|
+
}),
|
|
377
|
+
data: payload
|
|
378
|
+
};
|
|
379
|
+
return metadata;
|
|
380
|
+
}
|
|
381
|
+
return __listAddOnGroupsByServiceId;
|
|
382
|
+
}
|
|
383
|
+
function setAddOnsForGroup(payload) {
|
|
384
|
+
function __setAddOnsForGroup({ host }) {
|
|
385
|
+
const metadata = {
|
|
386
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
387
|
+
method: "POST",
|
|
388
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup",
|
|
389
|
+
packageName: PACKAGE_NAME,
|
|
390
|
+
migrationOptions: {
|
|
391
|
+
optInTransformResponse: true
|
|
392
|
+
},
|
|
393
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
394
|
+
protoPath: "/v2/services/add-on-groups/set-add-ons-for-group",
|
|
395
|
+
data: payload,
|
|
396
|
+
host
|
|
397
|
+
}),
|
|
398
|
+
data: payload
|
|
399
|
+
};
|
|
400
|
+
return metadata;
|
|
401
|
+
}
|
|
402
|
+
return __setAddOnsForGroup;
|
|
403
|
+
}
|
|
293
404
|
function createService(payload) {
|
|
294
405
|
function __createService({ host }) {
|
|
295
406
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
@@ -1639,119 +1750,98 @@ function cloneService(payload) {
|
|
|
1639
1750
|
}
|
|
1640
1751
|
return __cloneService;
|
|
1641
1752
|
}
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
}
|
|
1661
|
-
return __createAddOnGroup;
|
|
1753
|
+
|
|
1754
|
+
// src/bookings-services-v2-service-services.meta.ts
|
|
1755
|
+
function createAddOnGroup2() {
|
|
1756
|
+
const payload = {};
|
|
1757
|
+
const getRequestOptions = createAddOnGroup(payload);
|
|
1758
|
+
const getUrl = (context) => {
|
|
1759
|
+
const { url } = getRequestOptions(context);
|
|
1760
|
+
return url;
|
|
1761
|
+
};
|
|
1762
|
+
return {
|
|
1763
|
+
getUrl,
|
|
1764
|
+
httpMethod: "POST",
|
|
1765
|
+
path: "/v2/services/add-on-groups/create",
|
|
1766
|
+
pathParams: {},
|
|
1767
|
+
__requestType: null,
|
|
1768
|
+
__originalRequestType: null,
|
|
1769
|
+
__responseType: null,
|
|
1770
|
+
__originalResponseType: null
|
|
1771
|
+
};
|
|
1662
1772
|
}
|
|
1663
|
-
function
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
return metadata;
|
|
1681
|
-
}
|
|
1682
|
-
return __deleteAddOnGroup;
|
|
1773
|
+
function deleteAddOnGroup2() {
|
|
1774
|
+
const payload = {};
|
|
1775
|
+
const getRequestOptions = deleteAddOnGroup(payload);
|
|
1776
|
+
const getUrl = (context) => {
|
|
1777
|
+
const { url } = getRequestOptions(context);
|
|
1778
|
+
return url;
|
|
1779
|
+
};
|
|
1780
|
+
return {
|
|
1781
|
+
getUrl,
|
|
1782
|
+
httpMethod: "POST",
|
|
1783
|
+
path: "/v2/services/add-on-groups/delete",
|
|
1784
|
+
pathParams: {},
|
|
1785
|
+
__requestType: null,
|
|
1786
|
+
__originalRequestType: null,
|
|
1787
|
+
__responseType: null,
|
|
1788
|
+
__originalResponseType: null
|
|
1789
|
+
};
|
|
1683
1790
|
}
|
|
1684
|
-
function
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
protoPath: "/v2/services/add-on-groups/update",
|
|
1702
|
-
data: serializedData,
|
|
1703
|
-
host
|
|
1704
|
-
}),
|
|
1705
|
-
data: serializedData
|
|
1706
|
-
};
|
|
1707
|
-
return metadata;
|
|
1708
|
-
}
|
|
1709
|
-
return __updateAddOnGroup;
|
|
1791
|
+
function updateAddOnGroup2() {
|
|
1792
|
+
const payload = {};
|
|
1793
|
+
const getRequestOptions = updateAddOnGroup(payload);
|
|
1794
|
+
const getUrl = (context) => {
|
|
1795
|
+
const { url } = getRequestOptions(context);
|
|
1796
|
+
return url;
|
|
1797
|
+
};
|
|
1798
|
+
return {
|
|
1799
|
+
getUrl,
|
|
1800
|
+
httpMethod: "POST",
|
|
1801
|
+
path: "/v2/services/add-on-groups/update",
|
|
1802
|
+
pathParams: {},
|
|
1803
|
+
__requestType: null,
|
|
1804
|
+
__originalRequestType: null,
|
|
1805
|
+
__responseType: null,
|
|
1806
|
+
__originalResponseType: null
|
|
1807
|
+
};
|
|
1710
1808
|
}
|
|
1711
|
-
function
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
return metadata;
|
|
1729
|
-
}
|
|
1730
|
-
return __listAddOnGroupsByServiceId;
|
|
1809
|
+
function listAddOnGroupsByServiceId2() {
|
|
1810
|
+
const payload = {};
|
|
1811
|
+
const getRequestOptions = listAddOnGroupsByServiceId(payload);
|
|
1812
|
+
const getUrl = (context) => {
|
|
1813
|
+
const { url } = getRequestOptions(context);
|
|
1814
|
+
return url;
|
|
1815
|
+
};
|
|
1816
|
+
return {
|
|
1817
|
+
getUrl,
|
|
1818
|
+
httpMethod: "POST",
|
|
1819
|
+
path: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
|
|
1820
|
+
pathParams: {},
|
|
1821
|
+
__requestType: null,
|
|
1822
|
+
__originalRequestType: null,
|
|
1823
|
+
__responseType: null,
|
|
1824
|
+
__originalResponseType: null
|
|
1825
|
+
};
|
|
1731
1826
|
}
|
|
1732
|
-
function
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
return metadata;
|
|
1750
|
-
}
|
|
1751
|
-
return __setAddOnsForGroup;
|
|
1827
|
+
function setAddOnsForGroup2() {
|
|
1828
|
+
const payload = {};
|
|
1829
|
+
const getRequestOptions = setAddOnsForGroup(payload);
|
|
1830
|
+
const getUrl = (context) => {
|
|
1831
|
+
const { url } = getRequestOptions(context);
|
|
1832
|
+
return url;
|
|
1833
|
+
};
|
|
1834
|
+
return {
|
|
1835
|
+
getUrl,
|
|
1836
|
+
httpMethod: "POST",
|
|
1837
|
+
path: "/v2/services/add-on-groups/set-add-ons-for-group",
|
|
1838
|
+
pathParams: {},
|
|
1839
|
+
__requestType: null,
|
|
1840
|
+
__originalRequestType: null,
|
|
1841
|
+
__responseType: null,
|
|
1842
|
+
__originalResponseType: null
|
|
1843
|
+
};
|
|
1752
1844
|
}
|
|
1753
|
-
|
|
1754
|
-
// src/bookings-services-v2-service-services.meta.ts
|
|
1755
1845
|
function createService2() {
|
|
1756
1846
|
const payload = {};
|
|
1757
1847
|
const getRequestOptions = createService(payload);
|
|
@@ -2152,96 +2242,6 @@ function cloneService2() {
|
|
|
2152
2242
|
__originalResponseType: null
|
|
2153
2243
|
};
|
|
2154
2244
|
}
|
|
2155
|
-
function createAddOnGroup2() {
|
|
2156
|
-
const payload = {};
|
|
2157
|
-
const getRequestOptions = createAddOnGroup(payload);
|
|
2158
|
-
const getUrl = (context) => {
|
|
2159
|
-
const { url } = getRequestOptions(context);
|
|
2160
|
-
return url;
|
|
2161
|
-
};
|
|
2162
|
-
return {
|
|
2163
|
-
getUrl,
|
|
2164
|
-
httpMethod: "POST",
|
|
2165
|
-
path: "/v2/services/add-on-groups/create",
|
|
2166
|
-
pathParams: {},
|
|
2167
|
-
__requestType: null,
|
|
2168
|
-
__originalRequestType: null,
|
|
2169
|
-
__responseType: null,
|
|
2170
|
-
__originalResponseType: null
|
|
2171
|
-
};
|
|
2172
|
-
}
|
|
2173
|
-
function deleteAddOnGroup2() {
|
|
2174
|
-
const payload = {};
|
|
2175
|
-
const getRequestOptions = deleteAddOnGroup(payload);
|
|
2176
|
-
const getUrl = (context) => {
|
|
2177
|
-
const { url } = getRequestOptions(context);
|
|
2178
|
-
return url;
|
|
2179
|
-
};
|
|
2180
|
-
return {
|
|
2181
|
-
getUrl,
|
|
2182
|
-
httpMethod: "POST",
|
|
2183
|
-
path: "/v2/services/add-on-groups/delete",
|
|
2184
|
-
pathParams: {},
|
|
2185
|
-
__requestType: null,
|
|
2186
|
-
__originalRequestType: null,
|
|
2187
|
-
__responseType: null,
|
|
2188
|
-
__originalResponseType: null
|
|
2189
|
-
};
|
|
2190
|
-
}
|
|
2191
|
-
function updateAddOnGroup2() {
|
|
2192
|
-
const payload = {};
|
|
2193
|
-
const getRequestOptions = updateAddOnGroup(payload);
|
|
2194
|
-
const getUrl = (context) => {
|
|
2195
|
-
const { url } = getRequestOptions(context);
|
|
2196
|
-
return url;
|
|
2197
|
-
};
|
|
2198
|
-
return {
|
|
2199
|
-
getUrl,
|
|
2200
|
-
httpMethod: "POST",
|
|
2201
|
-
path: "/v2/services/add-on-groups/update",
|
|
2202
|
-
pathParams: {},
|
|
2203
|
-
__requestType: null,
|
|
2204
|
-
__originalRequestType: null,
|
|
2205
|
-
__responseType: null,
|
|
2206
|
-
__originalResponseType: null
|
|
2207
|
-
};
|
|
2208
|
-
}
|
|
2209
|
-
function listAddOnGroupsByServiceId2() {
|
|
2210
|
-
const payload = {};
|
|
2211
|
-
const getRequestOptions = listAddOnGroupsByServiceId(payload);
|
|
2212
|
-
const getUrl = (context) => {
|
|
2213
|
-
const { url } = getRequestOptions(context);
|
|
2214
|
-
return url;
|
|
2215
|
-
};
|
|
2216
|
-
return {
|
|
2217
|
-
getUrl,
|
|
2218
|
-
httpMethod: "POST",
|
|
2219
|
-
path: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
|
|
2220
|
-
pathParams: {},
|
|
2221
|
-
__requestType: null,
|
|
2222
|
-
__originalRequestType: null,
|
|
2223
|
-
__responseType: null,
|
|
2224
|
-
__originalResponseType: null
|
|
2225
|
-
};
|
|
2226
|
-
}
|
|
2227
|
-
function setAddOnsForGroup2() {
|
|
2228
|
-
const payload = {};
|
|
2229
|
-
const getRequestOptions = setAddOnsForGroup(payload);
|
|
2230
|
-
const getUrl = (context) => {
|
|
2231
|
-
const { url } = getRequestOptions(context);
|
|
2232
|
-
return url;
|
|
2233
|
-
};
|
|
2234
|
-
return {
|
|
2235
|
-
getUrl,
|
|
2236
|
-
httpMethod: "POST",
|
|
2237
|
-
path: "/v2/services/add-on-groups/set-add-ons-for-group",
|
|
2238
|
-
pathParams: {},
|
|
2239
|
-
__requestType: null,
|
|
2240
|
-
__originalRequestType: null,
|
|
2241
|
-
__responseType: null,
|
|
2242
|
-
__originalResponseType: null
|
|
2243
|
-
};
|
|
2244
|
-
}
|
|
2245
2245
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2246
2246
|
0 && (module.exports = {
|
|
2247
2247
|
bulkCreateServices,
|