@wix/auto_sdk_bookings_bookings 1.0.182 → 1.0.184
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 +12 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +76 -0
- package/build/cjs/index.typings.js +12 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +38 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +2 -0
- package/build/cjs/schemas.js +8 -2
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +12 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +76 -0
- package/build/es/index.typings.mjs +12 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +38 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +2 -0
- package/build/es/schemas.mjs +8 -2
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +12 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +120 -2
- package/build/internal/cjs/index.typings.js +12 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +38 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +2 -0
- package/build/internal/cjs/schemas.js +8 -2
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +12 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +120 -2
- package/build/internal/es/index.typings.mjs +12 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +38 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +2 -0
- package/build/internal/es/schemas.mjs +8 -2
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1752,6 +1752,7 @@ var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
|
|
|
1752
1752
|
PaymentStatus2["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
|
1753
1753
|
PaymentStatus2["REFUNDED"] = "REFUNDED";
|
|
1754
1754
|
PaymentStatus2["EXEMPT"] = "EXEMPT";
|
|
1755
|
+
PaymentStatus2["FAILED"] = "FAILED";
|
|
1755
1756
|
return PaymentStatus2;
|
|
1756
1757
|
})(PaymentStatus || {});
|
|
1757
1758
|
var SelectedPaymentOption = /* @__PURE__ */ ((SelectedPaymentOption2) => {
|
|
@@ -1831,6 +1832,7 @@ var RateType = /* @__PURE__ */ ((RateType2) => {
|
|
|
1831
1832
|
RateType2["CUSTOM"] = "CUSTOM";
|
|
1832
1833
|
RateType2["VARIED"] = "VARIED";
|
|
1833
1834
|
RateType2["NO_FEE"] = "NO_FEE";
|
|
1835
|
+
RateType2["SUBSCRIPTION"] = "SUBSCRIPTION";
|
|
1834
1836
|
return RateType2;
|
|
1835
1837
|
})(RateType || {});
|
|
1836
1838
|
var FrequencyType = /* @__PURE__ */ ((FrequencyType2) => {
|
|
@@ -1875,6 +1877,8 @@ var CompletionRequirement = /* @__PURE__ */ ((CompletionRequirement2) => {
|
|
|
1875
1877
|
return CompletionRequirement2;
|
|
1876
1878
|
})(CompletionRequirement || {});
|
|
1877
1879
|
var UnitType = /* @__PURE__ */ ((UnitType2) => {
|
|
1880
|
+
UnitType2["HOUR"] = "HOUR";
|
|
1881
|
+
UnitType2["DAY"] = "DAY";
|
|
1878
1882
|
return UnitType2;
|
|
1879
1883
|
})(UnitType || {});
|
|
1880
1884
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
@@ -2276,7 +2280,8 @@ async function cancelMultiServiceBooking2(multiServiceBookingId, options) {
|
|
|
2276
2280
|
multiServiceBookingId,
|
|
2277
2281
|
participantNotification: options?.participantNotification,
|
|
2278
2282
|
flowControlSettings: options?.flowControlSettings,
|
|
2279
|
-
returnFullEntity: options?.returnFullEntity
|
|
2283
|
+
returnFullEntity: options?.returnFullEntity,
|
|
2284
|
+
waiveCharges: options?.waiveCharges
|
|
2280
2285
|
});
|
|
2281
2286
|
const reqOpts = cancelMultiServiceBooking(payload);
|
|
2282
2287
|
sideEffects?.onSiteCall?.();
|
|
@@ -2293,7 +2298,8 @@ async function cancelMultiServiceBooking2(multiServiceBookingId, options) {
|
|
|
2293
2298
|
multiServiceBookingId: "$[0]",
|
|
2294
2299
|
participantNotification: "$[1].participantNotification",
|
|
2295
2300
|
flowControlSettings: "$[1].flowControlSettings",
|
|
2296
|
-
returnFullEntity: "$[1].returnFullEntity"
|
|
2301
|
+
returnFullEntity: "$[1].returnFullEntity",
|
|
2302
|
+
waiveCharges: "$[1].waiveCharges"
|
|
2297
2303
|
},
|
|
2298
2304
|
singleArgumentUnchanged: false
|
|
2299
2305
|
},
|
|
@@ -2778,7 +2784,8 @@ async function cancelBooking(bookingId, options) {
|
|
|
2778
2784
|
bookingId,
|
|
2779
2785
|
participantNotification: options?.participantNotification,
|
|
2780
2786
|
flowControlSettings: options?.flowControlSettings,
|
|
2781
|
-
revision: options?.revision
|
|
2787
|
+
revision: options?.revision,
|
|
2788
|
+
waiveCharges: options?.waiveCharges
|
|
2782
2789
|
});
|
|
2783
2790
|
const reqOpts = bookingsCancelBooking(payload);
|
|
2784
2791
|
sideEffects?.onSiteCall?.();
|
|
@@ -2795,7 +2802,8 @@ async function cancelBooking(bookingId, options) {
|
|
|
2795
2802
|
bookingId: "$[0]",
|
|
2796
2803
|
participantNotification: "$[1].participantNotification",
|
|
2797
2804
|
flowControlSettings: "$[1].flowControlSettings",
|
|
2798
|
-
revision: "$[1].revision"
|
|
2805
|
+
revision: "$[1].revision",
|
|
2806
|
+
waiveCharges: "$[1].waiveCharges"
|
|
2799
2807
|
},
|
|
2800
2808
|
singleArgumentUnchanged: false
|
|
2801
2809
|
},
|