@deepintel-ltd/buildlink-api-contracts 0.2.29 → 0.2.30

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 (115) hide show
  1. package/README.md +1 -1
  2. package/contracts/auth.d.ts +68 -68
  3. package/contracts/boq.d.ts +18 -18
  4. package/contracts/budget.d.ts +1969 -173
  5. package/contracts/budget.d.ts.map +1 -1
  6. package/contracts/budget.js +36 -1
  7. package/contracts/budget.js.map +1 -1
  8. package/contracts/communication.d.ts +560 -0
  9. package/contracts/communication.d.ts.map +1 -1
  10. package/contracts/contractor-ledger.d.ts +508 -12
  11. package/contracts/contractor-ledger.d.ts.map +1 -1
  12. package/contracts/contractor-ledger.js +29 -1
  13. package/contracts/contractor-ledger.js.map +1 -1
  14. package/contracts/daily-logs.d.ts +1362 -74
  15. package/contracts/daily-logs.d.ts.map +1 -1
  16. package/contracts/deficiencies.d.ts +4516 -436
  17. package/contracts/deficiencies.d.ts.map +1 -1
  18. package/contracts/deficiencies.js +99 -1
  19. package/contracts/deficiencies.js.map +1 -1
  20. package/contracts/directory.d.ts +48 -48
  21. package/contracts/documents.d.ts +149 -149
  22. package/contracts/drawings.d.ts +246 -246
  23. package/contracts/hub.d.ts +18 -18
  24. package/contracts/index.d.ts +3 -2
  25. package/contracts/index.d.ts.map +1 -1
  26. package/contracts/index.js +2 -2
  27. package/contracts/index.js.map +1 -1
  28. package/contracts/maps.d.ts +42 -42
  29. package/contracts/packages.d.ts +24 -24
  30. package/contracts/projects.d.ts +610 -50
  31. package/contracts/projects.d.ts.map +1 -1
  32. package/contracts/proof.d.ts +694 -0
  33. package/contracts/proof.d.ts.map +1 -1
  34. package/contracts/proof.js +41 -1
  35. package/contracts/proof.js.map +1 -1
  36. package/contracts/qaqc.d.ts +546 -0
  37. package/contracts/qaqc.d.ts.map +1 -1
  38. package/contracts/qaqc.js +15 -1
  39. package/contracts/qaqc.js.map +1 -1
  40. package/contracts/rbac.d.ts +6 -6
  41. package/contracts/resources.d.ts +60 -60
  42. package/contracts/rfi-submittal.d.ts +128 -128
  43. package/contracts/safety.d.ts +2156 -162
  44. package/contracts/safety.d.ts.map +1 -1
  45. package/contracts/safety.js +44 -1
  46. package/contracts/safety.js.map +1 -1
  47. package/contracts/schedule.d.ts +84 -84
  48. package/contracts/specifications.d.ts +156 -156
  49. package/contracts/tasks.d.ts +2312 -229
  50. package/contracts/tasks.d.ts.map +1 -1
  51. package/contracts/tasks.js +55 -1
  52. package/contracts/tasks.js.map +1 -1
  53. package/contracts/timecards.d.ts +32 -32
  54. package/contracts/valuations.d.ts +64 -64
  55. package/package.json +1 -1
  56. package/schemas/auth.d.ts +36 -36
  57. package/schemas/boq.d.ts +6 -6
  58. package/schemas/budget.d.ts +168 -4
  59. package/schemas/budget.d.ts.map +1 -1
  60. package/schemas/budget.js +31 -1
  61. package/schemas/budget.js.map +1 -1
  62. package/schemas/common.d.ts +37 -0
  63. package/schemas/common.d.ts.map +1 -1
  64. package/schemas/common.js +34 -0
  65. package/schemas/common.js.map +1 -1
  66. package/schemas/common.person-summary.spec.d.ts +2 -0
  67. package/schemas/common.person-summary.spec.d.ts.map +1 -0
  68. package/schemas/common.person-summary.spec.js +33 -0
  69. package/schemas/common.person-summary.spec.js.map +1 -0
  70. package/schemas/communication.d.ts +94 -0
  71. package/schemas/communication.d.ts.map +1 -1
  72. package/schemas/communication.js +3 -1
  73. package/schemas/communication.js.map +1 -1
  74. package/schemas/contractor-ledger.d.ts +77 -6
  75. package/schemas/contractor-ledger.d.ts.map +1 -1
  76. package/schemas/contractor-ledger.js +13 -0
  77. package/schemas/contractor-ledger.js.map +1 -1
  78. package/schemas/daily-logs.d.ts +232 -22
  79. package/schemas/daily-logs.d.ts.map +1 -1
  80. package/schemas/daily-logs.js +7 -1
  81. package/schemas/daily-logs.js.map +1 -1
  82. package/schemas/deficiencies.d.ts +793 -100
  83. package/schemas/deficiencies.d.ts.map +1 -1
  84. package/schemas/deficiencies.js +79 -6
  85. package/schemas/deficiencies.js.map +1 -1
  86. package/schemas/directory.d.ts +20 -20
  87. package/schemas/documents.d.ts +3 -3
  88. package/schemas/drawings.d.ts +74 -74
  89. package/schemas/hub.d.ts +6 -6
  90. package/schemas/maps.d.ts +6 -6
  91. package/schemas/packages.d.ts +6 -6
  92. package/schemas/projects.d.ts +8 -8
  93. package/schemas/proof.d.ts +20 -0
  94. package/schemas/proof.d.ts.map +1 -1
  95. package/schemas/proof.js +7 -0
  96. package/schemas/proof.js.map +1 -1
  97. package/schemas/qaqc.d.ts +74 -0
  98. package/schemas/qaqc.d.ts.map +1 -1
  99. package/schemas/qaqc.js +26 -1
  100. package/schemas/qaqc.js.map +1 -1
  101. package/schemas/resources.d.ts +18 -18
  102. package/schemas/rfi.d.ts +52 -52
  103. package/schemas/safety.d.ts +491 -0
  104. package/schemas/safety.d.ts.map +1 -1
  105. package/schemas/safety.js +54 -1
  106. package/schemas/safety.js.map +1 -1
  107. package/schemas/schedule.d.ts +68 -68
  108. package/schemas/specifications.d.ts +134 -134
  109. package/schemas/submittal.d.ts +52 -52
  110. package/schemas/tasks.d.ts +111 -23
  111. package/schemas/tasks.d.ts.map +1 -1
  112. package/schemas/tasks.js +11 -2
  113. package/schemas/tasks.js.map +1 -1
  114. package/schemas/timecards.d.ts +6 -6
  115. package/schemas/valuations.d.ts +12 -12
@@ -517,6 +517,448 @@ export declare const proofContract: {
517
517
  }>;
518
518
  };
519
519
  };
520
+ updatePack: {
521
+ pathParams: z.ZodObject<{
522
+ packId: z.ZodString;
523
+ }, "strip", z.ZodTypeAny, {
524
+ packId: string;
525
+ }, {
526
+ packId: string;
527
+ }>;
528
+ summary: "Update a Proof milestone pack";
529
+ method: "PATCH";
530
+ body: z.ZodObject<{
531
+ title: z.ZodOptional<z.ZodString>;
532
+ milestoneId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
533
+ artifactUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
534
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
535
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "READY", "SHARED", "ARCHIVED"]>>;
536
+ }, "strip", z.ZodTypeAny, {
537
+ status?: "ARCHIVED" | "DRAFT" | "READY" | "SHARED" | undefined;
538
+ title?: string | undefined;
539
+ summary?: string | null | undefined;
540
+ milestoneId?: string | null | undefined;
541
+ artifactUrls?: string[] | undefined;
542
+ }, {
543
+ status?: "ARCHIVED" | "DRAFT" | "READY" | "SHARED" | undefined;
544
+ title?: string | undefined;
545
+ summary?: string | null | undefined;
546
+ milestoneId?: string | null | undefined;
547
+ artifactUrls?: string[] | undefined;
548
+ }>;
549
+ path: "/proof/packs/:packId";
550
+ responses: {
551
+ 200: z.ZodObject<{
552
+ data: z.ZodObject<{
553
+ type: z.ZodLiteral<"proof-milestone-packs">;
554
+ id: z.ZodString;
555
+ attributes: z.ZodObject<Omit<{
556
+ id: z.ZodString;
557
+ projectId: z.ZodString;
558
+ companyId: z.ZodString;
559
+ title: z.ZodString;
560
+ milestoneId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
561
+ status: z.ZodEnum<["DRAFT", "READY", "SHARED", "ARCHIVED"]>;
562
+ artifactUrls: z.ZodArray<z.ZodString, "many">;
563
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
564
+ createdById: z.ZodString;
565
+ createdAt: z.ZodString;
566
+ updatedAt: z.ZodString;
567
+ }, "id">, "strip", z.ZodTypeAny, {
568
+ createdAt: string;
569
+ updatedAt: string;
570
+ companyId: string;
571
+ status: "ARCHIVED" | "DRAFT" | "READY" | "SHARED";
572
+ title: string;
573
+ projectId: string;
574
+ createdById: string;
575
+ artifactUrls: string[];
576
+ summary?: string | null | undefined;
577
+ milestoneId?: string | null | undefined;
578
+ }, {
579
+ createdAt: string;
580
+ updatedAt: string;
581
+ companyId: string;
582
+ status: "ARCHIVED" | "DRAFT" | "READY" | "SHARED";
583
+ title: string;
584
+ projectId: string;
585
+ createdById: string;
586
+ artifactUrls: string[];
587
+ summary?: string | null | undefined;
588
+ milestoneId?: string | null | undefined;
589
+ }>;
590
+ }, "strip", z.ZodTypeAny, {
591
+ id: string;
592
+ type: "proof-milestone-packs";
593
+ attributes: {
594
+ createdAt: string;
595
+ updatedAt: string;
596
+ companyId: string;
597
+ status: "ARCHIVED" | "DRAFT" | "READY" | "SHARED";
598
+ title: string;
599
+ projectId: string;
600
+ createdById: string;
601
+ artifactUrls: string[];
602
+ summary?: string | null | undefined;
603
+ milestoneId?: string | null | undefined;
604
+ };
605
+ }, {
606
+ id: string;
607
+ type: "proof-milestone-packs";
608
+ attributes: {
609
+ createdAt: string;
610
+ updatedAt: string;
611
+ companyId: string;
612
+ status: "ARCHIVED" | "DRAFT" | "READY" | "SHARED";
613
+ title: string;
614
+ projectId: string;
615
+ createdById: string;
616
+ artifactUrls: string[];
617
+ summary?: string | null | undefined;
618
+ milestoneId?: string | null | undefined;
619
+ };
620
+ }>;
621
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
622
+ links: z.ZodOptional<z.ZodObject<{
623
+ self: z.ZodString;
624
+ first: z.ZodOptional<z.ZodString>;
625
+ last: z.ZodOptional<z.ZodString>;
626
+ prev: z.ZodOptional<z.ZodString>;
627
+ next: z.ZodOptional<z.ZodString>;
628
+ }, "strip", z.ZodTypeAny, {
629
+ self: string;
630
+ first?: string | undefined;
631
+ last?: string | undefined;
632
+ prev?: string | undefined;
633
+ next?: string | undefined;
634
+ }, {
635
+ self: string;
636
+ first?: string | undefined;
637
+ last?: string | undefined;
638
+ prev?: string | undefined;
639
+ next?: string | undefined;
640
+ }>>;
641
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
642
+ status: z.ZodString;
643
+ title: z.ZodString;
644
+ detail: z.ZodOptional<z.ZodString>;
645
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ status: string;
648
+ title: string;
649
+ detail?: string | undefined;
650
+ meta?: Record<string, unknown> | undefined;
651
+ }, {
652
+ status: string;
653
+ title: string;
654
+ detail?: string | undefined;
655
+ meta?: Record<string, unknown> | undefined;
656
+ }>, "many">>;
657
+ }, "strip", z.ZodTypeAny, {
658
+ data: {
659
+ id: string;
660
+ type: "proof-milestone-packs";
661
+ attributes: {
662
+ createdAt: string;
663
+ updatedAt: string;
664
+ companyId: string;
665
+ status: "ARCHIVED" | "DRAFT" | "READY" | "SHARED";
666
+ title: string;
667
+ projectId: string;
668
+ createdById: string;
669
+ artifactUrls: string[];
670
+ summary?: string | null | undefined;
671
+ milestoneId?: string | null | undefined;
672
+ };
673
+ };
674
+ meta?: Record<string, unknown> | undefined;
675
+ links?: {
676
+ self: string;
677
+ first?: string | undefined;
678
+ last?: string | undefined;
679
+ prev?: string | undefined;
680
+ next?: string | undefined;
681
+ } | undefined;
682
+ errors?: {
683
+ status: string;
684
+ title: string;
685
+ detail?: string | undefined;
686
+ meta?: Record<string, unknown> | undefined;
687
+ }[] | undefined;
688
+ }, {
689
+ data: {
690
+ id: string;
691
+ type: "proof-milestone-packs";
692
+ attributes: {
693
+ createdAt: string;
694
+ updatedAt: string;
695
+ companyId: string;
696
+ status: "ARCHIVED" | "DRAFT" | "READY" | "SHARED";
697
+ title: string;
698
+ projectId: string;
699
+ createdById: string;
700
+ artifactUrls: string[];
701
+ summary?: string | null | undefined;
702
+ milestoneId?: string | null | undefined;
703
+ };
704
+ };
705
+ meta?: Record<string, unknown> | undefined;
706
+ links?: {
707
+ self: string;
708
+ first?: string | undefined;
709
+ last?: string | undefined;
710
+ prev?: string | undefined;
711
+ next?: string | undefined;
712
+ } | undefined;
713
+ errors?: {
714
+ status: string;
715
+ title: string;
716
+ detail?: string | undefined;
717
+ meta?: Record<string, unknown> | undefined;
718
+ }[] | undefined;
719
+ }>;
720
+ 400: z.ZodObject<{
721
+ errors: z.ZodArray<z.ZodObject<{
722
+ status: z.ZodString;
723
+ title: z.ZodString;
724
+ detail: z.ZodOptional<z.ZodString>;
725
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
726
+ }, "strip", z.ZodTypeAny, {
727
+ status: string;
728
+ title: string;
729
+ detail?: string | undefined;
730
+ meta?: Record<string, unknown> | undefined;
731
+ }, {
732
+ status: string;
733
+ title: string;
734
+ detail?: string | undefined;
735
+ meta?: Record<string, unknown> | undefined;
736
+ }>, "many">;
737
+ }, "strip", z.ZodTypeAny, {
738
+ errors: {
739
+ status: string;
740
+ title: string;
741
+ detail?: string | undefined;
742
+ meta?: Record<string, unknown> | undefined;
743
+ }[];
744
+ }, {
745
+ errors: {
746
+ status: string;
747
+ title: string;
748
+ detail?: string | undefined;
749
+ meta?: Record<string, unknown> | undefined;
750
+ }[];
751
+ }>;
752
+ 401: z.ZodObject<{
753
+ errors: z.ZodArray<z.ZodObject<{
754
+ status: z.ZodString;
755
+ title: z.ZodString;
756
+ detail: z.ZodOptional<z.ZodString>;
757
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
758
+ }, "strip", z.ZodTypeAny, {
759
+ status: string;
760
+ title: string;
761
+ detail?: string | undefined;
762
+ meta?: Record<string, unknown> | undefined;
763
+ }, {
764
+ status: string;
765
+ title: string;
766
+ detail?: string | undefined;
767
+ meta?: Record<string, unknown> | undefined;
768
+ }>, "many">;
769
+ }, "strip", z.ZodTypeAny, {
770
+ errors: {
771
+ status: string;
772
+ title: string;
773
+ detail?: string | undefined;
774
+ meta?: Record<string, unknown> | undefined;
775
+ }[];
776
+ }, {
777
+ errors: {
778
+ status: string;
779
+ title: string;
780
+ detail?: string | undefined;
781
+ meta?: Record<string, unknown> | undefined;
782
+ }[];
783
+ }>;
784
+ 403: z.ZodObject<{
785
+ errors: z.ZodArray<z.ZodObject<{
786
+ status: z.ZodString;
787
+ title: z.ZodString;
788
+ detail: z.ZodOptional<z.ZodString>;
789
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
790
+ }, "strip", z.ZodTypeAny, {
791
+ status: string;
792
+ title: string;
793
+ detail?: string | undefined;
794
+ meta?: Record<string, unknown> | undefined;
795
+ }, {
796
+ status: string;
797
+ title: string;
798
+ detail?: string | undefined;
799
+ meta?: Record<string, unknown> | undefined;
800
+ }>, "many">;
801
+ }, "strip", z.ZodTypeAny, {
802
+ errors: {
803
+ status: string;
804
+ title: string;
805
+ detail?: string | undefined;
806
+ meta?: Record<string, unknown> | undefined;
807
+ }[];
808
+ }, {
809
+ errors: {
810
+ status: string;
811
+ title: string;
812
+ detail?: string | undefined;
813
+ meta?: Record<string, unknown> | undefined;
814
+ }[];
815
+ }>;
816
+ 404: z.ZodObject<{
817
+ errors: z.ZodArray<z.ZodObject<{
818
+ status: z.ZodString;
819
+ title: z.ZodString;
820
+ detail: z.ZodOptional<z.ZodString>;
821
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ status: string;
824
+ title: string;
825
+ detail?: string | undefined;
826
+ meta?: Record<string, unknown> | undefined;
827
+ }, {
828
+ status: string;
829
+ title: string;
830
+ detail?: string | undefined;
831
+ meta?: Record<string, unknown> | undefined;
832
+ }>, "many">;
833
+ }, "strip", z.ZodTypeAny, {
834
+ errors: {
835
+ status: string;
836
+ title: string;
837
+ detail?: string | undefined;
838
+ meta?: Record<string, unknown> | undefined;
839
+ }[];
840
+ }, {
841
+ errors: {
842
+ status: string;
843
+ title: string;
844
+ detail?: string | undefined;
845
+ meta?: Record<string, unknown> | undefined;
846
+ }[];
847
+ }>;
848
+ };
849
+ };
850
+ deletePack: {
851
+ pathParams: z.ZodObject<{
852
+ packId: z.ZodString;
853
+ }, "strip", z.ZodTypeAny, {
854
+ packId: string;
855
+ }, {
856
+ packId: string;
857
+ }>;
858
+ summary: "Delete a Proof milestone pack";
859
+ method: "DELETE";
860
+ body: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
861
+ path: "/proof/packs/:packId";
862
+ responses: {
863
+ 204: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
864
+ 401: z.ZodObject<{
865
+ errors: z.ZodArray<z.ZodObject<{
866
+ status: z.ZodString;
867
+ title: z.ZodString;
868
+ detail: z.ZodOptional<z.ZodString>;
869
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
870
+ }, "strip", z.ZodTypeAny, {
871
+ status: string;
872
+ title: string;
873
+ detail?: string | undefined;
874
+ meta?: Record<string, unknown> | undefined;
875
+ }, {
876
+ status: string;
877
+ title: string;
878
+ detail?: string | undefined;
879
+ meta?: Record<string, unknown> | undefined;
880
+ }>, "many">;
881
+ }, "strip", z.ZodTypeAny, {
882
+ errors: {
883
+ status: string;
884
+ title: string;
885
+ detail?: string | undefined;
886
+ meta?: Record<string, unknown> | undefined;
887
+ }[];
888
+ }, {
889
+ errors: {
890
+ status: string;
891
+ title: string;
892
+ detail?: string | undefined;
893
+ meta?: Record<string, unknown> | undefined;
894
+ }[];
895
+ }>;
896
+ 403: z.ZodObject<{
897
+ errors: z.ZodArray<z.ZodObject<{
898
+ status: z.ZodString;
899
+ title: z.ZodString;
900
+ detail: z.ZodOptional<z.ZodString>;
901
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
902
+ }, "strip", z.ZodTypeAny, {
903
+ status: string;
904
+ title: string;
905
+ detail?: string | undefined;
906
+ meta?: Record<string, unknown> | undefined;
907
+ }, {
908
+ status: string;
909
+ title: string;
910
+ detail?: string | undefined;
911
+ meta?: Record<string, unknown> | undefined;
912
+ }>, "many">;
913
+ }, "strip", z.ZodTypeAny, {
914
+ errors: {
915
+ status: string;
916
+ title: string;
917
+ detail?: string | undefined;
918
+ meta?: Record<string, unknown> | undefined;
919
+ }[];
920
+ }, {
921
+ errors: {
922
+ status: string;
923
+ title: string;
924
+ detail?: string | undefined;
925
+ meta?: Record<string, unknown> | undefined;
926
+ }[];
927
+ }>;
928
+ 404: z.ZodObject<{
929
+ errors: z.ZodArray<z.ZodObject<{
930
+ status: z.ZodString;
931
+ title: z.ZodString;
932
+ detail: z.ZodOptional<z.ZodString>;
933
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
934
+ }, "strip", z.ZodTypeAny, {
935
+ status: string;
936
+ title: string;
937
+ detail?: string | undefined;
938
+ meta?: Record<string, unknown> | undefined;
939
+ }, {
940
+ status: string;
941
+ title: string;
942
+ detail?: string | undefined;
943
+ meta?: Record<string, unknown> | undefined;
944
+ }>, "many">;
945
+ }, "strip", z.ZodTypeAny, {
946
+ errors: {
947
+ status: string;
948
+ title: string;
949
+ detail?: string | undefined;
950
+ meta?: Record<string, unknown> | undefined;
951
+ }[];
952
+ }, {
953
+ errors: {
954
+ status: string;
955
+ title: string;
956
+ detail?: string | undefined;
957
+ meta?: Record<string, unknown> | undefined;
958
+ }[];
959
+ }>;
960
+ };
961
+ };
520
962
  createShareToken: {
521
963
  pathParams: z.ZodObject<{
522
964
  packId: z.ZodString;
@@ -743,6 +1185,258 @@ export declare const proofContract: {
743
1185
  }>;
744
1186
  };
745
1187
  };
1188
+ revokeShareToken: {
1189
+ pathParams: z.ZodObject<{
1190
+ tokenId: z.ZodString;
1191
+ }, "strip", z.ZodTypeAny, {
1192
+ tokenId: string;
1193
+ }, {
1194
+ tokenId: string;
1195
+ }>;
1196
+ summary: "Revoke a Proof pack share token";
1197
+ method: "POST";
1198
+ body: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
1199
+ path: "/proof/share-tokens/:tokenId/revoke";
1200
+ responses: {
1201
+ 200: z.ZodObject<{
1202
+ data: z.ZodObject<{
1203
+ type: z.ZodLiteral<"proof-share-tokens">;
1204
+ id: z.ZodString;
1205
+ attributes: z.ZodObject<Omit<{
1206
+ id: z.ZodString;
1207
+ packId: z.ZodString;
1208
+ token: z.ZodString;
1209
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1210
+ revokedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1211
+ createdById: z.ZodString;
1212
+ createdAt: z.ZodString;
1213
+ }, "id">, "strip", z.ZodTypeAny, {
1214
+ createdAt: string;
1215
+ token: string;
1216
+ packId: string;
1217
+ createdById: string;
1218
+ expiresAt?: string | null | undefined;
1219
+ revokedAt?: string | null | undefined;
1220
+ }, {
1221
+ createdAt: string;
1222
+ token: string;
1223
+ packId: string;
1224
+ createdById: string;
1225
+ expiresAt?: string | null | undefined;
1226
+ revokedAt?: string | null | undefined;
1227
+ }>;
1228
+ }, "strip", z.ZodTypeAny, {
1229
+ id: string;
1230
+ type: "proof-share-tokens";
1231
+ attributes: {
1232
+ createdAt: string;
1233
+ token: string;
1234
+ packId: string;
1235
+ createdById: string;
1236
+ expiresAt?: string | null | undefined;
1237
+ revokedAt?: string | null | undefined;
1238
+ };
1239
+ }, {
1240
+ id: string;
1241
+ type: "proof-share-tokens";
1242
+ attributes: {
1243
+ createdAt: string;
1244
+ token: string;
1245
+ packId: string;
1246
+ createdById: string;
1247
+ expiresAt?: string | null | undefined;
1248
+ revokedAt?: string | null | undefined;
1249
+ };
1250
+ }>;
1251
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1252
+ links: z.ZodOptional<z.ZodObject<{
1253
+ self: z.ZodString;
1254
+ first: z.ZodOptional<z.ZodString>;
1255
+ last: z.ZodOptional<z.ZodString>;
1256
+ prev: z.ZodOptional<z.ZodString>;
1257
+ next: z.ZodOptional<z.ZodString>;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ self: string;
1260
+ first?: string | undefined;
1261
+ last?: string | undefined;
1262
+ prev?: string | undefined;
1263
+ next?: string | undefined;
1264
+ }, {
1265
+ self: string;
1266
+ first?: string | undefined;
1267
+ last?: string | undefined;
1268
+ prev?: string | undefined;
1269
+ next?: string | undefined;
1270
+ }>>;
1271
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1272
+ status: z.ZodString;
1273
+ title: z.ZodString;
1274
+ detail: z.ZodOptional<z.ZodString>;
1275
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ status: string;
1278
+ title: string;
1279
+ detail?: string | undefined;
1280
+ meta?: Record<string, unknown> | undefined;
1281
+ }, {
1282
+ status: string;
1283
+ title: string;
1284
+ detail?: string | undefined;
1285
+ meta?: Record<string, unknown> | undefined;
1286
+ }>, "many">>;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ data: {
1289
+ id: string;
1290
+ type: "proof-share-tokens";
1291
+ attributes: {
1292
+ createdAt: string;
1293
+ token: string;
1294
+ packId: string;
1295
+ createdById: string;
1296
+ expiresAt?: string | null | undefined;
1297
+ revokedAt?: string | null | undefined;
1298
+ };
1299
+ };
1300
+ meta?: Record<string, unknown> | undefined;
1301
+ links?: {
1302
+ self: string;
1303
+ first?: string | undefined;
1304
+ last?: string | undefined;
1305
+ prev?: string | undefined;
1306
+ next?: string | undefined;
1307
+ } | undefined;
1308
+ errors?: {
1309
+ status: string;
1310
+ title: string;
1311
+ detail?: string | undefined;
1312
+ meta?: Record<string, unknown> | undefined;
1313
+ }[] | undefined;
1314
+ }, {
1315
+ data: {
1316
+ id: string;
1317
+ type: "proof-share-tokens";
1318
+ attributes: {
1319
+ createdAt: string;
1320
+ token: string;
1321
+ packId: string;
1322
+ createdById: string;
1323
+ expiresAt?: string | null | undefined;
1324
+ revokedAt?: string | null | undefined;
1325
+ };
1326
+ };
1327
+ meta?: Record<string, unknown> | undefined;
1328
+ links?: {
1329
+ self: string;
1330
+ first?: string | undefined;
1331
+ last?: string | undefined;
1332
+ prev?: string | undefined;
1333
+ next?: string | undefined;
1334
+ } | undefined;
1335
+ errors?: {
1336
+ status: string;
1337
+ title: string;
1338
+ detail?: string | undefined;
1339
+ meta?: Record<string, unknown> | undefined;
1340
+ }[] | undefined;
1341
+ }>;
1342
+ 401: z.ZodObject<{
1343
+ errors: z.ZodArray<z.ZodObject<{
1344
+ status: z.ZodString;
1345
+ title: z.ZodString;
1346
+ detail: z.ZodOptional<z.ZodString>;
1347
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1348
+ }, "strip", z.ZodTypeAny, {
1349
+ status: string;
1350
+ title: string;
1351
+ detail?: string | undefined;
1352
+ meta?: Record<string, unknown> | undefined;
1353
+ }, {
1354
+ status: string;
1355
+ title: string;
1356
+ detail?: string | undefined;
1357
+ meta?: Record<string, unknown> | undefined;
1358
+ }>, "many">;
1359
+ }, "strip", z.ZodTypeAny, {
1360
+ errors: {
1361
+ status: string;
1362
+ title: string;
1363
+ detail?: string | undefined;
1364
+ meta?: Record<string, unknown> | undefined;
1365
+ }[];
1366
+ }, {
1367
+ errors: {
1368
+ status: string;
1369
+ title: string;
1370
+ detail?: string | undefined;
1371
+ meta?: Record<string, unknown> | undefined;
1372
+ }[];
1373
+ }>;
1374
+ 403: z.ZodObject<{
1375
+ errors: z.ZodArray<z.ZodObject<{
1376
+ status: z.ZodString;
1377
+ title: z.ZodString;
1378
+ detail: z.ZodOptional<z.ZodString>;
1379
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1380
+ }, "strip", z.ZodTypeAny, {
1381
+ status: string;
1382
+ title: string;
1383
+ detail?: string | undefined;
1384
+ meta?: Record<string, unknown> | undefined;
1385
+ }, {
1386
+ status: string;
1387
+ title: string;
1388
+ detail?: string | undefined;
1389
+ meta?: Record<string, unknown> | undefined;
1390
+ }>, "many">;
1391
+ }, "strip", z.ZodTypeAny, {
1392
+ errors: {
1393
+ status: string;
1394
+ title: string;
1395
+ detail?: string | undefined;
1396
+ meta?: Record<string, unknown> | undefined;
1397
+ }[];
1398
+ }, {
1399
+ errors: {
1400
+ status: string;
1401
+ title: string;
1402
+ detail?: string | undefined;
1403
+ meta?: Record<string, unknown> | undefined;
1404
+ }[];
1405
+ }>;
1406
+ 404: z.ZodObject<{
1407
+ errors: z.ZodArray<z.ZodObject<{
1408
+ status: z.ZodString;
1409
+ title: z.ZodString;
1410
+ detail: z.ZodOptional<z.ZodString>;
1411
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ status: string;
1414
+ title: string;
1415
+ detail?: string | undefined;
1416
+ meta?: Record<string, unknown> | undefined;
1417
+ }, {
1418
+ status: string;
1419
+ title: string;
1420
+ detail?: string | undefined;
1421
+ meta?: Record<string, unknown> | undefined;
1422
+ }>, "many">;
1423
+ }, "strip", z.ZodTypeAny, {
1424
+ errors: {
1425
+ status: string;
1426
+ title: string;
1427
+ detail?: string | undefined;
1428
+ meta?: Record<string, unknown> | undefined;
1429
+ }[];
1430
+ }, {
1431
+ errors: {
1432
+ status: string;
1433
+ title: string;
1434
+ detail?: string | undefined;
1435
+ meta?: Record<string, unknown> | undefined;
1436
+ }[];
1437
+ }>;
1438
+ };
1439
+ };
746
1440
  getByToken: {
747
1441
  pathParams: z.ZodObject<{
748
1442
  token: z.ZodString;