@voyantjs/hospitality 0.1.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.
@@ -0,0 +1,3550 @@
1
+ import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
2
+ type Env = {
3
+ Variables: {
4
+ db: PostgresJsDatabase;
5
+ userId?: string;
6
+ };
7
+ };
8
+ export declare const hospitalityRoutes: import("hono/hono-base").HonoBase<Env, {
9
+ "/room-types": {
10
+ $get: {
11
+ input: {};
12
+ output: {
13
+ data: {
14
+ id: string;
15
+ propertyId: string;
16
+ code: string | null;
17
+ name: string;
18
+ description: string | null;
19
+ inventoryMode: "virtual" | "pooled" | "serialized";
20
+ roomClass: string | null;
21
+ maxAdults: number | null;
22
+ maxChildren: number | null;
23
+ maxInfants: number | null;
24
+ standardOccupancy: number | null;
25
+ maxOccupancy: number | null;
26
+ minOccupancy: number | null;
27
+ bedroomCount: number | null;
28
+ bathroomCount: number | null;
29
+ areaValue: number | null;
30
+ areaUnit: string | null;
31
+ accessibilityNotes: string | null;
32
+ smokingAllowed: boolean;
33
+ active: boolean;
34
+ sortOrder: number;
35
+ metadata: {
36
+ [x: string]: import("hono/utils/types").JSONValue;
37
+ } | null;
38
+ createdAt: string;
39
+ updatedAt: string;
40
+ }[];
41
+ total: number;
42
+ limit: number;
43
+ offset: number;
44
+ };
45
+ outputFormat: "json";
46
+ status: import("hono/utils/http-status").ContentfulStatusCode;
47
+ };
48
+ };
49
+ } & {
50
+ "/room-types": {
51
+ $post: {
52
+ input: {};
53
+ output: {
54
+ data: {
55
+ id: string;
56
+ name: string;
57
+ createdAt: string;
58
+ updatedAt: string;
59
+ metadata: {
60
+ [x: string]: import("hono/utils/types").JSONValue;
61
+ } | null;
62
+ description: string | null;
63
+ active: boolean;
64
+ code: string | null;
65
+ sortOrder: number;
66
+ propertyId: string;
67
+ inventoryMode: "virtual" | "pooled" | "serialized";
68
+ roomClass: string | null;
69
+ maxAdults: number | null;
70
+ maxChildren: number | null;
71
+ maxInfants: number | null;
72
+ standardOccupancy: number | null;
73
+ maxOccupancy: number | null;
74
+ minOccupancy: number | null;
75
+ bedroomCount: number | null;
76
+ bathroomCount: number | null;
77
+ areaValue: number | null;
78
+ areaUnit: string | null;
79
+ accessibilityNotes: string | null;
80
+ smokingAllowed: boolean;
81
+ } | null;
82
+ };
83
+ outputFormat: "json";
84
+ status: 201;
85
+ };
86
+ };
87
+ } & {
88
+ "/room-types/:id": {
89
+ $get: {
90
+ input: {
91
+ param: {
92
+ id: string;
93
+ };
94
+ };
95
+ output: {
96
+ error: string;
97
+ };
98
+ outputFormat: "json";
99
+ status: 404;
100
+ } | {
101
+ input: {
102
+ param: {
103
+ id: string;
104
+ };
105
+ };
106
+ output: {
107
+ data: {
108
+ id: string;
109
+ propertyId: string;
110
+ code: string | null;
111
+ name: string;
112
+ description: string | null;
113
+ inventoryMode: "virtual" | "pooled" | "serialized";
114
+ roomClass: string | null;
115
+ maxAdults: number | null;
116
+ maxChildren: number | null;
117
+ maxInfants: number | null;
118
+ standardOccupancy: number | null;
119
+ maxOccupancy: number | null;
120
+ minOccupancy: number | null;
121
+ bedroomCount: number | null;
122
+ bathroomCount: number | null;
123
+ areaValue: number | null;
124
+ areaUnit: string | null;
125
+ accessibilityNotes: string | null;
126
+ smokingAllowed: boolean;
127
+ active: boolean;
128
+ sortOrder: number;
129
+ metadata: {
130
+ [x: string]: import("hono/utils/types").JSONValue;
131
+ } | null;
132
+ createdAt: string;
133
+ updatedAt: string;
134
+ };
135
+ };
136
+ outputFormat: "json";
137
+ status: import("hono/utils/http-status").ContentfulStatusCode;
138
+ };
139
+ };
140
+ } & {
141
+ "/room-types/:id": {
142
+ $patch: {
143
+ input: {
144
+ param: {
145
+ id: string;
146
+ };
147
+ };
148
+ output: {
149
+ error: string;
150
+ };
151
+ outputFormat: "json";
152
+ status: 404;
153
+ } | {
154
+ input: {
155
+ param: {
156
+ id: string;
157
+ };
158
+ };
159
+ output: {
160
+ data: {
161
+ id: string;
162
+ propertyId: string;
163
+ code: string | null;
164
+ name: string;
165
+ description: string | null;
166
+ inventoryMode: "virtual" | "pooled" | "serialized";
167
+ roomClass: string | null;
168
+ maxAdults: number | null;
169
+ maxChildren: number | null;
170
+ maxInfants: number | null;
171
+ standardOccupancy: number | null;
172
+ maxOccupancy: number | null;
173
+ minOccupancy: number | null;
174
+ bedroomCount: number | null;
175
+ bathroomCount: number | null;
176
+ areaValue: number | null;
177
+ areaUnit: string | null;
178
+ accessibilityNotes: string | null;
179
+ smokingAllowed: boolean;
180
+ active: boolean;
181
+ sortOrder: number;
182
+ metadata: {
183
+ [x: string]: import("hono/utils/types").JSONValue;
184
+ } | null;
185
+ createdAt: string;
186
+ updatedAt: string;
187
+ };
188
+ };
189
+ outputFormat: "json";
190
+ status: import("hono/utils/http-status").ContentfulStatusCode;
191
+ };
192
+ };
193
+ } & {
194
+ "/room-types/:id": {
195
+ $delete: {
196
+ input: {
197
+ param: {
198
+ id: string;
199
+ };
200
+ };
201
+ output: {
202
+ error: string;
203
+ };
204
+ outputFormat: "json";
205
+ status: 404;
206
+ } | {
207
+ input: {
208
+ param: {
209
+ id: string;
210
+ };
211
+ };
212
+ output: {
213
+ success: true;
214
+ };
215
+ outputFormat: "json";
216
+ status: import("hono/utils/http-status").ContentfulStatusCode;
217
+ };
218
+ };
219
+ } & {
220
+ "/room-type-bed-configs": {
221
+ $get: {
222
+ input: {};
223
+ output: {
224
+ data: {
225
+ id: string;
226
+ roomTypeId: string;
227
+ bedType: string;
228
+ quantity: number;
229
+ isPrimary: boolean;
230
+ notes: string | null;
231
+ createdAt: string;
232
+ updatedAt: string;
233
+ }[];
234
+ total: number;
235
+ limit: number;
236
+ offset: number;
237
+ };
238
+ outputFormat: "json";
239
+ status: import("hono/utils/http-status").ContentfulStatusCode;
240
+ };
241
+ };
242
+ } & {
243
+ "/room-type-bed-configs": {
244
+ $post: {
245
+ input: {};
246
+ output: {
247
+ data: {
248
+ id: string;
249
+ notes: string | null;
250
+ createdAt: string;
251
+ updatedAt: string;
252
+ isPrimary: boolean;
253
+ quantity: number;
254
+ roomTypeId: string;
255
+ bedType: string;
256
+ } | null;
257
+ };
258
+ outputFormat: "json";
259
+ status: 201;
260
+ };
261
+ };
262
+ } & {
263
+ "/room-type-bed-configs/:id": {
264
+ $get: {
265
+ input: {
266
+ param: {
267
+ id: string;
268
+ };
269
+ };
270
+ output: {
271
+ error: string;
272
+ };
273
+ outputFormat: "json";
274
+ status: 404;
275
+ } | {
276
+ input: {
277
+ param: {
278
+ id: string;
279
+ };
280
+ };
281
+ output: {
282
+ data: {
283
+ id: string;
284
+ roomTypeId: string;
285
+ bedType: string;
286
+ quantity: number;
287
+ isPrimary: boolean;
288
+ notes: string | null;
289
+ createdAt: string;
290
+ updatedAt: string;
291
+ };
292
+ };
293
+ outputFormat: "json";
294
+ status: import("hono/utils/http-status").ContentfulStatusCode;
295
+ };
296
+ };
297
+ } & {
298
+ "/room-type-bed-configs/:id": {
299
+ $patch: {
300
+ input: {
301
+ param: {
302
+ id: string;
303
+ };
304
+ };
305
+ output: {
306
+ error: string;
307
+ };
308
+ outputFormat: "json";
309
+ status: 404;
310
+ } | {
311
+ input: {
312
+ param: {
313
+ id: string;
314
+ };
315
+ };
316
+ output: {
317
+ data: {
318
+ id: string;
319
+ roomTypeId: string;
320
+ bedType: string;
321
+ quantity: number;
322
+ isPrimary: boolean;
323
+ notes: string | null;
324
+ createdAt: string;
325
+ updatedAt: string;
326
+ };
327
+ };
328
+ outputFormat: "json";
329
+ status: import("hono/utils/http-status").ContentfulStatusCode;
330
+ };
331
+ };
332
+ } & {
333
+ "/room-type-bed-configs/:id": {
334
+ $delete: {
335
+ input: {
336
+ param: {
337
+ id: string;
338
+ };
339
+ };
340
+ output: {
341
+ error: string;
342
+ };
343
+ outputFormat: "json";
344
+ status: 404;
345
+ } | {
346
+ input: {
347
+ param: {
348
+ id: string;
349
+ };
350
+ };
351
+ output: {
352
+ success: true;
353
+ };
354
+ outputFormat: "json";
355
+ status: import("hono/utils/http-status").ContentfulStatusCode;
356
+ };
357
+ };
358
+ } & {
359
+ "/room-units": {
360
+ $get: {
361
+ input: {};
362
+ output: {
363
+ data: {
364
+ id: string;
365
+ propertyId: string;
366
+ roomTypeId: string;
367
+ code: string | null;
368
+ roomNumber: string | null;
369
+ floor: string | null;
370
+ wing: string | null;
371
+ status: "active" | "inactive" | "archived" | "out_of_order";
372
+ viewCode: string | null;
373
+ accessibilityCode: string | null;
374
+ genderRestriction: string | null;
375
+ notes: string | null;
376
+ metadata: {
377
+ [x: string]: import("hono/utils/types").JSONValue;
378
+ } | null;
379
+ createdAt: string;
380
+ updatedAt: string;
381
+ }[];
382
+ total: number;
383
+ limit: number;
384
+ offset: number;
385
+ };
386
+ outputFormat: "json";
387
+ status: import("hono/utils/http-status").ContentfulStatusCode;
388
+ };
389
+ };
390
+ } & {
391
+ "/room-units": {
392
+ $post: {
393
+ input: {};
394
+ output: {
395
+ data: {
396
+ id: string;
397
+ status: "active" | "inactive" | "archived" | "out_of_order";
398
+ notes: string | null;
399
+ createdAt: string;
400
+ updatedAt: string;
401
+ metadata: {
402
+ [x: string]: import("hono/utils/types").JSONValue;
403
+ } | null;
404
+ code: string | null;
405
+ propertyId: string;
406
+ roomTypeId: string;
407
+ roomNumber: string | null;
408
+ floor: string | null;
409
+ wing: string | null;
410
+ viewCode: string | null;
411
+ accessibilityCode: string | null;
412
+ genderRestriction: string | null;
413
+ } | null;
414
+ };
415
+ outputFormat: "json";
416
+ status: 201;
417
+ };
418
+ };
419
+ } & {
420
+ "/room-units/:id": {
421
+ $get: {
422
+ input: {
423
+ param: {
424
+ id: string;
425
+ };
426
+ };
427
+ output: {
428
+ error: string;
429
+ };
430
+ outputFormat: "json";
431
+ status: 404;
432
+ } | {
433
+ input: {
434
+ param: {
435
+ id: string;
436
+ };
437
+ };
438
+ output: {
439
+ data: {
440
+ id: string;
441
+ propertyId: string;
442
+ roomTypeId: string;
443
+ code: string | null;
444
+ roomNumber: string | null;
445
+ floor: string | null;
446
+ wing: string | null;
447
+ status: "active" | "inactive" | "archived" | "out_of_order";
448
+ viewCode: string | null;
449
+ accessibilityCode: string | null;
450
+ genderRestriction: string | null;
451
+ notes: string | null;
452
+ metadata: {
453
+ [x: string]: import("hono/utils/types").JSONValue;
454
+ } | null;
455
+ createdAt: string;
456
+ updatedAt: string;
457
+ };
458
+ };
459
+ outputFormat: "json";
460
+ status: import("hono/utils/http-status").ContentfulStatusCode;
461
+ };
462
+ };
463
+ } & {
464
+ "/room-units/:id": {
465
+ $patch: {
466
+ input: {
467
+ param: {
468
+ id: string;
469
+ };
470
+ };
471
+ output: {
472
+ error: string;
473
+ };
474
+ outputFormat: "json";
475
+ status: 404;
476
+ } | {
477
+ input: {
478
+ param: {
479
+ id: string;
480
+ };
481
+ };
482
+ output: {
483
+ data: {
484
+ id: string;
485
+ propertyId: string;
486
+ roomTypeId: string;
487
+ code: string | null;
488
+ roomNumber: string | null;
489
+ floor: string | null;
490
+ wing: string | null;
491
+ status: "active" | "inactive" | "archived" | "out_of_order";
492
+ viewCode: string | null;
493
+ accessibilityCode: string | null;
494
+ genderRestriction: string | null;
495
+ notes: string | null;
496
+ metadata: {
497
+ [x: string]: import("hono/utils/types").JSONValue;
498
+ } | null;
499
+ createdAt: string;
500
+ updatedAt: string;
501
+ };
502
+ };
503
+ outputFormat: "json";
504
+ status: import("hono/utils/http-status").ContentfulStatusCode;
505
+ };
506
+ };
507
+ } & {
508
+ "/room-units/:id": {
509
+ $delete: {
510
+ input: {
511
+ param: {
512
+ id: string;
513
+ };
514
+ };
515
+ output: {
516
+ error: string;
517
+ };
518
+ outputFormat: "json";
519
+ status: 404;
520
+ } | {
521
+ input: {
522
+ param: {
523
+ id: string;
524
+ };
525
+ };
526
+ output: {
527
+ success: true;
528
+ };
529
+ outputFormat: "json";
530
+ status: import("hono/utils/http-status").ContentfulStatusCode;
531
+ };
532
+ };
533
+ } & {
534
+ "/meal-plans": {
535
+ $get: {
536
+ input: {};
537
+ output: {
538
+ data: {
539
+ id: string;
540
+ propertyId: string;
541
+ code: string;
542
+ name: string;
543
+ description: string | null;
544
+ includesBreakfast: boolean;
545
+ includesLunch: boolean;
546
+ includesDinner: boolean;
547
+ includesDrinks: boolean;
548
+ active: boolean;
549
+ sortOrder: number;
550
+ metadata: {
551
+ [x: string]: import("hono/utils/types").JSONValue;
552
+ } | null;
553
+ createdAt: string;
554
+ updatedAt: string;
555
+ }[];
556
+ total: number;
557
+ limit: number;
558
+ offset: number;
559
+ };
560
+ outputFormat: "json";
561
+ status: import("hono/utils/http-status").ContentfulStatusCode;
562
+ };
563
+ };
564
+ } & {
565
+ "/meal-plans": {
566
+ $post: {
567
+ input: {};
568
+ output: {
569
+ data: {
570
+ id: string;
571
+ name: string;
572
+ createdAt: string;
573
+ updatedAt: string;
574
+ metadata: {
575
+ [x: string]: import("hono/utils/types").JSONValue;
576
+ } | null;
577
+ description: string | null;
578
+ active: boolean;
579
+ code: string;
580
+ sortOrder: number;
581
+ propertyId: string;
582
+ includesBreakfast: boolean;
583
+ includesLunch: boolean;
584
+ includesDinner: boolean;
585
+ includesDrinks: boolean;
586
+ } | null;
587
+ };
588
+ outputFormat: "json";
589
+ status: 201;
590
+ };
591
+ };
592
+ } & {
593
+ "/meal-plans/:id": {
594
+ $get: {
595
+ input: {
596
+ param: {
597
+ id: string;
598
+ };
599
+ };
600
+ output: {
601
+ error: string;
602
+ };
603
+ outputFormat: "json";
604
+ status: 404;
605
+ } | {
606
+ input: {
607
+ param: {
608
+ id: string;
609
+ };
610
+ };
611
+ output: {
612
+ data: {
613
+ id: string;
614
+ propertyId: string;
615
+ code: string;
616
+ name: string;
617
+ description: string | null;
618
+ includesBreakfast: boolean;
619
+ includesLunch: boolean;
620
+ includesDinner: boolean;
621
+ includesDrinks: boolean;
622
+ active: boolean;
623
+ sortOrder: number;
624
+ metadata: {
625
+ [x: string]: import("hono/utils/types").JSONValue;
626
+ } | null;
627
+ createdAt: string;
628
+ updatedAt: string;
629
+ };
630
+ };
631
+ outputFormat: "json";
632
+ status: import("hono/utils/http-status").ContentfulStatusCode;
633
+ };
634
+ };
635
+ } & {
636
+ "/meal-plans/:id": {
637
+ $patch: {
638
+ input: {
639
+ param: {
640
+ id: string;
641
+ };
642
+ };
643
+ output: {
644
+ error: string;
645
+ };
646
+ outputFormat: "json";
647
+ status: 404;
648
+ } | {
649
+ input: {
650
+ param: {
651
+ id: string;
652
+ };
653
+ };
654
+ output: {
655
+ data: {
656
+ id: string;
657
+ propertyId: string;
658
+ code: string;
659
+ name: string;
660
+ description: string | null;
661
+ includesBreakfast: boolean;
662
+ includesLunch: boolean;
663
+ includesDinner: boolean;
664
+ includesDrinks: boolean;
665
+ active: boolean;
666
+ sortOrder: number;
667
+ metadata: {
668
+ [x: string]: import("hono/utils/types").JSONValue;
669
+ } | null;
670
+ createdAt: string;
671
+ updatedAt: string;
672
+ };
673
+ };
674
+ outputFormat: "json";
675
+ status: import("hono/utils/http-status").ContentfulStatusCode;
676
+ };
677
+ };
678
+ } & {
679
+ "/meal-plans/:id": {
680
+ $delete: {
681
+ input: {
682
+ param: {
683
+ id: string;
684
+ };
685
+ };
686
+ output: {
687
+ error: string;
688
+ };
689
+ outputFormat: "json";
690
+ status: 404;
691
+ } | {
692
+ input: {
693
+ param: {
694
+ id: string;
695
+ };
696
+ };
697
+ output: {
698
+ success: true;
699
+ };
700
+ outputFormat: "json";
701
+ status: import("hono/utils/http-status").ContentfulStatusCode;
702
+ };
703
+ };
704
+ } & {
705
+ "/rate-plans": {
706
+ $get: {
707
+ input: {};
708
+ output: {
709
+ data: {
710
+ id: string;
711
+ propertyId: string;
712
+ code: string;
713
+ name: string;
714
+ description: string | null;
715
+ mealPlanId: string | null;
716
+ priceCatalogId: string | null;
717
+ cancellationPolicyId: string | null;
718
+ marketId: string | null;
719
+ currencyCode: string;
720
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
721
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
722
+ commissionable: boolean;
723
+ refundable: boolean;
724
+ active: boolean;
725
+ sortOrder: number;
726
+ metadata: {
727
+ [x: string]: import("hono/utils/types").JSONValue;
728
+ } | null;
729
+ createdAt: string;
730
+ updatedAt: string;
731
+ }[];
732
+ total: number;
733
+ limit: number;
734
+ offset: number;
735
+ };
736
+ outputFormat: "json";
737
+ status: import("hono/utils/http-status").ContentfulStatusCode;
738
+ };
739
+ };
740
+ } & {
741
+ "/rate-plans": {
742
+ $post: {
743
+ input: {};
744
+ output: {
745
+ data: {
746
+ id: string;
747
+ name: string;
748
+ createdAt: string;
749
+ updatedAt: string;
750
+ metadata: {
751
+ [x: string]: import("hono/utils/types").JSONValue;
752
+ } | null;
753
+ description: string | null;
754
+ active: boolean;
755
+ code: string;
756
+ sortOrder: number;
757
+ propertyId: string;
758
+ mealPlanId: string | null;
759
+ priceCatalogId: string | null;
760
+ cancellationPolicyId: string | null;
761
+ marketId: string | null;
762
+ currencyCode: string;
763
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
764
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
765
+ commissionable: boolean;
766
+ refundable: boolean;
767
+ } | null;
768
+ };
769
+ outputFormat: "json";
770
+ status: 201;
771
+ };
772
+ };
773
+ } & {
774
+ "/rate-plans/:id": {
775
+ $get: {
776
+ input: {
777
+ param: {
778
+ id: string;
779
+ };
780
+ };
781
+ output: {
782
+ error: string;
783
+ };
784
+ outputFormat: "json";
785
+ status: 404;
786
+ } | {
787
+ input: {
788
+ param: {
789
+ id: string;
790
+ };
791
+ };
792
+ output: {
793
+ data: {
794
+ id: string;
795
+ propertyId: string;
796
+ code: string;
797
+ name: string;
798
+ description: string | null;
799
+ mealPlanId: string | null;
800
+ priceCatalogId: string | null;
801
+ cancellationPolicyId: string | null;
802
+ marketId: string | null;
803
+ currencyCode: string;
804
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
805
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
806
+ commissionable: boolean;
807
+ refundable: boolean;
808
+ active: boolean;
809
+ sortOrder: number;
810
+ metadata: {
811
+ [x: string]: import("hono/utils/types").JSONValue;
812
+ } | null;
813
+ createdAt: string;
814
+ updatedAt: string;
815
+ };
816
+ };
817
+ outputFormat: "json";
818
+ status: import("hono/utils/http-status").ContentfulStatusCode;
819
+ };
820
+ };
821
+ } & {
822
+ "/rate-plans/:id": {
823
+ $patch: {
824
+ input: {
825
+ param: {
826
+ id: string;
827
+ };
828
+ };
829
+ output: {
830
+ error: string;
831
+ };
832
+ outputFormat: "json";
833
+ status: 404;
834
+ } | {
835
+ input: {
836
+ param: {
837
+ id: string;
838
+ };
839
+ };
840
+ output: {
841
+ data: {
842
+ id: string;
843
+ propertyId: string;
844
+ code: string;
845
+ name: string;
846
+ description: string | null;
847
+ mealPlanId: string | null;
848
+ priceCatalogId: string | null;
849
+ cancellationPolicyId: string | null;
850
+ marketId: string | null;
851
+ currencyCode: string;
852
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
853
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
854
+ commissionable: boolean;
855
+ refundable: boolean;
856
+ active: boolean;
857
+ sortOrder: number;
858
+ metadata: {
859
+ [x: string]: import("hono/utils/types").JSONValue;
860
+ } | null;
861
+ createdAt: string;
862
+ updatedAt: string;
863
+ };
864
+ };
865
+ outputFormat: "json";
866
+ status: import("hono/utils/http-status").ContentfulStatusCode;
867
+ };
868
+ };
869
+ } & {
870
+ "/rate-plans/:id": {
871
+ $delete: {
872
+ input: {
873
+ param: {
874
+ id: string;
875
+ };
876
+ };
877
+ output: {
878
+ error: string;
879
+ };
880
+ outputFormat: "json";
881
+ status: 404;
882
+ } | {
883
+ input: {
884
+ param: {
885
+ id: string;
886
+ };
887
+ };
888
+ output: {
889
+ success: true;
890
+ };
891
+ outputFormat: "json";
892
+ status: import("hono/utils/http-status").ContentfulStatusCode;
893
+ };
894
+ };
895
+ } & {
896
+ "/rate-plan-room-types": {
897
+ $get: {
898
+ input: {};
899
+ output: {
900
+ data: {
901
+ id: string;
902
+ ratePlanId: string;
903
+ roomTypeId: string;
904
+ productId: string | null;
905
+ optionId: string | null;
906
+ unitId: string | null;
907
+ active: boolean;
908
+ sortOrder: number;
909
+ createdAt: string;
910
+ updatedAt: string;
911
+ }[];
912
+ total: number;
913
+ limit: number;
914
+ offset: number;
915
+ };
916
+ outputFormat: "json";
917
+ status: import("hono/utils/http-status").ContentfulStatusCode;
918
+ };
919
+ };
920
+ } & {
921
+ "/rate-plan-room-types": {
922
+ $post: {
923
+ input: {};
924
+ output: {
925
+ data: {
926
+ id: string;
927
+ productId: string | null;
928
+ optionId: string | null;
929
+ createdAt: string;
930
+ updatedAt: string;
931
+ active: boolean;
932
+ sortOrder: number;
933
+ roomTypeId: string;
934
+ ratePlanId: string;
935
+ unitId: string | null;
936
+ } | null;
937
+ };
938
+ outputFormat: "json";
939
+ status: 201;
940
+ };
941
+ };
942
+ } & {
943
+ "/rate-plan-room-types/:id": {
944
+ $get: {
945
+ input: {
946
+ param: {
947
+ id: string;
948
+ };
949
+ };
950
+ output: {
951
+ error: string;
952
+ };
953
+ outputFormat: "json";
954
+ status: 404;
955
+ } | {
956
+ input: {
957
+ param: {
958
+ id: string;
959
+ };
960
+ };
961
+ output: {
962
+ data: {
963
+ id: string;
964
+ ratePlanId: string;
965
+ roomTypeId: string;
966
+ productId: string | null;
967
+ optionId: string | null;
968
+ unitId: string | null;
969
+ active: boolean;
970
+ sortOrder: number;
971
+ createdAt: string;
972
+ updatedAt: string;
973
+ };
974
+ };
975
+ outputFormat: "json";
976
+ status: import("hono/utils/http-status").ContentfulStatusCode;
977
+ };
978
+ };
979
+ } & {
980
+ "/rate-plan-room-types/:id": {
981
+ $patch: {
982
+ input: {
983
+ param: {
984
+ id: string;
985
+ };
986
+ };
987
+ output: {
988
+ error: string;
989
+ };
990
+ outputFormat: "json";
991
+ status: 404;
992
+ } | {
993
+ input: {
994
+ param: {
995
+ id: string;
996
+ };
997
+ };
998
+ output: {
999
+ data: {
1000
+ id: string;
1001
+ ratePlanId: string;
1002
+ roomTypeId: string;
1003
+ productId: string | null;
1004
+ optionId: string | null;
1005
+ unitId: string | null;
1006
+ active: boolean;
1007
+ sortOrder: number;
1008
+ createdAt: string;
1009
+ updatedAt: string;
1010
+ };
1011
+ };
1012
+ outputFormat: "json";
1013
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1014
+ };
1015
+ };
1016
+ } & {
1017
+ "/rate-plan-room-types/:id": {
1018
+ $delete: {
1019
+ input: {
1020
+ param: {
1021
+ id: string;
1022
+ };
1023
+ };
1024
+ output: {
1025
+ error: string;
1026
+ };
1027
+ outputFormat: "json";
1028
+ status: 404;
1029
+ } | {
1030
+ input: {
1031
+ param: {
1032
+ id: string;
1033
+ };
1034
+ };
1035
+ output: {
1036
+ success: true;
1037
+ };
1038
+ outputFormat: "json";
1039
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1040
+ };
1041
+ };
1042
+ } & {
1043
+ "/room-type-rates": {
1044
+ $get: {
1045
+ input: {};
1046
+ output: {
1047
+ data: {
1048
+ id: string;
1049
+ ratePlanId: string;
1050
+ roomTypeId: string;
1051
+ priceScheduleId: string | null;
1052
+ currencyCode: string;
1053
+ baseAmountCents: number | null;
1054
+ extraAdultAmountCents: number | null;
1055
+ extraChildAmountCents: number | null;
1056
+ extraInfantAmountCents: number | null;
1057
+ active: boolean;
1058
+ notes: string | null;
1059
+ createdAt: string;
1060
+ updatedAt: string;
1061
+ }[];
1062
+ total: number;
1063
+ limit: number;
1064
+ offset: number;
1065
+ };
1066
+ outputFormat: "json";
1067
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1068
+ };
1069
+ };
1070
+ } & {
1071
+ "/room-type-rates": {
1072
+ $post: {
1073
+ input: {};
1074
+ output: {
1075
+ data: {
1076
+ id: string;
1077
+ notes: string | null;
1078
+ createdAt: string;
1079
+ updatedAt: string;
1080
+ active: boolean;
1081
+ roomTypeId: string;
1082
+ currencyCode: string;
1083
+ ratePlanId: string;
1084
+ priceScheduleId: string | null;
1085
+ baseAmountCents: number | null;
1086
+ extraAdultAmountCents: number | null;
1087
+ extraChildAmountCents: number | null;
1088
+ extraInfantAmountCents: number | null;
1089
+ } | null;
1090
+ };
1091
+ outputFormat: "json";
1092
+ status: 201;
1093
+ };
1094
+ };
1095
+ } & {
1096
+ "/room-type-rates/:id": {
1097
+ $get: {
1098
+ input: {
1099
+ param: {
1100
+ id: string;
1101
+ };
1102
+ };
1103
+ output: {
1104
+ error: string;
1105
+ };
1106
+ outputFormat: "json";
1107
+ status: 404;
1108
+ } | {
1109
+ input: {
1110
+ param: {
1111
+ id: string;
1112
+ };
1113
+ };
1114
+ output: {
1115
+ data: {
1116
+ id: string;
1117
+ ratePlanId: string;
1118
+ roomTypeId: string;
1119
+ priceScheduleId: string | null;
1120
+ currencyCode: string;
1121
+ baseAmountCents: number | null;
1122
+ extraAdultAmountCents: number | null;
1123
+ extraChildAmountCents: number | null;
1124
+ extraInfantAmountCents: number | null;
1125
+ active: boolean;
1126
+ notes: string | null;
1127
+ createdAt: string;
1128
+ updatedAt: string;
1129
+ };
1130
+ };
1131
+ outputFormat: "json";
1132
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1133
+ };
1134
+ };
1135
+ } & {
1136
+ "/room-type-rates/:id": {
1137
+ $patch: {
1138
+ input: {
1139
+ param: {
1140
+ id: string;
1141
+ };
1142
+ };
1143
+ output: {
1144
+ error: string;
1145
+ };
1146
+ outputFormat: "json";
1147
+ status: 404;
1148
+ } | {
1149
+ input: {
1150
+ param: {
1151
+ id: string;
1152
+ };
1153
+ };
1154
+ output: {
1155
+ data: {
1156
+ id: string;
1157
+ ratePlanId: string;
1158
+ roomTypeId: string;
1159
+ priceScheduleId: string | null;
1160
+ currencyCode: string;
1161
+ baseAmountCents: number | null;
1162
+ extraAdultAmountCents: number | null;
1163
+ extraChildAmountCents: number | null;
1164
+ extraInfantAmountCents: number | null;
1165
+ active: boolean;
1166
+ notes: string | null;
1167
+ createdAt: string;
1168
+ updatedAt: string;
1169
+ };
1170
+ };
1171
+ outputFormat: "json";
1172
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1173
+ };
1174
+ };
1175
+ } & {
1176
+ "/room-type-rates/:id": {
1177
+ $delete: {
1178
+ input: {
1179
+ param: {
1180
+ id: string;
1181
+ };
1182
+ };
1183
+ 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;
1384
+ };
1385
+ outputFormat: "json";
1386
+ status: 404;
1387
+ } | {
1388
+ input: {
1389
+ param: {
1390
+ id: string;
1391
+ };
1392
+ };
1393
+ output: {
1394
+ success: true;
1395
+ };
1396
+ outputFormat: "json";
1397
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1398
+ };
1399
+ };
1400
+ } & {
1401
+ "/room-inventory": {
1402
+ $get: {
1403
+ input: {};
1404
+ output: {
1405
+ data: {
1406
+ id: string;
1407
+ propertyId: string;
1408
+ roomTypeId: string;
1409
+ date: string;
1410
+ totalUnits: number;
1411
+ availableUnits: number;
1412
+ heldUnits: number;
1413
+ soldUnits: number;
1414
+ outOfOrderUnits: number;
1415
+ overbookLimit: number | null;
1416
+ stopSell: boolean;
1417
+ notes: string | null;
1418
+ createdAt: string;
1419
+ updatedAt: string;
1420
+ }[];
1421
+ total: number;
1422
+ limit: number;
1423
+ offset: number;
1424
+ };
1425
+ outputFormat: "json";
1426
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1427
+ };
1428
+ };
1429
+ } & {
1430
+ "/room-inventory": {
1431
+ $post: {
1432
+ input: {};
1433
+ output: {
1434
+ data: {
1435
+ id: string;
1436
+ date: string;
1437
+ notes: string | null;
1438
+ createdAt: string;
1439
+ updatedAt: string;
1440
+ propertyId: string;
1441
+ roomTypeId: string;
1442
+ totalUnits: number;
1443
+ availableUnits: number;
1444
+ heldUnits: number;
1445
+ soldUnits: number;
1446
+ outOfOrderUnits: number;
1447
+ overbookLimit: number | null;
1448
+ stopSell: boolean;
1449
+ } | null;
1450
+ };
1451
+ outputFormat: "json";
1452
+ status: 201;
1453
+ };
1454
+ };
1455
+ } & {
1456
+ "/room-inventory/:id": {
1457
+ $get: {
1458
+ input: {
1459
+ param: {
1460
+ id: string;
1461
+ };
1462
+ };
1463
+ output: {
1464
+ error: string;
1465
+ };
1466
+ outputFormat: "json";
1467
+ status: 404;
1468
+ } | {
1469
+ input: {
1470
+ param: {
1471
+ id: string;
1472
+ };
1473
+ };
1474
+ output: {
1475
+ data: {
1476
+ id: string;
1477
+ propertyId: string;
1478
+ roomTypeId: string;
1479
+ date: string;
1480
+ totalUnits: number;
1481
+ availableUnits: number;
1482
+ heldUnits: number;
1483
+ soldUnits: number;
1484
+ outOfOrderUnits: number;
1485
+ overbookLimit: number | null;
1486
+ stopSell: boolean;
1487
+ notes: string | null;
1488
+ createdAt: string;
1489
+ updatedAt: string;
1490
+ };
1491
+ };
1492
+ outputFormat: "json";
1493
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1494
+ };
1495
+ };
1496
+ } & {
1497
+ "/room-inventory/:id": {
1498
+ $patch: {
1499
+ input: {
1500
+ param: {
1501
+ id: string;
1502
+ };
1503
+ };
1504
+ output: {
1505
+ error: string;
1506
+ };
1507
+ outputFormat: "json";
1508
+ status: 404;
1509
+ } | {
1510
+ input: {
1511
+ param: {
1512
+ id: string;
1513
+ };
1514
+ };
1515
+ output: {
1516
+ data: {
1517
+ id: string;
1518
+ propertyId: string;
1519
+ roomTypeId: string;
1520
+ date: string;
1521
+ totalUnits: number;
1522
+ availableUnits: number;
1523
+ heldUnits: number;
1524
+ soldUnits: number;
1525
+ outOfOrderUnits: number;
1526
+ overbookLimit: number | null;
1527
+ stopSell: boolean;
1528
+ notes: string | null;
1529
+ createdAt: string;
1530
+ updatedAt: string;
1531
+ };
1532
+ };
1533
+ outputFormat: "json";
1534
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1535
+ };
1536
+ };
1537
+ } & {
1538
+ "/room-inventory/:id": {
1539
+ $delete: {
1540
+ input: {
1541
+ param: {
1542
+ id: string;
1543
+ };
1544
+ };
1545
+ output: {
1546
+ error: string;
1547
+ };
1548
+ outputFormat: "json";
1549
+ status: 404;
1550
+ } | {
1551
+ input: {
1552
+ param: {
1553
+ id: string;
1554
+ };
1555
+ };
1556
+ output: {
1557
+ success: true;
1558
+ };
1559
+ outputFormat: "json";
1560
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1561
+ };
1562
+ };
1563
+ } & {
1564
+ "/rate-plan-inventory-overrides": {
1565
+ $get: {
1566
+ input: {};
1567
+ output: {
1568
+ data: {
1569
+ id: string;
1570
+ ratePlanId: string;
1571
+ roomTypeId: string;
1572
+ date: string;
1573
+ stopSell: boolean;
1574
+ closedToArrival: boolean;
1575
+ closedToDeparture: boolean;
1576
+ minNightsOverride: number | null;
1577
+ maxNightsOverride: number | null;
1578
+ notes: string | null;
1579
+ createdAt: string;
1580
+ updatedAt: string;
1581
+ }[];
1582
+ total: number;
1583
+ limit: number;
1584
+ offset: number;
1585
+ };
1586
+ outputFormat: "json";
1587
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1588
+ };
1589
+ };
1590
+ } & {
1591
+ "/rate-plan-inventory-overrides": {
1592
+ $post: {
1593
+ input: {};
1594
+ output: {
1595
+ data: {
1596
+ id: string;
1597
+ date: string;
1598
+ notes: string | null;
1599
+ createdAt: string;
1600
+ updatedAt: string;
1601
+ roomTypeId: string;
1602
+ ratePlanId: string;
1603
+ closedToArrival: boolean;
1604
+ closedToDeparture: boolean;
1605
+ stopSell: boolean;
1606
+ minNightsOverride: number | null;
1607
+ maxNightsOverride: number | null;
1608
+ } | null;
1609
+ };
1610
+ outputFormat: "json";
1611
+ status: 201;
1612
+ };
1613
+ };
1614
+ } & {
1615
+ "/rate-plan-inventory-overrides/:id": {
1616
+ $get: {
1617
+ input: {
1618
+ param: {
1619
+ id: string;
1620
+ };
1621
+ };
1622
+ output: {
1623
+ error: string;
1624
+ };
1625
+ outputFormat: "json";
1626
+ status: 404;
1627
+ } | {
1628
+ input: {
1629
+ param: {
1630
+ id: string;
1631
+ };
1632
+ };
1633
+ output: {
1634
+ data: {
1635
+ id: string;
1636
+ ratePlanId: string;
1637
+ roomTypeId: string;
1638
+ date: string;
1639
+ stopSell: boolean;
1640
+ closedToArrival: boolean;
1641
+ closedToDeparture: boolean;
1642
+ minNightsOverride: number | null;
1643
+ maxNightsOverride: number | null;
1644
+ notes: string | null;
1645
+ createdAt: string;
1646
+ updatedAt: string;
1647
+ };
1648
+ };
1649
+ outputFormat: "json";
1650
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1651
+ };
1652
+ };
1653
+ } & {
1654
+ "/rate-plan-inventory-overrides/:id": {
1655
+ $patch: {
1656
+ input: {
1657
+ param: {
1658
+ id: string;
1659
+ };
1660
+ };
1661
+ output: {
1662
+ error: string;
1663
+ };
1664
+ outputFormat: "json";
1665
+ status: 404;
1666
+ } | {
1667
+ input: {
1668
+ param: {
1669
+ id: string;
1670
+ };
1671
+ };
1672
+ output: {
1673
+ data: {
1674
+ id: string;
1675
+ ratePlanId: string;
1676
+ roomTypeId: string;
1677
+ date: string;
1678
+ stopSell: boolean;
1679
+ closedToArrival: boolean;
1680
+ closedToDeparture: boolean;
1681
+ minNightsOverride: number | null;
1682
+ maxNightsOverride: number | null;
1683
+ notes: string | null;
1684
+ createdAt: string;
1685
+ updatedAt: string;
1686
+ };
1687
+ };
1688
+ outputFormat: "json";
1689
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1690
+ };
1691
+ };
1692
+ } & {
1693
+ "/rate-plan-inventory-overrides/:id": {
1694
+ $delete: {
1695
+ input: {
1696
+ param: {
1697
+ id: string;
1698
+ };
1699
+ };
1700
+ output: {
1701
+ error: string;
1702
+ };
1703
+ outputFormat: "json";
1704
+ status: 404;
1705
+ } | {
1706
+ input: {
1707
+ param: {
1708
+ id: string;
1709
+ };
1710
+ };
1711
+ output: {
1712
+ success: true;
1713
+ };
1714
+ outputFormat: "json";
1715
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1716
+ };
1717
+ };
1718
+ } & {
1719
+ "/stay-booking-items": {
1720
+ $get: {
1721
+ input: {};
1722
+ output: {
1723
+ data: {
1724
+ id: string;
1725
+ bookingItemId: string;
1726
+ propertyId: string;
1727
+ roomTypeId: string;
1728
+ roomUnitId: string | null;
1729
+ ratePlanId: string;
1730
+ checkInDate: string;
1731
+ checkOutDate: string;
1732
+ nightCount: number;
1733
+ roomCount: number;
1734
+ adults: number;
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";
1741
+ notes: string | null;
1742
+ metadata: {
1743
+ [x: string]: import("hono/utils/types").JSONValue;
1744
+ } | null;
1745
+ createdAt: string;
1746
+ updatedAt: string;
1747
+ }[];
1748
+ total: number;
1749
+ limit: number;
1750
+ offset: number;
1751
+ };
1752
+ outputFormat: "json";
1753
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1754
+ };
1755
+ };
1756
+ } & {
1757
+ "/stay-booking-items": {
1758
+ $post: {
1759
+ input: {};
1760
+ output: {
1761
+ data: {
1762
+ id: string;
1763
+ status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
1764
+ notes: string | null;
1765
+ createdAt: string;
1766
+ updatedAt: string;
1767
+ metadata: {
1768
+ [x: string]: import("hono/utils/types").JSONValue;
1769
+ } | null;
1770
+ bookingItemId: string;
1771
+ propertyId: string;
1772
+ roomTypeId: string;
1773
+ mealPlanId: string | null;
1774
+ ratePlanId: string;
1775
+ roomUnitId: string | null;
1776
+ checkInDate: string;
1777
+ checkOutDate: string;
1778
+ nightCount: number;
1779
+ roomCount: number;
1780
+ adults: number;
1781
+ children: number;
1782
+ infants: number;
1783
+ confirmationCode: string | null;
1784
+ voucherCode: string | null;
1785
+ } | null;
1786
+ };
1787
+ outputFormat: "json";
1788
+ status: 201;
1789
+ };
1790
+ };
1791
+ } & {
1792
+ "/stay-booking-items/:id": {
1793
+ $get: {
1794
+ input: {
1795
+ param: {
1796
+ id: string;
1797
+ };
1798
+ };
1799
+ output: {
1800
+ error: string;
1801
+ };
1802
+ outputFormat: "json";
1803
+ status: 404;
1804
+ } | {
1805
+ input: {
1806
+ param: {
1807
+ id: string;
1808
+ };
1809
+ };
1810
+ output: {
1811
+ data: {
1812
+ id: string;
1813
+ bookingItemId: string;
1814
+ propertyId: string;
1815
+ roomTypeId: string;
1816
+ roomUnitId: string | null;
1817
+ ratePlanId: string;
1818
+ checkInDate: string;
1819
+ checkOutDate: string;
1820
+ nightCount: number;
1821
+ roomCount: number;
1822
+ adults: number;
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";
1829
+ notes: string | null;
1830
+ metadata: {
1831
+ [x: string]: import("hono/utils/types").JSONValue;
1832
+ } | null;
1833
+ createdAt: string;
1834
+ updatedAt: string;
1835
+ };
1836
+ };
1837
+ outputFormat: "json";
1838
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1839
+ };
1840
+ };
1841
+ } & {
1842
+ "/stay-booking-items/:id": {
1843
+ $patch: {
1844
+ input: {
1845
+ param: {
1846
+ id: string;
1847
+ };
1848
+ };
1849
+ output: {
1850
+ error: string;
1851
+ };
1852
+ outputFormat: "json";
1853
+ status: 404;
1854
+ } | {
1855
+ input: {
1856
+ param: {
1857
+ id: string;
1858
+ };
1859
+ };
1860
+ output: {
1861
+ data: {
1862
+ id: string;
1863
+ bookingItemId: string;
1864
+ propertyId: string;
1865
+ roomTypeId: string;
1866
+ roomUnitId: string | null;
1867
+ ratePlanId: string;
1868
+ checkInDate: string;
1869
+ checkOutDate: string;
1870
+ nightCount: number;
1871
+ roomCount: number;
1872
+ adults: number;
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";
1879
+ notes: string | null;
1880
+ metadata: {
1881
+ [x: string]: import("hono/utils/types").JSONValue;
1882
+ } | null;
1883
+ createdAt: string;
1884
+ updatedAt: string;
1885
+ };
1886
+ };
1887
+ outputFormat: "json";
1888
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1889
+ };
1890
+ };
1891
+ } & {
1892
+ "/stay-booking-items/:id": {
1893
+ $delete: {
1894
+ input: {
1895
+ param: {
1896
+ id: string;
1897
+ };
1898
+ };
1899
+ output: {
1900
+ error: string;
1901
+ };
1902
+ outputFormat: "json";
1903
+ status: 404;
1904
+ } | {
1905
+ input: {
1906
+ param: {
1907
+ id: string;
1908
+ };
1909
+ };
1910
+ output: {
1911
+ success: true;
1912
+ };
1913
+ outputFormat: "json";
1914
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1915
+ };
1916
+ };
1917
+ } & {
1918
+ "/stay-daily-rates": {
1919
+ $get: {
1920
+ input: {};
1921
+ output: {
1922
+ data: {
1923
+ id: string;
1924
+ stayBookingItemId: string;
1925
+ date: string;
1926
+ sellCurrency: string;
1927
+ sellAmountCents: number | null;
1928
+ costCurrency: string | null;
1929
+ costAmountCents: number | null;
1930
+ taxAmountCents: number | null;
1931
+ feeAmountCents: number | null;
1932
+ commissionAmountCents: number | null;
1933
+ createdAt: string;
1934
+ updatedAt: string;
1935
+ }[];
1936
+ total: number;
1937
+ limit: number;
1938
+ offset: number;
1939
+ };
1940
+ outputFormat: "json";
1941
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1942
+ };
1943
+ };
1944
+ } & {
1945
+ "/stay-daily-rates": {
1946
+ $post: {
1947
+ input: {};
1948
+ output: {
1949
+ data: {
1950
+ id: string;
1951
+ date: string;
1952
+ createdAt: string;
1953
+ updatedAt: string;
1954
+ sellCurrency: string;
1955
+ sellAmountCents: number | null;
1956
+ costAmountCents: number | null;
1957
+ costCurrency: string | null;
1958
+ stayBookingItemId: string;
1959
+ taxAmountCents: number | null;
1960
+ feeAmountCents: number | null;
1961
+ commissionAmountCents: number | null;
1962
+ } | null;
1963
+ };
1964
+ outputFormat: "json";
1965
+ status: 201;
1966
+ };
1967
+ };
1968
+ } & {
1969
+ "/stay-daily-rates/:id": {
1970
+ $get: {
1971
+ input: {
1972
+ param: {
1973
+ id: string;
1974
+ };
1975
+ };
1976
+ output: {
1977
+ error: string;
1978
+ };
1979
+ outputFormat: "json";
1980
+ status: 404;
1981
+ } | {
1982
+ input: {
1983
+ param: {
1984
+ id: string;
1985
+ };
1986
+ };
1987
+ output: {
1988
+ data: {
1989
+ id: string;
1990
+ stayBookingItemId: string;
1991
+ date: string;
1992
+ sellCurrency: string;
1993
+ sellAmountCents: number | null;
1994
+ costCurrency: string | null;
1995
+ costAmountCents: number | null;
1996
+ taxAmountCents: number | null;
1997
+ feeAmountCents: number | null;
1998
+ commissionAmountCents: number | null;
1999
+ createdAt: string;
2000
+ updatedAt: string;
2001
+ };
2002
+ };
2003
+ outputFormat: "json";
2004
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2005
+ };
2006
+ };
2007
+ } & {
2008
+ "/stay-daily-rates/:id": {
2009
+ $patch: {
2010
+ input: {
2011
+ param: {
2012
+ id: string;
2013
+ };
2014
+ };
2015
+ output: {
2016
+ error: string;
2017
+ };
2018
+ outputFormat: "json";
2019
+ status: 404;
2020
+ } | {
2021
+ input: {
2022
+ param: {
2023
+ id: string;
2024
+ };
2025
+ };
2026
+ output: {
2027
+ data: {
2028
+ id: string;
2029
+ stayBookingItemId: string;
2030
+ date: string;
2031
+ sellCurrency: string;
2032
+ sellAmountCents: number | null;
2033
+ costCurrency: string | null;
2034
+ costAmountCents: number | null;
2035
+ taxAmountCents: number | null;
2036
+ feeAmountCents: number | null;
2037
+ commissionAmountCents: number | null;
2038
+ createdAt: string;
2039
+ updatedAt: string;
2040
+ };
2041
+ };
2042
+ outputFormat: "json";
2043
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2044
+ };
2045
+ };
2046
+ } & {
2047
+ "/stay-daily-rates/:id": {
2048
+ $delete: {
2049
+ input: {
2050
+ param: {
2051
+ id: string;
2052
+ };
2053
+ };
2054
+ output: {
2055
+ error: string;
2056
+ };
2057
+ outputFormat: "json";
2058
+ status: 404;
2059
+ } | {
2060
+ input: {
2061
+ param: {
2062
+ id: string;
2063
+ };
2064
+ };
2065
+ output: {
2066
+ success: true;
2067
+ };
2068
+ outputFormat: "json";
2069
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2070
+ };
2071
+ };
2072
+ } & {
2073
+ "/room-blocks": {
2074
+ $get: {
2075
+ input: {};
2076
+ output: {
2077
+ data: {
2078
+ id: string;
2079
+ propertyId: string;
2080
+ roomTypeId: string | null;
2081
+ roomUnitId: string | null;
2082
+ startsOn: string;
2083
+ endsOn: string;
2084
+ status: "cancelled" | "draft" | "confirmed" | "held" | "released";
2085
+ blockReason: string | null;
2086
+ quantity: number;
2087
+ releaseAt: string | null;
2088
+ notes: string | null;
2089
+ metadata: {
2090
+ [x: string]: import("hono/utils/types").JSONValue;
2091
+ } | null;
2092
+ createdAt: string;
2093
+ updatedAt: string;
2094
+ }[];
2095
+ total: number;
2096
+ limit: number;
2097
+ offset: number;
2098
+ };
2099
+ outputFormat: "json";
2100
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2101
+ };
2102
+ };
2103
+ } & {
2104
+ "/room-blocks": {
2105
+ $post: {
2106
+ input: {};
2107
+ output: {
2108
+ data: {
2109
+ id: string;
2110
+ status: "cancelled" | "draft" | "confirmed" | "held" | "released";
2111
+ notes: string | null;
2112
+ createdAt: string;
2113
+ updatedAt: string;
2114
+ metadata: {
2115
+ [x: string]: import("hono/utils/types").JSONValue;
2116
+ } | null;
2117
+ quantity: number;
2118
+ propertyId: string;
2119
+ roomTypeId: string | null;
2120
+ roomUnitId: string | null;
2121
+ startsOn: string;
2122
+ endsOn: string;
2123
+ blockReason: string | null;
2124
+ releaseAt: string | null;
2125
+ } | null;
2126
+ };
2127
+ outputFormat: "json";
2128
+ status: 201;
2129
+ };
2130
+ };
2131
+ } & {
2132
+ "/room-blocks/:id": {
2133
+ $get: {
2134
+ input: {
2135
+ param: {
2136
+ id: string;
2137
+ };
2138
+ };
2139
+ output: {
2140
+ error: string;
2141
+ };
2142
+ outputFormat: "json";
2143
+ status: 404;
2144
+ } | {
2145
+ input: {
2146
+ param: {
2147
+ id: string;
2148
+ };
2149
+ };
2150
+ output: {
2151
+ data: {
2152
+ id: string;
2153
+ propertyId: string;
2154
+ roomTypeId: string | null;
2155
+ roomUnitId: string | null;
2156
+ startsOn: string;
2157
+ endsOn: string;
2158
+ status: "cancelled" | "draft" | "confirmed" | "held" | "released";
2159
+ blockReason: string | null;
2160
+ quantity: number;
2161
+ releaseAt: string | null;
2162
+ notes: string | null;
2163
+ metadata: {
2164
+ [x: string]: import("hono/utils/types").JSONValue;
2165
+ } | null;
2166
+ createdAt: string;
2167
+ updatedAt: string;
2168
+ };
2169
+ };
2170
+ outputFormat: "json";
2171
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2172
+ };
2173
+ };
2174
+ } & {
2175
+ "/room-blocks/:id": {
2176
+ $patch: {
2177
+ input: {
2178
+ param: {
2179
+ id: string;
2180
+ };
2181
+ };
2182
+ output: {
2183
+ error: string;
2184
+ };
2185
+ outputFormat: "json";
2186
+ status: 404;
2187
+ } | {
2188
+ input: {
2189
+ param: {
2190
+ id: string;
2191
+ };
2192
+ };
2193
+ output: {
2194
+ data: {
2195
+ id: string;
2196
+ propertyId: string;
2197
+ roomTypeId: string | null;
2198
+ roomUnitId: string | null;
2199
+ startsOn: string;
2200
+ endsOn: string;
2201
+ status: "cancelled" | "draft" | "confirmed" | "held" | "released";
2202
+ blockReason: string | null;
2203
+ quantity: number;
2204
+ releaseAt: string | null;
2205
+ notes: string | null;
2206
+ metadata: {
2207
+ [x: string]: import("hono/utils/types").JSONValue;
2208
+ } | null;
2209
+ createdAt: string;
2210
+ updatedAt: string;
2211
+ };
2212
+ };
2213
+ outputFormat: "json";
2214
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2215
+ };
2216
+ };
2217
+ } & {
2218
+ "/room-blocks/:id": {
2219
+ $delete: {
2220
+ input: {
2221
+ param: {
2222
+ id: string;
2223
+ };
2224
+ };
2225
+ output: {
2226
+ error: string;
2227
+ };
2228
+ outputFormat: "json";
2229
+ status: 404;
2230
+ } | {
2231
+ input: {
2232
+ param: {
2233
+ id: string;
2234
+ };
2235
+ };
2236
+ output: {
2237
+ success: true;
2238
+ };
2239
+ outputFormat: "json";
2240
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2241
+ };
2242
+ };
2243
+ } & {
2244
+ "/room-unit-status-events": {
2245
+ $get: {
2246
+ input: {};
2247
+ output: {
2248
+ data: {
2249
+ id: string;
2250
+ roomUnitId: string;
2251
+ statusCode: string;
2252
+ housekeepingStatus: string | null;
2253
+ effectiveFrom: string;
2254
+ effectiveTo: string | null;
2255
+ notes: string | null;
2256
+ metadata: {
2257
+ [x: string]: import("hono/utils/types").JSONValue;
2258
+ } | null;
2259
+ createdAt: string;
2260
+ }[];
2261
+ total: number;
2262
+ limit: number;
2263
+ offset: number;
2264
+ };
2265
+ outputFormat: "json";
2266
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2267
+ };
2268
+ };
2269
+ } & {
2270
+ "/room-unit-status-events": {
2271
+ $post: {
2272
+ input: {};
2273
+ output: {
2274
+ data: {
2275
+ id: string;
2276
+ notes: string | null;
2277
+ createdAt: string;
2278
+ metadata: {
2279
+ [x: string]: import("hono/utils/types").JSONValue;
2280
+ } | null;
2281
+ roomUnitId: string;
2282
+ statusCode: string;
2283
+ housekeepingStatus: string | null;
2284
+ effectiveFrom: string;
2285
+ effectiveTo: string | null;
2286
+ } | null;
2287
+ };
2288
+ outputFormat: "json";
2289
+ status: 201;
2290
+ };
2291
+ };
2292
+ } & {
2293
+ "/room-unit-status-events/:id": {
2294
+ $get: {
2295
+ input: {
2296
+ param: {
2297
+ id: string;
2298
+ };
2299
+ };
2300
+ output: {
2301
+ error: string;
2302
+ };
2303
+ outputFormat: "json";
2304
+ status: 404;
2305
+ } | {
2306
+ input: {
2307
+ param: {
2308
+ id: string;
2309
+ };
2310
+ };
2311
+ output: {
2312
+ data: {
2313
+ id: string;
2314
+ roomUnitId: string;
2315
+ statusCode: string;
2316
+ housekeepingStatus: string | null;
2317
+ effectiveFrom: string;
2318
+ effectiveTo: string | null;
2319
+ notes: string | null;
2320
+ metadata: {
2321
+ [x: string]: import("hono/utils/types").JSONValue;
2322
+ } | null;
2323
+ createdAt: string;
2324
+ };
2325
+ };
2326
+ outputFormat: "json";
2327
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2328
+ };
2329
+ };
2330
+ } & {
2331
+ "/room-unit-status-events/:id": {
2332
+ $patch: {
2333
+ input: {
2334
+ param: {
2335
+ id: string;
2336
+ };
2337
+ };
2338
+ output: {
2339
+ error: string;
2340
+ };
2341
+ outputFormat: "json";
2342
+ status: 404;
2343
+ } | {
2344
+ input: {
2345
+ param: {
2346
+ id: string;
2347
+ };
2348
+ };
2349
+ output: {
2350
+ data: {
2351
+ id: string;
2352
+ roomUnitId: string;
2353
+ statusCode: string;
2354
+ housekeepingStatus: string | null;
2355
+ effectiveFrom: string;
2356
+ effectiveTo: string | null;
2357
+ notes: string | null;
2358
+ metadata: {
2359
+ [x: string]: import("hono/utils/types").JSONValue;
2360
+ } | null;
2361
+ createdAt: string;
2362
+ };
2363
+ };
2364
+ outputFormat: "json";
2365
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2366
+ };
2367
+ };
2368
+ } & {
2369
+ "/room-unit-status-events/:id": {
2370
+ $delete: {
2371
+ input: {
2372
+ param: {
2373
+ id: string;
2374
+ };
2375
+ };
2376
+ output: {
2377
+ error: string;
2378
+ };
2379
+ outputFormat: "json";
2380
+ status: 404;
2381
+ } | {
2382
+ input: {
2383
+ param: {
2384
+ id: string;
2385
+ };
2386
+ };
2387
+ output: {
2388
+ success: true;
2389
+ };
2390
+ outputFormat: "json";
2391
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2392
+ };
2393
+ };
2394
+ } & {
2395
+ "/maintenance-blocks": {
2396
+ $get: {
2397
+ input: {};
2398
+ output: {
2399
+ data: {
2400
+ id: string;
2401
+ propertyId: string;
2402
+ roomTypeId: string | null;
2403
+ roomUnitId: string | null;
2404
+ startsOn: string;
2405
+ endsOn: string;
2406
+ status: "open" | "cancelled" | "in_progress" | "resolved";
2407
+ reason: string | null;
2408
+ notes: string | null;
2409
+ metadata: {
2410
+ [x: string]: import("hono/utils/types").JSONValue;
2411
+ } | null;
2412
+ createdAt: string;
2413
+ updatedAt: string;
2414
+ }[];
2415
+ total: number;
2416
+ limit: number;
2417
+ offset: number;
2418
+ };
2419
+ outputFormat: "json";
2420
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2421
+ };
2422
+ };
2423
+ } & {
2424
+ "/maintenance-blocks": {
2425
+ $post: {
2426
+ input: {};
2427
+ output: {
2428
+ data: {
2429
+ id: string;
2430
+ status: "open" | "cancelled" | "in_progress" | "resolved";
2431
+ notes: string | null;
2432
+ createdAt: string;
2433
+ updatedAt: string;
2434
+ reason: string | null;
2435
+ metadata: {
2436
+ [x: string]: import("hono/utils/types").JSONValue;
2437
+ } | null;
2438
+ propertyId: string;
2439
+ roomTypeId: string | null;
2440
+ roomUnitId: string | null;
2441
+ startsOn: string;
2442
+ endsOn: string;
2443
+ } | null;
2444
+ };
2445
+ outputFormat: "json";
2446
+ status: 201;
2447
+ };
2448
+ };
2449
+ } & {
2450
+ "/maintenance-blocks/:id": {
2451
+ $get: {
2452
+ input: {
2453
+ param: {
2454
+ id: string;
2455
+ };
2456
+ };
2457
+ output: {
2458
+ error: string;
2459
+ };
2460
+ outputFormat: "json";
2461
+ status: 404;
2462
+ } | {
2463
+ input: {
2464
+ param: {
2465
+ id: string;
2466
+ };
2467
+ };
2468
+ output: {
2469
+ data: {
2470
+ id: string;
2471
+ propertyId: string;
2472
+ roomTypeId: string | null;
2473
+ roomUnitId: string | null;
2474
+ startsOn: string;
2475
+ endsOn: string;
2476
+ status: "open" | "cancelled" | "in_progress" | "resolved";
2477
+ reason: string | null;
2478
+ notes: string | null;
2479
+ metadata: {
2480
+ [x: string]: import("hono/utils/types").JSONValue;
2481
+ } | null;
2482
+ createdAt: string;
2483
+ updatedAt: string;
2484
+ };
2485
+ };
2486
+ outputFormat: "json";
2487
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2488
+ };
2489
+ };
2490
+ } & {
2491
+ "/maintenance-blocks/:id": {
2492
+ $patch: {
2493
+ input: {
2494
+ param: {
2495
+ id: string;
2496
+ };
2497
+ };
2498
+ output: {
2499
+ error: string;
2500
+ };
2501
+ outputFormat: "json";
2502
+ status: 404;
2503
+ } | {
2504
+ input: {
2505
+ param: {
2506
+ id: string;
2507
+ };
2508
+ };
2509
+ output: {
2510
+ data: {
2511
+ id: string;
2512
+ propertyId: string;
2513
+ roomTypeId: string | null;
2514
+ roomUnitId: string | null;
2515
+ startsOn: string;
2516
+ endsOn: string;
2517
+ status: "open" | "cancelled" | "in_progress" | "resolved";
2518
+ reason: string | null;
2519
+ notes: string | null;
2520
+ metadata: {
2521
+ [x: string]: import("hono/utils/types").JSONValue;
2522
+ } | null;
2523
+ createdAt: string;
2524
+ updatedAt: string;
2525
+ };
2526
+ };
2527
+ outputFormat: "json";
2528
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2529
+ };
2530
+ };
2531
+ } & {
2532
+ "/maintenance-blocks/:id": {
2533
+ $delete: {
2534
+ input: {
2535
+ param: {
2536
+ id: string;
2537
+ };
2538
+ };
2539
+ output: {
2540
+ error: string;
2541
+ };
2542
+ outputFormat: "json";
2543
+ status: 404;
2544
+ } | {
2545
+ input: {
2546
+ param: {
2547
+ id: string;
2548
+ };
2549
+ };
2550
+ output: {
2551
+ success: true;
2552
+ };
2553
+ outputFormat: "json";
2554
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2555
+ };
2556
+ };
2557
+ } & {
2558
+ "/housekeeping-tasks": {
2559
+ $get: {
2560
+ input: {};
2561
+ output: {
2562
+ data: {
2563
+ id: string;
2564
+ propertyId: string;
2565
+ roomUnitId: string;
2566
+ stayBookingItemId: string | null;
2567
+ taskType: string;
2568
+ status: "open" | "cancelled" | "in_progress" | "completed";
2569
+ priority: number;
2570
+ dueAt: string | null;
2571
+ startedAt: string | null;
2572
+ completedAt: string | null;
2573
+ assignedTo: string | null;
2574
+ notes: string | null;
2575
+ metadata: {
2576
+ [x: string]: import("hono/utils/types").JSONValue;
2577
+ } | null;
2578
+ createdAt: string;
2579
+ updatedAt: string;
2580
+ }[];
2581
+ total: number;
2582
+ limit: number;
2583
+ offset: number;
2584
+ };
2585
+ outputFormat: "json";
2586
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2587
+ };
2588
+ };
2589
+ } & {
2590
+ "/housekeeping-tasks": {
2591
+ $post: {
2592
+ input: {};
2593
+ output: {
2594
+ data: {
2595
+ id: string;
2596
+ status: "open" | "cancelled" | "in_progress" | "completed";
2597
+ notes: string | null;
2598
+ createdAt: string;
2599
+ updatedAt: string;
2600
+ completedAt: string | null;
2601
+ metadata: {
2602
+ [x: string]: import("hono/utils/types").JSONValue;
2603
+ } | null;
2604
+ propertyId: string;
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;
2612
+ } | null;
2613
+ };
2614
+ outputFormat: "json";
2615
+ status: 201;
2616
+ };
2617
+ };
2618
+ } & {
2619
+ "/housekeeping-tasks/:id": {
2620
+ $get: {
2621
+ input: {
2622
+ param: {
2623
+ id: string;
2624
+ };
2625
+ };
2626
+ output: {
2627
+ error: string;
2628
+ };
2629
+ outputFormat: "json";
2630
+ status: 404;
2631
+ } | {
2632
+ input: {
2633
+ param: {
2634
+ id: string;
2635
+ };
2636
+ };
2637
+ output: {
2638
+ data: {
2639
+ id: string;
2640
+ propertyId: string;
2641
+ roomUnitId: string;
2642
+ stayBookingItemId: string | null;
2643
+ taskType: string;
2644
+ status: "open" | "cancelled" | "in_progress" | "completed";
2645
+ priority: number;
2646
+ dueAt: string | null;
2647
+ startedAt: string | null;
2648
+ completedAt: string | null;
2649
+ assignedTo: string | null;
2650
+ notes: string | null;
2651
+ metadata: {
2652
+ [x: string]: import("hono/utils/types").JSONValue;
2653
+ } | null;
2654
+ createdAt: string;
2655
+ updatedAt: string;
2656
+ };
2657
+ };
2658
+ outputFormat: "json";
2659
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2660
+ };
2661
+ };
2662
+ } & {
2663
+ "/housekeeping-tasks/:id": {
2664
+ $patch: {
2665
+ input: {
2666
+ param: {
2667
+ id: string;
2668
+ };
2669
+ };
2670
+ output: {
2671
+ error: string;
2672
+ };
2673
+ outputFormat: "json";
2674
+ status: 404;
2675
+ } | {
2676
+ input: {
2677
+ param: {
2678
+ id: string;
2679
+ };
2680
+ };
2681
+ output: {
2682
+ data: {
2683
+ id: string;
2684
+ propertyId: string;
2685
+ roomUnitId: string;
2686
+ stayBookingItemId: string | null;
2687
+ taskType: string;
2688
+ status: "open" | "cancelled" | "in_progress" | "completed";
2689
+ priority: number;
2690
+ dueAt: string | null;
2691
+ startedAt: string | null;
2692
+ completedAt: string | null;
2693
+ assignedTo: string | null;
2694
+ notes: string | null;
2695
+ metadata: {
2696
+ [x: string]: import("hono/utils/types").JSONValue;
2697
+ } | null;
2698
+ createdAt: string;
2699
+ updatedAt: string;
2700
+ };
2701
+ };
2702
+ outputFormat: "json";
2703
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2704
+ };
2705
+ };
2706
+ } & {
2707
+ "/housekeeping-tasks/:id": {
2708
+ $delete: {
2709
+ input: {
2710
+ param: {
2711
+ id: string;
2712
+ };
2713
+ };
2714
+ output: {
2715
+ error: string;
2716
+ };
2717
+ outputFormat: "json";
2718
+ status: 404;
2719
+ } | {
2720
+ input: {
2721
+ param: {
2722
+ id: string;
2723
+ };
2724
+ };
2725
+ output: {
2726
+ success: true;
2727
+ };
2728
+ outputFormat: "json";
2729
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2730
+ };
2731
+ };
2732
+ } & {
2733
+ "/stay-operations": {
2734
+ $get: {
2735
+ input: {};
2736
+ output: {
2737
+ data: {
2738
+ id: string;
2739
+ stayBookingItemId: string;
2740
+ propertyId: string;
2741
+ roomUnitId: string | null;
2742
+ operationStatus: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show" | "expected_arrival";
2743
+ expectedArrivalAt: string | null;
2744
+ expectedDepartureAt: string | null;
2745
+ checkedInAt: string | null;
2746
+ checkedOutAt: string | null;
2747
+ noShowRecordedAt: string | null;
2748
+ notes: string | null;
2749
+ metadata: {
2750
+ [x: string]: import("hono/utils/types").JSONValue;
2751
+ } | null;
2752
+ createdAt: string;
2753
+ updatedAt: string;
2754
+ }[];
2755
+ total: number;
2756
+ limit: number;
2757
+ offset: number;
2758
+ };
2759
+ outputFormat: "json";
2760
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2761
+ };
2762
+ };
2763
+ } & {
2764
+ "/stay-operations": {
2765
+ $post: {
2766
+ input: {};
2767
+ output: {
2768
+ data: {
2769
+ id: string;
2770
+ notes: string | null;
2771
+ createdAt: string;
2772
+ updatedAt: string;
2773
+ metadata: {
2774
+ [x: string]: import("hono/utils/types").JSONValue;
2775
+ } | null;
2776
+ propertyId: string;
2777
+ roomUnitId: string | null;
2778
+ stayBookingItemId: string;
2779
+ operationStatus: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show" | "expected_arrival";
2780
+ expectedArrivalAt: string | null;
2781
+ expectedDepartureAt: string | null;
2782
+ checkedInAt: string | null;
2783
+ checkedOutAt: string | null;
2784
+ noShowRecordedAt: string | null;
2785
+ } | null;
2786
+ };
2787
+ outputFormat: "json";
2788
+ status: 201;
2789
+ };
2790
+ };
2791
+ } & {
2792
+ "/stay-operations/:id": {
2793
+ $get: {
2794
+ input: {
2795
+ param: {
2796
+ id: string;
2797
+ };
2798
+ };
2799
+ output: {
2800
+ error: string;
2801
+ };
2802
+ outputFormat: "json";
2803
+ status: 404;
2804
+ } | {
2805
+ input: {
2806
+ param: {
2807
+ id: string;
2808
+ };
2809
+ };
2810
+ output: {
2811
+ data: {
2812
+ id: string;
2813
+ stayBookingItemId: string;
2814
+ propertyId: string;
2815
+ roomUnitId: string | null;
2816
+ operationStatus: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show" | "expected_arrival";
2817
+ expectedArrivalAt: string | null;
2818
+ expectedDepartureAt: string | null;
2819
+ checkedInAt: string | null;
2820
+ checkedOutAt: string | null;
2821
+ noShowRecordedAt: string | null;
2822
+ notes: string | null;
2823
+ metadata: {
2824
+ [x: string]: import("hono/utils/types").JSONValue;
2825
+ } | null;
2826
+ createdAt: string;
2827
+ updatedAt: string;
2828
+ };
2829
+ };
2830
+ outputFormat: "json";
2831
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2832
+ };
2833
+ };
2834
+ } & {
2835
+ "/stay-operations/:id": {
2836
+ $patch: {
2837
+ input: {
2838
+ param: {
2839
+ id: string;
2840
+ };
2841
+ };
2842
+ output: {
2843
+ error: string;
2844
+ };
2845
+ outputFormat: "json";
2846
+ status: 404;
2847
+ } | {
2848
+ input: {
2849
+ param: {
2850
+ id: string;
2851
+ };
2852
+ };
2853
+ output: {
2854
+ data: {
2855
+ id: string;
2856
+ stayBookingItemId: string;
2857
+ propertyId: string;
2858
+ roomUnitId: string | null;
2859
+ operationStatus: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show" | "expected_arrival";
2860
+ expectedArrivalAt: string | null;
2861
+ expectedDepartureAt: string | null;
2862
+ checkedInAt: string | null;
2863
+ checkedOutAt: string | null;
2864
+ noShowRecordedAt: string | null;
2865
+ notes: string | null;
2866
+ metadata: {
2867
+ [x: string]: import("hono/utils/types").JSONValue;
2868
+ } | null;
2869
+ createdAt: string;
2870
+ updatedAt: string;
2871
+ };
2872
+ };
2873
+ outputFormat: "json";
2874
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2875
+ };
2876
+ };
2877
+ } & {
2878
+ "/stay-operations/:id": {
2879
+ $delete: {
2880
+ input: {
2881
+ param: {
2882
+ id: string;
2883
+ };
2884
+ };
2885
+ output: {
2886
+ error: string;
2887
+ };
2888
+ outputFormat: "json";
2889
+ status: 404;
2890
+ } | {
2891
+ input: {
2892
+ param: {
2893
+ id: string;
2894
+ };
2895
+ };
2896
+ output: {
2897
+ success: true;
2898
+ };
2899
+ outputFormat: "json";
2900
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2901
+ };
2902
+ };
2903
+ } & {
2904
+ "/stay-checkpoints": {
2905
+ $get: {
2906
+ input: {};
2907
+ output: {
2908
+ data: {
2909
+ id: string;
2910
+ stayOperationId: string;
2911
+ checkpointType: "no_show" | "arrival" | "room_assigned" | "check_in" | "room_move" | "charge_posted" | "check_out" | "note";
2912
+ occurredAt: string;
2913
+ roomUnitId: string | null;
2914
+ notes: string | null;
2915
+ metadata: {
2916
+ [x: string]: import("hono/utils/types").JSONValue;
2917
+ } | null;
2918
+ createdAt: string;
2919
+ }[];
2920
+ total: number;
2921
+ limit: number;
2922
+ offset: number;
2923
+ };
2924
+ outputFormat: "json";
2925
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2926
+ };
2927
+ };
2928
+ } & {
2929
+ "/stay-checkpoints": {
2930
+ $post: {
2931
+ input: {};
2932
+ output: {
2933
+ data: {
2934
+ id: string;
2935
+ notes: string | null;
2936
+ createdAt: string;
2937
+ metadata: {
2938
+ [x: string]: import("hono/utils/types").JSONValue;
2939
+ } | null;
2940
+ roomUnitId: string | null;
2941
+ stayOperationId: string;
2942
+ checkpointType: "no_show" | "arrival" | "room_assigned" | "check_in" | "room_move" | "charge_posted" | "check_out" | "note";
2943
+ occurredAt: string;
2944
+ } | null;
2945
+ };
2946
+ outputFormat: "json";
2947
+ status: 201;
2948
+ };
2949
+ };
2950
+ } & {
2951
+ "/stay-checkpoints/:id": {
2952
+ $get: {
2953
+ input: {
2954
+ param: {
2955
+ id: string;
2956
+ };
2957
+ };
2958
+ output: {
2959
+ error: string;
2960
+ };
2961
+ outputFormat: "json";
2962
+ status: 404;
2963
+ } | {
2964
+ input: {
2965
+ param: {
2966
+ id: string;
2967
+ };
2968
+ };
2969
+ output: {
2970
+ data: {
2971
+ id: string;
2972
+ stayOperationId: string;
2973
+ checkpointType: "no_show" | "arrival" | "room_assigned" | "check_in" | "room_move" | "charge_posted" | "check_out" | "note";
2974
+ occurredAt: string;
2975
+ roomUnitId: string | null;
2976
+ notes: string | null;
2977
+ metadata: {
2978
+ [x: string]: import("hono/utils/types").JSONValue;
2979
+ } | null;
2980
+ createdAt: string;
2981
+ };
2982
+ };
2983
+ outputFormat: "json";
2984
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2985
+ };
2986
+ };
2987
+ } & {
2988
+ "/stay-checkpoints/:id": {
2989
+ $patch: {
2990
+ input: {
2991
+ param: {
2992
+ id: string;
2993
+ };
2994
+ };
2995
+ output: {
2996
+ error: string;
2997
+ };
2998
+ outputFormat: "json";
2999
+ status: 404;
3000
+ } | {
3001
+ input: {
3002
+ param: {
3003
+ id: string;
3004
+ };
3005
+ };
3006
+ output: {
3007
+ data: {
3008
+ id: string;
3009
+ stayOperationId: string;
3010
+ checkpointType: "no_show" | "arrival" | "room_assigned" | "check_in" | "room_move" | "charge_posted" | "check_out" | "note";
3011
+ occurredAt: string;
3012
+ roomUnitId: string | null;
3013
+ notes: string | null;
3014
+ metadata: {
3015
+ [x: string]: import("hono/utils/types").JSONValue;
3016
+ } | null;
3017
+ createdAt: string;
3018
+ };
3019
+ };
3020
+ outputFormat: "json";
3021
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3022
+ };
3023
+ };
3024
+ } & {
3025
+ "/stay-checkpoints/:id": {
3026
+ $delete: {
3027
+ input: {
3028
+ param: {
3029
+ id: string;
3030
+ };
3031
+ };
3032
+ output: {
3033
+ error: string;
3034
+ };
3035
+ outputFormat: "json";
3036
+ status: 404;
3037
+ } | {
3038
+ input: {
3039
+ param: {
3040
+ id: string;
3041
+ };
3042
+ };
3043
+ output: {
3044
+ success: true;
3045
+ };
3046
+ outputFormat: "json";
3047
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3048
+ };
3049
+ };
3050
+ } & {
3051
+ "/stay-service-posts": {
3052
+ $get: {
3053
+ input: {};
3054
+ output: {
3055
+ data: {
3056
+ id: string;
3057
+ stayOperationId: string;
3058
+ bookingItemId: string | null;
3059
+ serviceDate: string;
3060
+ kind: "other" | "fee" | "adjustment" | "lodging" | "meal" | "minibar";
3061
+ description: string;
3062
+ quantity: number;
3063
+ currencyCode: string;
3064
+ sellAmountCents: number;
3065
+ costAmountCents: number | null;
3066
+ notes: string | null;
3067
+ metadata: {
3068
+ [x: string]: import("hono/utils/types").JSONValue;
3069
+ } | null;
3070
+ createdAt: string;
3071
+ updatedAt: string;
3072
+ }[];
3073
+ total: number;
3074
+ limit: number;
3075
+ offset: number;
3076
+ };
3077
+ outputFormat: "json";
3078
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3079
+ };
3080
+ };
3081
+ } & {
3082
+ "/stay-service-posts": {
3083
+ $post: {
3084
+ input: {};
3085
+ output: {
3086
+ data: {
3087
+ id: string;
3088
+ notes: string | null;
3089
+ createdAt: string;
3090
+ updatedAt: string;
3091
+ sellAmountCents: number;
3092
+ costAmountCents: number | null;
3093
+ metadata: {
3094
+ [x: string]: import("hono/utils/types").JSONValue;
3095
+ } | null;
3096
+ description: string;
3097
+ serviceDate: string;
3098
+ quantity: number;
3099
+ bookingItemId: string | null;
3100
+ kind: "other" | "fee" | "adjustment" | "lodging" | "meal" | "minibar";
3101
+ currencyCode: string;
3102
+ stayOperationId: string;
3103
+ } | null;
3104
+ };
3105
+ outputFormat: "json";
3106
+ status: 201;
3107
+ };
3108
+ };
3109
+ } & {
3110
+ "/stay-service-posts/:id": {
3111
+ $get: {
3112
+ input: {
3113
+ param: {
3114
+ id: string;
3115
+ };
3116
+ };
3117
+ output: {
3118
+ error: string;
3119
+ };
3120
+ outputFormat: "json";
3121
+ status: 404;
3122
+ } | {
3123
+ input: {
3124
+ param: {
3125
+ id: string;
3126
+ };
3127
+ };
3128
+ output: {
3129
+ data: {
3130
+ id: string;
3131
+ stayOperationId: string;
3132
+ bookingItemId: string | null;
3133
+ serviceDate: string;
3134
+ kind: "other" | "fee" | "adjustment" | "lodging" | "meal" | "minibar";
3135
+ description: string;
3136
+ quantity: number;
3137
+ currencyCode: string;
3138
+ sellAmountCents: number;
3139
+ costAmountCents: number | null;
3140
+ notes: string | null;
3141
+ metadata: {
3142
+ [x: string]: import("hono/utils/types").JSONValue;
3143
+ } | null;
3144
+ createdAt: string;
3145
+ updatedAt: string;
3146
+ };
3147
+ };
3148
+ outputFormat: "json";
3149
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3150
+ };
3151
+ };
3152
+ } & {
3153
+ "/stay-service-posts/:id": {
3154
+ $patch: {
3155
+ input: {
3156
+ param: {
3157
+ id: string;
3158
+ };
3159
+ };
3160
+ output: {
3161
+ error: string;
3162
+ };
3163
+ outputFormat: "json";
3164
+ status: 404;
3165
+ } | {
3166
+ input: {
3167
+ param: {
3168
+ id: string;
3169
+ };
3170
+ };
3171
+ output: {
3172
+ data: {
3173
+ id: string;
3174
+ stayOperationId: string;
3175
+ bookingItemId: string | null;
3176
+ serviceDate: string;
3177
+ kind: "other" | "fee" | "adjustment" | "lodging" | "meal" | "minibar";
3178
+ description: string;
3179
+ quantity: number;
3180
+ currencyCode: string;
3181
+ sellAmountCents: number;
3182
+ costAmountCents: number | null;
3183
+ notes: string | null;
3184
+ metadata: {
3185
+ [x: string]: import("hono/utils/types").JSONValue;
3186
+ } | null;
3187
+ createdAt: string;
3188
+ updatedAt: string;
3189
+ };
3190
+ };
3191
+ outputFormat: "json";
3192
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3193
+ };
3194
+ };
3195
+ } & {
3196
+ "/stay-service-posts/:id": {
3197
+ $delete: {
3198
+ input: {
3199
+ param: {
3200
+ id: string;
3201
+ };
3202
+ };
3203
+ output: {
3204
+ error: string;
3205
+ };
3206
+ outputFormat: "json";
3207
+ status: 404;
3208
+ } | {
3209
+ input: {
3210
+ param: {
3211
+ id: string;
3212
+ };
3213
+ };
3214
+ output: {
3215
+ success: true;
3216
+ };
3217
+ outputFormat: "json";
3218
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3219
+ };
3220
+ };
3221
+ } & {
3222
+ "/stay-folios": {
3223
+ $get: {
3224
+ input: {};
3225
+ output: {
3226
+ data: {
3227
+ id: string;
3228
+ stayOperationId: string;
3229
+ currencyCode: string;
3230
+ status: "open" | "closed" | "transferred" | "void";
3231
+ openedAt: string;
3232
+ closedAt: string | null;
3233
+ notes: string | null;
3234
+ metadata: {
3235
+ [x: string]: import("hono/utils/types").JSONValue;
3236
+ } | null;
3237
+ createdAt: string;
3238
+ updatedAt: string;
3239
+ }[];
3240
+ total: number;
3241
+ limit: number;
3242
+ offset: number;
3243
+ };
3244
+ outputFormat: "json";
3245
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3246
+ };
3247
+ };
3248
+ } & {
3249
+ "/stay-folios": {
3250
+ $post: {
3251
+ input: {};
3252
+ output: {
3253
+ data: {
3254
+ id: string;
3255
+ status: "open" | "closed" | "transferred" | "void";
3256
+ notes: string | null;
3257
+ createdAt: string;
3258
+ updatedAt: string;
3259
+ metadata: {
3260
+ [x: string]: import("hono/utils/types").JSONValue;
3261
+ } | null;
3262
+ currencyCode: string;
3263
+ stayOperationId: string;
3264
+ openedAt: string;
3265
+ closedAt: string | null;
3266
+ } | null;
3267
+ };
3268
+ outputFormat: "json";
3269
+ status: 201;
3270
+ };
3271
+ };
3272
+ } & {
3273
+ "/stay-folios/:id": {
3274
+ $get: {
3275
+ input: {
3276
+ param: {
3277
+ id: string;
3278
+ };
3279
+ };
3280
+ output: {
3281
+ error: string;
3282
+ };
3283
+ outputFormat: "json";
3284
+ status: 404;
3285
+ } | {
3286
+ input: {
3287
+ param: {
3288
+ id: string;
3289
+ };
3290
+ };
3291
+ output: {
3292
+ data: {
3293
+ id: string;
3294
+ stayOperationId: string;
3295
+ currencyCode: string;
3296
+ status: "open" | "closed" | "transferred" | "void";
3297
+ openedAt: string;
3298
+ closedAt: string | null;
3299
+ notes: string | null;
3300
+ metadata: {
3301
+ [x: string]: import("hono/utils/types").JSONValue;
3302
+ } | null;
3303
+ createdAt: string;
3304
+ updatedAt: string;
3305
+ };
3306
+ };
3307
+ outputFormat: "json";
3308
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3309
+ };
3310
+ };
3311
+ } & {
3312
+ "/stay-folios/:id": {
3313
+ $patch: {
3314
+ input: {
3315
+ param: {
3316
+ id: string;
3317
+ };
3318
+ };
3319
+ output: {
3320
+ error: string;
3321
+ };
3322
+ outputFormat: "json";
3323
+ status: 404;
3324
+ } | {
3325
+ input: {
3326
+ param: {
3327
+ id: string;
3328
+ };
3329
+ };
3330
+ output: {
3331
+ data: {
3332
+ id: string;
3333
+ stayOperationId: string;
3334
+ currencyCode: string;
3335
+ status: "open" | "closed" | "transferred" | "void";
3336
+ openedAt: string;
3337
+ closedAt: string | null;
3338
+ notes: string | null;
3339
+ metadata: {
3340
+ [x: string]: import("hono/utils/types").JSONValue;
3341
+ } | null;
3342
+ createdAt: string;
3343
+ updatedAt: string;
3344
+ };
3345
+ };
3346
+ outputFormat: "json";
3347
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3348
+ };
3349
+ };
3350
+ } & {
3351
+ "/stay-folios/:id": {
3352
+ $delete: {
3353
+ input: {
3354
+ param: {
3355
+ id: string;
3356
+ };
3357
+ };
3358
+ output: {
3359
+ error: string;
3360
+ };
3361
+ outputFormat: "json";
3362
+ status: 404;
3363
+ } | {
3364
+ input: {
3365
+ param: {
3366
+ id: string;
3367
+ };
3368
+ };
3369
+ output: {
3370
+ success: true;
3371
+ };
3372
+ outputFormat: "json";
3373
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3374
+ };
3375
+ };
3376
+ } & {
3377
+ "/stay-folio-lines": {
3378
+ $get: {
3379
+ input: {};
3380
+ output: {
3381
+ data: {
3382
+ id: string;
3383
+ stayFolioId: string;
3384
+ servicePostId: string | null;
3385
+ postedAt: string;
3386
+ lineType: string;
3387
+ description: string;
3388
+ quantity: number;
3389
+ amountCents: number;
3390
+ taxAmountCents: number | null;
3391
+ feeAmountCents: number | null;
3392
+ notes: string | null;
3393
+ metadata: {
3394
+ [x: string]: import("hono/utils/types").JSONValue;
3395
+ } | null;
3396
+ createdAt: string;
3397
+ updatedAt: string;
3398
+ }[];
3399
+ total: number;
3400
+ limit: number;
3401
+ offset: number;
3402
+ };
3403
+ outputFormat: "json";
3404
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3405
+ };
3406
+ };
3407
+ } & {
3408
+ "/stay-folio-lines": {
3409
+ $post: {
3410
+ input: {};
3411
+ output: {
3412
+ data: {
3413
+ id: string;
3414
+ notes: string | null;
3415
+ createdAt: string;
3416
+ updatedAt: string;
3417
+ metadata: {
3418
+ [x: string]: import("hono/utils/types").JSONValue;
3419
+ } | null;
3420
+ description: string;
3421
+ quantity: number;
3422
+ taxAmountCents: number | null;
3423
+ feeAmountCents: number | null;
3424
+ stayFolioId: string;
3425
+ servicePostId: string | null;
3426
+ postedAt: string;
3427
+ lineType: string;
3428
+ amountCents: number;
3429
+ } | null;
3430
+ };
3431
+ outputFormat: "json";
3432
+ status: 201;
3433
+ };
3434
+ };
3435
+ } & {
3436
+ "/stay-folio-lines/:id": {
3437
+ $get: {
3438
+ input: {
3439
+ param: {
3440
+ id: string;
3441
+ };
3442
+ };
3443
+ output: {
3444
+ error: string;
3445
+ };
3446
+ outputFormat: "json";
3447
+ status: 404;
3448
+ } | {
3449
+ input: {
3450
+ param: {
3451
+ id: string;
3452
+ };
3453
+ };
3454
+ output: {
3455
+ data: {
3456
+ id: string;
3457
+ stayFolioId: string;
3458
+ servicePostId: string | null;
3459
+ postedAt: string;
3460
+ lineType: string;
3461
+ description: string;
3462
+ quantity: number;
3463
+ amountCents: number;
3464
+ taxAmountCents: number | null;
3465
+ feeAmountCents: number | null;
3466
+ notes: string | null;
3467
+ metadata: {
3468
+ [x: string]: import("hono/utils/types").JSONValue;
3469
+ } | null;
3470
+ createdAt: string;
3471
+ updatedAt: string;
3472
+ };
3473
+ };
3474
+ outputFormat: "json";
3475
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3476
+ };
3477
+ };
3478
+ } & {
3479
+ "/stay-folio-lines/:id": {
3480
+ $patch: {
3481
+ input: {
3482
+ param: {
3483
+ id: string;
3484
+ };
3485
+ };
3486
+ output: {
3487
+ error: string;
3488
+ };
3489
+ outputFormat: "json";
3490
+ status: 404;
3491
+ } | {
3492
+ input: {
3493
+ param: {
3494
+ id: string;
3495
+ };
3496
+ };
3497
+ output: {
3498
+ data: {
3499
+ id: string;
3500
+ stayFolioId: string;
3501
+ servicePostId: string | null;
3502
+ postedAt: string;
3503
+ lineType: string;
3504
+ description: string;
3505
+ quantity: number;
3506
+ amountCents: number;
3507
+ taxAmountCents: number | null;
3508
+ feeAmountCents: number | null;
3509
+ notes: string | null;
3510
+ metadata: {
3511
+ [x: string]: import("hono/utils/types").JSONValue;
3512
+ } | null;
3513
+ createdAt: string;
3514
+ updatedAt: string;
3515
+ };
3516
+ };
3517
+ outputFormat: "json";
3518
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3519
+ };
3520
+ };
3521
+ } & {
3522
+ "/stay-folio-lines/:id": {
3523
+ $delete: {
3524
+ input: {
3525
+ param: {
3526
+ id: string;
3527
+ };
3528
+ };
3529
+ output: {
3530
+ error: string;
3531
+ };
3532
+ outputFormat: "json";
3533
+ status: 404;
3534
+ } | {
3535
+ input: {
3536
+ param: {
3537
+ id: string;
3538
+ };
3539
+ };
3540
+ output: {
3541
+ success: true;
3542
+ };
3543
+ outputFormat: "json";
3544
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3545
+ };
3546
+ };
3547
+ }, "/", "/stay-folio-lines/:id">;
3548
+ export type HospitalityRoutes = typeof hospitalityRoutes;
3549
+ export {};
3550
+ //# sourceMappingURL=routes.d.ts.map