@voyantjs/hospitality 0.2.0 → 0.3.0
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/dist/routes-accommodation.d.ts +1196 -0
- package/dist/routes-accommodation.d.ts.map +1 -0
- package/dist/routes-accommodation.js +194 -0
- package/dist/routes-inventory.d.ts +981 -0
- package/dist/routes-inventory.d.ts.map +1 -0
- package/dist/routes-inventory.js +159 -0
- package/dist/routes-operations.d.ts +2349 -0
- package/dist/routes-operations.d.ts.map +1 -0
- package/dist/routes-operations.js +6 -0
- package/dist/routes-shared.d.ts +11 -0
- package/dist/routes-shared.d.ts.map +1 -0
- package/dist/routes-shared.js +3 -0
- package/dist/routes-stays.d.ts +1371 -0
- package/dist/routes-stays.d.ts.map +1 -0
- package/dist/routes-stays.js +211 -0
- package/dist/routes.d.ts +520 -527
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +4 -551
- package/dist/schema-bookings.d.ts +1476 -0
- package/dist/schema-bookings.d.ts.map +1 -0
- package/dist/schema-bookings.js +156 -0
- package/dist/schema-inventory.d.ts +1593 -0
- package/dist/schema-inventory.d.ts.map +1 -0
- package/dist/schema-inventory.js +154 -0
- package/dist/schema-operations.d.ts +1076 -0
- package/dist/schema-operations.d.ts.map +1 -0
- package/dist/schema-operations.js +114 -0
- package/dist/schema-pricing.d.ts +1065 -0
- package/dist/schema-pricing.d.ts.map +1 -0
- package/dist/schema-pricing.js +107 -0
- package/dist/schema-relations.d.ts +118 -0
- package/dist/schema-relations.d.ts.map +1 -0
- package/dist/schema-relations.js +199 -0
- package/dist/schema-shared.d.ts +13 -0
- package/dist/schema-shared.d.ts.map +1 -0
- package/dist/schema-shared.js +73 -0
- package/dist/schema.d.ts +6 -5335
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +6 -779
- package/dist/service.d.ts +37 -37
- package/dist/validation-accommodation.d.ts +438 -0
- package/dist/validation-accommodation.d.ts.map +1 -0
- package/dist/validation-accommodation.js +151 -0
- package/dist/validation-operations.d.ts +860 -0
- package/dist/validation-operations.d.ts.map +1 -0
- package/dist/validation-operations.js +293 -0
- package/dist/validation-shared.d.ts +94 -0
- package/dist/validation-shared.d.ts.map +1 -0
- package/dist/validation-shared.js +79 -0
- package/dist/validation.d.ts +3 -1377
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +3 -520
- package/package.json +6 -6
package/dist/routes.d.ts
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
Variables: {
|
|
4
|
-
db: PostgresJsDatabase;
|
|
5
|
-
userId?: string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
1
|
+
import type { Env } from "./routes-shared.js";
|
|
2
|
+
export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
9
3
|
"/room-types": {
|
|
10
4
|
$get: {
|
|
11
5
|
input: {};
|
|
@@ -93,7 +87,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
93
87
|
};
|
|
94
88
|
};
|
|
95
89
|
output: {
|
|
96
|
-
error: string
|
|
90
|
+
readonly error: `${string} not found`;
|
|
97
91
|
};
|
|
98
92
|
outputFormat: "json";
|
|
99
93
|
status: 404;
|
|
@@ -146,7 +140,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
146
140
|
};
|
|
147
141
|
};
|
|
148
142
|
output: {
|
|
149
|
-
error: string
|
|
143
|
+
readonly error: `${string} not found`;
|
|
150
144
|
};
|
|
151
145
|
outputFormat: "json";
|
|
152
146
|
status: 404;
|
|
@@ -199,7 +193,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
199
193
|
};
|
|
200
194
|
};
|
|
201
195
|
output: {
|
|
202
|
-
error: string
|
|
196
|
+
readonly error: `${string} not found`;
|
|
203
197
|
};
|
|
204
198
|
outputFormat: "json";
|
|
205
199
|
status: 404;
|
|
@@ -246,10 +240,10 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
246
240
|
output: {
|
|
247
241
|
data: {
|
|
248
242
|
id: string;
|
|
249
|
-
notes: string | null;
|
|
250
243
|
createdAt: string;
|
|
251
244
|
updatedAt: string;
|
|
252
245
|
isPrimary: boolean;
|
|
246
|
+
notes: string | null;
|
|
253
247
|
quantity: number;
|
|
254
248
|
roomTypeId: string;
|
|
255
249
|
bedType: string;
|
|
@@ -268,7 +262,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
268
262
|
};
|
|
269
263
|
};
|
|
270
264
|
output: {
|
|
271
|
-
error: string
|
|
265
|
+
readonly error: `${string} not found`;
|
|
272
266
|
};
|
|
273
267
|
outputFormat: "json";
|
|
274
268
|
status: 404;
|
|
@@ -303,7 +297,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
303
297
|
};
|
|
304
298
|
};
|
|
305
299
|
output: {
|
|
306
|
-
error: string
|
|
300
|
+
readonly error: `${string} not found`;
|
|
307
301
|
};
|
|
308
302
|
outputFormat: "json";
|
|
309
303
|
status: 404;
|
|
@@ -338,7 +332,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
338
332
|
};
|
|
339
333
|
};
|
|
340
334
|
output: {
|
|
341
|
-
error: string
|
|
335
|
+
readonly error: `${string} not found`;
|
|
342
336
|
};
|
|
343
337
|
outputFormat: "json";
|
|
344
338
|
status: 404;
|
|
@@ -395,9 +389,9 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
395
389
|
data: {
|
|
396
390
|
id: string;
|
|
397
391
|
status: "active" | "inactive" | "archived" | "out_of_order";
|
|
398
|
-
notes: string | null;
|
|
399
392
|
createdAt: string;
|
|
400
393
|
updatedAt: string;
|
|
394
|
+
notes: string | null;
|
|
401
395
|
metadata: {
|
|
402
396
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
403
397
|
} | null;
|
|
@@ -425,7 +419,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
425
419
|
};
|
|
426
420
|
};
|
|
427
421
|
output: {
|
|
428
|
-
error: string
|
|
422
|
+
readonly error: `${string} not found`;
|
|
429
423
|
};
|
|
430
424
|
outputFormat: "json";
|
|
431
425
|
status: 404;
|
|
@@ -469,7 +463,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
469
463
|
};
|
|
470
464
|
};
|
|
471
465
|
output: {
|
|
472
|
-
error: string
|
|
466
|
+
readonly error: `${string} not found`;
|
|
473
467
|
};
|
|
474
468
|
outputFormat: "json";
|
|
475
469
|
status: 404;
|
|
@@ -513,7 +507,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
513
507
|
};
|
|
514
508
|
};
|
|
515
509
|
output: {
|
|
516
|
-
error: string
|
|
510
|
+
readonly error: `${string} not found`;
|
|
517
511
|
};
|
|
518
512
|
outputFormat: "json";
|
|
519
513
|
status: 404;
|
|
@@ -598,7 +592,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
598
592
|
};
|
|
599
593
|
};
|
|
600
594
|
output: {
|
|
601
|
-
error: string
|
|
595
|
+
readonly error: `${string} not found`;
|
|
602
596
|
};
|
|
603
597
|
outputFormat: "json";
|
|
604
598
|
status: 404;
|
|
@@ -641,7 +635,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
641
635
|
};
|
|
642
636
|
};
|
|
643
637
|
output: {
|
|
644
|
-
error: string
|
|
638
|
+
readonly error: `${string} not found`;
|
|
645
639
|
};
|
|
646
640
|
outputFormat: "json";
|
|
647
641
|
status: 404;
|
|
@@ -684,7 +678,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
684
678
|
};
|
|
685
679
|
};
|
|
686
680
|
output: {
|
|
687
|
-
error: string
|
|
681
|
+
readonly error: `${string} not found`;
|
|
688
682
|
};
|
|
689
683
|
outputFormat: "json";
|
|
690
684
|
status: 404;
|
|
@@ -779,7 +773,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
779
773
|
};
|
|
780
774
|
};
|
|
781
775
|
output: {
|
|
782
|
-
error: string
|
|
776
|
+
readonly error: `${string} not found`;
|
|
783
777
|
};
|
|
784
778
|
outputFormat: "json";
|
|
785
779
|
status: 404;
|
|
@@ -827,7 +821,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
827
821
|
};
|
|
828
822
|
};
|
|
829
823
|
output: {
|
|
830
|
-
error: string
|
|
824
|
+
readonly error: `${string} not found`;
|
|
831
825
|
};
|
|
832
826
|
outputFormat: "json";
|
|
833
827
|
status: 404;
|
|
@@ -875,7 +869,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
875
869
|
};
|
|
876
870
|
};
|
|
877
871
|
output: {
|
|
878
|
-
error: string
|
|
872
|
+
readonly error: `${string} not found`;
|
|
879
873
|
};
|
|
880
874
|
outputFormat: "json";
|
|
881
875
|
status: 404;
|
|
@@ -924,10 +918,10 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
924
918
|
output: {
|
|
925
919
|
data: {
|
|
926
920
|
id: string;
|
|
927
|
-
productId: string | null;
|
|
928
|
-
optionId: string | null;
|
|
929
921
|
createdAt: string;
|
|
930
922
|
updatedAt: string;
|
|
923
|
+
productId: string | null;
|
|
924
|
+
optionId: string | null;
|
|
931
925
|
active: boolean;
|
|
932
926
|
sortOrder: number;
|
|
933
927
|
roomTypeId: string;
|
|
@@ -948,7 +942,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
948
942
|
};
|
|
949
943
|
};
|
|
950
944
|
output: {
|
|
951
|
-
error: string
|
|
945
|
+
readonly error: `${string} not found`;
|
|
952
946
|
};
|
|
953
947
|
outputFormat: "json";
|
|
954
948
|
status: 404;
|
|
@@ -985,7 +979,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
985
979
|
};
|
|
986
980
|
};
|
|
987
981
|
output: {
|
|
988
|
-
error: string
|
|
982
|
+
readonly error: `${string} not found`;
|
|
989
983
|
};
|
|
990
984
|
outputFormat: "json";
|
|
991
985
|
status: 404;
|
|
@@ -1022,7 +1016,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1022
1016
|
};
|
|
1023
1017
|
};
|
|
1024
1018
|
output: {
|
|
1025
|
-
error: string
|
|
1019
|
+
readonly error: `${string} not found`;
|
|
1026
1020
|
};
|
|
1027
1021
|
outputFormat: "json";
|
|
1028
1022
|
status: 404;
|
|
@@ -1074,9 +1068,9 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1074
1068
|
output: {
|
|
1075
1069
|
data: {
|
|
1076
1070
|
id: string;
|
|
1077
|
-
notes: string | null;
|
|
1078
1071
|
createdAt: string;
|
|
1079
1072
|
updatedAt: string;
|
|
1073
|
+
notes: string | null;
|
|
1080
1074
|
active: boolean;
|
|
1081
1075
|
roomTypeId: string;
|
|
1082
1076
|
currencyCode: string;
|
|
@@ -1101,7 +1095,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1101
1095
|
};
|
|
1102
1096
|
};
|
|
1103
1097
|
output: {
|
|
1104
|
-
error: string
|
|
1098
|
+
readonly error: `${string} not found`;
|
|
1105
1099
|
};
|
|
1106
1100
|
outputFormat: "json";
|
|
1107
1101
|
status: 404;
|
|
@@ -1141,7 +1135,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1141
1135
|
};
|
|
1142
1136
|
};
|
|
1143
1137
|
output: {
|
|
1144
|
-
error: string
|
|
1138
|
+
readonly error: `${string} not found`;
|
|
1145
1139
|
};
|
|
1146
1140
|
outputFormat: "json";
|
|
1147
1141
|
status: 404;
|
|
@@ -1181,206 +1175,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1181
1175
|
};
|
|
1182
1176
|
};
|
|
1183
1177
|
output: {
|
|
1184
|
-
error: string
|
|
1185
|
-
};
|
|
1186
|
-
outputFormat: "json";
|
|
1187
|
-
status: 404;
|
|
1188
|
-
} | {
|
|
1189
|
-
input: {
|
|
1190
|
-
param: {
|
|
1191
|
-
id: string;
|
|
1192
|
-
};
|
|
1193
|
-
};
|
|
1194
|
-
output: {
|
|
1195
|
-
success: true;
|
|
1196
|
-
};
|
|
1197
|
-
outputFormat: "json";
|
|
1198
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1199
|
-
};
|
|
1200
|
-
};
|
|
1201
|
-
} & {
|
|
1202
|
-
"/stay-rules": {
|
|
1203
|
-
$get: {
|
|
1204
|
-
input: {};
|
|
1205
|
-
output: {
|
|
1206
|
-
data: {
|
|
1207
|
-
id: string;
|
|
1208
|
-
propertyId: string;
|
|
1209
|
-
ratePlanId: string | null;
|
|
1210
|
-
roomTypeId: string | null;
|
|
1211
|
-
validFrom: string | null;
|
|
1212
|
-
validTo: string | null;
|
|
1213
|
-
minNights: number | null;
|
|
1214
|
-
maxNights: number | null;
|
|
1215
|
-
minAdvanceDays: number | null;
|
|
1216
|
-
maxAdvanceDays: number | null;
|
|
1217
|
-
closedToArrival: boolean;
|
|
1218
|
-
closedToDeparture: boolean;
|
|
1219
|
-
arrivalWeekdays: string[] | null;
|
|
1220
|
-
departureWeekdays: string[] | null;
|
|
1221
|
-
releaseDays: number | null;
|
|
1222
|
-
active: boolean;
|
|
1223
|
-
priority: number;
|
|
1224
|
-
notes: string | null;
|
|
1225
|
-
metadata: {
|
|
1226
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1227
|
-
} | null;
|
|
1228
|
-
createdAt: string;
|
|
1229
|
-
updatedAt: string;
|
|
1230
|
-
}[];
|
|
1231
|
-
total: number;
|
|
1232
|
-
limit: number;
|
|
1233
|
-
offset: number;
|
|
1234
|
-
};
|
|
1235
|
-
outputFormat: "json";
|
|
1236
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1237
|
-
};
|
|
1238
|
-
};
|
|
1239
|
-
} & {
|
|
1240
|
-
"/stay-rules": {
|
|
1241
|
-
$post: {
|
|
1242
|
-
input: {};
|
|
1243
|
-
output: {
|
|
1244
|
-
data: {
|
|
1245
|
-
id: string;
|
|
1246
|
-
notes: string | null;
|
|
1247
|
-
createdAt: string;
|
|
1248
|
-
updatedAt: string;
|
|
1249
|
-
metadata: {
|
|
1250
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1251
|
-
} | null;
|
|
1252
|
-
active: boolean;
|
|
1253
|
-
validFrom: string | null;
|
|
1254
|
-
validTo: string | null;
|
|
1255
|
-
propertyId: string;
|
|
1256
|
-
roomTypeId: string | null;
|
|
1257
|
-
ratePlanId: string | null;
|
|
1258
|
-
minNights: number | null;
|
|
1259
|
-
maxNights: number | null;
|
|
1260
|
-
minAdvanceDays: number | null;
|
|
1261
|
-
maxAdvanceDays: number | null;
|
|
1262
|
-
closedToArrival: boolean;
|
|
1263
|
-
closedToDeparture: boolean;
|
|
1264
|
-
arrivalWeekdays: string[] | null;
|
|
1265
|
-
departureWeekdays: string[] | null;
|
|
1266
|
-
releaseDays: number | null;
|
|
1267
|
-
priority: number;
|
|
1268
|
-
} | null;
|
|
1269
|
-
};
|
|
1270
|
-
outputFormat: "json";
|
|
1271
|
-
status: 201;
|
|
1272
|
-
};
|
|
1273
|
-
};
|
|
1274
|
-
} & {
|
|
1275
|
-
"/stay-rules/:id": {
|
|
1276
|
-
$get: {
|
|
1277
|
-
input: {
|
|
1278
|
-
param: {
|
|
1279
|
-
id: string;
|
|
1280
|
-
};
|
|
1281
|
-
};
|
|
1282
|
-
output: {
|
|
1283
|
-
error: string;
|
|
1284
|
-
};
|
|
1285
|
-
outputFormat: "json";
|
|
1286
|
-
status: 404;
|
|
1287
|
-
} | {
|
|
1288
|
-
input: {
|
|
1289
|
-
param: {
|
|
1290
|
-
id: string;
|
|
1291
|
-
};
|
|
1292
|
-
};
|
|
1293
|
-
output: {
|
|
1294
|
-
data: {
|
|
1295
|
-
id: string;
|
|
1296
|
-
propertyId: string;
|
|
1297
|
-
ratePlanId: string | null;
|
|
1298
|
-
roomTypeId: string | null;
|
|
1299
|
-
validFrom: string | null;
|
|
1300
|
-
validTo: string | null;
|
|
1301
|
-
minNights: number | null;
|
|
1302
|
-
maxNights: number | null;
|
|
1303
|
-
minAdvanceDays: number | null;
|
|
1304
|
-
maxAdvanceDays: number | null;
|
|
1305
|
-
closedToArrival: boolean;
|
|
1306
|
-
closedToDeparture: boolean;
|
|
1307
|
-
arrivalWeekdays: string[] | null;
|
|
1308
|
-
departureWeekdays: string[] | null;
|
|
1309
|
-
releaseDays: number | null;
|
|
1310
|
-
active: boolean;
|
|
1311
|
-
priority: number;
|
|
1312
|
-
notes: string | null;
|
|
1313
|
-
metadata: {
|
|
1314
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1315
|
-
} | null;
|
|
1316
|
-
createdAt: string;
|
|
1317
|
-
updatedAt: string;
|
|
1318
|
-
};
|
|
1319
|
-
};
|
|
1320
|
-
outputFormat: "json";
|
|
1321
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1322
|
-
};
|
|
1323
|
-
};
|
|
1324
|
-
} & {
|
|
1325
|
-
"/stay-rules/:id": {
|
|
1326
|
-
$patch: {
|
|
1327
|
-
input: {
|
|
1328
|
-
param: {
|
|
1329
|
-
id: string;
|
|
1330
|
-
};
|
|
1331
|
-
};
|
|
1332
|
-
output: {
|
|
1333
|
-
error: string;
|
|
1334
|
-
};
|
|
1335
|
-
outputFormat: "json";
|
|
1336
|
-
status: 404;
|
|
1337
|
-
} | {
|
|
1338
|
-
input: {
|
|
1339
|
-
param: {
|
|
1340
|
-
id: string;
|
|
1341
|
-
};
|
|
1342
|
-
};
|
|
1343
|
-
output: {
|
|
1344
|
-
data: {
|
|
1345
|
-
id: string;
|
|
1346
|
-
propertyId: string;
|
|
1347
|
-
ratePlanId: string | null;
|
|
1348
|
-
roomTypeId: string | null;
|
|
1349
|
-
validFrom: string | null;
|
|
1350
|
-
validTo: string | null;
|
|
1351
|
-
minNights: number | null;
|
|
1352
|
-
maxNights: number | null;
|
|
1353
|
-
minAdvanceDays: number | null;
|
|
1354
|
-
maxAdvanceDays: number | null;
|
|
1355
|
-
closedToArrival: boolean;
|
|
1356
|
-
closedToDeparture: boolean;
|
|
1357
|
-
arrivalWeekdays: string[] | null;
|
|
1358
|
-
departureWeekdays: string[] | null;
|
|
1359
|
-
releaseDays: number | null;
|
|
1360
|
-
active: boolean;
|
|
1361
|
-
priority: number;
|
|
1362
|
-
notes: string | null;
|
|
1363
|
-
metadata: {
|
|
1364
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1365
|
-
} | null;
|
|
1366
|
-
createdAt: string;
|
|
1367
|
-
updatedAt: string;
|
|
1368
|
-
};
|
|
1369
|
-
};
|
|
1370
|
-
outputFormat: "json";
|
|
1371
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1372
|
-
};
|
|
1373
|
-
};
|
|
1374
|
-
} & {
|
|
1375
|
-
"/stay-rules/:id": {
|
|
1376
|
-
$delete: {
|
|
1377
|
-
input: {
|
|
1378
|
-
param: {
|
|
1379
|
-
id: string;
|
|
1380
|
-
};
|
|
1381
|
-
};
|
|
1382
|
-
output: {
|
|
1383
|
-
error: string;
|
|
1178
|
+
readonly error: `${string} not found`;
|
|
1384
1179
|
};
|
|
1385
1180
|
outputFormat: "json";
|
|
1386
1181
|
status: 404;
|
|
@@ -1397,7 +1192,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1397
1192
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1398
1193
|
};
|
|
1399
1194
|
};
|
|
1400
|
-
}
|
|
1195
|
+
}, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
1401
1196
|
"/room-inventory": {
|
|
1402
1197
|
$get: {
|
|
1403
1198
|
input: {};
|
|
@@ -1434,9 +1229,9 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1434
1229
|
data: {
|
|
1435
1230
|
id: string;
|
|
1436
1231
|
date: string;
|
|
1437
|
-
notes: string | null;
|
|
1438
1232
|
createdAt: string;
|
|
1439
1233
|
updatedAt: string;
|
|
1234
|
+
notes: string | null;
|
|
1440
1235
|
propertyId: string;
|
|
1441
1236
|
roomTypeId: string;
|
|
1442
1237
|
totalUnits: number;
|
|
@@ -1461,7 +1256,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1461
1256
|
};
|
|
1462
1257
|
};
|
|
1463
1258
|
output: {
|
|
1464
|
-
error: string
|
|
1259
|
+
readonly error: `${string} not found`;
|
|
1465
1260
|
};
|
|
1466
1261
|
outputFormat: "json";
|
|
1467
1262
|
status: 404;
|
|
@@ -1502,7 +1297,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1502
1297
|
};
|
|
1503
1298
|
};
|
|
1504
1299
|
output: {
|
|
1505
|
-
error: string
|
|
1300
|
+
readonly error: `${string} not found`;
|
|
1506
1301
|
};
|
|
1507
1302
|
outputFormat: "json";
|
|
1508
1303
|
status: 404;
|
|
@@ -1543,7 +1338,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1543
1338
|
};
|
|
1544
1339
|
};
|
|
1545
1340
|
output: {
|
|
1546
|
-
error: string
|
|
1341
|
+
readonly error: `${string} not found`;
|
|
1547
1342
|
};
|
|
1548
1343
|
outputFormat: "json";
|
|
1549
1344
|
status: 404;
|
|
@@ -1595,9 +1390,9 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1595
1390
|
data: {
|
|
1596
1391
|
id: string;
|
|
1597
1392
|
date: string;
|
|
1598
|
-
notes: string | null;
|
|
1599
1393
|
createdAt: string;
|
|
1600
1394
|
updatedAt: string;
|
|
1395
|
+
notes: string | null;
|
|
1601
1396
|
roomTypeId: string;
|
|
1602
1397
|
ratePlanId: string;
|
|
1603
1398
|
closedToArrival: boolean;
|
|
@@ -1620,7 +1415,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1620
1415
|
};
|
|
1621
1416
|
};
|
|
1622
1417
|
output: {
|
|
1623
|
-
error: string
|
|
1418
|
+
readonly error: `${string} not found`;
|
|
1624
1419
|
};
|
|
1625
1420
|
outputFormat: "json";
|
|
1626
1421
|
status: 404;
|
|
@@ -1659,7 +1454,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1659
1454
|
};
|
|
1660
1455
|
};
|
|
1661
1456
|
output: {
|
|
1662
|
-
error: string
|
|
1457
|
+
readonly error: `${string} not found`;
|
|
1663
1458
|
};
|
|
1664
1459
|
outputFormat: "json";
|
|
1665
1460
|
status: 404;
|
|
@@ -1698,7 +1493,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1698
1493
|
};
|
|
1699
1494
|
};
|
|
1700
1495
|
output: {
|
|
1701
|
-
error: string
|
|
1496
|
+
readonly error: `${string} not found`;
|
|
1702
1497
|
};
|
|
1703
1498
|
outputFormat: "json";
|
|
1704
1499
|
status: 404;
|
|
@@ -1716,28 +1511,21 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1716
1511
|
};
|
|
1717
1512
|
};
|
|
1718
1513
|
} & {
|
|
1719
|
-
"/
|
|
1514
|
+
"/room-blocks": {
|
|
1720
1515
|
$get: {
|
|
1721
1516
|
input: {};
|
|
1722
1517
|
output: {
|
|
1723
1518
|
data: {
|
|
1724
1519
|
id: string;
|
|
1725
|
-
bookingItemId: string;
|
|
1726
1520
|
propertyId: string;
|
|
1727
|
-
roomTypeId: string;
|
|
1521
|
+
roomTypeId: string | null;
|
|
1728
1522
|
roomUnitId: string | null;
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
children: number;
|
|
1736
|
-
infants: number;
|
|
1737
|
-
mealPlanId: string | null;
|
|
1738
|
-
confirmationCode: string | null;
|
|
1739
|
-
voucherCode: string | null;
|
|
1740
|
-
status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
|
|
1523
|
+
startsOn: string;
|
|
1524
|
+
endsOn: string;
|
|
1525
|
+
status: "draft" | "confirmed" | "cancelled" | "held" | "released";
|
|
1526
|
+
blockReason: string | null;
|
|
1527
|
+
quantity: number;
|
|
1528
|
+
releaseAt: string | null;
|
|
1741
1529
|
notes: string | null;
|
|
1742
1530
|
metadata: {
|
|
1743
1531
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1754,42 +1542,35 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1754
1542
|
};
|
|
1755
1543
|
};
|
|
1756
1544
|
} & {
|
|
1757
|
-
"/
|
|
1545
|
+
"/room-blocks": {
|
|
1758
1546
|
$post: {
|
|
1759
1547
|
input: {};
|
|
1760
1548
|
output: {
|
|
1761
1549
|
data: {
|
|
1762
1550
|
id: string;
|
|
1763
|
-
status: "
|
|
1764
|
-
notes: string | null;
|
|
1551
|
+
status: "draft" | "confirmed" | "cancelled" | "held" | "released";
|
|
1765
1552
|
createdAt: string;
|
|
1766
1553
|
updatedAt: string;
|
|
1554
|
+
notes: string | null;
|
|
1767
1555
|
metadata: {
|
|
1768
1556
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1769
1557
|
} | null;
|
|
1770
|
-
|
|
1558
|
+
quantity: number;
|
|
1771
1559
|
propertyId: string;
|
|
1772
|
-
roomTypeId: string;
|
|
1773
|
-
mealPlanId: string | null;
|
|
1774
|
-
ratePlanId: string;
|
|
1560
|
+
roomTypeId: string | null;
|
|
1775
1561
|
roomUnitId: string | null;
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
confirmationCode: string | null;
|
|
1784
|
-
voucherCode: string | null;
|
|
1785
|
-
} | null;
|
|
1786
|
-
};
|
|
1787
|
-
outputFormat: "json";
|
|
1562
|
+
startsOn: string;
|
|
1563
|
+
endsOn: string;
|
|
1564
|
+
blockReason: string | null;
|
|
1565
|
+
releaseAt: string | null;
|
|
1566
|
+
} | null;
|
|
1567
|
+
};
|
|
1568
|
+
outputFormat: "json";
|
|
1788
1569
|
status: 201;
|
|
1789
1570
|
};
|
|
1790
1571
|
};
|
|
1791
1572
|
} & {
|
|
1792
|
-
"/
|
|
1573
|
+
"/room-blocks/:id": {
|
|
1793
1574
|
$get: {
|
|
1794
1575
|
input: {
|
|
1795
1576
|
param: {
|
|
@@ -1797,7 +1578,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1797
1578
|
};
|
|
1798
1579
|
};
|
|
1799
1580
|
output: {
|
|
1800
|
-
error: string
|
|
1581
|
+
readonly error: `${string} not found`;
|
|
1801
1582
|
};
|
|
1802
1583
|
outputFormat: "json";
|
|
1803
1584
|
status: 404;
|
|
@@ -1810,22 +1591,15 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1810
1591
|
output: {
|
|
1811
1592
|
data: {
|
|
1812
1593
|
id: string;
|
|
1813
|
-
bookingItemId: string;
|
|
1814
1594
|
propertyId: string;
|
|
1815
|
-
roomTypeId: string;
|
|
1595
|
+
roomTypeId: string | null;
|
|
1816
1596
|
roomUnitId: string | null;
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
children: number;
|
|
1824
|
-
infants: number;
|
|
1825
|
-
mealPlanId: string | null;
|
|
1826
|
-
confirmationCode: string | null;
|
|
1827
|
-
voucherCode: string | null;
|
|
1828
|
-
status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
|
|
1597
|
+
startsOn: string;
|
|
1598
|
+
endsOn: string;
|
|
1599
|
+
status: "draft" | "confirmed" | "cancelled" | "held" | "released";
|
|
1600
|
+
blockReason: string | null;
|
|
1601
|
+
quantity: number;
|
|
1602
|
+
releaseAt: string | null;
|
|
1829
1603
|
notes: string | null;
|
|
1830
1604
|
metadata: {
|
|
1831
1605
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1839,7 +1613,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1839
1613
|
};
|
|
1840
1614
|
};
|
|
1841
1615
|
} & {
|
|
1842
|
-
"/
|
|
1616
|
+
"/room-blocks/:id": {
|
|
1843
1617
|
$patch: {
|
|
1844
1618
|
input: {
|
|
1845
1619
|
param: {
|
|
@@ -1847,7 +1621,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1847
1621
|
};
|
|
1848
1622
|
};
|
|
1849
1623
|
output: {
|
|
1850
|
-
error: string
|
|
1624
|
+
readonly error: `${string} not found`;
|
|
1851
1625
|
};
|
|
1852
1626
|
outputFormat: "json";
|
|
1853
1627
|
status: 404;
|
|
@@ -1860,22 +1634,15 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1860
1634
|
output: {
|
|
1861
1635
|
data: {
|
|
1862
1636
|
id: string;
|
|
1863
|
-
bookingItemId: string;
|
|
1864
1637
|
propertyId: string;
|
|
1865
|
-
roomTypeId: string;
|
|
1638
|
+
roomTypeId: string | null;
|
|
1866
1639
|
roomUnitId: string | null;
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
children: number;
|
|
1874
|
-
infants: number;
|
|
1875
|
-
mealPlanId: string | null;
|
|
1876
|
-
confirmationCode: string | null;
|
|
1877
|
-
voucherCode: string | null;
|
|
1878
|
-
status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
|
|
1640
|
+
startsOn: string;
|
|
1641
|
+
endsOn: string;
|
|
1642
|
+
status: "draft" | "confirmed" | "cancelled" | "held" | "released";
|
|
1643
|
+
blockReason: string | null;
|
|
1644
|
+
quantity: number;
|
|
1645
|
+
releaseAt: string | null;
|
|
1879
1646
|
notes: string | null;
|
|
1880
1647
|
metadata: {
|
|
1881
1648
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1889,7 +1656,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1889
1656
|
};
|
|
1890
1657
|
};
|
|
1891
1658
|
} & {
|
|
1892
|
-
"/
|
|
1659
|
+
"/room-blocks/:id": {
|
|
1893
1660
|
$delete: {
|
|
1894
1661
|
input: {
|
|
1895
1662
|
param: {
|
|
@@ -1897,7 +1664,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1897
1664
|
};
|
|
1898
1665
|
};
|
|
1899
1666
|
output: {
|
|
1900
|
-
error: string
|
|
1667
|
+
readonly error: `${string} not found`;
|
|
1901
1668
|
};
|
|
1902
1669
|
outputFormat: "json";
|
|
1903
1670
|
status: 404;
|
|
@@ -1915,23 +1682,22 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1915
1682
|
};
|
|
1916
1683
|
};
|
|
1917
1684
|
} & {
|
|
1918
|
-
"/
|
|
1685
|
+
"/room-unit-status-events": {
|
|
1919
1686
|
$get: {
|
|
1920
1687
|
input: {};
|
|
1921
1688
|
output: {
|
|
1922
1689
|
data: {
|
|
1923
1690
|
id: string;
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1691
|
+
roomUnitId: string;
|
|
1692
|
+
statusCode: string;
|
|
1693
|
+
housekeepingStatus: string | null;
|
|
1694
|
+
effectiveFrom: string;
|
|
1695
|
+
effectiveTo: string | null;
|
|
1696
|
+
notes: string | null;
|
|
1697
|
+
metadata: {
|
|
1698
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1699
|
+
} | null;
|
|
1933
1700
|
createdAt: string;
|
|
1934
|
-
updatedAt: string;
|
|
1935
1701
|
}[];
|
|
1936
1702
|
total: number;
|
|
1937
1703
|
limit: number;
|
|
@@ -1942,23 +1708,22 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1942
1708
|
};
|
|
1943
1709
|
};
|
|
1944
1710
|
} & {
|
|
1945
|
-
"/
|
|
1711
|
+
"/room-unit-status-events": {
|
|
1946
1712
|
$post: {
|
|
1947
1713
|
input: {};
|
|
1948
1714
|
output: {
|
|
1949
1715
|
data: {
|
|
1950
1716
|
id: string;
|
|
1951
|
-
date: string;
|
|
1952
1717
|
createdAt: string;
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1718
|
+
notes: string | null;
|
|
1719
|
+
metadata: {
|
|
1720
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1721
|
+
} | null;
|
|
1722
|
+
roomUnitId: string;
|
|
1723
|
+
statusCode: string;
|
|
1724
|
+
housekeepingStatus: string | null;
|
|
1725
|
+
effectiveFrom: string;
|
|
1726
|
+
effectiveTo: string | null;
|
|
1962
1727
|
} | null;
|
|
1963
1728
|
};
|
|
1964
1729
|
outputFormat: "json";
|
|
@@ -1966,7 +1731,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1966
1731
|
};
|
|
1967
1732
|
};
|
|
1968
1733
|
} & {
|
|
1969
|
-
"/
|
|
1734
|
+
"/room-unit-status-events/:id": {
|
|
1970
1735
|
$get: {
|
|
1971
1736
|
input: {
|
|
1972
1737
|
param: {
|
|
@@ -1974,7 +1739,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1974
1739
|
};
|
|
1975
1740
|
};
|
|
1976
1741
|
output: {
|
|
1977
|
-
error: string
|
|
1742
|
+
readonly error: `${string} not found`;
|
|
1978
1743
|
};
|
|
1979
1744
|
outputFormat: "json";
|
|
1980
1745
|
status: 404;
|
|
@@ -1987,17 +1752,16 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1987
1752
|
output: {
|
|
1988
1753
|
data: {
|
|
1989
1754
|
id: string;
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1755
|
+
roomUnitId: string;
|
|
1756
|
+
statusCode: string;
|
|
1757
|
+
housekeepingStatus: string | null;
|
|
1758
|
+
effectiveFrom: string;
|
|
1759
|
+
effectiveTo: string | null;
|
|
1760
|
+
notes: string | null;
|
|
1761
|
+
metadata: {
|
|
1762
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1763
|
+
} | null;
|
|
1999
1764
|
createdAt: string;
|
|
2000
|
-
updatedAt: string;
|
|
2001
1765
|
};
|
|
2002
1766
|
};
|
|
2003
1767
|
outputFormat: "json";
|
|
@@ -2005,7 +1769,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2005
1769
|
};
|
|
2006
1770
|
};
|
|
2007
1771
|
} & {
|
|
2008
|
-
"/
|
|
1772
|
+
"/room-unit-status-events/:id": {
|
|
2009
1773
|
$patch: {
|
|
2010
1774
|
input: {
|
|
2011
1775
|
param: {
|
|
@@ -2013,7 +1777,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2013
1777
|
};
|
|
2014
1778
|
};
|
|
2015
1779
|
output: {
|
|
2016
|
-
error: string
|
|
1780
|
+
readonly error: `${string} not found`;
|
|
2017
1781
|
};
|
|
2018
1782
|
outputFormat: "json";
|
|
2019
1783
|
status: 404;
|
|
@@ -2026,17 +1790,16 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2026
1790
|
output: {
|
|
2027
1791
|
data: {
|
|
2028
1792
|
id: string;
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
1793
|
+
roomUnitId: string;
|
|
1794
|
+
statusCode: string;
|
|
1795
|
+
housekeepingStatus: string | null;
|
|
1796
|
+
effectiveFrom: string;
|
|
1797
|
+
effectiveTo: string | null;
|
|
1798
|
+
notes: string | null;
|
|
1799
|
+
metadata: {
|
|
1800
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1801
|
+
} | null;
|
|
2038
1802
|
createdAt: string;
|
|
2039
|
-
updatedAt: string;
|
|
2040
1803
|
};
|
|
2041
1804
|
};
|
|
2042
1805
|
outputFormat: "json";
|
|
@@ -2044,7 +1807,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2044
1807
|
};
|
|
2045
1808
|
};
|
|
2046
1809
|
} & {
|
|
2047
|
-
"/
|
|
1810
|
+
"/room-unit-status-events/:id": {
|
|
2048
1811
|
$delete: {
|
|
2049
1812
|
input: {
|
|
2050
1813
|
param: {
|
|
@@ -2052,7 +1815,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2052
1815
|
};
|
|
2053
1816
|
};
|
|
2054
1817
|
output: {
|
|
2055
|
-
error: string
|
|
1818
|
+
readonly error: `${string} not found`;
|
|
2056
1819
|
};
|
|
2057
1820
|
outputFormat: "json";
|
|
2058
1821
|
status: 404;
|
|
@@ -2070,7 +1833,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2070
1833
|
};
|
|
2071
1834
|
};
|
|
2072
1835
|
} & {
|
|
2073
|
-
"/
|
|
1836
|
+
"/maintenance-blocks": {
|
|
2074
1837
|
$get: {
|
|
2075
1838
|
input: {};
|
|
2076
1839
|
output: {
|
|
@@ -2081,10 +1844,8 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2081
1844
|
roomUnitId: string | null;
|
|
2082
1845
|
startsOn: string;
|
|
2083
1846
|
endsOn: string;
|
|
2084
|
-
status: "
|
|
2085
|
-
|
|
2086
|
-
quantity: number;
|
|
2087
|
-
releaseAt: string | null;
|
|
1847
|
+
status: "in_progress" | "cancelled" | "open" | "resolved";
|
|
1848
|
+
reason: string | null;
|
|
2088
1849
|
notes: string | null;
|
|
2089
1850
|
metadata: {
|
|
2090
1851
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -2101,27 +1862,25 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2101
1862
|
};
|
|
2102
1863
|
};
|
|
2103
1864
|
} & {
|
|
2104
|
-
"/
|
|
1865
|
+
"/maintenance-blocks": {
|
|
2105
1866
|
$post: {
|
|
2106
1867
|
input: {};
|
|
2107
1868
|
output: {
|
|
2108
1869
|
data: {
|
|
2109
1870
|
id: string;
|
|
2110
|
-
status: "
|
|
2111
|
-
notes: string | null;
|
|
1871
|
+
status: "in_progress" | "cancelled" | "open" | "resolved";
|
|
2112
1872
|
createdAt: string;
|
|
2113
1873
|
updatedAt: string;
|
|
1874
|
+
notes: string | null;
|
|
1875
|
+
reason: string | null;
|
|
2114
1876
|
metadata: {
|
|
2115
1877
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2116
1878
|
} | null;
|
|
2117
|
-
quantity: number;
|
|
2118
1879
|
propertyId: string;
|
|
2119
1880
|
roomTypeId: string | null;
|
|
2120
1881
|
roomUnitId: string | null;
|
|
2121
1882
|
startsOn: string;
|
|
2122
1883
|
endsOn: string;
|
|
2123
|
-
blockReason: string | null;
|
|
2124
|
-
releaseAt: string | null;
|
|
2125
1884
|
} | null;
|
|
2126
1885
|
};
|
|
2127
1886
|
outputFormat: "json";
|
|
@@ -2129,7 +1888,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2129
1888
|
};
|
|
2130
1889
|
};
|
|
2131
1890
|
} & {
|
|
2132
|
-
"/
|
|
1891
|
+
"/maintenance-blocks/:id": {
|
|
2133
1892
|
$get: {
|
|
2134
1893
|
input: {
|
|
2135
1894
|
param: {
|
|
@@ -2137,7 +1896,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2137
1896
|
};
|
|
2138
1897
|
};
|
|
2139
1898
|
output: {
|
|
2140
|
-
error: string
|
|
1899
|
+
readonly error: `${string} not found`;
|
|
2141
1900
|
};
|
|
2142
1901
|
outputFormat: "json";
|
|
2143
1902
|
status: 404;
|
|
@@ -2155,10 +1914,8 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2155
1914
|
roomUnitId: string | null;
|
|
2156
1915
|
startsOn: string;
|
|
2157
1916
|
endsOn: string;
|
|
2158
|
-
status: "
|
|
2159
|
-
|
|
2160
|
-
quantity: number;
|
|
2161
|
-
releaseAt: string | null;
|
|
1917
|
+
status: "in_progress" | "cancelled" | "open" | "resolved";
|
|
1918
|
+
reason: string | null;
|
|
2162
1919
|
notes: string | null;
|
|
2163
1920
|
metadata: {
|
|
2164
1921
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -2172,7 +1929,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2172
1929
|
};
|
|
2173
1930
|
};
|
|
2174
1931
|
} & {
|
|
2175
|
-
"/
|
|
1932
|
+
"/maintenance-blocks/:id": {
|
|
2176
1933
|
$patch: {
|
|
2177
1934
|
input: {
|
|
2178
1935
|
param: {
|
|
@@ -2180,7 +1937,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2180
1937
|
};
|
|
2181
1938
|
};
|
|
2182
1939
|
output: {
|
|
2183
|
-
error: string
|
|
1940
|
+
readonly error: `${string} not found`;
|
|
2184
1941
|
};
|
|
2185
1942
|
outputFormat: "json";
|
|
2186
1943
|
status: 404;
|
|
@@ -2198,10 +1955,8 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2198
1955
|
roomUnitId: string | null;
|
|
2199
1956
|
startsOn: string;
|
|
2200
1957
|
endsOn: string;
|
|
2201
|
-
status: "
|
|
2202
|
-
|
|
2203
|
-
quantity: number;
|
|
2204
|
-
releaseAt: string | null;
|
|
1958
|
+
status: "in_progress" | "cancelled" | "open" | "resolved";
|
|
1959
|
+
reason: string | null;
|
|
2205
1960
|
notes: string | null;
|
|
2206
1961
|
metadata: {
|
|
2207
1962
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -2215,7 +1970,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2215
1970
|
};
|
|
2216
1971
|
};
|
|
2217
1972
|
} & {
|
|
2218
|
-
"/
|
|
1973
|
+
"/maintenance-blocks/:id": {
|
|
2219
1974
|
$delete: {
|
|
2220
1975
|
input: {
|
|
2221
1976
|
param: {
|
|
@@ -2223,7 +1978,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2223
1978
|
};
|
|
2224
1979
|
};
|
|
2225
1980
|
output: {
|
|
2226
|
-
error: string
|
|
1981
|
+
readonly error: `${string} not found`;
|
|
2227
1982
|
};
|
|
2228
1983
|
outputFormat: "json";
|
|
2229
1984
|
status: 404;
|
|
@@ -2241,22 +1996,28 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2241
1996
|
};
|
|
2242
1997
|
};
|
|
2243
1998
|
} & {
|
|
2244
|
-
"/
|
|
1999
|
+
"/housekeeping-tasks": {
|
|
2245
2000
|
$get: {
|
|
2246
2001
|
input: {};
|
|
2247
2002
|
output: {
|
|
2248
2003
|
data: {
|
|
2249
2004
|
id: string;
|
|
2005
|
+
propertyId: string;
|
|
2250
2006
|
roomUnitId: string;
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2007
|
+
stayBookingItemId: string | null;
|
|
2008
|
+
taskType: string;
|
|
2009
|
+
status: "in_progress" | "completed" | "cancelled" | "open";
|
|
2010
|
+
priority: number;
|
|
2011
|
+
dueAt: string | null;
|
|
2012
|
+
startedAt: string | null;
|
|
2013
|
+
completedAt: string | null;
|
|
2014
|
+
assignedTo: string | null;
|
|
2255
2015
|
notes: string | null;
|
|
2256
2016
|
metadata: {
|
|
2257
2017
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2258
2018
|
} | null;
|
|
2259
2019
|
createdAt: string;
|
|
2020
|
+
updatedAt: string;
|
|
2260
2021
|
}[];
|
|
2261
2022
|
total: number;
|
|
2262
2023
|
limit: number;
|
|
@@ -2267,22 +2028,215 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2267
2028
|
};
|
|
2268
2029
|
};
|
|
2269
2030
|
} & {
|
|
2270
|
-
"/
|
|
2031
|
+
"/housekeeping-tasks": {
|
|
2271
2032
|
$post: {
|
|
2272
2033
|
input: {};
|
|
2273
2034
|
output: {
|
|
2274
2035
|
data: {
|
|
2275
2036
|
id: string;
|
|
2276
|
-
|
|
2037
|
+
status: "in_progress" | "completed" | "cancelled" | "open";
|
|
2038
|
+
completedAt: string | null;
|
|
2277
2039
|
createdAt: string;
|
|
2040
|
+
updatedAt: string;
|
|
2041
|
+
notes: string | null;
|
|
2278
2042
|
metadata: {
|
|
2279
2043
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2280
2044
|
} | null;
|
|
2045
|
+
propertyId: string;
|
|
2281
2046
|
roomUnitId: string;
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2047
|
+
stayBookingItemId: string | null;
|
|
2048
|
+
taskType: string;
|
|
2049
|
+
priority: number;
|
|
2050
|
+
dueAt: string | null;
|
|
2051
|
+
startedAt: string | null;
|
|
2052
|
+
assignedTo: string | null;
|
|
2053
|
+
} | null;
|
|
2054
|
+
};
|
|
2055
|
+
outputFormat: "json";
|
|
2056
|
+
status: 201;
|
|
2057
|
+
};
|
|
2058
|
+
};
|
|
2059
|
+
} & {
|
|
2060
|
+
"/housekeeping-tasks/:id": {
|
|
2061
|
+
$get: {
|
|
2062
|
+
input: {
|
|
2063
|
+
param: {
|
|
2064
|
+
id: string;
|
|
2065
|
+
};
|
|
2066
|
+
};
|
|
2067
|
+
output: {
|
|
2068
|
+
readonly error: `${string} not found`;
|
|
2069
|
+
};
|
|
2070
|
+
outputFormat: "json";
|
|
2071
|
+
status: 404;
|
|
2072
|
+
} | {
|
|
2073
|
+
input: {
|
|
2074
|
+
param: {
|
|
2075
|
+
id: string;
|
|
2076
|
+
};
|
|
2077
|
+
};
|
|
2078
|
+
output: {
|
|
2079
|
+
data: {
|
|
2080
|
+
id: string;
|
|
2081
|
+
propertyId: string;
|
|
2082
|
+
roomUnitId: string;
|
|
2083
|
+
stayBookingItemId: string | null;
|
|
2084
|
+
taskType: string;
|
|
2085
|
+
status: "in_progress" | "completed" | "cancelled" | "open";
|
|
2086
|
+
priority: number;
|
|
2087
|
+
dueAt: string | null;
|
|
2088
|
+
startedAt: string | null;
|
|
2089
|
+
completedAt: string | null;
|
|
2090
|
+
assignedTo: string | null;
|
|
2091
|
+
notes: string | null;
|
|
2092
|
+
metadata: {
|
|
2093
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2094
|
+
} | null;
|
|
2095
|
+
createdAt: string;
|
|
2096
|
+
updatedAt: string;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
outputFormat: "json";
|
|
2100
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
} & {
|
|
2104
|
+
"/housekeeping-tasks/:id": {
|
|
2105
|
+
$patch: {
|
|
2106
|
+
input: {
|
|
2107
|
+
param: {
|
|
2108
|
+
id: string;
|
|
2109
|
+
};
|
|
2110
|
+
};
|
|
2111
|
+
output: {
|
|
2112
|
+
readonly error: `${string} not found`;
|
|
2113
|
+
};
|
|
2114
|
+
outputFormat: "json";
|
|
2115
|
+
status: 404;
|
|
2116
|
+
} | {
|
|
2117
|
+
input: {
|
|
2118
|
+
param: {
|
|
2119
|
+
id: string;
|
|
2120
|
+
};
|
|
2121
|
+
};
|
|
2122
|
+
output: {
|
|
2123
|
+
data: {
|
|
2124
|
+
id: string;
|
|
2125
|
+
propertyId: string;
|
|
2126
|
+
roomUnitId: string;
|
|
2127
|
+
stayBookingItemId: string | null;
|
|
2128
|
+
taskType: string;
|
|
2129
|
+
status: "in_progress" | "completed" | "cancelled" | "open";
|
|
2130
|
+
priority: number;
|
|
2131
|
+
dueAt: string | null;
|
|
2132
|
+
startedAt: string | null;
|
|
2133
|
+
completedAt: string | null;
|
|
2134
|
+
assignedTo: string | null;
|
|
2135
|
+
notes: string | null;
|
|
2136
|
+
metadata: {
|
|
2137
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2138
|
+
} | null;
|
|
2139
|
+
createdAt: string;
|
|
2140
|
+
updatedAt: string;
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
outputFormat: "json";
|
|
2144
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
} & {
|
|
2148
|
+
"/housekeeping-tasks/:id": {
|
|
2149
|
+
$delete: {
|
|
2150
|
+
input: {
|
|
2151
|
+
param: {
|
|
2152
|
+
id: string;
|
|
2153
|
+
};
|
|
2154
|
+
};
|
|
2155
|
+
output: {
|
|
2156
|
+
readonly error: `${string} not found`;
|
|
2157
|
+
};
|
|
2158
|
+
outputFormat: "json";
|
|
2159
|
+
status: 404;
|
|
2160
|
+
} | {
|
|
2161
|
+
input: {
|
|
2162
|
+
param: {
|
|
2163
|
+
id: string;
|
|
2164
|
+
};
|
|
2165
|
+
};
|
|
2166
|
+
output: {
|
|
2167
|
+
success: true;
|
|
2168
|
+
};
|
|
2169
|
+
outputFormat: "json";
|
|
2170
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2171
|
+
};
|
|
2172
|
+
};
|
|
2173
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2174
|
+
"/stay-rules": {
|
|
2175
|
+
$get: {
|
|
2176
|
+
input: {};
|
|
2177
|
+
output: {
|
|
2178
|
+
data: {
|
|
2179
|
+
id: string;
|
|
2180
|
+
propertyId: string;
|
|
2181
|
+
ratePlanId: string | null;
|
|
2182
|
+
roomTypeId: string | null;
|
|
2183
|
+
validFrom: string | null;
|
|
2184
|
+
validTo: string | null;
|
|
2185
|
+
minNights: number | null;
|
|
2186
|
+
maxNights: number | null;
|
|
2187
|
+
minAdvanceDays: number | null;
|
|
2188
|
+
maxAdvanceDays: number | null;
|
|
2189
|
+
closedToArrival: boolean;
|
|
2190
|
+
closedToDeparture: boolean;
|
|
2191
|
+
arrivalWeekdays: string[] | null;
|
|
2192
|
+
departureWeekdays: string[] | null;
|
|
2193
|
+
releaseDays: number | null;
|
|
2194
|
+
active: boolean;
|
|
2195
|
+
priority: number;
|
|
2196
|
+
notes: string | null;
|
|
2197
|
+
metadata: {
|
|
2198
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2199
|
+
} | null;
|
|
2200
|
+
createdAt: string;
|
|
2201
|
+
updatedAt: string;
|
|
2202
|
+
}[];
|
|
2203
|
+
total: number;
|
|
2204
|
+
limit: number;
|
|
2205
|
+
offset: number;
|
|
2206
|
+
};
|
|
2207
|
+
outputFormat: "json";
|
|
2208
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2209
|
+
};
|
|
2210
|
+
};
|
|
2211
|
+
} & {
|
|
2212
|
+
"/stay-rules": {
|
|
2213
|
+
$post: {
|
|
2214
|
+
input: {};
|
|
2215
|
+
output: {
|
|
2216
|
+
data: {
|
|
2217
|
+
id: string;
|
|
2218
|
+
createdAt: string;
|
|
2219
|
+
updatedAt: string;
|
|
2220
|
+
notes: string | null;
|
|
2221
|
+
metadata: {
|
|
2222
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2223
|
+
} | null;
|
|
2224
|
+
active: boolean;
|
|
2225
|
+
validFrom: string | null;
|
|
2226
|
+
validTo: string | null;
|
|
2227
|
+
propertyId: string;
|
|
2228
|
+
roomTypeId: string | null;
|
|
2229
|
+
ratePlanId: string | null;
|
|
2230
|
+
priority: number;
|
|
2231
|
+
minNights: number | null;
|
|
2232
|
+
maxNights: number | null;
|
|
2233
|
+
minAdvanceDays: number | null;
|
|
2234
|
+
maxAdvanceDays: number | null;
|
|
2235
|
+
closedToArrival: boolean;
|
|
2236
|
+
closedToDeparture: boolean;
|
|
2237
|
+
arrivalWeekdays: string[] | null;
|
|
2238
|
+
departureWeekdays: string[] | null;
|
|
2239
|
+
releaseDays: number | null;
|
|
2286
2240
|
} | null;
|
|
2287
2241
|
};
|
|
2288
2242
|
outputFormat: "json";
|
|
@@ -2290,7 +2244,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2290
2244
|
};
|
|
2291
2245
|
};
|
|
2292
2246
|
} & {
|
|
2293
|
-
"/
|
|
2247
|
+
"/stay-rules/:id": {
|
|
2294
2248
|
$get: {
|
|
2295
2249
|
input: {
|
|
2296
2250
|
param: {
|
|
@@ -2298,7 +2252,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2298
2252
|
};
|
|
2299
2253
|
};
|
|
2300
2254
|
output: {
|
|
2301
|
-
error: string
|
|
2255
|
+
readonly error: `${string} not found`;
|
|
2302
2256
|
};
|
|
2303
2257
|
outputFormat: "json";
|
|
2304
2258
|
status: 404;
|
|
@@ -2311,16 +2265,28 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2311
2265
|
output: {
|
|
2312
2266
|
data: {
|
|
2313
2267
|
id: string;
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2268
|
+
propertyId: string;
|
|
2269
|
+
ratePlanId: string | null;
|
|
2270
|
+
roomTypeId: string | null;
|
|
2271
|
+
validFrom: string | null;
|
|
2272
|
+
validTo: string | null;
|
|
2273
|
+
minNights: number | null;
|
|
2274
|
+
maxNights: number | null;
|
|
2275
|
+
minAdvanceDays: number | null;
|
|
2276
|
+
maxAdvanceDays: number | null;
|
|
2277
|
+
closedToArrival: boolean;
|
|
2278
|
+
closedToDeparture: boolean;
|
|
2279
|
+
arrivalWeekdays: string[] | null;
|
|
2280
|
+
departureWeekdays: string[] | null;
|
|
2281
|
+
releaseDays: number | null;
|
|
2282
|
+
active: boolean;
|
|
2283
|
+
priority: number;
|
|
2319
2284
|
notes: string | null;
|
|
2320
2285
|
metadata: {
|
|
2321
2286
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2322
2287
|
} | null;
|
|
2323
2288
|
createdAt: string;
|
|
2289
|
+
updatedAt: string;
|
|
2324
2290
|
};
|
|
2325
2291
|
};
|
|
2326
2292
|
outputFormat: "json";
|
|
@@ -2328,7 +2294,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2328
2294
|
};
|
|
2329
2295
|
};
|
|
2330
2296
|
} & {
|
|
2331
|
-
"/
|
|
2297
|
+
"/stay-rules/:id": {
|
|
2332
2298
|
$patch: {
|
|
2333
2299
|
input: {
|
|
2334
2300
|
param: {
|
|
@@ -2336,7 +2302,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2336
2302
|
};
|
|
2337
2303
|
};
|
|
2338
2304
|
output: {
|
|
2339
|
-
error: string
|
|
2305
|
+
readonly error: `${string} not found`;
|
|
2340
2306
|
};
|
|
2341
2307
|
outputFormat: "json";
|
|
2342
2308
|
status: 404;
|
|
@@ -2349,16 +2315,28 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2349
2315
|
output: {
|
|
2350
2316
|
data: {
|
|
2351
2317
|
id: string;
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2318
|
+
propertyId: string;
|
|
2319
|
+
ratePlanId: string | null;
|
|
2320
|
+
roomTypeId: string | null;
|
|
2321
|
+
validFrom: string | null;
|
|
2322
|
+
validTo: string | null;
|
|
2323
|
+
minNights: number | null;
|
|
2324
|
+
maxNights: number | null;
|
|
2325
|
+
minAdvanceDays: number | null;
|
|
2326
|
+
maxAdvanceDays: number | null;
|
|
2327
|
+
closedToArrival: boolean;
|
|
2328
|
+
closedToDeparture: boolean;
|
|
2329
|
+
arrivalWeekdays: string[] | null;
|
|
2330
|
+
departureWeekdays: string[] | null;
|
|
2331
|
+
releaseDays: number | null;
|
|
2332
|
+
active: boolean;
|
|
2333
|
+
priority: number;
|
|
2357
2334
|
notes: string | null;
|
|
2358
2335
|
metadata: {
|
|
2359
2336
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2360
2337
|
} | null;
|
|
2361
2338
|
createdAt: string;
|
|
2339
|
+
updatedAt: string;
|
|
2362
2340
|
};
|
|
2363
2341
|
};
|
|
2364
2342
|
outputFormat: "json";
|
|
@@ -2366,7 +2344,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2366
2344
|
};
|
|
2367
2345
|
};
|
|
2368
2346
|
} & {
|
|
2369
|
-
"/
|
|
2347
|
+
"/stay-rules/:id": {
|
|
2370
2348
|
$delete: {
|
|
2371
2349
|
input: {
|
|
2372
2350
|
param: {
|
|
@@ -2374,7 +2352,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2374
2352
|
};
|
|
2375
2353
|
};
|
|
2376
2354
|
output: {
|
|
2377
|
-
error: string
|
|
2355
|
+
readonly error: `${string} not found`;
|
|
2378
2356
|
};
|
|
2379
2357
|
outputFormat: "json";
|
|
2380
2358
|
status: 404;
|
|
@@ -2392,19 +2370,28 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2392
2370
|
};
|
|
2393
2371
|
};
|
|
2394
2372
|
} & {
|
|
2395
|
-
"/
|
|
2373
|
+
"/stay-booking-items": {
|
|
2396
2374
|
$get: {
|
|
2397
2375
|
input: {};
|
|
2398
2376
|
output: {
|
|
2399
2377
|
data: {
|
|
2400
2378
|
id: string;
|
|
2379
|
+
bookingItemId: string;
|
|
2401
2380
|
propertyId: string;
|
|
2402
|
-
roomTypeId: string
|
|
2381
|
+
roomTypeId: string;
|
|
2403
2382
|
roomUnitId: string | null;
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2383
|
+
ratePlanId: string;
|
|
2384
|
+
checkInDate: string;
|
|
2385
|
+
checkOutDate: string;
|
|
2386
|
+
nightCount: number;
|
|
2387
|
+
roomCount: number;
|
|
2388
|
+
adults: number;
|
|
2389
|
+
children: number;
|
|
2390
|
+
infants: number;
|
|
2391
|
+
mealPlanId: string | null;
|
|
2392
|
+
confirmationCode: string | null;
|
|
2393
|
+
voucherCode: string | null;
|
|
2394
|
+
status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
|
|
2408
2395
|
notes: string | null;
|
|
2409
2396
|
metadata: {
|
|
2410
2397
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -2421,25 +2408,34 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2421
2408
|
};
|
|
2422
2409
|
};
|
|
2423
2410
|
} & {
|
|
2424
|
-
"/
|
|
2411
|
+
"/stay-booking-items": {
|
|
2425
2412
|
$post: {
|
|
2426
2413
|
input: {};
|
|
2427
2414
|
output: {
|
|
2428
2415
|
data: {
|
|
2429
2416
|
id: string;
|
|
2430
|
-
status: "
|
|
2431
|
-
notes: string | null;
|
|
2417
|
+
status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
|
|
2432
2418
|
createdAt: string;
|
|
2433
2419
|
updatedAt: string;
|
|
2434
|
-
|
|
2420
|
+
notes: string | null;
|
|
2435
2421
|
metadata: {
|
|
2436
2422
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2437
2423
|
} | null;
|
|
2424
|
+
bookingItemId: string;
|
|
2438
2425
|
propertyId: string;
|
|
2439
|
-
roomTypeId: string
|
|
2426
|
+
roomTypeId: string;
|
|
2427
|
+
mealPlanId: string | null;
|
|
2428
|
+
ratePlanId: string;
|
|
2440
2429
|
roomUnitId: string | null;
|
|
2441
|
-
|
|
2442
|
-
|
|
2430
|
+
checkInDate: string;
|
|
2431
|
+
checkOutDate: string;
|
|
2432
|
+
nightCount: number;
|
|
2433
|
+
roomCount: number;
|
|
2434
|
+
adults: number;
|
|
2435
|
+
children: number;
|
|
2436
|
+
infants: number;
|
|
2437
|
+
confirmationCode: string | null;
|
|
2438
|
+
voucherCode: string | null;
|
|
2443
2439
|
} | null;
|
|
2444
2440
|
};
|
|
2445
2441
|
outputFormat: "json";
|
|
@@ -2447,7 +2443,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2447
2443
|
};
|
|
2448
2444
|
};
|
|
2449
2445
|
} & {
|
|
2450
|
-
"/
|
|
2446
|
+
"/stay-booking-items/:id": {
|
|
2451
2447
|
$get: {
|
|
2452
2448
|
input: {
|
|
2453
2449
|
param: {
|
|
@@ -2455,7 +2451,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2455
2451
|
};
|
|
2456
2452
|
};
|
|
2457
2453
|
output: {
|
|
2458
|
-
error: string
|
|
2454
|
+
readonly error: `${string} not found`;
|
|
2459
2455
|
};
|
|
2460
2456
|
outputFormat: "json";
|
|
2461
2457
|
status: 404;
|
|
@@ -2468,13 +2464,22 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2468
2464
|
output: {
|
|
2469
2465
|
data: {
|
|
2470
2466
|
id: string;
|
|
2467
|
+
bookingItemId: string;
|
|
2471
2468
|
propertyId: string;
|
|
2472
|
-
roomTypeId: string
|
|
2469
|
+
roomTypeId: string;
|
|
2473
2470
|
roomUnitId: string | null;
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2471
|
+
ratePlanId: string;
|
|
2472
|
+
checkInDate: string;
|
|
2473
|
+
checkOutDate: string;
|
|
2474
|
+
nightCount: number;
|
|
2475
|
+
roomCount: number;
|
|
2476
|
+
adults: number;
|
|
2477
|
+
children: number;
|
|
2478
|
+
infants: number;
|
|
2479
|
+
mealPlanId: string | null;
|
|
2480
|
+
confirmationCode: string | null;
|
|
2481
|
+
voucherCode: string | null;
|
|
2482
|
+
status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
|
|
2478
2483
|
notes: string | null;
|
|
2479
2484
|
metadata: {
|
|
2480
2485
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -2488,7 +2493,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2488
2493
|
};
|
|
2489
2494
|
};
|
|
2490
2495
|
} & {
|
|
2491
|
-
"/
|
|
2496
|
+
"/stay-booking-items/:id": {
|
|
2492
2497
|
$patch: {
|
|
2493
2498
|
input: {
|
|
2494
2499
|
param: {
|
|
@@ -2496,7 +2501,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2496
2501
|
};
|
|
2497
2502
|
};
|
|
2498
2503
|
output: {
|
|
2499
|
-
error: string
|
|
2504
|
+
readonly error: `${string} not found`;
|
|
2500
2505
|
};
|
|
2501
2506
|
outputFormat: "json";
|
|
2502
2507
|
status: 404;
|
|
@@ -2509,13 +2514,22 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2509
2514
|
output: {
|
|
2510
2515
|
data: {
|
|
2511
2516
|
id: string;
|
|
2517
|
+
bookingItemId: string;
|
|
2512
2518
|
propertyId: string;
|
|
2513
|
-
roomTypeId: string
|
|
2519
|
+
roomTypeId: string;
|
|
2514
2520
|
roomUnitId: string | null;
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2521
|
+
ratePlanId: string;
|
|
2522
|
+
checkInDate: string;
|
|
2523
|
+
checkOutDate: string;
|
|
2524
|
+
nightCount: number;
|
|
2525
|
+
roomCount: number;
|
|
2526
|
+
adults: number;
|
|
2527
|
+
children: number;
|
|
2528
|
+
infants: number;
|
|
2529
|
+
mealPlanId: string | null;
|
|
2530
|
+
confirmationCode: string | null;
|
|
2531
|
+
voucherCode: string | null;
|
|
2532
|
+
status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
|
|
2519
2533
|
notes: string | null;
|
|
2520
2534
|
metadata: {
|
|
2521
2535
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -2529,7 +2543,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2529
2543
|
};
|
|
2530
2544
|
};
|
|
2531
2545
|
} & {
|
|
2532
|
-
"/
|
|
2546
|
+
"/stay-booking-items/:id": {
|
|
2533
2547
|
$delete: {
|
|
2534
2548
|
input: {
|
|
2535
2549
|
param: {
|
|
@@ -2537,7 +2551,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2537
2551
|
};
|
|
2538
2552
|
};
|
|
2539
2553
|
output: {
|
|
2540
|
-
error: string
|
|
2554
|
+
readonly error: `${string} not found`;
|
|
2541
2555
|
};
|
|
2542
2556
|
outputFormat: "json";
|
|
2543
2557
|
status: 404;
|
|
@@ -2555,26 +2569,21 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2555
2569
|
};
|
|
2556
2570
|
};
|
|
2557
2571
|
} & {
|
|
2558
|
-
"/
|
|
2572
|
+
"/stay-daily-rates": {
|
|
2559
2573
|
$get: {
|
|
2560
2574
|
input: {};
|
|
2561
2575
|
output: {
|
|
2562
2576
|
data: {
|
|
2563
2577
|
id: string;
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
assignedTo: string | null;
|
|
2574
|
-
notes: string | null;
|
|
2575
|
-
metadata: {
|
|
2576
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2577
|
-
} | null;
|
|
2578
|
+
stayBookingItemId: string;
|
|
2579
|
+
date: string;
|
|
2580
|
+
sellCurrency: string;
|
|
2581
|
+
sellAmountCents: number | null;
|
|
2582
|
+
costCurrency: string | null;
|
|
2583
|
+
costAmountCents: number | null;
|
|
2584
|
+
taxAmountCents: number | null;
|
|
2585
|
+
feeAmountCents: number | null;
|
|
2586
|
+
commissionAmountCents: number | null;
|
|
2578
2587
|
createdAt: string;
|
|
2579
2588
|
updatedAt: string;
|
|
2580
2589
|
}[];
|
|
@@ -2587,28 +2596,23 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2587
2596
|
};
|
|
2588
2597
|
};
|
|
2589
2598
|
} & {
|
|
2590
|
-
"/
|
|
2599
|
+
"/stay-daily-rates": {
|
|
2591
2600
|
$post: {
|
|
2592
2601
|
input: {};
|
|
2593
2602
|
output: {
|
|
2594
2603
|
data: {
|
|
2595
2604
|
id: string;
|
|
2596
|
-
|
|
2597
|
-
|
|
2605
|
+
date: string;
|
|
2606
|
+
sellCurrency: string;
|
|
2607
|
+
sellAmountCents: number | null;
|
|
2608
|
+
costAmountCents: number | null;
|
|
2598
2609
|
createdAt: string;
|
|
2599
2610
|
updatedAt: string;
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
priority: number;
|
|
2606
|
-
roomUnitId: string;
|
|
2607
|
-
stayBookingItemId: string | null;
|
|
2608
|
-
taskType: string;
|
|
2609
|
-
dueAt: string | null;
|
|
2610
|
-
startedAt: string | null;
|
|
2611
|
-
assignedTo: string | null;
|
|
2611
|
+
costCurrency: string | null;
|
|
2612
|
+
stayBookingItemId: string;
|
|
2613
|
+
taxAmountCents: number | null;
|
|
2614
|
+
feeAmountCents: number | null;
|
|
2615
|
+
commissionAmountCents: number | null;
|
|
2612
2616
|
} | null;
|
|
2613
2617
|
};
|
|
2614
2618
|
outputFormat: "json";
|
|
@@ -2616,7 +2620,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2616
2620
|
};
|
|
2617
2621
|
};
|
|
2618
2622
|
} & {
|
|
2619
|
-
"/
|
|
2623
|
+
"/stay-daily-rates/:id": {
|
|
2620
2624
|
$get: {
|
|
2621
2625
|
input: {
|
|
2622
2626
|
param: {
|
|
@@ -2624,7 +2628,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2624
2628
|
};
|
|
2625
2629
|
};
|
|
2626
2630
|
output: {
|
|
2627
|
-
error: string
|
|
2631
|
+
readonly error: `${string} not found`;
|
|
2628
2632
|
};
|
|
2629
2633
|
outputFormat: "json";
|
|
2630
2634
|
status: 404;
|
|
@@ -2637,20 +2641,15 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2637
2641
|
output: {
|
|
2638
2642
|
data: {
|
|
2639
2643
|
id: string;
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
assignedTo: string | null;
|
|
2650
|
-
notes: string | null;
|
|
2651
|
-
metadata: {
|
|
2652
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2653
|
-
} | null;
|
|
2644
|
+
stayBookingItemId: string;
|
|
2645
|
+
date: string;
|
|
2646
|
+
sellCurrency: string;
|
|
2647
|
+
sellAmountCents: number | null;
|
|
2648
|
+
costCurrency: string | null;
|
|
2649
|
+
costAmountCents: number | null;
|
|
2650
|
+
taxAmountCents: number | null;
|
|
2651
|
+
feeAmountCents: number | null;
|
|
2652
|
+
commissionAmountCents: number | null;
|
|
2654
2653
|
createdAt: string;
|
|
2655
2654
|
updatedAt: string;
|
|
2656
2655
|
};
|
|
@@ -2660,7 +2659,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2660
2659
|
};
|
|
2661
2660
|
};
|
|
2662
2661
|
} & {
|
|
2663
|
-
"/
|
|
2662
|
+
"/stay-daily-rates/:id": {
|
|
2664
2663
|
$patch: {
|
|
2665
2664
|
input: {
|
|
2666
2665
|
param: {
|
|
@@ -2668,7 +2667,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2668
2667
|
};
|
|
2669
2668
|
};
|
|
2670
2669
|
output: {
|
|
2671
|
-
error: string
|
|
2670
|
+
readonly error: `${string} not found`;
|
|
2672
2671
|
};
|
|
2673
2672
|
outputFormat: "json";
|
|
2674
2673
|
status: 404;
|
|
@@ -2681,20 +2680,15 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2681
2680
|
output: {
|
|
2682
2681
|
data: {
|
|
2683
2682
|
id: string;
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
assignedTo: string | null;
|
|
2694
|
-
notes: string | null;
|
|
2695
|
-
metadata: {
|
|
2696
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2697
|
-
} | null;
|
|
2683
|
+
stayBookingItemId: string;
|
|
2684
|
+
date: string;
|
|
2685
|
+
sellCurrency: string;
|
|
2686
|
+
sellAmountCents: number | null;
|
|
2687
|
+
costCurrency: string | null;
|
|
2688
|
+
costAmountCents: number | null;
|
|
2689
|
+
taxAmountCents: number | null;
|
|
2690
|
+
feeAmountCents: number | null;
|
|
2691
|
+
commissionAmountCents: number | null;
|
|
2698
2692
|
createdAt: string;
|
|
2699
2693
|
updatedAt: string;
|
|
2700
2694
|
};
|
|
@@ -2704,7 +2698,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2704
2698
|
};
|
|
2705
2699
|
};
|
|
2706
2700
|
} & {
|
|
2707
|
-
"/
|
|
2701
|
+
"/stay-daily-rates/:id": {
|
|
2708
2702
|
$delete: {
|
|
2709
2703
|
input: {
|
|
2710
2704
|
param: {
|
|
@@ -2712,7 +2706,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2712
2706
|
};
|
|
2713
2707
|
};
|
|
2714
2708
|
output: {
|
|
2715
|
-
error: string
|
|
2709
|
+
readonly error: `${string} not found`;
|
|
2716
2710
|
};
|
|
2717
2711
|
outputFormat: "json";
|
|
2718
2712
|
status: 404;
|
|
@@ -2767,9 +2761,9 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2767
2761
|
output: {
|
|
2768
2762
|
data: {
|
|
2769
2763
|
id: string;
|
|
2770
|
-
notes: string | null;
|
|
2771
2764
|
createdAt: string;
|
|
2772
2765
|
updatedAt: string;
|
|
2766
|
+
notes: string | null;
|
|
2773
2767
|
metadata: {
|
|
2774
2768
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2775
2769
|
} | null;
|
|
@@ -2797,7 +2791,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2797
2791
|
};
|
|
2798
2792
|
};
|
|
2799
2793
|
output: {
|
|
2800
|
-
error: string
|
|
2794
|
+
readonly error: `${string} not found`;
|
|
2801
2795
|
};
|
|
2802
2796
|
outputFormat: "json";
|
|
2803
2797
|
status: 404;
|
|
@@ -2840,7 +2834,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2840
2834
|
};
|
|
2841
2835
|
};
|
|
2842
2836
|
output: {
|
|
2843
|
-
error: string
|
|
2837
|
+
readonly error: `${string} not found`;
|
|
2844
2838
|
};
|
|
2845
2839
|
outputFormat: "json";
|
|
2846
2840
|
status: 404;
|
|
@@ -2883,7 +2877,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2883
2877
|
};
|
|
2884
2878
|
};
|
|
2885
2879
|
output: {
|
|
2886
|
-
error: string
|
|
2880
|
+
readonly error: `${string} not found`;
|
|
2887
2881
|
};
|
|
2888
2882
|
outputFormat: "json";
|
|
2889
2883
|
status: 404;
|
|
@@ -2932,8 +2926,8 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2932
2926
|
output: {
|
|
2933
2927
|
data: {
|
|
2934
2928
|
id: string;
|
|
2935
|
-
notes: string | null;
|
|
2936
2929
|
createdAt: string;
|
|
2930
|
+
notes: string | null;
|
|
2937
2931
|
metadata: {
|
|
2938
2932
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2939
2933
|
} | null;
|
|
@@ -2956,7 +2950,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2956
2950
|
};
|
|
2957
2951
|
};
|
|
2958
2952
|
output: {
|
|
2959
|
-
error: string
|
|
2953
|
+
readonly error: `${string} not found`;
|
|
2960
2954
|
};
|
|
2961
2955
|
outputFormat: "json";
|
|
2962
2956
|
status: 404;
|
|
@@ -2993,7 +2987,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2993
2987
|
};
|
|
2994
2988
|
};
|
|
2995
2989
|
output: {
|
|
2996
|
-
error: string
|
|
2990
|
+
readonly error: `${string} not found`;
|
|
2997
2991
|
};
|
|
2998
2992
|
outputFormat: "json";
|
|
2999
2993
|
status: 404;
|
|
@@ -3030,7 +3024,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3030
3024
|
};
|
|
3031
3025
|
};
|
|
3032
3026
|
output: {
|
|
3033
|
-
error: string
|
|
3027
|
+
readonly error: `${string} not found`;
|
|
3034
3028
|
};
|
|
3035
3029
|
outputFormat: "json";
|
|
3036
3030
|
status: 404;
|
|
@@ -3085,11 +3079,11 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3085
3079
|
output: {
|
|
3086
3080
|
data: {
|
|
3087
3081
|
id: string;
|
|
3088
|
-
notes: string | null;
|
|
3089
|
-
createdAt: string;
|
|
3090
|
-
updatedAt: string;
|
|
3091
3082
|
sellAmountCents: number;
|
|
3092
3083
|
costAmountCents: number | null;
|
|
3084
|
+
createdAt: string;
|
|
3085
|
+
updatedAt: string;
|
|
3086
|
+
notes: string | null;
|
|
3093
3087
|
metadata: {
|
|
3094
3088
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
3095
3089
|
} | null;
|
|
@@ -3115,7 +3109,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3115
3109
|
};
|
|
3116
3110
|
};
|
|
3117
3111
|
output: {
|
|
3118
|
-
error: string
|
|
3112
|
+
readonly error: `${string} not found`;
|
|
3119
3113
|
};
|
|
3120
3114
|
outputFormat: "json";
|
|
3121
3115
|
status: 404;
|
|
@@ -3158,7 +3152,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3158
3152
|
};
|
|
3159
3153
|
};
|
|
3160
3154
|
output: {
|
|
3161
|
-
error: string
|
|
3155
|
+
readonly error: `${string} not found`;
|
|
3162
3156
|
};
|
|
3163
3157
|
outputFormat: "json";
|
|
3164
3158
|
status: 404;
|
|
@@ -3201,7 +3195,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3201
3195
|
};
|
|
3202
3196
|
};
|
|
3203
3197
|
output: {
|
|
3204
|
-
error: string
|
|
3198
|
+
readonly error: `${string} not found`;
|
|
3205
3199
|
};
|
|
3206
3200
|
outputFormat: "json";
|
|
3207
3201
|
status: 404;
|
|
@@ -3253,9 +3247,9 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3253
3247
|
data: {
|
|
3254
3248
|
id: string;
|
|
3255
3249
|
status: "open" | "closed" | "transferred" | "void";
|
|
3256
|
-
notes: string | null;
|
|
3257
3250
|
createdAt: string;
|
|
3258
3251
|
updatedAt: string;
|
|
3252
|
+
notes: string | null;
|
|
3259
3253
|
metadata: {
|
|
3260
3254
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
3261
3255
|
} | null;
|
|
@@ -3278,7 +3272,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3278
3272
|
};
|
|
3279
3273
|
};
|
|
3280
3274
|
output: {
|
|
3281
|
-
error: string
|
|
3275
|
+
readonly error: `${string} not found`;
|
|
3282
3276
|
};
|
|
3283
3277
|
outputFormat: "json";
|
|
3284
3278
|
status: 404;
|
|
@@ -3317,7 +3311,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3317
3311
|
};
|
|
3318
3312
|
};
|
|
3319
3313
|
output: {
|
|
3320
|
-
error: string
|
|
3314
|
+
readonly error: `${string} not found`;
|
|
3321
3315
|
};
|
|
3322
3316
|
outputFormat: "json";
|
|
3323
3317
|
status: 404;
|
|
@@ -3356,7 +3350,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3356
3350
|
};
|
|
3357
3351
|
};
|
|
3358
3352
|
output: {
|
|
3359
|
-
error: string
|
|
3353
|
+
readonly error: `${string} not found`;
|
|
3360
3354
|
};
|
|
3361
3355
|
outputFormat: "json";
|
|
3362
3356
|
status: 404;
|
|
@@ -3411,9 +3405,9 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3411
3405
|
output: {
|
|
3412
3406
|
data: {
|
|
3413
3407
|
id: string;
|
|
3414
|
-
notes: string | null;
|
|
3415
3408
|
createdAt: string;
|
|
3416
3409
|
updatedAt: string;
|
|
3410
|
+
notes: string | null;
|
|
3417
3411
|
metadata: {
|
|
3418
3412
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
3419
3413
|
} | null;
|
|
@@ -3441,7 +3435,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3441
3435
|
};
|
|
3442
3436
|
};
|
|
3443
3437
|
output: {
|
|
3444
|
-
error: string
|
|
3438
|
+
readonly error: `${string} not found`;
|
|
3445
3439
|
};
|
|
3446
3440
|
outputFormat: "json";
|
|
3447
3441
|
status: 404;
|
|
@@ -3484,7 +3478,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3484
3478
|
};
|
|
3485
3479
|
};
|
|
3486
3480
|
output: {
|
|
3487
|
-
error: string
|
|
3481
|
+
readonly error: `${string} not found`;
|
|
3488
3482
|
};
|
|
3489
3483
|
outputFormat: "json";
|
|
3490
3484
|
status: 404;
|
|
@@ -3527,7 +3521,7 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3527
3521
|
};
|
|
3528
3522
|
};
|
|
3529
3523
|
output: {
|
|
3530
|
-
error: string
|
|
3524
|
+
readonly error: `${string} not found`;
|
|
3531
3525
|
};
|
|
3532
3526
|
outputFormat: "json";
|
|
3533
3527
|
status: 404;
|
|
@@ -3544,7 +3538,6 @@ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3544
3538
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3545
3539
|
};
|
|
3546
3540
|
};
|
|
3547
|
-
}, "/", "/
|
|
3541
|
+
}, "/">, "/">, "/", "/">;
|
|
3548
3542
|
export type HospitalityRoutes = typeof hospitalityRoutes;
|
|
3549
|
-
export {};
|
|
3550
3543
|
//# sourceMappingURL=routes.d.ts.map
|