@wix/auto_sdk_bookings_services 1.0.177 → 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-CBboc0J2.d.ts → bookings-services-v2-service-services.universal-B7-Plu-S.d.ts} +160 -189
- 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 +162 -191
- package/build/cjs/meta.js +10 -232
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-CBboc0J2.d.mts → bookings-services-v2-service-services.universal-B7-Plu-S.d.mts} +160 -189
- 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 +162 -191
- 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-CBboc0J2.d.ts → bookings-services-v2-service-services.universal-B7-Plu-S.d.ts} +160 -189
- 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 +162 -191
- 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-CBboc0J2.d.mts → bookings-services-v2-service-services.universal-B7-Plu-S.d.mts} +160 -189
- 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 +162 -191
- package/build/internal/es/meta.mjs +10 -232
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.mjs
CHANGED
|
@@ -25,233 +25,11 @@ import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transform
|
|
|
25
25
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
26
26
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
27
27
|
function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
|
|
28
|
-
const domainToMappings = {
|
|
29
|
-
"*.dev.wix-code.com": [
|
|
30
|
-
{
|
|
31
|
-
srcPath: "/_api/services-2",
|
|
32
|
-
destPath: ""
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
srcPath: "/_api/bookings/v2/services",
|
|
36
|
-
destPath: "/v2/services"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"www.wixapis.com": [
|
|
40
|
-
{
|
|
41
|
-
srcPath: "/_api/bookings/v2/services",
|
|
42
|
-
destPath: "/v2/services"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
srcPath: "/bookings/v2/services",
|
|
46
|
-
destPath: "/v2/services"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
srcPath: "/bookings/v2/bulk/services",
|
|
50
|
-
destPath: "/v2/bulk/services"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
srcPath: "/bookings/services/v2/bulk/services",
|
|
54
|
-
destPath: "/v2/bulk/services"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"manage._base_domain_": [
|
|
58
|
-
{
|
|
59
|
-
srcPath: "/_api/bookings/v2/services",
|
|
60
|
-
destPath: "/v2/services"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
64
|
-
destPath: "/v2/bulk/services"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"editor._base_domain_": [
|
|
68
|
-
{
|
|
69
|
-
srcPath: "/_api/bookings/v2/services",
|
|
70
|
-
destPath: "/v2/services"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
74
|
-
destPath: "/v2/bulk/services"
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"blocks._base_domain_": [
|
|
78
|
-
{
|
|
79
|
-
srcPath: "/_api/bookings/v2/services",
|
|
80
|
-
destPath: "/v2/services"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
84
|
-
destPath: "/v2/bulk/services"
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"create.editorx": [
|
|
88
|
-
{
|
|
89
|
-
srcPath: "/_api/bookings/v2/services",
|
|
90
|
-
destPath: "/v2/services"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
94
|
-
destPath: "/v2/bulk/services"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
_: [
|
|
98
|
-
{
|
|
99
|
-
srcPath: "/_api/bookings/v2/services",
|
|
100
|
-
destPath: "/v2/services"
|
|
101
|
-
}
|
|
102
|
-
],
|
|
103
|
-
"www._base_domain_": [
|
|
104
|
-
{
|
|
105
|
-
srcPath: "/_api/bookings/v2/services",
|
|
106
|
-
destPath: "/v2/services"
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"bo._base_domain_": [
|
|
110
|
-
{
|
|
111
|
-
srcPath: "/_api/bookings/v2/services",
|
|
112
|
-
destPath: "/v2/services"
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
"wixbo.ai": [
|
|
116
|
-
{
|
|
117
|
-
srcPath: "/_api/bookings/v2/services",
|
|
118
|
-
destPath: "/v2/services"
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"wix-bo.com": [
|
|
122
|
-
{
|
|
123
|
-
srcPath: "/_api/bookings/v2/services",
|
|
124
|
-
destPath: "/v2/services"
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"editor.wixapps.net": [
|
|
128
|
-
{
|
|
129
|
-
srcPath: "/_api/bookings/v2/services",
|
|
130
|
-
destPath: "/v2/services"
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
"api._api_base_domain_": [
|
|
134
|
-
{
|
|
135
|
-
srcPath: "/services-2",
|
|
136
|
-
destPath: ""
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
};
|
|
28
|
+
const domainToMappings = {};
|
|
140
29
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
141
30
|
}
|
|
142
31
|
function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
|
|
143
|
-
const domainToMappings = {
|
|
144
|
-
"*.dev.wix-code.com": [
|
|
145
|
-
{
|
|
146
|
-
srcPath: "/_api/services-2",
|
|
147
|
-
destPath: ""
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
srcPath: "/_api/bookings/v2/services",
|
|
151
|
-
destPath: "/v2/services"
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
"www.wixapis.com": [
|
|
155
|
-
{
|
|
156
|
-
srcPath: "/_api/bookings/v2/services",
|
|
157
|
-
destPath: "/v2/services"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
srcPath: "/bookings/v2/services",
|
|
161
|
-
destPath: "/v2/services"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
srcPath: "/bookings/v2/bulk/services",
|
|
165
|
-
destPath: "/v2/bulk/services"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
srcPath: "/bookings/services/v2/bulk/services",
|
|
169
|
-
destPath: "/v2/bulk/services"
|
|
170
|
-
}
|
|
171
|
-
],
|
|
172
|
-
"manage._base_domain_": [
|
|
173
|
-
{
|
|
174
|
-
srcPath: "/_api/bookings/v2/services",
|
|
175
|
-
destPath: "/v2/services"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
179
|
-
destPath: "/v2/bulk/services"
|
|
180
|
-
}
|
|
181
|
-
],
|
|
182
|
-
"editor._base_domain_": [
|
|
183
|
-
{
|
|
184
|
-
srcPath: "/_api/bookings/v2/services",
|
|
185
|
-
destPath: "/v2/services"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
189
|
-
destPath: "/v2/bulk/services"
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
"blocks._base_domain_": [
|
|
193
|
-
{
|
|
194
|
-
srcPath: "/_api/bookings/v2/services",
|
|
195
|
-
destPath: "/v2/services"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
199
|
-
destPath: "/v2/bulk/services"
|
|
200
|
-
}
|
|
201
|
-
],
|
|
202
|
-
"create.editorx": [
|
|
203
|
-
{
|
|
204
|
-
srcPath: "/_api/bookings/v2/services",
|
|
205
|
-
destPath: "/v2/services"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
srcPath: "/_api/bookings/v2/bulk/services",
|
|
209
|
-
destPath: "/v2/bulk/services"
|
|
210
|
-
}
|
|
211
|
-
],
|
|
212
|
-
_: [
|
|
213
|
-
{
|
|
214
|
-
srcPath: "/_api/bookings/v2/services",
|
|
215
|
-
destPath: "/v2/services"
|
|
216
|
-
}
|
|
217
|
-
],
|
|
218
|
-
"www._base_domain_": [
|
|
219
|
-
{
|
|
220
|
-
srcPath: "/_api/bookings/v2/services",
|
|
221
|
-
destPath: "/v2/services"
|
|
222
|
-
}
|
|
223
|
-
],
|
|
224
|
-
"bo._base_domain_": [
|
|
225
|
-
{
|
|
226
|
-
srcPath: "/_api/bookings/v2/services",
|
|
227
|
-
destPath: "/v2/services"
|
|
228
|
-
}
|
|
229
|
-
],
|
|
230
|
-
"wixbo.ai": [
|
|
231
|
-
{
|
|
232
|
-
srcPath: "/_api/bookings/v2/services",
|
|
233
|
-
destPath: "/v2/services"
|
|
234
|
-
}
|
|
235
|
-
],
|
|
236
|
-
"wix-bo.com": [
|
|
237
|
-
{
|
|
238
|
-
srcPath: "/_api/bookings/v2/services",
|
|
239
|
-
destPath: "/v2/services"
|
|
240
|
-
}
|
|
241
|
-
],
|
|
242
|
-
"editor.wixapps.net": [
|
|
243
|
-
{
|
|
244
|
-
srcPath: "/_api/bookings/v2/services",
|
|
245
|
-
destPath: "/v2/services"
|
|
246
|
-
}
|
|
247
|
-
],
|
|
248
|
-
"api._api_base_domain_": [
|
|
249
|
-
{
|
|
250
|
-
srcPath: "/services-2",
|
|
251
|
-
destPath: ""
|
|
252
|
-
}
|
|
253
|
-
]
|
|
254
|
-
};
|
|
32
|
+
const domainToMappings = {};
|
|
255
33
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
256
34
|
}
|
|
257
35
|
var PACKAGE_NAME = "@wix/auto_sdk_bookings_services";
|
|
@@ -1782,14 +1560,6 @@ var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
|
1782
1560
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1783
1561
|
return TaxableAddressType2;
|
|
1784
1562
|
})(TaxableAddressType || {});
|
|
1785
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1786
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1787
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1788
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1789
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1790
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1791
|
-
return WebhookIdentityType2;
|
|
1792
|
-
})(WebhookIdentityType || {});
|
|
1793
1563
|
var V2RequestedFields = /* @__PURE__ */ ((V2RequestedFields2) => {
|
|
1794
1564
|
V2RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
1795
1565
|
V2RequestedFields2["STAFF_MEMBER_DETAILS"] = "STAFF_MEMBER_DETAILS";
|
|
@@ -1933,6 +1703,14 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
|
|
|
1933
1703
|
ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
|
|
1934
1704
|
return ResolutionMethod2;
|
|
1935
1705
|
})(ResolutionMethod || {});
|
|
1706
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1707
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1708
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1709
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1710
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1711
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1712
|
+
return WebhookIdentityType2;
|
|
1713
|
+
})(WebhookIdentityType || {});
|
|
1936
1714
|
async function createService2(service) {
|
|
1937
1715
|
const { httpClient, sideEffects } = arguments[1];
|
|
1938
1716
|
const payload = transformPaths2(
|