@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.
@@ -73,6 +73,9 @@ function createResource(payload) {
73
73
  method: "POST",
74
74
  methodFqn: "wix.bookings.resources.v2.ResourcesService.CreateResource",
75
75
  packageName: PACKAGE_NAME,
76
+ migrationOptions: {
77
+ optInTransformResponse: true
78
+ },
76
79
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
77
80
  protoPath: "/v2/resources",
78
81
  data: serializedData,
@@ -109,6 +112,9 @@ function bulkCreateResources(payload) {
109
112
  method: "POST",
110
113
  methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkCreateResources",
111
114
  packageName: PACKAGE_NAME,
115
+ migrationOptions: {
116
+ optInTransformResponse: true
117
+ },
112
118
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
113
119
  protoPath: "/v2/bulk/resources/create",
114
120
  data: serializedData,
@@ -136,6 +142,9 @@ function getResource(payload) {
136
142
  method: "GET",
137
143
  methodFqn: "wix.bookings.resources.v2.ResourcesService.GetResource",
138
144
  packageName: PACKAGE_NAME,
145
+ migrationOptions: {
146
+ optInTransformResponse: true
147
+ },
139
148
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
140
149
  protoPath: "/v2/resources/{resourceId}",
141
150
  data: payload,
@@ -176,6 +185,9 @@ function updateResource(payload) {
176
185
  method: "PATCH",
177
186
  methodFqn: "wix.bookings.resources.v2.ResourcesService.UpdateResource",
178
187
  packageName: PACKAGE_NAME,
188
+ migrationOptions: {
189
+ optInTransformResponse: true
190
+ },
179
191
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
180
192
  protoPath: "/v2/resources/{resource.id}",
181
193
  data: serializedData,
@@ -216,6 +228,9 @@ function bulkUpdateResources(payload) {
216
228
  method: "POST",
217
229
  methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkUpdateResources",
218
230
  packageName: PACKAGE_NAME,
231
+ migrationOptions: {
232
+ optInTransformResponse: true
233
+ },
219
234
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
220
235
  protoPath: "/v2/bulk/resources/update",
221
236
  data: serializedData,
@@ -243,6 +258,9 @@ function deleteResource(payload) {
243
258
  method: "DELETE",
244
259
  methodFqn: "wix.bookings.resources.v2.ResourcesService.DeleteResource",
245
260
  packageName: PACKAGE_NAME,
261
+ migrationOptions: {
262
+ optInTransformResponse: true
263
+ },
246
264
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
247
265
  protoPath: "/v2/resources/{resourceId}",
248
266
  data: payload,
@@ -261,6 +279,9 @@ function bulkDeleteResources(payload) {
261
279
  method: "POST",
262
280
  methodFqn: "wix.bookings.resources.v2.ResourcesService.BulkDeleteResources",
263
281
  packageName: PACKAGE_NAME,
282
+ migrationOptions: {
283
+ optInTransformResponse: true
284
+ },
264
285
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
265
286
  protoPath: "/v2/bulk/resources/delete",
266
287
  data: payload,
@@ -303,6 +324,9 @@ function searchResources(payload) {
303
324
  method: "POST",
304
325
  methodFqn: "wix.bookings.resources.v2.ResourcesService.SearchResources",
305
326
  packageName: PACKAGE_NAME,
327
+ migrationOptions: {
328
+ optInTransformResponse: true
329
+ },
306
330
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
307
331
  protoPath: "/v2/resources/search",
308
332
  data: serializedData,
@@ -356,6 +380,9 @@ function queryResources(payload) {
356
380
  method: "POST",
357
381
  methodFqn: "wix.bookings.resources.v2.ResourcesService.QueryResources",
358
382
  packageName: PACKAGE_NAME,
383
+ migrationOptions: {
384
+ optInTransformResponse: true
385
+ },
359
386
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
360
387
  protoPath: "/v2/resources/query",
361
388
  data: payload,
@@ -383,6 +410,9 @@ function countResources(payload) {
383
410
  method: "POST",
384
411
  methodFqn: "wix.bookings.resources.v2.ResourcesService.CountResources",
385
412
  packageName: PACKAGE_NAME,
413
+ migrationOptions: {
414
+ optInTransformResponse: true
415
+ },
386
416
  url: resolveWixBookingsResourcesV2ResourcesServiceUrl({
387
417
  protoPath: "/v2/resources/count",
388
418
  data: payload,