@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.
@@ -125,6 +125,9 @@ function createResource(payload) {
125
125
  method: "POST",
126
126
  methodFqn: "wix.bookings.resources.v2.ResourcesService.CreateResource",
127
127
  packageName: PACKAGE_NAME,
128
+ migrationOptions: {
129
+ optInTransformResponse: true
130
+ },
128
131
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
129
132
  protoPath: "/v2/resources",
130
133
  data: serializedData,
@@ -161,6 +164,9 @@ function bulkCreateResources(payload) {
161
164
  method: "POST",
162
165
  methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkCreateResources",
163
166
  packageName: PACKAGE_NAME,
167
+ migrationOptions: {
168
+ optInTransformResponse: true
169
+ },
164
170
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
165
171
  protoPath: "/v2/bulk/resources/create",
166
172
  data: serializedData,
@@ -188,6 +194,9 @@ function getResource(payload) {
188
194
  method: "GET",
189
195
  methodFqn: "wix.bookings.resources.v2.ResourcesService.GetResource",
190
196
  packageName: PACKAGE_NAME,
197
+ migrationOptions: {
198
+ optInTransformResponse: true
199
+ },
191
200
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
192
201
  protoPath: "/v2/resources/{resourceId}",
193
202
  data: payload,
@@ -228,6 +237,9 @@ function updateResource(payload) {
228
237
  method: "PATCH",
229
238
  methodFqn: "wix.bookings.resources.v2.ResourcesService.UpdateResource",
230
239
  packageName: PACKAGE_NAME,
240
+ migrationOptions: {
241
+ optInTransformResponse: true
242
+ },
231
243
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
232
244
  protoPath: "/v2/resources/{resource.id}",
233
245
  data: serializedData,
@@ -268,6 +280,9 @@ function bulkUpdateResources(payload) {
268
280
  method: "POST",
269
281
  methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkUpdateResources",
270
282
  packageName: PACKAGE_NAME,
283
+ migrationOptions: {
284
+ optInTransformResponse: true
285
+ },
271
286
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
272
287
  protoPath: "/v2/bulk/resources/update",
273
288
  data: serializedData,
@@ -295,6 +310,9 @@ function deleteResource(payload) {
295
310
  method: "DELETE",
296
311
  methodFqn: "wix.bookings.resources.v2.ResourcesService.DeleteResource",
297
312
  packageName: PACKAGE_NAME,
313
+ migrationOptions: {
314
+ optInTransformResponse: true
315
+ },
298
316
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
299
317
  protoPath: "/v2/resources/{resourceId}",
300
318
  data: payload,
@@ -313,6 +331,9 @@ function bulkDeleteResources(payload) {
313
331
  method: "POST",
314
332
  methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkDeleteResources",
315
333
  packageName: PACKAGE_NAME,
334
+ migrationOptions: {
335
+ optInTransformResponse: true
336
+ },
316
337
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
317
338
  protoPath: "/v2/bulk/resources/delete",
318
339
  data: payload,
@@ -355,6 +376,9 @@ function searchResources(payload) {
355
376
  method: "POST",
356
377
  methodFqn: "wix.bookings.resources.v2.ResourcesService.SearchResources",
357
378
  packageName: PACKAGE_NAME,
379
+ migrationOptions: {
380
+ optInTransformResponse: true
381
+ },
358
382
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
359
383
  protoPath: "/v2/resources/search",
360
384
  data: serializedData,
@@ -408,6 +432,9 @@ function queryResources(payload) {
408
432
  method: "POST",
409
433
  methodFqn: "wix.bookings.resources.v2.ResourcesService.QueryResources",
410
434
  packageName: PACKAGE_NAME,
435
+ migrationOptions: {
436
+ optInTransformResponse: true
437
+ },
411
438
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
412
439
  protoPath: "/v2/resources/query",
413
440
  data: payload,
@@ -435,6 +462,9 @@ function countResources(payload) {
435
462
  method: "POST",
436
463
  methodFqn: "wix.bookings.resources.v2.ResourcesService.CountResources",
437
464
  packageName: PACKAGE_NAME,
465
+ migrationOptions: {
466
+ optInTransformResponse: true
467
+ },
438
468
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
439
469
  protoPath: "/v2/resources/count",
440
470
  data: payload,