@wix/auto_sdk_bookings_resources 1.0.21 → 1.0.23

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.
Files changed (126) hide show
  1. package/build/{internal/cjs/src/bookings-resources-v2-resource-resources.universal.d.ts → bookings-resources-v2-resource-resources.universal-BvcAlBYB.d.mts} +139 -403
  2. package/build/{cjs/src/bookings-resources-v2-resource-resources.universal.d.ts → bookings-resources-v2-resource-resources.universal-BvcAlBYB.d.ts} +139 -403
  3. package/build/{cjs/src/bookings-resources-v2-resource-resources.public.d.ts → index.d.mts} +40 -18
  4. package/build/{internal/cjs/src/bookings-resources-v2-resource-resources.public.d.ts → index.d.ts} +40 -18
  5. package/build/index.js +883 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +837 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/bookings-resources-v2-resource-resources.universal.d.ts → bookings-resources-v2-resource-resources.universal-BvcAlBYB.d.mts} +139 -403
  10. package/build/{es/src/bookings-resources-v2-resource-resources.universal.d.ts → internal/bookings-resources-v2-resource-resources.universal-BvcAlBYB.d.ts} +139 -403
  11. package/build/{es/src/bookings-resources-v2-resource-resources.public.d.ts → internal/index.d.mts} +40 -18
  12. package/build/internal/{es/src/bookings-resources-v2-resource-resources.public.d.ts → index.d.ts} +40 -18
  13. package/build/internal/index.js +883 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +837 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/{es/src/bookings-resources-v2-resource-resources.types.d.ts → internal/meta.d.mts} +124 -348
  18. package/build/internal/{cjs/src/bookings-resources-v2-resource-resources.types.d.ts → meta.d.ts} +124 -348
  19. package/build/internal/meta.js +559 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +524 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/{cjs/src/bookings-resources-v2-resource-resources.types.d.ts → meta.d.mts} +124 -348
  24. package/build/{internal/es/src/bookings-resources-v2-resource-resources.types.d.ts → meta.d.ts} +124 -348
  25. package/build/meta.js +559 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +524 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -33
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/bookings-resources-v2-resource-resources.context.d.ts +0 -29
  40. package/build/cjs/src/bookings-resources-v2-resource-resources.context.js +0 -43
  41. package/build/cjs/src/bookings-resources-v2-resource-resources.context.js.map +0 -1
  42. package/build/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +0 -96
  43. package/build/cjs/src/bookings-resources-v2-resource-resources.http.js +0 -446
  44. package/build/cjs/src/bookings-resources-v2-resource-resources.http.js.map +0 -1
  45. package/build/cjs/src/bookings-resources-v2-resource-resources.meta.d.ts +0 -27
  46. package/build/cjs/src/bookings-resources-v2-resource-resources.meta.js +0 -199
  47. package/build/cjs/src/bookings-resources-v2-resource-resources.meta.js.map +0 -1
  48. package/build/cjs/src/bookings-resources-v2-resource-resources.public.js +0 -106
  49. package/build/cjs/src/bookings-resources-v2-resource-resources.public.js.map +0 -1
  50. package/build/cjs/src/bookings-resources-v2-resource-resources.types.js +0 -104
  51. package/build/cjs/src/bookings-resources-v2-resource-resources.types.js.map +0 -1
  52. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js +0 -591
  53. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +0 -1
  54. package/build/es/index.d.ts +0 -1
  55. package/build/es/index.js +0 -2
  56. package/build/es/index.js.map +0 -1
  57. package/build/es/index.typings.d.ts +0 -33
  58. package/build/es/index.typings.js +0 -2
  59. package/build/es/index.typings.js.map +0 -1
  60. package/build/es/meta.d.ts +0 -1
  61. package/build/es/meta.js +0 -2
  62. package/build/es/meta.js.map +0 -1
  63. package/build/es/package.json +0 -3
  64. package/build/es/src/bookings-resources-v2-resource-resources.context.d.ts +0 -29
  65. package/build/es/src/bookings-resources-v2-resource-resources.context.js +0 -29
  66. package/build/es/src/bookings-resources-v2-resource-resources.context.js.map +0 -1
  67. package/build/es/src/bookings-resources-v2-resource-resources.http.d.ts +0 -96
  68. package/build/es/src/bookings-resources-v2-resource-resources.http.js +0 -434
  69. package/build/es/src/bookings-resources-v2-resource-resources.http.js.map +0 -1
  70. package/build/es/src/bookings-resources-v2-resource-resources.meta.d.ts +0 -27
  71. package/build/es/src/bookings-resources-v2-resource-resources.meta.js +0 -164
  72. package/build/es/src/bookings-resources-v2-resource-resources.meta.js.map +0 -1
  73. package/build/es/src/bookings-resources-v2-resource-resources.public.js +0 -83
  74. package/build/es/src/bookings-resources-v2-resource-resources.public.js.map +0 -1
  75. package/build/es/src/bookings-resources-v2-resource-resources.types.js +0 -101
  76. package/build/es/src/bookings-resources-v2-resource-resources.types.js.map +0 -1
  77. package/build/es/src/bookings-resources-v2-resource-resources.universal.js +0 -556
  78. package/build/es/src/bookings-resources-v2-resource-resources.universal.js.map +0 -1
  79. package/build/internal/cjs/index.d.ts +0 -1
  80. package/build/internal/cjs/index.js +0 -18
  81. package/build/internal/cjs/index.js.map +0 -1
  82. package/build/internal/cjs/index.typings.d.ts +0 -33
  83. package/build/internal/cjs/index.typings.js +0 -18
  84. package/build/internal/cjs/index.typings.js.map +0 -1
  85. package/build/internal/cjs/meta.d.ts +0 -1
  86. package/build/internal/cjs/meta.js +0 -18
  87. package/build/internal/cjs/meta.js.map +0 -1
  88. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.d.ts +0 -29
  89. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js +0 -43
  90. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js.map +0 -1
  91. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +0 -96
  92. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js +0 -446
  93. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js.map +0 -1
  94. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.meta.d.ts +0 -27
  95. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.meta.js +0 -199
  96. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.meta.js.map +0 -1
  97. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.js +0 -106
  98. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.js.map +0 -1
  99. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.js +0 -104
  100. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.js.map +0 -1
  101. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js +0 -591
  102. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +0 -1
  103. package/build/internal/es/index.d.ts +0 -1
  104. package/build/internal/es/index.js +0 -2
  105. package/build/internal/es/index.js.map +0 -1
  106. package/build/internal/es/index.typings.d.ts +0 -33
  107. package/build/internal/es/index.typings.js +0 -2
  108. package/build/internal/es/index.typings.js.map +0 -1
  109. package/build/internal/es/meta.d.ts +0 -1
  110. package/build/internal/es/meta.js +0 -2
  111. package/build/internal/es/meta.js.map +0 -1
  112. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.d.ts +0 -29
  113. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js +0 -29
  114. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js.map +0 -1
  115. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.d.ts +0 -96
  116. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js +0 -434
  117. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js.map +0 -1
  118. package/build/internal/es/src/bookings-resources-v2-resource-resources.meta.d.ts +0 -27
  119. package/build/internal/es/src/bookings-resources-v2-resource-resources.meta.js +0 -164
  120. package/build/internal/es/src/bookings-resources-v2-resource-resources.meta.js.map +0 -1
  121. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.js +0 -83
  122. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.js.map +0 -1
  123. package/build/internal/es/src/bookings-resources-v2-resource-resources.types.js +0 -101
  124. package/build/internal/es/src/bookings-resources-v2-resource-resources.types.js.map +0 -1
  125. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js +0 -556
  126. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js.map +0 -1
package/build/meta.js ADDED
@@ -0,0 +1,559 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ bulkCreateResources: () => bulkCreateResources2,
24
+ bulkDeleteResources: () => bulkDeleteResources2,
25
+ countResources: () => countResources2,
26
+ createResource: () => createResource2,
27
+ deleteResource: () => deleteResource2,
28
+ getResource: () => getResource2,
29
+ queryResources: () => queryResources2,
30
+ searchResources: () => searchResources2,
31
+ updateResource: () => updateResource2
32
+ });
33
+ module.exports = __toCommonJS(meta_exports);
34
+
35
+ // src/bookings-resources-v2-resource-resources.http.ts
36
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
37
+ var import_float = require("@wix/sdk-runtime/transformations/float");
38
+ var import_float2 = require("@wix/sdk-runtime/transformations/float");
39
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
40
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
41
+ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
42
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
43
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
44
+ function resolveWixBookingsResourcesV2ResourcesServiceUrl(opts) {
45
+ const domainToMappings = {
46
+ "manage._base_domain_": [
47
+ {
48
+ srcPath: "/bookings/v2/resources",
49
+ destPath: "/v2/resources"
50
+ },
51
+ {
52
+ srcPath: "/_api/bookings/v2/resources",
53
+ destPath: "/v2/resources"
54
+ },
55
+ {
56
+ srcPath: "/v2/bulk/resources",
57
+ destPath: "/v2/bulk/resources"
58
+ }
59
+ ],
60
+ "api._api_base_domain_": [
61
+ {
62
+ srcPath: "/resources-2",
63
+ destPath: ""
64
+ }
65
+ ],
66
+ "www.wixapis.com": [
67
+ {
68
+ srcPath: "/bookings/v2/resources",
69
+ destPath: "/v2/resources"
70
+ },
71
+ {
72
+ srcPath: "/bookings/v2/bulk/resources",
73
+ destPath: "/v2/bulk/resources"
74
+ }
75
+ ],
76
+ "*.dev.wix-code.com": [
77
+ {
78
+ srcPath: "/_api/resources-2",
79
+ destPath: ""
80
+ }
81
+ ]
82
+ };
83
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
84
+ }
85
+ var PACKAGE_NAME = "@wix/auto_sdk_bookings_resources";
86
+ function createResource(payload) {
87
+ function __createResource({ host }) {
88
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
89
+ {
90
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
91
+ paths: [
92
+ { path: "resource.createdDate" },
93
+ { path: "resource.updatedDate" }
94
+ ]
95
+ }
96
+ ]);
97
+ const metadata = {
98
+ entityFqdn: "wix.bookings.resources.v2.resource",
99
+ method: "POST",
100
+ methodFqn: "wix.bookings.resources.v2.ResourcesService.CreateResource",
101
+ packageName: PACKAGE_NAME,
102
+ url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
103
+ protoPath: "/v2/resources",
104
+ data: serializedData,
105
+ host
106
+ }),
107
+ data: serializedData,
108
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
109
+ {
110
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
111
+ paths: [
112
+ { path: "resource.createdDate" },
113
+ { path: "resource.updatedDate" }
114
+ ]
115
+ }
116
+ ])
117
+ };
118
+ return metadata;
119
+ }
120
+ return __createResource;
121
+ }
122
+ function bulkCreateResources(payload) {
123
+ function __bulkCreateResources({ host }) {
124
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
125
+ {
126
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
127
+ paths: [
128
+ { path: "resources.createdDate" },
129
+ { path: "resources.updatedDate" }
130
+ ]
131
+ }
132
+ ]);
133
+ const metadata = {
134
+ entityFqdn: "wix.bookings.resources.v2.resource",
135
+ method: "POST",
136
+ methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkCreateResources",
137
+ packageName: PACKAGE_NAME,
138
+ url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
139
+ protoPath: "/v2/bulk/resources/create",
140
+ data: serializedData,
141
+ host
142
+ }),
143
+ data: serializedData,
144
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
145
+ {
146
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
147
+ paths: [
148
+ { path: "results.item.createdDate" },
149
+ { path: "results.item.updatedDate" }
150
+ ]
151
+ }
152
+ ])
153
+ };
154
+ return metadata;
155
+ }
156
+ return __bulkCreateResources;
157
+ }
158
+ function getResource(payload) {
159
+ function __getResource({ host }) {
160
+ const metadata = {
161
+ entityFqdn: "wix.bookings.resources.v2.resource",
162
+ method: "GET",
163
+ methodFqn: "wix.bookings.resources.v2.ResourcesService.GetResource",
164
+ packageName: PACKAGE_NAME,
165
+ url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
166
+ protoPath: "/v2/resources/{resourceId}",
167
+ data: payload,
168
+ host
169
+ }),
170
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
171
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
172
+ {
173
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
174
+ paths: [
175
+ { path: "resource.createdDate" },
176
+ { path: "resource.updatedDate" }
177
+ ]
178
+ }
179
+ ])
180
+ };
181
+ return metadata;
182
+ }
183
+ return __getResource;
184
+ }
185
+ function updateResource(payload) {
186
+ function __updateResource({ host }) {
187
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
188
+ {
189
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
190
+ paths: [{ path: "mask" }]
191
+ },
192
+ {
193
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
194
+ paths: [
195
+ { path: "resource.createdDate" },
196
+ { path: "resource.updatedDate" }
197
+ ]
198
+ }
199
+ ]);
200
+ const metadata = {
201
+ entityFqdn: "wix.bookings.resources.v2.resource",
202
+ method: "PATCH",
203
+ methodFqn: "wix.bookings.resources.v2.ResourcesService.UpdateResource",
204
+ packageName: PACKAGE_NAME,
205
+ url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
206
+ protoPath: "/v2/resources/{resource.id}",
207
+ data: serializedData,
208
+ host
209
+ }),
210
+ data: serializedData,
211
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
212
+ {
213
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
214
+ paths: [
215
+ { path: "resource.createdDate" },
216
+ { path: "resource.updatedDate" }
217
+ ]
218
+ }
219
+ ])
220
+ };
221
+ return metadata;
222
+ }
223
+ return __updateResource;
224
+ }
225
+ function deleteResource(payload) {
226
+ function __deleteResource({ host }) {
227
+ const metadata = {
228
+ entityFqdn: "wix.bookings.resources.v2.resource",
229
+ method: "DELETE",
230
+ methodFqn: "wix.bookings.resources.v2.ResourcesService.DeleteResource",
231
+ packageName: PACKAGE_NAME,
232
+ url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
233
+ protoPath: "/v2/resources/{resourceId}",
234
+ data: payload,
235
+ host
236
+ }),
237
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
238
+ };
239
+ return metadata;
240
+ }
241
+ return __deleteResource;
242
+ }
243
+ function bulkDeleteResources(payload) {
244
+ function __bulkDeleteResources({ host }) {
245
+ const metadata = {
246
+ entityFqdn: "wix.bookings.resources.v2.resource",
247
+ method: "POST",
248
+ methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkDeleteResources",
249
+ packageName: PACKAGE_NAME,
250
+ url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
251
+ protoPath: "/v2/bulk/resources/delete",
252
+ data: payload,
253
+ host
254
+ }),
255
+ data: payload,
256
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
257
+ {
258
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
259
+ paths: [
260
+ { path: "results.item.createdDate" },
261
+ { path: "results.item.updatedDate" }
262
+ ]
263
+ }
264
+ ])
265
+ };
266
+ return metadata;
267
+ }
268
+ return __bulkDeleteResources;
269
+ }
270
+ function searchResources(payload) {
271
+ function __searchResources({ host }) {
272
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
273
+ {
274
+ transformFn: import_float.transformSDKFloatToRESTFloat,
275
+ paths: [
276
+ { path: "search.aggregations.range.buckets.from" },
277
+ { path: "search.aggregations.range.buckets.to" },
278
+ {
279
+ path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
280
+ },
281
+ {
282
+ path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
283
+ }
284
+ ]
285
+ }
286
+ ]);
287
+ const metadata = {
288
+ entityFqdn: "wix.bookings.resources.v2.resource",
289
+ method: "POST",
290
+ methodFqn: "wix.bookings.resources.v2.ResourcesService.SearchResources",
291
+ packageName: PACKAGE_NAME,
292
+ url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
293
+ protoPath: "/v2/resources/search",
294
+ data: serializedData,
295
+ host
296
+ }),
297
+ data: serializedData,
298
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
299
+ {
300
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
301
+ paths: [
302
+ { path: "resources.createdDate" },
303
+ { path: "resources.updatedDate" }
304
+ ]
305
+ },
306
+ {
307
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
308
+ paths: [
309
+ { path: "aggregationData.results.ranges.results.from" },
310
+ { path: "aggregationData.results.ranges.results.to" },
311
+ {
312
+ path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
313
+ },
314
+ {
315
+ path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
316
+ },
317
+ {
318
+ path: "aggregationData.results.nested.results.results.*.range.from"
319
+ },
320
+ {
321
+ path: "aggregationData.results.nested.results.results.*.range.to"
322
+ },
323
+ { path: "aggregationData.results.scalar.value" },
324
+ {
325
+ path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
326
+ },
327
+ {
328
+ path: "aggregationData.results.nested.results.results.*.scalar.value"
329
+ }
330
+ ]
331
+ }
332
+ ])
333
+ };
334
+ return metadata;
335
+ }
336
+ return __searchResources;
337
+ }
338
+ function queryResources(payload) {
339
+ function __queryResources({ host }) {
340
+ const metadata = {
341
+ entityFqdn: "wix.bookings.resources.v2.resource",
342
+ method: "POST",
343
+ methodFqn: "wix.bookings.resources.v2.ResourcesService.QueryResources",
344
+ packageName: PACKAGE_NAME,
345
+ url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
346
+ protoPath: "/v2/resources/query",
347
+ data: payload,
348
+ host
349
+ }),
350
+ data: payload,
351
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
352
+ {
353
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
354
+ paths: [
355
+ { path: "resources.createdDate" },
356
+ { path: "resources.updatedDate" }
357
+ ]
358
+ }
359
+ ])
360
+ };
361
+ return metadata;
362
+ }
363
+ return __queryResources;
364
+ }
365
+ function countResources(payload) {
366
+ function __countResources({ host }) {
367
+ const metadata = {
368
+ entityFqdn: "wix.bookings.resources.v2.resource",
369
+ method: "POST",
370
+ methodFqn: "wix.bookings.resources.v2.ResourcesService.CountResources",
371
+ packageName: PACKAGE_NAME,
372
+ url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
373
+ protoPath: "/v2/resources/count",
374
+ data: payload,
375
+ host
376
+ }),
377
+ data: payload
378
+ };
379
+ return metadata;
380
+ }
381
+ return __countResources;
382
+ }
383
+
384
+ // src/bookings-resources-v2-resource-resources.meta.ts
385
+ function createResource2() {
386
+ const payload = {};
387
+ const getRequestOptions = createResource(payload);
388
+ const getUrl = (context) => {
389
+ const { url } = getRequestOptions(context);
390
+ return url;
391
+ };
392
+ return {
393
+ getUrl,
394
+ httpMethod: "POST",
395
+ path: "/v2/resources",
396
+ pathParams: {},
397
+ __requestType: null,
398
+ __originalRequestType: null,
399
+ __responseType: null,
400
+ __originalResponseType: null
401
+ };
402
+ }
403
+ function bulkCreateResources2() {
404
+ const payload = {};
405
+ const getRequestOptions = bulkCreateResources(payload);
406
+ const getUrl = (context) => {
407
+ const { url } = getRequestOptions(context);
408
+ return url;
409
+ };
410
+ return {
411
+ getUrl,
412
+ httpMethod: "POST",
413
+ path: "/v2/bulk/resources/create",
414
+ pathParams: {},
415
+ __requestType: null,
416
+ __originalRequestType: null,
417
+ __responseType: null,
418
+ __originalResponseType: null
419
+ };
420
+ }
421
+ function getResource2() {
422
+ const payload = { resourceId: ":resourceId" };
423
+ const getRequestOptions = getResource(payload);
424
+ const getUrl = (context) => {
425
+ const { url } = getRequestOptions(context);
426
+ return url;
427
+ };
428
+ return {
429
+ getUrl,
430
+ httpMethod: "GET",
431
+ path: "/v2/resources/{resourceId}",
432
+ pathParams: { resourceId: "resourceId" },
433
+ __requestType: null,
434
+ __originalRequestType: null,
435
+ __responseType: null,
436
+ __originalResponseType: null
437
+ };
438
+ }
439
+ function updateResource2() {
440
+ const payload = { resource: { id: ":resourceId" } };
441
+ const getRequestOptions = updateResource(payload);
442
+ const getUrl = (context) => {
443
+ const { url } = getRequestOptions(context);
444
+ return url;
445
+ };
446
+ return {
447
+ getUrl,
448
+ httpMethod: "PATCH",
449
+ path: "/v2/resources/{resource.id}",
450
+ pathParams: { resourceId: "resourceId" },
451
+ __requestType: null,
452
+ __originalRequestType: null,
453
+ __responseType: null,
454
+ __originalResponseType: null
455
+ };
456
+ }
457
+ function deleteResource2() {
458
+ const payload = { resourceId: ":resourceId" };
459
+ const getRequestOptions = deleteResource(payload);
460
+ const getUrl = (context) => {
461
+ const { url } = getRequestOptions(context);
462
+ return url;
463
+ };
464
+ return {
465
+ getUrl,
466
+ httpMethod: "DELETE",
467
+ path: "/v2/resources/{resourceId}",
468
+ pathParams: { resourceId: "resourceId" },
469
+ __requestType: null,
470
+ __originalRequestType: null,
471
+ __responseType: null,
472
+ __originalResponseType: null
473
+ };
474
+ }
475
+ function bulkDeleteResources2() {
476
+ const payload = {};
477
+ const getRequestOptions = bulkDeleteResources(payload);
478
+ const getUrl = (context) => {
479
+ const { url } = getRequestOptions(context);
480
+ return url;
481
+ };
482
+ return {
483
+ getUrl,
484
+ httpMethod: "POST",
485
+ path: "/v2/bulk/resources/delete",
486
+ pathParams: {},
487
+ __requestType: null,
488
+ __originalRequestType: null,
489
+ __responseType: null,
490
+ __originalResponseType: null
491
+ };
492
+ }
493
+ function searchResources2() {
494
+ const payload = {};
495
+ const getRequestOptions = searchResources(payload);
496
+ const getUrl = (context) => {
497
+ const { url } = getRequestOptions(context);
498
+ return url;
499
+ };
500
+ return {
501
+ getUrl,
502
+ httpMethod: "POST",
503
+ path: "/v2/resources/search",
504
+ pathParams: {},
505
+ __requestType: null,
506
+ __originalRequestType: null,
507
+ __responseType: null,
508
+ __originalResponseType: null
509
+ };
510
+ }
511
+ function queryResources2() {
512
+ const payload = {};
513
+ const getRequestOptions = queryResources(payload);
514
+ const getUrl = (context) => {
515
+ const { url } = getRequestOptions(context);
516
+ return url;
517
+ };
518
+ return {
519
+ getUrl,
520
+ httpMethod: "POST",
521
+ path: "/v2/resources/query",
522
+ pathParams: {},
523
+ __requestType: null,
524
+ __originalRequestType: null,
525
+ __responseType: null,
526
+ __originalResponseType: null
527
+ };
528
+ }
529
+ function countResources2() {
530
+ const payload = {};
531
+ const getRequestOptions = countResources(payload);
532
+ const getUrl = (context) => {
533
+ const { url } = getRequestOptions(context);
534
+ return url;
535
+ };
536
+ return {
537
+ getUrl,
538
+ httpMethod: "POST",
539
+ path: "/v2/resources/count",
540
+ pathParams: {},
541
+ __requestType: null,
542
+ __originalRequestType: null,
543
+ __responseType: null,
544
+ __originalResponseType: null
545
+ };
546
+ }
547
+ // Annotate the CommonJS export names for ESM import in node:
548
+ 0 && (module.exports = {
549
+ bulkCreateResources,
550
+ bulkDeleteResources,
551
+ countResources,
552
+ createResource,
553
+ deleteResource,
554
+ getResource,
555
+ queryResources,
556
+ searchResources,
557
+ updateResource
558
+ });
559
+ //# sourceMappingURL=meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../meta.ts","../src/bookings-resources-v2-resource-resources.http.ts","../src/bookings-resources-v2-resource-resources.meta.ts"],"sourcesContent":["export * from './src/bookings-resources-v2-resource-resources.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixBookingsResourcesV2ResourcesServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/bookings/v2/resources',\n destPath: '/v2/resources',\n },\n {\n srcPath: '/_api/bookings/v2/resources',\n destPath: '/v2/resources',\n },\n {\n srcPath: '/v2/bulk/resources',\n destPath: '/v2/bulk/resources',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/resources-2',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/bookings/v2/resources',\n destPath: '/v2/resources',\n },\n {\n srcPath: '/bookings/v2/bulk/resources',\n destPath: '/v2/bulk/resources',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/resources-2',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_bookings_resources';\n\n/**\n * Creates a new resource.\n *\n *\n * ## Connected schedules\n *\n * A new event *schedule*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration))\n * is automatically created for the resource.\n *\n * ## Locations\n *\n * If you don't specify `locationOptions`, Wix Bookings automatically sets\n * `locationOptions.availableInAllLocations` to `true`.\n *\n * If you specify 1 business location ID in `locationOptions.specificLocationOptions.businessLocations`,\n * you must specify `locationOptions.specificLocationOptions.availableInBusinessLocations`\n * as `true`. Currently, you can specify only a single business location.\n */\nexport function createResource(payload: object): RequestOptionsFactory<any> {\n function __createResource({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'resource.createdDate' },\n { path: 'resource.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.resources.v2.resource',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.resources.v2.ResourcesService.CreateResource',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsResourcesV2ResourcesServiceUrl({\n protoPath: '/v2/resources',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'resource.createdDate' },\n { path: 'resource.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createResource;\n}\n\n/**\n * Creates up to 50 resources.\n *\n *\n * Refer to *Create Resource*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/create-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/create-resource))\n * for more details.\n */\nexport function bulkCreateResources(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateResources({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'resources.createdDate' },\n { path: 'resources.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.resources.v2.resource',\n method: 'POST' as any,\n methodFqn:\n 'wix.bookings.resources.v2.ResourcesService.BulkCreateResources',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsResourcesV2ResourcesServiceUrl({\n protoPath: '/v2/bulk/resources/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateResources;\n}\n\n/** Retrieves a resource. */\nexport function getResource(payload: object): RequestOptionsFactory<any> {\n function __getResource({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.resources.v2.resource',\n method: 'GET' as any,\n methodFqn: 'wix.bookings.resources.v2.ResourcesService.GetResource',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsResourcesV2ResourcesServiceUrl({\n protoPath: '/v2/resources/{resourceId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'resource.createdDate' },\n { path: 'resource.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getResource;\n}\n\n/**\n * Updates a resource.\n *\n *\n * Each time the resource is updated, `revision` increments by 1. You must include the current revision of the resource when updating it.\n * This ensures you're working with the latest service information and prevents unintended overwrites.\n */\nexport function updateResource(payload: object): RequestOptionsFactory<any> {\n function __updateResource({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'resource.createdDate' },\n { path: 'resource.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.resources.v2.resource',\n method: 'PATCH' as any,\n methodFqn: 'wix.bookings.resources.v2.ResourcesService.UpdateResource',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsResourcesV2ResourcesServiceUrl({\n protoPath: '/v2/resources/{resource.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'resource.createdDate' },\n { path: 'resource.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateResource;\n}\n\n/**\n * Deletes a resource.\n *\n *\n * Deleting a resource cancels its event schedule and all its working hour\n * schedules that aren't shared with another resource. Learn more about\n * _how Bookings uses the Calendar APIs_\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration)).\n */\nexport function deleteResource(payload: object): RequestOptionsFactory<any> {\n function __deleteResource({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.resources.v2.resource',\n method: 'DELETE' as any,\n methodFqn: 'wix.bookings.resources.v2.ResourcesService.DeleteResource',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsResourcesV2ResourcesServiceUrl({\n protoPath: '/v2/resources/{resourceId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteResource;\n}\n\n/**\n * Deletes multiple resources.\n *\n *\n * Refer to *Delete Resource*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/delete-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/delete-resource))\n * for more details.\n */\nexport function bulkDeleteResources(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteResources({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.resources.v2.resource',\n method: 'POST' as any,\n methodFqn:\n 'wix.bookings.resources.v2.ResourcesService.BulkDeleteResources',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsResourcesV2ResourcesServiceUrl({\n protoPath: '/v2/bulk/resources/delete',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkDeleteResources;\n}\n\n/**\n * Retrieves a list of resources matching the provided search criteria.\n *\n *\n * Refer to the *supported filters article*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))\n * for a complete list of supported filters and sorting options.\n */\nexport function searchResources(payload: object): RequestOptionsFactory<any> {\n function __searchResources({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'search.aggregations.range.buckets.from' },\n { path: 'search.aggregations.range.buckets.to' },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.from',\n },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.to',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.resources.v2.resource',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.resources.v2.ResourcesService.SearchResources',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsResourcesV2ResourcesServiceUrl({\n protoPath: '/v2/resources/search',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'resources.createdDate' },\n { path: 'resources.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'aggregationData.results.ranges.results.from' },\n { path: 'aggregationData.results.ranges.results.to' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from',\n },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.from',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.to',\n },\n { path: 'aggregationData.results.scalar.value' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.scalar.value',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.scalar.value',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __searchResources;\n}\n\n/**\n * Creates a query to retrieve a list of resources.\n *\n * The `queryResources()` function builds a query to retrieve a list of resources and returns a `ResourcesQueryBuilder` object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/resources-query-builder/find) function.\n *\n * You can refine the query by chaining `ResourcesQueryBuilder` functions onto the query. `ResourcesQueryBuilder` functions enable you to sort, filter, and control the results that `queryResources()` returns.\n *\n * `queryResources()` runs with the following `ResourcesQueryBuilder` default that you can override:\n *\n * + `limit` is `50`.\n * + Sorted by `id` in ascending order.\n *\n * The functions that are chained to `queryResources()` are applied in the order they are called. For example, if you apply `ascending(\"typeId\")` and then `ascending(\"name\")`, the results are sorted first by the `\"typeId\"`, and then, if there are multiple results with the same `\"typeId\"`, the items are sorted by `\"name\"`.\n *\n * The following `ResourcesQueryBuilder` functions are supported for the `queryResources()` function. For a full description of the resource object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/resources-query-result/items) property in `ResourcesQueryResult`.\n */\nexport function queryResources(payload: object): RequestOptionsFactory<any> {\n function __queryResources({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.resources.v2.resource',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.resources.v2.ResourcesService.QueryResources',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsResourcesV2ResourcesServiceUrl({\n protoPath: '/v2/resources/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'resources.createdDate' },\n { path: 'resources.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryResources;\n}\n\n/**\n * Counts resources according to given criteria.\n *\n *\n * Refer to the *supported filters article*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))\n * for a complete list of supported filters and sorting options.\n */\nexport function countResources(payload: object): RequestOptionsFactory<any> {\n function __countResources({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.resources.v2.resource',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.resources.v2.ResourcesService.CountResources',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsResourcesV2ResourcesServiceUrl({\n protoPath: '/v2/resources/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countResources;\n}\n","import * as ambassadorWixBookingsResourcesV2Resource from './bookings-resources-v2-resource-resources.http.js';\nimport * as ambassadorWixBookingsResourcesV2ResourceTypes from './bookings-resources-v2-resource-resources.types.js';\nimport * as ambassadorWixBookingsResourcesV2ResourceUniversalTypes from './bookings-resources-v2-resource-resources.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createResource(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.CreateResourceRequest,\n ambassadorWixBookingsResourcesV2ResourceTypes.CreateResourceRequest,\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.CreateResourceResponse,\n ambassadorWixBookingsResourcesV2ResourceTypes.CreateResourceResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsResourcesV2Resource.createResource(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/resources',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateResources(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.BulkCreateResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceTypes.BulkCreateResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.BulkCreateResourcesResponse,\n ambassadorWixBookingsResourcesV2ResourceTypes.BulkCreateResourcesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsResourcesV2Resource.bulkCreateResources(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/bulk/resources/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getResource(): __PublicMethodMetaInfo<\n 'GET',\n { resourceId: string },\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.GetResourceRequest,\n ambassadorWixBookingsResourcesV2ResourceTypes.GetResourceRequest,\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.GetResourceResponse,\n ambassadorWixBookingsResourcesV2ResourceTypes.GetResourceResponse\n> {\n const payload = { resourceId: ':resourceId' } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsResourcesV2Resource.getResource(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/resources/{resourceId}',\n pathParams: { resourceId: 'resourceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateResource(): __PublicMethodMetaInfo<\n 'PATCH',\n { resourceId: string },\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.UpdateResourceRequest,\n ambassadorWixBookingsResourcesV2ResourceTypes.UpdateResourceRequest,\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.UpdateResourceResponse,\n ambassadorWixBookingsResourcesV2ResourceTypes.UpdateResourceResponse\n> {\n const payload = { resource: { id: ':resourceId' } } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsResourcesV2Resource.updateResource(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/resources/{resource.id}',\n pathParams: { resourceId: 'resourceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteResource(): __PublicMethodMetaInfo<\n 'DELETE',\n { resourceId: string },\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.DeleteResourceRequest,\n ambassadorWixBookingsResourcesV2ResourceTypes.DeleteResourceRequest,\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.DeleteResourceResponse,\n ambassadorWixBookingsResourcesV2ResourceTypes.DeleteResourceResponse\n> {\n const payload = { resourceId: ':resourceId' } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsResourcesV2Resource.deleteResource(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v2/resources/{resourceId}',\n pathParams: { resourceId: 'resourceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteResources(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.BulkDeleteResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceTypes.BulkDeleteResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.BulkDeleteResourcesResponse,\n ambassadorWixBookingsResourcesV2ResourceTypes.BulkDeleteResourcesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsResourcesV2Resource.bulkDeleteResources(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/bulk/resources/delete',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function searchResources(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.SearchResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceTypes.SearchResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.SearchResourcesResponse,\n ambassadorWixBookingsResourcesV2ResourceTypes.SearchResourcesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsResourcesV2Resource.searchResources(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/resources/search',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryResources(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.QueryResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceTypes.QueryResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.QueryResourcesResponse,\n ambassadorWixBookingsResourcesV2ResourceTypes.QueryResourcesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsResourcesV2Resource.queryResources(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/resources/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function countResources(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.CountResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceTypes.CountResourcesRequest,\n ambassadorWixBookingsResourcesV2ResourceUniversalTypes.CountResourcesResponse,\n ambassadorWixBookingsResourcesV2ResourceTypes.CountResourcesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsResourcesV2Resource.countResources(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/resources/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,6BAAAA;AAAA,EAAA,2BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,sBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,iDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAs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eAAe,OAAO;AAEjE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkCreateResources","bulkDeleteResources","countResources","createResource","deleteResource","getResource","queryResources","searchResources","updateResource","import_float","import_timestamp","import_rest_modules","payload","createResource","bulkCreateResources","getResource","updateResource","deleteResource","bulkDeleteResources","searchResources","queryResources","countResources"]}