@wix/auto_sdk_bookings_services 1.0.120 → 1.0.121
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-DKi7EvxV.d.ts → bookings-services-v2-service-services.universal-eHS1PlTD.d.ts} +344 -271
- package/build/cjs/index.d.ts +60 -60
- package/build/cjs/index.js +352 -335
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +262 -245
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +138 -138
- package/build/cjs/meta.js +185 -185
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-DKi7EvxV.d.mts → bookings-services-v2-service-services.universal-eHS1PlTD.d.mts} +344 -271
- package/build/es/index.d.mts +60 -60
- package/build/es/index.mjs +350 -335
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +260 -245
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +138 -138
- package/build/es/meta.mjs +185 -185
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-DKi7EvxV.d.ts → bookings-services-v2-service-services.universal-eHS1PlTD.d.ts} +344 -271
- package/build/internal/cjs/index.d.ts +60 -60
- package/build/internal/cjs/index.js +352 -335
- 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 +262 -245
- 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 +185 -185
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-DKi7EvxV.d.mts → bookings-services-v2-service-services.universal-eHS1PlTD.d.mts} +344 -271
- package/build/internal/es/index.d.mts +60 -60
- package/build/internal/es/index.mjs +350 -335
- 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 +260 -245
- 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 +185 -185
- 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,102 @@ 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
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
301
|
+
protoPath: "/v2/services/add-on-groups/create",
|
|
302
|
+
data: payload,
|
|
303
|
+
host
|
|
304
|
+
}),
|
|
305
|
+
data: payload
|
|
306
|
+
};
|
|
307
|
+
return metadata;
|
|
308
|
+
}
|
|
309
|
+
return __createAddOnGroup;
|
|
310
|
+
}
|
|
311
|
+
function deleteAddOnGroup(payload) {
|
|
312
|
+
function __deleteAddOnGroup({ host }) {
|
|
313
|
+
const metadata = {
|
|
314
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
315
|
+
method: "POST",
|
|
316
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup",
|
|
317
|
+
packageName: PACKAGE_NAME,
|
|
318
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
319
|
+
protoPath: "/v2/services/add-on-groups/delete",
|
|
320
|
+
data: payload,
|
|
321
|
+
host
|
|
322
|
+
}),
|
|
323
|
+
data: payload
|
|
324
|
+
};
|
|
325
|
+
return metadata;
|
|
326
|
+
}
|
|
327
|
+
return __deleteAddOnGroup;
|
|
328
|
+
}
|
|
329
|
+
function updateAddOnGroup(payload) {
|
|
330
|
+
function __updateAddOnGroup({ host }) {
|
|
331
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
332
|
+
{
|
|
333
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
334
|
+
paths: [{ path: "mask" }]
|
|
335
|
+
}
|
|
336
|
+
]);
|
|
337
|
+
const metadata = {
|
|
338
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
339
|
+
method: "POST",
|
|
340
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup",
|
|
341
|
+
packageName: PACKAGE_NAME,
|
|
342
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
343
|
+
protoPath: "/v2/services/add-on-groups/update",
|
|
344
|
+
data: serializedData,
|
|
345
|
+
host
|
|
346
|
+
}),
|
|
347
|
+
data: serializedData
|
|
348
|
+
};
|
|
349
|
+
return metadata;
|
|
350
|
+
}
|
|
351
|
+
return __updateAddOnGroup;
|
|
352
|
+
}
|
|
353
|
+
function listAddOnGroupsByServiceId(payload) {
|
|
354
|
+
function __listAddOnGroupsByServiceId({ host }) {
|
|
355
|
+
const metadata = {
|
|
356
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
357
|
+
method: "POST",
|
|
358
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId",
|
|
359
|
+
packageName: PACKAGE_NAME,
|
|
360
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
361
|
+
protoPath: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
|
|
362
|
+
data: payload,
|
|
363
|
+
host
|
|
364
|
+
}),
|
|
365
|
+
data: payload
|
|
366
|
+
};
|
|
367
|
+
return metadata;
|
|
368
|
+
}
|
|
369
|
+
return __listAddOnGroupsByServiceId;
|
|
370
|
+
}
|
|
371
|
+
function setAddOnsForGroup(payload) {
|
|
372
|
+
function __setAddOnsForGroup({ host }) {
|
|
373
|
+
const metadata = {
|
|
374
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
375
|
+
method: "POST",
|
|
376
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup",
|
|
377
|
+
packageName: PACKAGE_NAME,
|
|
378
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
379
|
+
protoPath: "/v2/services/add-on-groups/set-add-ons-for-group",
|
|
380
|
+
data: payload,
|
|
381
|
+
host
|
|
382
|
+
}),
|
|
383
|
+
data: payload
|
|
384
|
+
};
|
|
385
|
+
return metadata;
|
|
386
|
+
}
|
|
387
|
+
return __setAddOnsForGroup;
|
|
388
|
+
}
|
|
293
389
|
function createService(payload) {
|
|
294
390
|
function __createService({ host }) {
|
|
295
391
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
@@ -1573,104 +1669,98 @@ function cloneService(payload) {
|
|
|
1573
1669
|
}
|
|
1574
1670
|
return __cloneService;
|
|
1575
1671
|
}
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1672
|
+
|
|
1673
|
+
// src/bookings-services-v2-service-services.meta.ts
|
|
1674
|
+
function createAddOnGroup2() {
|
|
1675
|
+
const payload = {};
|
|
1676
|
+
const getRequestOptions = createAddOnGroup(payload);
|
|
1677
|
+
const getUrl = (context) => {
|
|
1678
|
+
const { url } = getRequestOptions(context);
|
|
1679
|
+
return url;
|
|
1680
|
+
};
|
|
1681
|
+
return {
|
|
1682
|
+
getUrl,
|
|
1683
|
+
httpMethod: "POST",
|
|
1684
|
+
path: "/v2/services/add-on-groups/create",
|
|
1685
|
+
pathParams: {},
|
|
1686
|
+
__requestType: null,
|
|
1687
|
+
__originalRequestType: null,
|
|
1688
|
+
__responseType: null,
|
|
1689
|
+
__originalResponseType: null
|
|
1690
|
+
};
|
|
1593
1691
|
}
|
|
1594
|
-
function
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1692
|
+
function deleteAddOnGroup2() {
|
|
1693
|
+
const payload = {};
|
|
1694
|
+
const getRequestOptions = deleteAddOnGroup(payload);
|
|
1695
|
+
const getUrl = (context) => {
|
|
1696
|
+
const { url } = getRequestOptions(context);
|
|
1697
|
+
return url;
|
|
1698
|
+
};
|
|
1699
|
+
return {
|
|
1700
|
+
getUrl,
|
|
1701
|
+
httpMethod: "POST",
|
|
1702
|
+
path: "/v2/services/add-on-groups/delete",
|
|
1703
|
+
pathParams: {},
|
|
1704
|
+
__requestType: null,
|
|
1705
|
+
__originalRequestType: null,
|
|
1706
|
+
__responseType: null,
|
|
1707
|
+
__originalResponseType: null
|
|
1708
|
+
};
|
|
1611
1709
|
}
|
|
1612
|
-
function
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
}),
|
|
1630
|
-
data: serializedData
|
|
1631
|
-
};
|
|
1632
|
-
return metadata;
|
|
1633
|
-
}
|
|
1634
|
-
return __updateAddOnGroup;
|
|
1710
|
+
function updateAddOnGroup2() {
|
|
1711
|
+
const payload = {};
|
|
1712
|
+
const getRequestOptions = updateAddOnGroup(payload);
|
|
1713
|
+
const getUrl = (context) => {
|
|
1714
|
+
const { url } = getRequestOptions(context);
|
|
1715
|
+
return url;
|
|
1716
|
+
};
|
|
1717
|
+
return {
|
|
1718
|
+
getUrl,
|
|
1719
|
+
httpMethod: "POST",
|
|
1720
|
+
path: "/v2/services/add-on-groups/update",
|
|
1721
|
+
pathParams: {},
|
|
1722
|
+
__requestType: null,
|
|
1723
|
+
__originalRequestType: null,
|
|
1724
|
+
__responseType: null,
|
|
1725
|
+
__originalResponseType: null
|
|
1726
|
+
};
|
|
1635
1727
|
}
|
|
1636
|
-
function
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1728
|
+
function listAddOnGroupsByServiceId2() {
|
|
1729
|
+
const payload = {};
|
|
1730
|
+
const getRequestOptions = listAddOnGroupsByServiceId(payload);
|
|
1731
|
+
const getUrl = (context) => {
|
|
1732
|
+
const { url } = getRequestOptions(context);
|
|
1733
|
+
return url;
|
|
1734
|
+
};
|
|
1735
|
+
return {
|
|
1736
|
+
getUrl,
|
|
1737
|
+
httpMethod: "POST",
|
|
1738
|
+
path: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
|
|
1739
|
+
pathParams: {},
|
|
1740
|
+
__requestType: null,
|
|
1741
|
+
__originalRequestType: null,
|
|
1742
|
+
__responseType: null,
|
|
1743
|
+
__originalResponseType: null
|
|
1744
|
+
};
|
|
1653
1745
|
}
|
|
1654
|
-
function
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1746
|
+
function setAddOnsForGroup2() {
|
|
1747
|
+
const payload = {};
|
|
1748
|
+
const getRequestOptions = setAddOnsForGroup(payload);
|
|
1749
|
+
const getUrl = (context) => {
|
|
1750
|
+
const { url } = getRequestOptions(context);
|
|
1751
|
+
return url;
|
|
1752
|
+
};
|
|
1753
|
+
return {
|
|
1754
|
+
getUrl,
|
|
1755
|
+
httpMethod: "POST",
|
|
1756
|
+
path: "/v2/services/add-on-groups/set-add-ons-for-group",
|
|
1757
|
+
pathParams: {},
|
|
1758
|
+
__requestType: null,
|
|
1759
|
+
__originalRequestType: null,
|
|
1760
|
+
__responseType: null,
|
|
1761
|
+
__originalResponseType: null
|
|
1762
|
+
};
|
|
1671
1763
|
}
|
|
1672
|
-
|
|
1673
|
-
// src/bookings-services-v2-service-services.meta.ts
|
|
1674
1764
|
function createService2() {
|
|
1675
1765
|
const payload = {};
|
|
1676
1766
|
const getRequestOptions = createService(payload);
|
|
@@ -2071,96 +2161,6 @@ function cloneService2() {
|
|
|
2071
2161
|
__originalResponseType: null
|
|
2072
2162
|
};
|
|
2073
2163
|
}
|
|
2074
|
-
function createAddOnGroup2() {
|
|
2075
|
-
const payload = {};
|
|
2076
|
-
const getRequestOptions = createAddOnGroup(payload);
|
|
2077
|
-
const getUrl = (context) => {
|
|
2078
|
-
const { url } = getRequestOptions(context);
|
|
2079
|
-
return url;
|
|
2080
|
-
};
|
|
2081
|
-
return {
|
|
2082
|
-
getUrl,
|
|
2083
|
-
httpMethod: "POST",
|
|
2084
|
-
path: "/v2/services/add-on-groups/create",
|
|
2085
|
-
pathParams: {},
|
|
2086
|
-
__requestType: null,
|
|
2087
|
-
__originalRequestType: null,
|
|
2088
|
-
__responseType: null,
|
|
2089
|
-
__originalResponseType: null
|
|
2090
|
-
};
|
|
2091
|
-
}
|
|
2092
|
-
function deleteAddOnGroup2() {
|
|
2093
|
-
const payload = {};
|
|
2094
|
-
const getRequestOptions = deleteAddOnGroup(payload);
|
|
2095
|
-
const getUrl = (context) => {
|
|
2096
|
-
const { url } = getRequestOptions(context);
|
|
2097
|
-
return url;
|
|
2098
|
-
};
|
|
2099
|
-
return {
|
|
2100
|
-
getUrl,
|
|
2101
|
-
httpMethod: "POST",
|
|
2102
|
-
path: "/v2/services/add-on-groups/delete",
|
|
2103
|
-
pathParams: {},
|
|
2104
|
-
__requestType: null,
|
|
2105
|
-
__originalRequestType: null,
|
|
2106
|
-
__responseType: null,
|
|
2107
|
-
__originalResponseType: null
|
|
2108
|
-
};
|
|
2109
|
-
}
|
|
2110
|
-
function updateAddOnGroup2() {
|
|
2111
|
-
const payload = {};
|
|
2112
|
-
const getRequestOptions = updateAddOnGroup(payload);
|
|
2113
|
-
const getUrl = (context) => {
|
|
2114
|
-
const { url } = getRequestOptions(context);
|
|
2115
|
-
return url;
|
|
2116
|
-
};
|
|
2117
|
-
return {
|
|
2118
|
-
getUrl,
|
|
2119
|
-
httpMethod: "POST",
|
|
2120
|
-
path: "/v2/services/add-on-groups/update",
|
|
2121
|
-
pathParams: {},
|
|
2122
|
-
__requestType: null,
|
|
2123
|
-
__originalRequestType: null,
|
|
2124
|
-
__responseType: null,
|
|
2125
|
-
__originalResponseType: null
|
|
2126
|
-
};
|
|
2127
|
-
}
|
|
2128
|
-
function listAddOnGroupsByServiceId2() {
|
|
2129
|
-
const payload = {};
|
|
2130
|
-
const getRequestOptions = listAddOnGroupsByServiceId(payload);
|
|
2131
|
-
const getUrl = (context) => {
|
|
2132
|
-
const { url } = getRequestOptions(context);
|
|
2133
|
-
return url;
|
|
2134
|
-
};
|
|
2135
|
-
return {
|
|
2136
|
-
getUrl,
|
|
2137
|
-
httpMethod: "POST",
|
|
2138
|
-
path: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
|
|
2139
|
-
pathParams: {},
|
|
2140
|
-
__requestType: null,
|
|
2141
|
-
__originalRequestType: null,
|
|
2142
|
-
__responseType: null,
|
|
2143
|
-
__originalResponseType: null
|
|
2144
|
-
};
|
|
2145
|
-
}
|
|
2146
|
-
function setAddOnsForGroup2() {
|
|
2147
|
-
const payload = {};
|
|
2148
|
-
const getRequestOptions = setAddOnsForGroup(payload);
|
|
2149
|
-
const getUrl = (context) => {
|
|
2150
|
-
const { url } = getRequestOptions(context);
|
|
2151
|
-
return url;
|
|
2152
|
-
};
|
|
2153
|
-
return {
|
|
2154
|
-
getUrl,
|
|
2155
|
-
httpMethod: "POST",
|
|
2156
|
-
path: "/v2/services/add-on-groups/set-add-ons-for-group",
|
|
2157
|
-
pathParams: {},
|
|
2158
|
-
__requestType: null,
|
|
2159
|
-
__originalRequestType: null,
|
|
2160
|
-
__responseType: null,
|
|
2161
|
-
__originalResponseType: null
|
|
2162
|
-
};
|
|
2163
|
-
}
|
|
2164
2164
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2165
2165
|
0 && (module.exports = {
|
|
2166
2166
|
bulkCreateServices,
|