@wix/auto_sdk_bookings_booking-policies 1.0.67 → 1.0.69
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/index.js +24 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +24 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js +24 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +24 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +24 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/meta.mjs +24 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +24 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -1
- package/build/internal/cjs/index.typings.js +24 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/cjs/meta.js +24 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +24 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -1
- package/build/internal/es/index.typings.mjs +24 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/build/internal/es/meta.mjs +24 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -425,7 +425,7 @@ interface CustomOptions {
|
|
|
425
425
|
/** Policy for integrating with Intake form. Stores which form to use and when to present it. */
|
|
426
426
|
interface IntakeFormPolicy {
|
|
427
427
|
/**
|
|
428
|
-
* ID of the
|
|
428
|
+
* ID of the form used as an intake form for the service.
|
|
429
429
|
* @format GUID
|
|
430
430
|
*/
|
|
431
431
|
formId?: string | null;
|
|
@@ -61,6 +61,9 @@ function createBookingPolicy(payload) {
|
|
|
61
61
|
method: "POST",
|
|
62
62
|
methodFqn: "wix.bookings.v1.BookingPoliciesService.CreateBookingPolicy",
|
|
63
63
|
packageName: PACKAGE_NAME,
|
|
64
|
+
migrationOptions: {
|
|
65
|
+
optInTransformResponse: true
|
|
66
|
+
},
|
|
64
67
|
url: resolveWixBookingsV1BookingPoliciesServiceUrl({
|
|
65
68
|
protoPath: "/v1/booking-policies",
|
|
66
69
|
data: serializedData,
|
|
@@ -88,6 +91,9 @@ function getBookingPolicy(payload) {
|
|
|
88
91
|
method: "GET",
|
|
89
92
|
methodFqn: "wix.bookings.v1.BookingPoliciesService.GetBookingPolicy",
|
|
90
93
|
packageName: PACKAGE_NAME,
|
|
94
|
+
migrationOptions: {
|
|
95
|
+
optInTransformResponse: true
|
|
96
|
+
},
|
|
91
97
|
url: resolveWixBookingsV1BookingPoliciesServiceUrl({
|
|
92
98
|
protoPath: "/v1/booking-policies/{bookingPolicyId}",
|
|
93
99
|
data: payload,
|
|
@@ -115,6 +121,9 @@ function getStrictestBookingPolicy(payload) {
|
|
|
115
121
|
method: "POST",
|
|
116
122
|
methodFqn: "wix.bookings.v1.BookingPoliciesService.GetStrictestBookingPolicy",
|
|
117
123
|
packageName: PACKAGE_NAME,
|
|
124
|
+
migrationOptions: {
|
|
125
|
+
optInTransformResponse: true
|
|
126
|
+
},
|
|
118
127
|
url: resolveWixBookingsV1BookingPoliciesServiceUrl({
|
|
119
128
|
protoPath: "/v1/booking-policies/strictest",
|
|
120
129
|
data: payload,
|
|
@@ -155,6 +164,9 @@ function updateBookingPolicy(payload) {
|
|
|
155
164
|
method: "PATCH",
|
|
156
165
|
methodFqn: "wix.bookings.v1.BookingPoliciesService.UpdateBookingPolicy",
|
|
157
166
|
packageName: PACKAGE_NAME,
|
|
167
|
+
migrationOptions: {
|
|
168
|
+
optInTransformResponse: true
|
|
169
|
+
},
|
|
158
170
|
url: resolveWixBookingsV1BookingPoliciesServiceUrl({
|
|
159
171
|
protoPath: "/v1/booking-policies/{bookingPolicy.id}",
|
|
160
172
|
data: serializedData,
|
|
@@ -182,6 +194,9 @@ function setDefaultBookingPolicy(payload) {
|
|
|
182
194
|
method: "POST",
|
|
183
195
|
methodFqn: "wix.bookings.v1.BookingPoliciesService.SetDefaultBookingPolicy",
|
|
184
196
|
packageName: PACKAGE_NAME,
|
|
197
|
+
migrationOptions: {
|
|
198
|
+
optInTransformResponse: true
|
|
199
|
+
},
|
|
185
200
|
url: resolveWixBookingsV1BookingPoliciesServiceUrl({
|
|
186
201
|
protoPath: "/v1/booking-policies/{bookingPolicyId}:setDefault",
|
|
187
202
|
data: payload,
|
|
@@ -211,6 +226,9 @@ function deleteBookingPolicy(payload) {
|
|
|
211
226
|
method: "DELETE",
|
|
212
227
|
methodFqn: "wix.bookings.v1.BookingPoliciesService.DeleteBookingPolicy",
|
|
213
228
|
packageName: PACKAGE_NAME,
|
|
229
|
+
migrationOptions: {
|
|
230
|
+
optInTransformResponse: true
|
|
231
|
+
},
|
|
214
232
|
url: resolveWixBookingsV1BookingPoliciesServiceUrl({
|
|
215
233
|
protoPath: "/v1/booking-policies/{bookingPolicyId}",
|
|
216
234
|
data: payload,
|
|
@@ -229,6 +247,9 @@ function queryBookingPolicies(payload) {
|
|
|
229
247
|
method: "POST",
|
|
230
248
|
methodFqn: "wix.bookings.v1.BookingPoliciesService.QueryBookingPolicies",
|
|
231
249
|
packageName: PACKAGE_NAME,
|
|
250
|
+
migrationOptions: {
|
|
251
|
+
optInTransformResponse: true
|
|
252
|
+
},
|
|
232
253
|
url: resolveWixBookingsV1BookingPoliciesServiceUrl({
|
|
233
254
|
protoPath: "/v1/booking-policies/query",
|
|
234
255
|
data: payload,
|
|
@@ -256,6 +277,9 @@ function countBookingPolicies(payload) {
|
|
|
256
277
|
method: "POST",
|
|
257
278
|
methodFqn: "wix.bookings.v1.BookingPoliciesService.CountBookingPolicies",
|
|
258
279
|
packageName: PACKAGE_NAME,
|
|
280
|
+
migrationOptions: {
|
|
281
|
+
optInTransformResponse: true
|
|
282
|
+
},
|
|
259
283
|
url: resolveWixBookingsV1BookingPoliciesServiceUrl({
|
|
260
284
|
protoPath: "/v1/booking-policies/count",
|
|
261
285
|
data: payload,
|