@voyant-travel/mice 0.2.0 → 0.4.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.
Files changed (44) hide show
  1. package/dist/booking-extension.d.ts +130 -0
  2. package/dist/booking-extension.d.ts.map +1 -0
  3. package/dist/booking-extension.js +83 -0
  4. package/dist/index.d.ts +14 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +37 -0
  7. package/dist/routes.d.ts +856 -5
  8. package/dist/routes.d.ts.map +1 -1
  9. package/dist/routes.js +167 -0
  10. package/dist/schema-delegates.d.ts +340 -0
  11. package/dist/schema-delegates.d.ts.map +1 -0
  12. package/dist/schema-delegates.js +76 -0
  13. package/dist/schema-rfp.d.ts +790 -0
  14. package/dist/schema-rfp.d.ts.map +1 -0
  15. package/dist/schema-rfp.js +104 -0
  16. package/dist/schema-rooming.d.ts +333 -0
  17. package/dist/schema-rooming.d.ts.map +1 -0
  18. package/dist/schema-rooming.js +47 -0
  19. package/dist/schema.d.ts +5 -0
  20. package/dist/schema.d.ts.map +1 -1
  21. package/dist/schema.js +4 -0
  22. package/dist/service-delegates.d.ts +40 -0
  23. package/dist/service-delegates.d.ts.map +1 -0
  24. package/dist/service-delegates.js +107 -0
  25. package/dist/service-rfp.d.ts +89 -0
  26. package/dist/service-rfp.d.ts.map +1 -0
  27. package/dist/service-rfp.js +198 -0
  28. package/dist/service-rooming.d.ts +50 -0
  29. package/dist/service-rooming.d.ts.map +1 -0
  30. package/dist/service-rooming.js +102 -0
  31. package/dist/validation-delegates.d.ts +109 -0
  32. package/dist/validation-delegates.d.ts.map +1 -0
  33. package/dist/validation-delegates.js +41 -0
  34. package/dist/validation-rfp.d.ts +110 -0
  35. package/dist/validation-rfp.d.ts.map +1 -0
  36. package/dist/validation-rfp.js +61 -0
  37. package/dist/validation-rooming.d.ts +37 -0
  38. package/dist/validation-rooming.d.ts.map +1 -0
  39. package/dist/validation-rooming.js +28 -0
  40. package/dist/validation-sessions.d.ts +1 -1
  41. package/migrations/0002_mice_baseline.sql +86 -0
  42. package/migrations/0003_mice_baseline.sql +84 -0
  43. package/migrations/meta/_journal.json +14 -0
  44. package/package.json +8 -3
package/dist/routes.d.ts CHANGED
@@ -184,8 +184,8 @@ export declare const miceAdminRoutes: import("hono/hono-base").HonoBase<Env, {
184
184
  notes: string | null;
185
185
  capacity: number | null;
186
186
  programId: string;
187
- functionSpaceId: string | null;
188
187
  title: string;
188
+ functionSpaceId: string | null;
189
189
  sessionType: "keynote" | "breakout" | "meal" | "networking" | "gala" | "excursion" | "free";
190
190
  dayDate: string | null;
191
191
  startsAt: string | null;
@@ -222,8 +222,8 @@ export declare const miceAdminRoutes: import("hono/hono-base").HonoBase<Env, {
222
222
  notes: string | null;
223
223
  capacity: number | null;
224
224
  programId: string;
225
- functionSpaceId: string | null;
226
225
  title: string;
226
+ functionSpaceId: string | null;
227
227
  sessionType: "keynote" | "breakout" | "meal" | "networking" | "gala" | "excursion" | "free";
228
228
  dayDate: string | null;
229
229
  startsAt: string | null;
@@ -266,8 +266,8 @@ export declare const miceAdminRoutes: import("hono/hono-base").HonoBase<Env, {
266
266
  notes: string | null;
267
267
  capacity: number | null;
268
268
  programId: string;
269
- functionSpaceId: string | null;
270
269
  title: string;
270
+ functionSpaceId: string | null;
271
271
  sessionType: "keynote" | "breakout" | "meal" | "networking" | "gala" | "excursion" | "free";
272
272
  dayDate: string | null;
273
273
  startsAt: string | null;
@@ -321,8 +321,8 @@ export declare const miceAdminRoutes: import("hono/hono-base").HonoBase<Env, {
321
321
  notes: string | null;
322
322
  capacity: number | null;
323
323
  programId: string;
324
- functionSpaceId: string | null;
325
324
  title: string;
325
+ functionSpaceId: string | null;
326
326
  sessionType: "keynote" | "breakout" | "meal" | "networking" | "gala" | "excursion" | "free";
327
327
  dayDate: string | null;
328
328
  startsAt: string | null;
@@ -397,7 +397,858 @@ export declare const miceAdminRoutes: import("hono/hono-base").HonoBase<Env, {
397
397
  status: import("hono/utils/http-status").ContentfulStatusCode;
398
398
  };
399
399
  };
400
- }, "/", "/sessions/:id/inclusions">;
400
+ } & {
401
+ "/delegates": {
402
+ $get: {
403
+ input: {};
404
+ output: {
405
+ data: {
406
+ metadata: {
407
+ [x: string]: import("hono/utils/types").JSONValue;
408
+ } | null;
409
+ status: "cancelled" | "invited" | "registered" | "confirmed" | "checked_in" | "no_show";
410
+ id: string;
411
+ createdAt: string;
412
+ updatedAt: string;
413
+ role: "staff" | "attendee" | "speaker" | "sponsor" | "vip" | "exhibitor" | "organizer";
414
+ notes: string | null;
415
+ bookingId: string | null;
416
+ programId: string;
417
+ personId: string | null;
418
+ arrivalAt: string | null;
419
+ departureAt: string | null;
420
+ }[];
421
+ limit: number;
422
+ offset: number;
423
+ };
424
+ outputFormat: "json";
425
+ status: import("hono/utils/http-status").ContentfulStatusCode;
426
+ };
427
+ };
428
+ } & {
429
+ "/delegates": {
430
+ $post: {
431
+ input: {};
432
+ output: {
433
+ error: string;
434
+ };
435
+ outputFormat: "json";
436
+ status: 404;
437
+ } | {
438
+ input: {};
439
+ output: {
440
+ data: {
441
+ metadata: {
442
+ [x: string]: import("hono/utils/types").JSONValue;
443
+ } | null;
444
+ status: "cancelled" | "invited" | "registered" | "confirmed" | "checked_in" | "no_show";
445
+ id: string;
446
+ createdAt: string;
447
+ updatedAt: string;
448
+ role: "staff" | "attendee" | "speaker" | "sponsor" | "vip" | "exhibitor" | "organizer";
449
+ notes: string | null;
450
+ bookingId: string | null;
451
+ programId: string;
452
+ personId: string | null;
453
+ arrivalAt: string | null;
454
+ departureAt: string | null;
455
+ };
456
+ };
457
+ outputFormat: "json";
458
+ status: 201;
459
+ };
460
+ };
461
+ } & {
462
+ "/delegates/:id": {
463
+ $get: {
464
+ input: {
465
+ param: {
466
+ id: string;
467
+ };
468
+ };
469
+ output: {
470
+ error: string;
471
+ };
472
+ outputFormat: "json";
473
+ status: 404;
474
+ } | {
475
+ input: {
476
+ param: {
477
+ id: string;
478
+ };
479
+ };
480
+ output: {
481
+ data: {
482
+ metadata: {
483
+ [x: string]: import("hono/utils/types").JSONValue;
484
+ } | null;
485
+ status: "cancelled" | "invited" | "registered" | "confirmed" | "checked_in" | "no_show";
486
+ id: string;
487
+ createdAt: string;
488
+ updatedAt: string;
489
+ role: "staff" | "attendee" | "speaker" | "sponsor" | "vip" | "exhibitor" | "organizer";
490
+ notes: string | null;
491
+ bookingId: string | null;
492
+ programId: string;
493
+ personId: string | null;
494
+ arrivalAt: string | null;
495
+ departureAt: string | null;
496
+ enrollments: {
497
+ status: "cancelled" | "registered" | "waitlisted" | "attended";
498
+ id: string;
499
+ createdAt: string;
500
+ updatedAt: string;
501
+ sessionId: string;
502
+ delegateId: string;
503
+ }[];
504
+ };
505
+ };
506
+ outputFormat: "json";
507
+ status: import("hono/utils/http-status").ContentfulStatusCode;
508
+ };
509
+ };
510
+ } & {
511
+ "/delegates/:id": {
512
+ $patch: {
513
+ input: {
514
+ param: {
515
+ id: string;
516
+ };
517
+ };
518
+ output: {
519
+ error: string;
520
+ };
521
+ outputFormat: "json";
522
+ status: 404;
523
+ } | {
524
+ input: {
525
+ param: {
526
+ id: string;
527
+ };
528
+ };
529
+ output: {
530
+ data: {
531
+ metadata: {
532
+ [x: string]: import("hono/utils/types").JSONValue;
533
+ } | null;
534
+ status: "cancelled" | "invited" | "registered" | "confirmed" | "checked_in" | "no_show";
535
+ id: string;
536
+ createdAt: string;
537
+ updatedAt: string;
538
+ role: "staff" | "attendee" | "speaker" | "sponsor" | "vip" | "exhibitor" | "organizer";
539
+ notes: string | null;
540
+ bookingId: string | null;
541
+ programId: string;
542
+ personId: string | null;
543
+ arrivalAt: string | null;
544
+ departureAt: string | null;
545
+ };
546
+ };
547
+ outputFormat: "json";
548
+ status: import("hono/utils/http-status").ContentfulStatusCode;
549
+ };
550
+ };
551
+ } & {
552
+ "/delegates/:id/enrollments": {
553
+ $post: {
554
+ input: {
555
+ param: {
556
+ id: string;
557
+ };
558
+ };
559
+ output: {
560
+ data: {
561
+ status: "cancelled" | "registered" | "waitlisted" | "attended";
562
+ id: string;
563
+ createdAt: string;
564
+ updatedAt: string;
565
+ sessionId: string;
566
+ delegateId: string;
567
+ };
568
+ };
569
+ outputFormat: "json";
570
+ status: 200 | 201;
571
+ } | {
572
+ input: {
573
+ param: {
574
+ id: string;
575
+ };
576
+ };
577
+ output: {
578
+ error: string;
579
+ };
580
+ outputFormat: "json";
581
+ status: 404;
582
+ } | {
583
+ input: {
584
+ param: {
585
+ id: string;
586
+ };
587
+ };
588
+ output: {
589
+ error: string;
590
+ };
591
+ outputFormat: "json";
592
+ status: 409;
593
+ };
594
+ };
595
+ } & {
596
+ "/rooming-assignments": {
597
+ $get: {
598
+ input: {};
599
+ output: {
600
+ data: {
601
+ metadata: {
602
+ [x: string]: import("hono/utils/types").JSONValue;
603
+ } | null;
604
+ id: string;
605
+ createdAt: string;
606
+ updatedAt: string;
607
+ programId: string;
608
+ roomBlockId: string | null;
609
+ roomTypeId: string | null;
610
+ bedConfig: string | null;
611
+ sharingGroupId: string | null;
612
+ checkIn: string | null;
613
+ checkOut: string | null;
614
+ specialRequests: string | null;
615
+ }[];
616
+ limit: number;
617
+ offset: number;
618
+ };
619
+ outputFormat: "json";
620
+ status: import("hono/utils/http-status").ContentfulStatusCode;
621
+ };
622
+ };
623
+ } & {
624
+ "/rooming-assignments": {
625
+ $post: {
626
+ input: {};
627
+ output: {
628
+ error: string;
629
+ };
630
+ outputFormat: "json";
631
+ status: 404;
632
+ } | {
633
+ input: {};
634
+ output: {
635
+ data: {
636
+ metadata: {
637
+ [x: string]: import("hono/utils/types").JSONValue;
638
+ } | null;
639
+ id: string;
640
+ createdAt: string;
641
+ updatedAt: string;
642
+ programId: string;
643
+ roomBlockId: string | null;
644
+ roomTypeId: string | null;
645
+ bedConfig: string | null;
646
+ sharingGroupId: string | null;
647
+ checkIn: string | null;
648
+ checkOut: string | null;
649
+ specialRequests: string | null;
650
+ };
651
+ };
652
+ outputFormat: "json";
653
+ status: 201;
654
+ };
655
+ };
656
+ } & {
657
+ "/rooming-assignments/:id": {
658
+ $get: {
659
+ input: {
660
+ param: {
661
+ id: string;
662
+ };
663
+ };
664
+ output: {
665
+ error: string;
666
+ };
667
+ outputFormat: "json";
668
+ status: 404;
669
+ } | {
670
+ input: {
671
+ param: {
672
+ id: string;
673
+ };
674
+ };
675
+ output: {
676
+ data: {
677
+ metadata: {
678
+ [x: string]: import("hono/utils/types").JSONValue;
679
+ } | null;
680
+ id: string;
681
+ createdAt: string;
682
+ updatedAt: string;
683
+ programId: string;
684
+ roomBlockId: string | null;
685
+ roomTypeId: string | null;
686
+ bedConfig: string | null;
687
+ sharingGroupId: string | null;
688
+ checkIn: string | null;
689
+ checkOut: string | null;
690
+ specialRequests: string | null;
691
+ delegates: {
692
+ id: string;
693
+ createdAt: string;
694
+ delegateId: string;
695
+ roomingAssignmentId: string;
696
+ isPrimary: boolean;
697
+ bedLabel: string | null;
698
+ }[];
699
+ };
700
+ };
701
+ outputFormat: "json";
702
+ status: import("hono/utils/http-status").ContentfulStatusCode;
703
+ };
704
+ };
705
+ } & {
706
+ "/rooming-assignments/:id": {
707
+ $patch: {
708
+ input: {
709
+ param: {
710
+ id: string;
711
+ };
712
+ };
713
+ output: {
714
+ error: string;
715
+ };
716
+ outputFormat: "json";
717
+ status: 404;
718
+ } | {
719
+ input: {
720
+ param: {
721
+ id: string;
722
+ };
723
+ };
724
+ output: {
725
+ data: {
726
+ metadata: {
727
+ [x: string]: import("hono/utils/types").JSONValue;
728
+ } | null;
729
+ id: string;
730
+ createdAt: string;
731
+ updatedAt: string;
732
+ programId: string;
733
+ roomBlockId: string | null;
734
+ roomTypeId: string | null;
735
+ bedConfig: string | null;
736
+ sharingGroupId: string | null;
737
+ checkIn: string | null;
738
+ checkOut: string | null;
739
+ specialRequests: string | null;
740
+ };
741
+ };
742
+ outputFormat: "json";
743
+ status: import("hono/utils/http-status").ContentfulStatusCode;
744
+ };
745
+ };
746
+ } & {
747
+ "/rooming-assignments/:id/delegates": {
748
+ $put: {
749
+ input: {
750
+ param: {
751
+ id: string;
752
+ };
753
+ };
754
+ output: {
755
+ data: {
756
+ id: string;
757
+ createdAt: string;
758
+ delegateId: string;
759
+ roomingAssignmentId: string;
760
+ isPrimary: boolean;
761
+ bedLabel: string | null;
762
+ }[];
763
+ };
764
+ outputFormat: "json";
765
+ status: import("hono/utils/http-status").ContentfulStatusCode;
766
+ } | {
767
+ input: {
768
+ param: {
769
+ id: string;
770
+ };
771
+ };
772
+ output: {
773
+ error: string;
774
+ };
775
+ outputFormat: "json";
776
+ status: 404;
777
+ } | {
778
+ input: {
779
+ param: {
780
+ id: string;
781
+ };
782
+ };
783
+ output: {
784
+ error: string;
785
+ detail: {
786
+ offending: string[];
787
+ };
788
+ };
789
+ outputFormat: "json";
790
+ status: 409;
791
+ };
792
+ };
793
+ } & {
794
+ "/rfps": {
795
+ $get: {
796
+ input: {};
797
+ output: {
798
+ data: {
799
+ status: "cancelled" | "draft" | "issued" | "closed" | "awarded";
800
+ id: string;
801
+ createdAt: string;
802
+ updatedAt: string;
803
+ notes: string | null;
804
+ programId: string;
805
+ title: string;
806
+ requirements: {
807
+ [x: string]: import("hono/utils/types").JSONValue;
808
+ } | null;
809
+ issuedAt: string | null;
810
+ dueAt: string | null;
811
+ }[];
812
+ limit: number;
813
+ offset: number;
814
+ };
815
+ outputFormat: "json";
816
+ status: import("hono/utils/http-status").ContentfulStatusCode;
817
+ };
818
+ };
819
+ } & {
820
+ "/rfps": {
821
+ $post: {
822
+ input: {};
823
+ output: {
824
+ error: string;
825
+ };
826
+ outputFormat: "json";
827
+ status: 404;
828
+ } | {
829
+ input: {};
830
+ output: {
831
+ data: {
832
+ status: "cancelled" | "draft" | "issued" | "closed" | "awarded";
833
+ id: string;
834
+ createdAt: string;
835
+ updatedAt: string;
836
+ notes: string | null;
837
+ programId: string;
838
+ title: string;
839
+ requirements: {
840
+ [x: string]: import("hono/utils/types").JSONValue;
841
+ } | null;
842
+ issuedAt: string | null;
843
+ dueAt: string | null;
844
+ };
845
+ };
846
+ outputFormat: "json";
847
+ status: 201;
848
+ };
849
+ };
850
+ } & {
851
+ "/rfps/:id": {
852
+ $get: {
853
+ input: {
854
+ param: {
855
+ id: string;
856
+ };
857
+ };
858
+ output: {
859
+ error: string;
860
+ };
861
+ outputFormat: "json";
862
+ status: 404;
863
+ } | {
864
+ input: {
865
+ param: {
866
+ id: string;
867
+ };
868
+ };
869
+ output: {
870
+ data: {
871
+ status: "cancelled" | "draft" | "issued" | "closed" | "awarded";
872
+ id: string;
873
+ createdAt: string;
874
+ updatedAt: string;
875
+ notes: string | null;
876
+ programId: string;
877
+ title: string;
878
+ requirements: {
879
+ [x: string]: import("hono/utils/types").JSONValue;
880
+ } | null;
881
+ issuedAt: string | null;
882
+ dueAt: string | null;
883
+ invitations: {
884
+ status: "invited" | "viewed" | "declined" | "responded";
885
+ id: string;
886
+ createdAt: string;
887
+ updatedAt: string;
888
+ rfpId: string;
889
+ supplierId: string;
890
+ }[];
891
+ bids: {
892
+ currency: string | null;
893
+ status: "draft" | "submitted" | "under_review" | "accepted" | "rejected";
894
+ id: string;
895
+ createdAt: string;
896
+ updatedAt: string;
897
+ notes: string | null;
898
+ rfpId: string;
899
+ supplierId: string;
900
+ totalCents: number | null;
901
+ proposalDoc: string | null;
902
+ validUntil: string | null;
903
+ }[];
904
+ };
905
+ };
906
+ outputFormat: "json";
907
+ status: import("hono/utils/http-status").ContentfulStatusCode;
908
+ };
909
+ };
910
+ } & {
911
+ "/rfps/:id": {
912
+ $patch: {
913
+ input: {
914
+ param: {
915
+ id: string;
916
+ };
917
+ };
918
+ output: {
919
+ error: string;
920
+ };
921
+ outputFormat: "json";
922
+ status: 404;
923
+ } | {
924
+ input: {
925
+ param: {
926
+ id: string;
927
+ };
928
+ };
929
+ output: {
930
+ data: {
931
+ status: "cancelled" | "draft" | "issued" | "closed" | "awarded";
932
+ id: string;
933
+ createdAt: string;
934
+ updatedAt: string;
935
+ notes: string | null;
936
+ programId: string;
937
+ title: string;
938
+ requirements: {
939
+ [x: string]: import("hono/utils/types").JSONValue;
940
+ } | null;
941
+ issuedAt: string | null;
942
+ dueAt: string | null;
943
+ };
944
+ };
945
+ outputFormat: "json";
946
+ status: import("hono/utils/http-status").ContentfulStatusCode;
947
+ };
948
+ };
949
+ } & {
950
+ "/rfps/:id/invitations": {
951
+ $post: {
952
+ input: {
953
+ param: {
954
+ id: string;
955
+ };
956
+ };
957
+ output: {
958
+ error: string;
959
+ };
960
+ outputFormat: "json";
961
+ status: 404;
962
+ } | {
963
+ input: {
964
+ param: {
965
+ id: string;
966
+ };
967
+ };
968
+ output: {
969
+ data: {
970
+ status: "invited" | "viewed" | "declined" | "responded";
971
+ id: string;
972
+ createdAt: string;
973
+ updatedAt: string;
974
+ rfpId: string;
975
+ supplierId: string;
976
+ };
977
+ };
978
+ outputFormat: "json";
979
+ status: 200 | 201;
980
+ };
981
+ };
982
+ } & {
983
+ "/rfps/:id/bids": {
984
+ $post: {
985
+ input: {
986
+ param: {
987
+ id: string;
988
+ };
989
+ };
990
+ output: {
991
+ error: string;
992
+ };
993
+ outputFormat: "json";
994
+ status: 404;
995
+ } | {
996
+ input: {
997
+ param: {
998
+ id: string;
999
+ };
1000
+ };
1001
+ output: {
1002
+ data: {
1003
+ currency: string | null;
1004
+ status: "draft" | "submitted" | "under_review" | "accepted" | "rejected";
1005
+ id: string;
1006
+ createdAt: string;
1007
+ updatedAt: string;
1008
+ notes: string | null;
1009
+ rfpId: string;
1010
+ supplierId: string;
1011
+ totalCents: number | null;
1012
+ proposalDoc: string | null;
1013
+ validUntil: string | null;
1014
+ };
1015
+ };
1016
+ outputFormat: "json";
1017
+ status: 201;
1018
+ };
1019
+ };
1020
+ } & {
1021
+ "/rfps/:id/award": {
1022
+ $post: {
1023
+ input: {
1024
+ param: {
1025
+ id: string;
1026
+ };
1027
+ };
1028
+ output: {
1029
+ data: {
1030
+ rfp: {
1031
+ status: "cancelled" | "draft" | "issued" | "closed" | "awarded";
1032
+ id: string;
1033
+ createdAt: string;
1034
+ updatedAt: string;
1035
+ notes: string | null;
1036
+ programId: string;
1037
+ title: string;
1038
+ requirements: {
1039
+ [x: string]: import("hono/utils/types").JSONValue;
1040
+ } | null;
1041
+ issuedAt: string | null;
1042
+ dueAt: string | null;
1043
+ };
1044
+ bid: {
1045
+ currency: string | null;
1046
+ status: "draft" | "submitted" | "under_review" | "accepted" | "rejected";
1047
+ id: string;
1048
+ createdAt: string;
1049
+ updatedAt: string;
1050
+ notes: string | null;
1051
+ rfpId: string;
1052
+ supplierId: string;
1053
+ totalCents: number | null;
1054
+ proposalDoc: string | null;
1055
+ validUntil: string | null;
1056
+ };
1057
+ };
1058
+ };
1059
+ outputFormat: "json";
1060
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1061
+ } | {
1062
+ input: {
1063
+ param: {
1064
+ id: string;
1065
+ };
1066
+ };
1067
+ output: {
1068
+ error: string;
1069
+ };
1070
+ outputFormat: "json";
1071
+ status: 404;
1072
+ } | {
1073
+ input: {
1074
+ param: {
1075
+ id: string;
1076
+ };
1077
+ };
1078
+ output: {
1079
+ error: string;
1080
+ };
1081
+ outputFormat: "json";
1082
+ status: 409;
1083
+ };
1084
+ };
1085
+ } & {
1086
+ "/bids/:id": {
1087
+ $get: {
1088
+ input: {
1089
+ param: {
1090
+ id: string;
1091
+ };
1092
+ };
1093
+ output: {
1094
+ error: string;
1095
+ };
1096
+ outputFormat: "json";
1097
+ status: 404;
1098
+ } | {
1099
+ input: {
1100
+ param: {
1101
+ id: string;
1102
+ };
1103
+ };
1104
+ output: {
1105
+ data: {
1106
+ currency: string | null;
1107
+ status: "draft" | "submitted" | "under_review" | "accepted" | "rejected";
1108
+ id: string;
1109
+ createdAt: string;
1110
+ updatedAt: string;
1111
+ notes: string | null;
1112
+ rfpId: string;
1113
+ supplierId: string;
1114
+ totalCents: number | null;
1115
+ proposalDoc: string | null;
1116
+ validUntil: string | null;
1117
+ lines: {
1118
+ id: string;
1119
+ createdAt: string;
1120
+ description: string | null;
1121
+ quantity: number;
1122
+ totalCents: number | null;
1123
+ bidId: string;
1124
+ requirementRef: string | null;
1125
+ unitCents: number | null;
1126
+ }[];
1127
+ evaluations: {
1128
+ id: string;
1129
+ createdAt: string;
1130
+ notes: string | null;
1131
+ bidId: string;
1132
+ criterion: string;
1133
+ weight: number | null;
1134
+ score: number | null;
1135
+ evaluatedBy: string | null;
1136
+ }[];
1137
+ };
1138
+ };
1139
+ outputFormat: "json";
1140
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1141
+ };
1142
+ };
1143
+ } & {
1144
+ "/bids/:id": {
1145
+ $patch: {
1146
+ input: {
1147
+ param: {
1148
+ id: string;
1149
+ };
1150
+ };
1151
+ output: {
1152
+ error: string;
1153
+ };
1154
+ outputFormat: "json";
1155
+ status: 404;
1156
+ } | {
1157
+ input: {
1158
+ param: {
1159
+ id: string;
1160
+ };
1161
+ };
1162
+ output: {
1163
+ data: {
1164
+ currency: string | null;
1165
+ status: "draft" | "submitted" | "under_review" | "accepted" | "rejected";
1166
+ id: string;
1167
+ createdAt: string;
1168
+ updatedAt: string;
1169
+ notes: string | null;
1170
+ rfpId: string;
1171
+ supplierId: string;
1172
+ totalCents: number | null;
1173
+ proposalDoc: string | null;
1174
+ validUntil: string | null;
1175
+ };
1176
+ };
1177
+ outputFormat: "json";
1178
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1179
+ };
1180
+ };
1181
+ } & {
1182
+ "/bids/:id/lines": {
1183
+ $put: {
1184
+ input: {
1185
+ param: {
1186
+ id: string;
1187
+ };
1188
+ };
1189
+ output: {
1190
+ error: string;
1191
+ };
1192
+ outputFormat: "json";
1193
+ status: 404;
1194
+ } | {
1195
+ input: {
1196
+ param: {
1197
+ id: string;
1198
+ };
1199
+ };
1200
+ output: {
1201
+ data: {
1202
+ id: string;
1203
+ createdAt: string;
1204
+ description: string | null;
1205
+ quantity: number;
1206
+ totalCents: number | null;
1207
+ bidId: string;
1208
+ requirementRef: string | null;
1209
+ unitCents: number | null;
1210
+ }[];
1211
+ };
1212
+ outputFormat: "json";
1213
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1214
+ };
1215
+ };
1216
+ } & {
1217
+ "/bids/:id/evaluations": {
1218
+ $post: {
1219
+ input: {
1220
+ param: {
1221
+ id: string;
1222
+ };
1223
+ };
1224
+ output: {
1225
+ error: string;
1226
+ };
1227
+ outputFormat: "json";
1228
+ status: 404;
1229
+ } | {
1230
+ input: {
1231
+ param: {
1232
+ id: string;
1233
+ };
1234
+ };
1235
+ output: {
1236
+ data: {
1237
+ id: string;
1238
+ createdAt: string;
1239
+ notes: string | null;
1240
+ bidId: string;
1241
+ criterion: string;
1242
+ weight: number | null;
1243
+ score: number | null;
1244
+ evaluatedBy: string | null;
1245
+ };
1246
+ };
1247
+ outputFormat: "json";
1248
+ status: 201;
1249
+ };
1250
+ };
1251
+ }, "/", "/bids/:id/evaluations">;
401
1252
  export type MiceAdminRoutes = typeof miceAdminRoutes;
402
1253
  export {};
403
1254
  //# sourceMappingURL=routes.d.ts.map