@wix/auto_sdk_table-reservations_reservations 1.0.24 → 1.0.26
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.d.ts +13 -10
- package/build/cjs/index.js +11 -11
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +8 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +17 -14
- package/build/cjs/meta.js +8 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{table-reservations-v1-reservation-reservations.universal-BtPRFS9k.d.ts → table-reservations-v1-reservation-reservations.universal-CFbgZcWS.d.ts} +32 -17
- package/build/es/index.d.mts +13 -10
- package/build/es/index.mjs +10 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +7 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +17 -14
- package/build/es/meta.mjs +7 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{table-reservations-v1-reservation-reservations.universal-BtPRFS9k.d.mts → table-reservations-v1-reservation-reservations.universal-CFbgZcWS.d.mts} +32 -17
- package/build/internal/cjs/index.d.ts +13 -10
- package/build/internal/cjs/index.js +11 -11
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +8 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +17 -14
- package/build/internal/cjs/meta.js +8 -8
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{table-reservations-v1-reservation-reservations.universal-BtPRFS9k.d.ts → table-reservations-v1-reservation-reservations.universal-CFbgZcWS.d.ts} +32 -17
- package/build/internal/es/index.d.mts +13 -10
- package/build/internal/es/index.mjs +10 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +7 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +17 -14
- package/build/internal/es/meta.mjs +7 -7
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{table-reservations-v1-reservation-reservations.universal-BtPRFS9k.d.mts → table-reservations-v1-reservation-reservations.universal-CFbgZcWS.d.mts} +32 -17
- package/package.json +2 -2
package/build/es/index.mjs
CHANGED
|
@@ -493,12 +493,12 @@ function bulkArchiveReservations(payload) {
|
|
|
493
493
|
}
|
|
494
494
|
return __bulkArchiveReservations;
|
|
495
495
|
}
|
|
496
|
-
function
|
|
497
|
-
function
|
|
496
|
+
function bulkUnarchiveReservations(payload) {
|
|
497
|
+
function __bulkUnarchiveReservations({ host }) {
|
|
498
498
|
const metadata = {
|
|
499
499
|
entityFqdn: "wix.table_reservations.v1.reservation",
|
|
500
500
|
method: "POST",
|
|
501
|
-
methodFqn: "wix.table_reservations.reservation.v1.ReservationsService.
|
|
501
|
+
methodFqn: "wix.table_reservations.reservation.v1.ReservationsService.BulkUnarchiveReservations",
|
|
502
502
|
packageName: PACKAGE_NAME,
|
|
503
503
|
url: resolveWixTableReservationsReservationV1ReservationsServiceUrl({
|
|
504
504
|
protoPath: "/v1/bulk/reservations/unarchive",
|
|
@@ -509,7 +509,7 @@ function bulkUnArchiveReservations(payload) {
|
|
|
509
509
|
};
|
|
510
510
|
return metadata;
|
|
511
511
|
}
|
|
512
|
-
return
|
|
512
|
+
return __bulkUnarchiveReservations;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
// src/table-reservations-v1-reservation-reservations.universal.ts
|
|
@@ -963,12 +963,12 @@ async function bulkArchiveReservations2(reservationIds) {
|
|
|
963
963
|
throw transformedError;
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
-
async function
|
|
966
|
+
async function bulkUnarchiveReservations2(reservationIds) {
|
|
967
967
|
const { httpClient, sideEffects } = arguments[1];
|
|
968
968
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
969
969
|
reservationIds
|
|
970
970
|
});
|
|
971
|
-
const reqOpts =
|
|
971
|
+
const reqOpts = bulkUnarchiveReservations(
|
|
972
972
|
payload
|
|
973
973
|
);
|
|
974
974
|
sideEffects?.onSiteCall?.();
|
|
@@ -1076,8 +1076,8 @@ function bulkArchiveReservations3(httpClient) {
|
|
|
1076
1076
|
{ httpClient }
|
|
1077
1077
|
);
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1080
|
-
return (reservationIds) =>
|
|
1079
|
+
function bulkUnarchiveReservations3(httpClient) {
|
|
1080
|
+
return (reservationIds) => bulkUnarchiveReservations2(
|
|
1081
1081
|
reservationIds,
|
|
1082
1082
|
// @ts-ignore
|
|
1083
1083
|
{ httpClient }
|
|
@@ -1152,7 +1152,7 @@ var listReservations4 = /* @__PURE__ */ createRESTModule(listReservations3);
|
|
|
1152
1152
|
var queryReservations4 = /* @__PURE__ */ createRESTModule(queryReservations3);
|
|
1153
1153
|
var searchReservations4 = /* @__PURE__ */ createRESTModule(searchReservations3);
|
|
1154
1154
|
var bulkArchiveReservations4 = /* @__PURE__ */ createRESTModule(bulkArchiveReservations3);
|
|
1155
|
-
var
|
|
1155
|
+
var bulkUnarchiveReservations4 = /* @__PURE__ */ createRESTModule(bulkUnarchiveReservations3);
|
|
1156
1156
|
var onReservationCreated2 = createEventModule(onReservationCreated);
|
|
1157
1157
|
var onReservationDeleted2 = createEventModule(onReservationDeleted);
|
|
1158
1158
|
var onReservationUpdated2 = createEventModule(onReservationUpdated);
|
|
@@ -1174,7 +1174,7 @@ export {
|
|
|
1174
1174
|
Type,
|
|
1175
1175
|
WebhookIdentityType,
|
|
1176
1176
|
bulkArchiveReservations4 as bulkArchiveReservations,
|
|
1177
|
-
|
|
1177
|
+
bulkUnarchiveReservations4 as bulkUnarchiveReservations,
|
|
1178
1178
|
cancelReservation4 as cancelReservation,
|
|
1179
1179
|
createHeldReservation4 as createHeldReservation,
|
|
1180
1180
|
createReservation4 as createReservation,
|