@wix/auto_sdk_bookings_resources 1.0.52 → 1.0.53

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.
@@ -116,6 +116,9 @@ function createResource(payload) {
116
116
  method: "POST",
117
117
  methodFqn: "wix.bookings.resources.v2.ResourcesService.CreateResource",
118
118
  packageName: PACKAGE_NAME,
119
+ migrationOptions: {
120
+ optInTransformResponse: true
121
+ },
119
122
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
120
123
  protoPath: "/v2/resources",
121
124
  data: serializedData,
@@ -152,6 +155,9 @@ function bulkCreateResources(payload) {
152
155
  method: "POST",
153
156
  methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkCreateResources",
154
157
  packageName: PACKAGE_NAME,
158
+ migrationOptions: {
159
+ optInTransformResponse: true
160
+ },
155
161
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
156
162
  protoPath: "/v2/bulk/resources/create",
157
163
  data: serializedData,
@@ -179,6 +185,9 @@ function getResource(payload) {
179
185
  method: "GET",
180
186
  methodFqn: "wix.bookings.resources.v2.ResourcesService.GetResource",
181
187
  packageName: PACKAGE_NAME,
188
+ migrationOptions: {
189
+ optInTransformResponse: true
190
+ },
182
191
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
183
192
  protoPath: "/v2/resources/{resourceId}",
184
193
  data: payload,
@@ -219,6 +228,9 @@ function updateResource(payload) {
219
228
  method: "PATCH",
220
229
  methodFqn: "wix.bookings.resources.v2.ResourcesService.UpdateResource",
221
230
  packageName: PACKAGE_NAME,
231
+ migrationOptions: {
232
+ optInTransformResponse: true
233
+ },
222
234
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
223
235
  protoPath: "/v2/resources/{resource.id}",
224
236
  data: serializedData,
@@ -259,6 +271,9 @@ function bulkUpdateResources(payload) {
259
271
  method: "POST",
260
272
  methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkUpdateResources",
261
273
  packageName: PACKAGE_NAME,
274
+ migrationOptions: {
275
+ optInTransformResponse: true
276
+ },
262
277
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
263
278
  protoPath: "/v2/bulk/resources/update",
264
279
  data: serializedData,
@@ -286,6 +301,9 @@ function deleteResource(payload) {
286
301
  method: "DELETE",
287
302
  methodFqn: "wix.bookings.resources.v2.ResourcesService.DeleteResource",
288
303
  packageName: PACKAGE_NAME,
304
+ migrationOptions: {
305
+ optInTransformResponse: true
306
+ },
289
307
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
290
308
  protoPath: "/v2/resources/{resourceId}",
291
309
  data: payload,
@@ -304,6 +322,9 @@ function bulkDeleteResources(payload) {
304
322
  method: "POST",
305
323
  methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkDeleteResources",
306
324
  packageName: PACKAGE_NAME,
325
+ migrationOptions: {
326
+ optInTransformResponse: true
327
+ },
307
328
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
308
329
  protoPath: "/v2/bulk/resources/delete",
309
330
  data: payload,
@@ -346,6 +367,9 @@ function searchResources(payload) {
346
367
  method: "POST",
347
368
  methodFqn: "wix.bookings.resources.v2.ResourcesService.SearchResources",
348
369
  packageName: PACKAGE_NAME,
370
+ migrationOptions: {
371
+ optInTransformResponse: true
372
+ },
349
373
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
350
374
  protoPath: "/v2/resources/search",
351
375
  data: serializedData,
@@ -399,6 +423,9 @@ function queryResources(payload) {
399
423
  method: "POST",
400
424
  methodFqn: "wix.bookings.resources.v2.ResourcesService.QueryResources",
401
425
  packageName: PACKAGE_NAME,
426
+ migrationOptions: {
427
+ optInTransformResponse: true
428
+ },
402
429
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
403
430
  protoPath: "/v2/resources/query",
404
431
  data: payload,
@@ -426,6 +453,9 @@ function countResources(payload) {
426
453
  method: "POST",
427
454
  methodFqn: "wix.bookings.resources.v2.ResourcesService.CountResources",
428
455
  packageName: PACKAGE_NAME,
456
+ migrationOptions: {
457
+ optInTransformResponse: true
458
+ },
429
459
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
430
460
  protoPath: "/v2/resources/count",
431
461
  data: payload,