@cobaltcore-dev/aurora 0.17.1 → 0.19.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 (92) hide show
  1. package/dist/client/AuthProvider-Cj_Btfnc.mjs +56 -0
  2. package/dist/client/AuthProvider-Cj_Btfnc.mjs.map +1 -0
  3. package/dist/client/{BucketToastNotifications-D2Cq2VrV.mjs → BucketToastNotifications-BGd2wVmh.mjs} +2 -2
  4. package/dist/client/{BucketToastNotifications-D2Cq2VrV.mjs.map → BucketToastNotifications-BGd2wVmh.mjs.map} +1 -1
  5. package/dist/client/DeletePcaModal-BU6kbKsw.mjs +80 -0
  6. package/dist/client/DeletePcaModal-BU6kbKsw.mjs.map +1 -0
  7. package/dist/client/DetailsInfo-BUyuYpJj.mjs +52 -0
  8. package/dist/client/DetailsInfo-BUyuYpJj.mjs.map +1 -0
  9. package/dist/client/{FloatingIpActionModals-BUc6yaQ8.mjs → FloatingIpActionModals-DAtZoYGS.mjs} +22 -22
  10. package/dist/client/{FloatingIpActionModals-BUc6yaQ8.mjs.map → FloatingIpActionModals-DAtZoYGS.mjs.map} +1 -1
  11. package/dist/client/{ImageToastNotifications-Dz-VsSwl.mjs → ImageToastNotifications-BhjU1bfT.mjs} +7 -7
  12. package/dist/client/{ImageToastNotifications-Dz-VsSwl.mjs.map → ImageToastNotifications-BhjU1bfT.mjs.map} +1 -1
  13. package/dist/client/{_auth-6uste_10.mjs → _auth-BtRCgHQe.mjs} +2 -2
  14. package/dist/client/{_auth-6uste_10.mjs.map → _auth-BtRCgHQe.mjs.map} +1 -1
  15. package/dist/client/{_flavorId-Cx5tf2KQ.mjs → _flavorId-BQY7YhNx.mjs} +2 -2
  16. package/dist/client/{_flavorId-Cx5tf2KQ.mjs.map → _flavorId-BQY7YhNx.mjs.map} +1 -1
  17. package/dist/client/{_flavorId-C6RJfhh8.mjs → _flavorId-sS1sg_DZ.mjs} +3 -3
  18. package/dist/client/{_flavorId-C6RJfhh8.mjs.map → _flavorId-sS1sg_DZ.mjs.map} +1 -1
  19. package/dist/client/{_floatingIpId-B0l4YNQc.mjs → _floatingIpId-BHZGh8U8.mjs} +2 -2
  20. package/dist/client/{_floatingIpId-B0l4YNQc.mjs.map → _floatingIpId-BHZGh8U8.mjs.map} +1 -1
  21. package/dist/client/{_floatingIpId-cpueAc2F2.mjs → _floatingIpId-CR3aD38l2.mjs} +5 -5
  22. package/dist/client/{_floatingIpId-cpueAc2F2.mjs.map → _floatingIpId-CR3aD38l2.mjs.map} +1 -1
  23. package/dist/client/{_imageId-Bv711w1n.mjs → _imageId-Cf-Xdksv.mjs} +3 -3
  24. package/dist/client/{_imageId-Bv711w1n.mjs.map → _imageId-Cf-Xdksv.mjs.map} +1 -1
  25. package/dist/client/_pcaId-B7j0sXnY.mjs +545 -0
  26. package/dist/client/_pcaId-B7j0sXnY.mjs.map +1 -0
  27. package/dist/client/{_projectId-fEA6fnFQ.mjs → _projectId-Cq9JnhRj.mjs} +3 -3
  28. package/dist/client/{_projectId-fEA6fnFQ.mjs.map → _projectId-Cq9JnhRj.mjs.map} +1 -1
  29. package/dist/client/{_projectId-w-tZz0FI.mjs → _projectId-D8FHe0gr.mjs} +2 -2
  30. package/dist/client/{_projectId-w-tZz0FI.mjs.map → _projectId-D8FHe0gr.mjs.map} +1 -1
  31. package/dist/client/{_projectId-qvINx3Dx.mjs → _projectId-Ig3QqYzt.mjs} +2 -2
  32. package/dist/client/{_projectId-qvINx3Dx.mjs.map → _projectId-Ig3QqYzt.mjs.map} +1 -1
  33. package/dist/client/{_projectId-BOaPmCuz.mjs → _projectId-b4NGeECR.mjs} +3 -3
  34. package/dist/client/{_projectId-BOaPmCuz.mjs.map → _projectId-b4NGeECR.mjs.map} +1 -1
  35. package/dist/client/{_securityGroupId-B-RYPDDc.mjs → _securityGroupId-BVSsCus9.mjs} +2 -2
  36. package/dist/client/{_securityGroupId-B-RYPDDc.mjs.map → _securityGroupId-BVSsCus9.mjs.map} +1 -1
  37. package/dist/client/{_securityGroupId-BC3KC6h5.mjs → _securityGroupId-gwV4eB0s.mjs} +16 -16
  38. package/dist/client/{_securityGroupId-BC3KC6h5.mjs.map → _securityGroupId-gwV4eB0s.mjs.map} +1 -1
  39. package/dist/client/{_storageType-ZFnIALny.mjs → _storageType-CH2khFcZ.mjs} +2 -2
  40. package/dist/client/{_storageType-ZFnIALny.mjs.map → _storageType-CH2khFcZ.mjs.map} +1 -1
  41. package/dist/client/{_storageType-MgntkZb6.mjs → _storageType-D-1H6SX1.mjs} +856 -856
  42. package/dist/client/{_storageType-MgntkZb6.mjs.map → _storageType-D-1H6SX1.mjs.map} +1 -1
  43. package/dist/client/{aurora-AAy9BJE7.mjs → aurora-Owys0YMN.mjs} +2 -2
  44. package/dist/client/{aurora-AAy9BJE7.mjs.map → aurora-Owys0YMN.mjs.map} +1 -1
  45. package/dist/client/build-DgeVmENN.mjs.map +1 -1
  46. package/dist/client/{floatingips-Bkk5-I_p.mjs → floatingips-DyBEotB8.mjs} +10 -10
  47. package/dist/client/{floatingips-Bkk5-I_p.mjs.map → floatingips-DyBEotB8.mjs.map} +1 -1
  48. package/dist/client/hooks-iGiEkLTp.mjs +12 -0
  49. package/dist/client/hooks-iGiEkLTp.mjs.map +1 -0
  50. package/dist/client/{images-FE3vJ6pP.mjs → images-BklbSacK.mjs} +2 -2
  51. package/dist/client/{images-FE3vJ6pP.mjs.map → images-BklbSacK.mjs.map} +1 -1
  52. package/dist/client/{images-DBLfzuJA.mjs → images-C3voJ3B1.mjs} +259 -259
  53. package/dist/client/{images-DBLfzuJA.mjs.map → images-C3voJ3B1.mjs.map} +1 -1
  54. package/dist/client/index.d.ts +3 -1
  55. package/dist/client/index.js +370 -414
  56. package/dist/client/index.js.map +1 -1
  57. package/dist/client/md-CyCflQee.mjs.map +1 -1
  58. package/dist/client/{objects-DpgXMFrG.mjs → objects-B3Z8h4RU.mjs} +2 -2
  59. package/dist/client/{objects-DpgXMFrG.mjs.map → objects-B3Z8h4RU.mjs.map} +1 -1
  60. package/dist/client/{objects-Deo1Ic1A.mjs → objects-CGOfO00N.mjs} +499 -475
  61. package/dist/client/objects-CGOfO00N.mjs.map +1 -0
  62. package/dist/client/{pca-BkAJ5jvX.mjs → pca-72YR_Pk0.mjs} +3 -3
  63. package/dist/client/pca-72YR_Pk0.mjs.map +1 -0
  64. package/dist/client/pca-CsBx_IDO.mjs +251 -0
  65. package/dist/client/pca-CsBx_IDO.mjs.map +1 -0
  66. package/dist/client/pcaAccess-Br4kVjLQ.mjs +9 -0
  67. package/dist/client/pcaAccess-Br4kVjLQ.mjs.map +1 -0
  68. package/dist/client/{securitygroups-D14Jv1GQ.mjs → securitygroups-8vRbXmBL.mjs} +3 -3
  69. package/dist/client/{securitygroups-D14Jv1GQ.mjs.map → securitygroups-8vRbXmBL.mjs.map} +1 -1
  70. package/dist/client/trpcClient-BxcNKnhv.mjs +65 -0
  71. package/dist/client/trpcClient-BxcNKnhv.mjs.map +1 -0
  72. package/dist/client/trpcClient.d.ts +3014 -0
  73. package/dist/server/index.d.ts +3058 -1
  74. package/dist/server/index.js +53 -23
  75. package/package.json +4 -2
  76. package/dist/client/AuthProvider-BQSJk5R4.mjs +0 -63
  77. package/dist/client/AuthProvider-BQSJk5R4.mjs.map +0 -1
  78. package/dist/client/_pcaId-CPLb5J6d.mjs +0 -479
  79. package/dist/client/_pcaId-CPLb5J6d.mjs.map +0 -1
  80. package/dist/client/_pcaId-Hx_72pnp.mjs +0 -36
  81. package/dist/client/_pcaId-Hx_72pnp.mjs.map +0 -1
  82. package/dist/client/constants-BAqOfvr0.mjs +0 -153
  83. package/dist/client/constants-BAqOfvr0.mjs.map +0 -1
  84. package/dist/client/hooks-CnX5q5wN.mjs +0 -2
  85. package/dist/client/objects-Deo1Ic1A.mjs.map +0 -1
  86. package/dist/client/pca-BkAJ5jvX.mjs.map +0 -1
  87. package/dist/client/pca-P0ud1PA9.mjs +0 -202
  88. package/dist/client/pca-P0ud1PA9.mjs.map +0 -1
  89. package/dist/client/pcaAccess-BYUY700H.mjs +0 -9
  90. package/dist/client/pcaAccess-BYUY700H.mjs.map +0 -1
  91. package/dist/client/trpcClient-Dy_MP_Pv.mjs +0 -57
  92. package/dist/client/trpcClient-Dy_MP_Pv.mjs.map +0 -1
@@ -7,7 +7,9 @@ import { SignalOpenstackSessionType } from '@cobaltcore-dev/signal-openstack';
7
7
  import { ProxyConfig } from './shared-types';
8
8
  import * as fastify_types_type_provider from 'fastify/types/type-provider';
9
9
  import * as http from 'http';
10
+ import * as zod from 'zod';
10
11
  import { z } from 'zod';
12
+ import * as _trpc_server_http from '@trpc/server/http';
11
13
 
12
14
  declare module "fastify" {
13
15
  interface FastifyRequest {
@@ -622,4 +624,3059 @@ declare const domainScopedProcedure: _trpc_server.TRPCProcedureBuilder<AuroraPor
622
624
  domain_id: string;
623
625
  }, _trpc_server.TRPCUnsetMarker, _trpc_server.TRPCUnsetMarker, false>;
624
626
 
625
- export { type AuroraServerConfig, auroraRouter, createServer, domainScopedInputSchema, domainScopedProcedure, projectScopedInputSchema, projectScopedProcedure, protectedProcedure, publicProcedure };
627
+ interface FlavorAccess {
628
+ flavor_id: string;
629
+ tenant_id: string;
630
+ }
631
+
632
+ /**
633
+ * Object version schema - represents a single version of an object
634
+ *
635
+ * Each version has:
636
+ * - Unique versionId
637
+ * - isLatest flag indicating if it's the current version
638
+ * - isDeleteMarker flag indicating if it's a soft delete marker
639
+ *
640
+ * Delete markers are special versions created when an object is deleted in a
641
+ * versioned bucket. They can be removed to "undelete" the object.
642
+ */
643
+ declare const objectVersionSchema: z.ZodObject<{
644
+ key: z.ZodString;
645
+ versionId: z.ZodString;
646
+ isLatest: z.ZodBoolean;
647
+ lastModified: z.ZodString;
648
+ size: z.ZodNumber;
649
+ storageClass: z.ZodOptional<z.ZodString>;
650
+ owner: z.ZodOptional<z.ZodObject<{
651
+ displayName: z.ZodOptional<z.ZodString>;
652
+ id: z.ZodOptional<z.ZodString>;
653
+ }, z.core.$strip>>;
654
+ etag: z.ZodOptional<z.ZodString>;
655
+ isDeleteMarker: z.ZodDefault<z.ZodBoolean>;
656
+ }, z.core.$strip>;
657
+ type ObjectVersion = z.infer<typeof objectVersionSchema>;
658
+
659
+ /**
660
+ * Output from listing versions
661
+ */
662
+ interface ListVersionsOutput {
663
+ versions: ObjectVersion[];
664
+ deleteMarkers: ObjectVersion[];
665
+ isTruncated: boolean;
666
+ nextKeyMarker?: string;
667
+ nextVersionIdMarker?: string;
668
+ prefix?: string;
669
+ maxKeys?: number;
670
+ }
671
+
672
+ declare const buildBaseRouter: (policyDir: string) => _trpc_server.TRPCBuiltRouter<{
673
+ ctx: AuroraPortalContext;
674
+ meta: object;
675
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
676
+ transformer: false;
677
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
678
+ services: _trpc_server.TRPCBuiltRouter<{
679
+ ctx: AuroraPortalContext;
680
+ meta: object;
681
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
682
+ transformer: false;
683
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
684
+ pca: {
685
+ list: _trpc_server.TRPCQueryProcedure<{
686
+ input: {
687
+ project_id: string;
688
+ limit?: number | undefined;
689
+ next_page_marker?: string | undefined;
690
+ };
691
+ output: {
692
+ certificate_authorities: {
693
+ id: string;
694
+ project_id: string;
695
+ state: "CREATING" | "AWAITING_CERTIFICATE" | "READY" | "FAILED" | "UNEXPECTED";
696
+ certificate?: {
697
+ pem: string;
698
+ validity: {
699
+ not_after: number;
700
+ not_before?: number | undefined;
701
+ };
702
+ } | undefined;
703
+ certificate_chain?: {
704
+ certificates: {
705
+ pem: string;
706
+ }[];
707
+ pem: string;
708
+ } | undefined;
709
+ configuration?: {
710
+ subject: {
711
+ named_attributes: {
712
+ cn: string;
713
+ c?: string[] | undefined;
714
+ l?: string[] | undefined;
715
+ o?: string[] | undefined;
716
+ ou?: string[] | undefined;
717
+ postal_code?: string[] | undefined;
718
+ st?: string[] | undefined;
719
+ serial_number?: string | undefined;
720
+ street?: string[] | undefined;
721
+ };
722
+ additional_attribute?: {
723
+ key: number[];
724
+ value: string;
725
+ }[] | undefined;
726
+ };
727
+ } | undefined;
728
+ csr?: string | undefined;
729
+ display_subject?: string | undefined;
730
+ imported_certificate_chain?: string | undefined;
731
+ }[];
732
+ links: {
733
+ href: string;
734
+ rel: string;
735
+ }[];
736
+ next_page_marker?: string | undefined;
737
+ };
738
+ meta: object;
739
+ }>;
740
+ create: _trpc_server.TRPCMutationProcedure<{
741
+ input: {
742
+ project_id: string;
743
+ configuration: {
744
+ subject: {
745
+ named_attributes: {
746
+ cn: string;
747
+ };
748
+ };
749
+ };
750
+ };
751
+ output: {
752
+ id: string;
753
+ project_id: string;
754
+ state: "CREATING" | "AWAITING_CERTIFICATE" | "READY" | "FAILED" | "UNEXPECTED";
755
+ certificate?: {
756
+ pem: string;
757
+ validity: {
758
+ not_after: number;
759
+ not_before?: number | undefined;
760
+ };
761
+ } | undefined;
762
+ certificate_chain?: {
763
+ certificates: {
764
+ pem: string;
765
+ }[];
766
+ pem: string;
767
+ } | undefined;
768
+ configuration?: {
769
+ subject: {
770
+ named_attributes: {
771
+ cn: string;
772
+ c?: string[] | undefined;
773
+ l?: string[] | undefined;
774
+ o?: string[] | undefined;
775
+ ou?: string[] | undefined;
776
+ postal_code?: string[] | undefined;
777
+ st?: string[] | undefined;
778
+ serial_number?: string | undefined;
779
+ street?: string[] | undefined;
780
+ };
781
+ additional_attribute?: {
782
+ key: number[];
783
+ value: string;
784
+ }[] | undefined;
785
+ };
786
+ } | undefined;
787
+ csr?: string | undefined;
788
+ display_subject?: string | undefined;
789
+ imported_certificate_chain?: string | undefined;
790
+ };
791
+ meta: object;
792
+ }>;
793
+ getById: _trpc_server.TRPCQueryProcedure<{
794
+ input: {
795
+ project_id: string;
796
+ certificate_authority_id: string;
797
+ };
798
+ output: {
799
+ id: string;
800
+ project_id: string;
801
+ state: "CREATING" | "AWAITING_CERTIFICATE" | "READY" | "FAILED" | "UNEXPECTED";
802
+ certificate?: {
803
+ pem: string;
804
+ validity: {
805
+ not_after: number;
806
+ not_before?: number | undefined;
807
+ };
808
+ } | undefined;
809
+ certificate_chain?: {
810
+ certificates: {
811
+ pem: string;
812
+ }[];
813
+ pem: string;
814
+ } | undefined;
815
+ configuration?: {
816
+ subject: {
817
+ named_attributes: {
818
+ cn: string;
819
+ c?: string[] | undefined;
820
+ l?: string[] | undefined;
821
+ o?: string[] | undefined;
822
+ ou?: string[] | undefined;
823
+ postal_code?: string[] | undefined;
824
+ st?: string[] | undefined;
825
+ serial_number?: string | undefined;
826
+ street?: string[] | undefined;
827
+ };
828
+ additional_attribute?: {
829
+ key: number[];
830
+ value: string;
831
+ }[] | undefined;
832
+ };
833
+ } | undefined;
834
+ csr?: string | undefined;
835
+ display_subject?: string | undefined;
836
+ imported_certificate_chain?: string | undefined;
837
+ };
838
+ meta: object;
839
+ }>;
840
+ delete: _trpc_server.TRPCMutationProcedure<{
841
+ input: {
842
+ project_id: string;
843
+ certificate_authority_id: string;
844
+ };
845
+ output: void;
846
+ meta: object;
847
+ }>;
848
+ import: _trpc_server.TRPCMutationProcedure<{
849
+ input: {
850
+ project_id: string;
851
+ certificate_authority_id: string;
852
+ imported_certificate_chain: string;
853
+ };
854
+ output: {
855
+ id: string;
856
+ project_id: string;
857
+ state: "CREATING" | "AWAITING_CERTIFICATE" | "READY" | "FAILED" | "UNEXPECTED";
858
+ certificate?: {
859
+ pem: string;
860
+ validity: {
861
+ not_after: number;
862
+ not_before?: number | undefined;
863
+ };
864
+ } | undefined;
865
+ certificate_chain?: {
866
+ certificates: {
867
+ pem: string;
868
+ }[];
869
+ pem: string;
870
+ } | undefined;
871
+ configuration?: {
872
+ subject: {
873
+ named_attributes: {
874
+ cn: string;
875
+ c?: string[] | undefined;
876
+ l?: string[] | undefined;
877
+ o?: string[] | undefined;
878
+ ou?: string[] | undefined;
879
+ postal_code?: string[] | undefined;
880
+ st?: string[] | undefined;
881
+ serial_number?: string | undefined;
882
+ street?: string[] | undefined;
883
+ };
884
+ additional_attribute?: {
885
+ key: number[];
886
+ value: string;
887
+ }[] | undefined;
888
+ };
889
+ } | undefined;
890
+ csr?: string | undefined;
891
+ display_subject?: string | undefined;
892
+ imported_certificate_chain?: string | undefined;
893
+ };
894
+ meta: object;
895
+ }>;
896
+ listCertificates: _trpc_server.TRPCQueryProcedure<{
897
+ input: {
898
+ project_id: string;
899
+ certificate_authority_id: string;
900
+ limit?: number | undefined;
901
+ next_page_marker?: string | undefined;
902
+ };
903
+ output: {
904
+ certificates: {
905
+ certificate_authority_id: string;
906
+ id: string;
907
+ project_id: string;
908
+ certificate?: {
909
+ pem: string;
910
+ validity: {
911
+ not_after: number;
912
+ not_before?: number | undefined;
913
+ };
914
+ } | undefined;
915
+ certificate_chain?: {
916
+ certificates: {
917
+ pem: string;
918
+ }[];
919
+ pem: string;
920
+ } | undefined;
921
+ configuration?: {
922
+ validity: {
923
+ not_after: number;
924
+ not_before?: number | undefined;
925
+ };
926
+ } | undefined;
927
+ csr?: string | undefined;
928
+ }[];
929
+ links: {
930
+ href: string;
931
+ rel: string;
932
+ }[];
933
+ next_page_marker?: string | undefined;
934
+ };
935
+ meta: object;
936
+ }>;
937
+ createCertificate: _trpc_server.TRPCMutationProcedure<{
938
+ input: {
939
+ project_id: string;
940
+ certificate_authority_id: string;
941
+ csr: string;
942
+ configuration: {
943
+ validity: {
944
+ not_after: number;
945
+ not_before?: number | undefined;
946
+ };
947
+ };
948
+ };
949
+ output: {
950
+ certificate_authority_id: string;
951
+ id: string;
952
+ project_id: string;
953
+ certificate?: {
954
+ pem: string;
955
+ validity: {
956
+ not_after: number;
957
+ not_before?: number | undefined;
958
+ };
959
+ } | undefined;
960
+ certificate_chain?: {
961
+ certificates: {
962
+ pem: string;
963
+ }[];
964
+ pem: string;
965
+ } | undefined;
966
+ configuration?: {
967
+ validity: {
968
+ not_after: number;
969
+ not_before?: number | undefined;
970
+ };
971
+ } | undefined;
972
+ csr?: string | undefined;
973
+ };
974
+ meta: object;
975
+ }>;
976
+ getByIdCertificate: _trpc_server.TRPCQueryProcedure<{
977
+ input: {
978
+ project_id: string;
979
+ certificate_authority_id: string;
980
+ certificate_id: string;
981
+ };
982
+ output: {
983
+ certificate_authority_id: string;
984
+ id: string;
985
+ project_id: string;
986
+ certificate?: {
987
+ pem: string;
988
+ validity: {
989
+ not_after: number;
990
+ not_before?: number | undefined;
991
+ };
992
+ } | undefined;
993
+ certificate_chain?: {
994
+ certificates: {
995
+ pem: string;
996
+ }[];
997
+ pem: string;
998
+ } | undefined;
999
+ configuration?: {
1000
+ validity: {
1001
+ not_after: number;
1002
+ not_before?: number | undefined;
1003
+ };
1004
+ } | undefined;
1005
+ csr?: string | undefined;
1006
+ };
1007
+ meta: object;
1008
+ }>;
1009
+ };
1010
+ }>>;
1011
+ }> & _trpc_server.TRPCDecorateCreateRouterOptions<{
1012
+ network: _trpc_server.TRPCBuiltRouter<{
1013
+ ctx: AuroraPortalContext;
1014
+ meta: object;
1015
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
1016
+ transformer: false;
1017
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
1018
+ canUser: _trpc_server.TRPCQueryProcedure<{
1019
+ input: {
1020
+ project_id: string;
1021
+ permission: string | string[];
1022
+ };
1023
+ output: boolean[];
1024
+ meta: object;
1025
+ }>;
1026
+ floatingIp: {
1027
+ list: _trpc_server.TRPCQueryProcedure<{
1028
+ input: {
1029
+ project_id: string;
1030
+ id?: string | undefined;
1031
+ router_id?: string | null | undefined;
1032
+ status?: "DOWN" | "ACTIVE" | "ERROR" | undefined;
1033
+ tenant_id?: string | undefined;
1034
+ revision_number?: number | undefined;
1035
+ description?: string | null | undefined;
1036
+ floating_network_id?: string | undefined;
1037
+ fixed_ip_address?: string | undefined;
1038
+ floating_ip_address?: string | undefined;
1039
+ port_id?: string | null | undefined;
1040
+ sort_dir?: "asc" | "desc" | undefined;
1041
+ sort_key?: "id" | "project_id" | "status" | "tenant_id" | "router_id" | "floating_network_id" | "fixed_ip_address" | "floating_ip_address" | undefined;
1042
+ tags?: string[] | undefined;
1043
+ "tags-any"?: string | undefined;
1044
+ "not-tags"?: string | undefined;
1045
+ "not-tags-any"?: string | undefined;
1046
+ fields?: string | string[] | undefined;
1047
+ limit?: number | undefined;
1048
+ marker?: string | undefined;
1049
+ page_reverse?: boolean | undefined;
1050
+ searchTerm?: string | undefined;
1051
+ };
1052
+ output: {
1053
+ router_id: string | null;
1054
+ revision_number: number;
1055
+ project_id: string;
1056
+ tenant_id: string;
1057
+ floating_network_id: string;
1058
+ fixed_ip_address: string | null;
1059
+ floating_ip_address: string;
1060
+ port_id: string | null;
1061
+ id: string;
1062
+ status: "DOWN" | "ACTIVE" | "ERROR";
1063
+ description?: string | null | undefined;
1064
+ distributed?: boolean | undefined;
1065
+ dns_domain?: string | undefined;
1066
+ dns_name?: string | undefined;
1067
+ created_at?: (string & zod.$brand<"ISO8601Timestamp">) | undefined;
1068
+ updated_at?: (string & zod.$brand<"ISO8601Timestamp">) | undefined;
1069
+ port_details?: {
1070
+ status: "DOWN" | "ACTIVE" | "ERROR";
1071
+ name: string;
1072
+ admin_state_up: boolean;
1073
+ network_id: string;
1074
+ device_owner: string;
1075
+ mac_address: string;
1076
+ device_id: string;
1077
+ } | null | undefined;
1078
+ tags?: string[] | undefined;
1079
+ port_forwardings?: {
1080
+ protocol: "tcp" | "udp";
1081
+ internal_ip_address: string;
1082
+ id: string;
1083
+ internal_port?: number | undefined;
1084
+ internal_port_range?: string | undefined;
1085
+ internal_port_id?: string | undefined;
1086
+ external_port?: number | undefined;
1087
+ external_port_range?: string | undefined;
1088
+ description?: string | null | undefined;
1089
+ }[] | null | undefined;
1090
+ qos_network_policy_id?: string | undefined;
1091
+ qos_policy_id?: string | undefined;
1092
+ }[];
1093
+ meta: object;
1094
+ }>;
1095
+ create: _trpc_server.TRPCMutationProcedure<{
1096
+ input: {
1097
+ project_id: string;
1098
+ tenant_id: string;
1099
+ floating_network_id: string;
1100
+ fixed_ip_address?: string | undefined;
1101
+ floating_ip_address?: string | undefined;
1102
+ port_id?: string | undefined;
1103
+ subnet_id?: string | undefined;
1104
+ distributed?: boolean | undefined;
1105
+ description?: string | undefined;
1106
+ dns_domain?: string | undefined;
1107
+ dns_name?: string | undefined;
1108
+ qos_policy_id?: string | undefined;
1109
+ };
1110
+ output: {
1111
+ router_id: string | null;
1112
+ revision_number: number;
1113
+ project_id: string;
1114
+ tenant_id: string;
1115
+ floating_network_id: string;
1116
+ fixed_ip_address: string | null;
1117
+ floating_ip_address: string;
1118
+ port_id: string | null;
1119
+ id: string;
1120
+ status: "DOWN" | "ACTIVE" | "ERROR";
1121
+ description?: string | null | undefined;
1122
+ distributed?: boolean | undefined;
1123
+ dns_domain?: string | undefined;
1124
+ dns_name?: string | undefined;
1125
+ created_at?: (string & zod.$brand<"ISO8601Timestamp">) | undefined;
1126
+ updated_at?: (string & zod.$brand<"ISO8601Timestamp">) | undefined;
1127
+ port_details?: {
1128
+ status: "DOWN" | "ACTIVE" | "ERROR";
1129
+ name: string;
1130
+ admin_state_up: boolean;
1131
+ network_id: string;
1132
+ device_owner: string;
1133
+ mac_address: string;
1134
+ device_id: string;
1135
+ } | null | undefined;
1136
+ tags?: string[] | undefined;
1137
+ port_forwardings?: {
1138
+ protocol: "tcp" | "udp";
1139
+ internal_ip_address: string;
1140
+ id: string;
1141
+ internal_port?: number | undefined;
1142
+ internal_port_range?: string | undefined;
1143
+ internal_port_id?: string | undefined;
1144
+ external_port?: number | undefined;
1145
+ external_port_range?: string | undefined;
1146
+ description?: string | null | undefined;
1147
+ }[] | null | undefined;
1148
+ qos_network_policy_id?: string | undefined;
1149
+ qos_policy_id?: string | undefined;
1150
+ };
1151
+ meta: object;
1152
+ }>;
1153
+ getById: _trpc_server.TRPCQueryProcedure<{
1154
+ input: {
1155
+ project_id: string;
1156
+ floatingip_id: string;
1157
+ };
1158
+ output: {
1159
+ router_id: string | null;
1160
+ revision_number: number;
1161
+ project_id: string;
1162
+ tenant_id: string;
1163
+ floating_network_id: string;
1164
+ fixed_ip_address: string | null;
1165
+ floating_ip_address: string;
1166
+ port_id: string | null;
1167
+ id: string;
1168
+ status: "DOWN" | "ACTIVE" | "ERROR";
1169
+ description?: string | null | undefined;
1170
+ distributed?: boolean | undefined;
1171
+ dns_domain?: string | undefined;
1172
+ dns_name?: string | undefined;
1173
+ created_at?: (string & zod.$brand<"ISO8601Timestamp">) | undefined;
1174
+ updated_at?: (string & zod.$brand<"ISO8601Timestamp">) | undefined;
1175
+ port_details?: {
1176
+ status: "DOWN" | "ACTIVE" | "ERROR";
1177
+ name: string;
1178
+ admin_state_up: boolean;
1179
+ network_id: string;
1180
+ device_owner: string;
1181
+ mac_address: string;
1182
+ device_id: string;
1183
+ } | null | undefined;
1184
+ tags?: string[] | undefined;
1185
+ port_forwardings?: {
1186
+ protocol: "tcp" | "udp";
1187
+ internal_ip_address: string;
1188
+ id: string;
1189
+ internal_port?: number | undefined;
1190
+ internal_port_range?: string | undefined;
1191
+ internal_port_id?: string | undefined;
1192
+ external_port?: number | undefined;
1193
+ external_port_range?: string | undefined;
1194
+ description?: string | null | undefined;
1195
+ }[] | null | undefined;
1196
+ qos_network_policy_id?: string | undefined;
1197
+ qos_policy_id?: string | undefined;
1198
+ };
1199
+ meta: object;
1200
+ }>;
1201
+ update: _trpc_server.TRPCMutationProcedure<{
1202
+ input: {
1203
+ project_id: string;
1204
+ floatingip_id: string;
1205
+ port_id: string | null;
1206
+ fixed_ip_address?: string | undefined;
1207
+ description?: string | undefined;
1208
+ distributed?: boolean | undefined;
1209
+ };
1210
+ output: {
1211
+ router_id: string | null;
1212
+ revision_number: number;
1213
+ project_id: string;
1214
+ tenant_id: string;
1215
+ floating_network_id: string;
1216
+ fixed_ip_address: string | null;
1217
+ floating_ip_address: string;
1218
+ port_id: string | null;
1219
+ id: string;
1220
+ status: "DOWN" | "ACTIVE" | "ERROR";
1221
+ description?: string | null | undefined;
1222
+ distributed?: boolean | undefined;
1223
+ dns_domain?: string | undefined;
1224
+ dns_name?: string | undefined;
1225
+ created_at?: (string & zod.$brand<"ISO8601Timestamp">) | undefined;
1226
+ updated_at?: (string & zod.$brand<"ISO8601Timestamp">) | undefined;
1227
+ port_details?: {
1228
+ status: "DOWN" | "ACTIVE" | "ERROR";
1229
+ name: string;
1230
+ admin_state_up: boolean;
1231
+ network_id: string;
1232
+ device_owner: string;
1233
+ mac_address: string;
1234
+ device_id: string;
1235
+ } | null | undefined;
1236
+ tags?: string[] | undefined;
1237
+ port_forwardings?: {
1238
+ protocol: "tcp" | "udp";
1239
+ internal_ip_address: string;
1240
+ id: string;
1241
+ internal_port?: number | undefined;
1242
+ internal_port_range?: string | undefined;
1243
+ internal_port_id?: string | undefined;
1244
+ external_port?: number | undefined;
1245
+ external_port_range?: string | undefined;
1246
+ description?: string | null | undefined;
1247
+ }[] | null | undefined;
1248
+ qos_network_policy_id?: string | undefined;
1249
+ qos_policy_id?: string | undefined;
1250
+ };
1251
+ meta: object;
1252
+ }>;
1253
+ delete: _trpc_server.TRPCMutationProcedure<{
1254
+ input: {
1255
+ project_id: string;
1256
+ floatingip_id: string;
1257
+ };
1258
+ output: boolean;
1259
+ meta: object;
1260
+ }>;
1261
+ listExternalNetworks: _trpc_server.TRPCQueryProcedure<{
1262
+ input: {
1263
+ project_id: string;
1264
+ "router:external"?: true | undefined;
1265
+ };
1266
+ output: {
1267
+ id: string;
1268
+ name: string;
1269
+ project_id: string;
1270
+ shared: boolean;
1271
+ status: "DOWN" | "ACTIVE" | "BUILD" | "ERROR";
1272
+ "router:external"?: boolean | undefined;
1273
+ updated_at?: (string & zod.$brand<"ISO8601Timestamp">) | undefined;
1274
+ is_default?: boolean | undefined;
1275
+ }[];
1276
+ meta: object;
1277
+ }>;
1278
+ listDnsDomains: _trpc_server.TRPCQueryProcedure<{
1279
+ input: {
1280
+ project_id: string;
1281
+ };
1282
+ output: {
1283
+ id: string;
1284
+ name: string;
1285
+ }[];
1286
+ meta: object;
1287
+ }>;
1288
+ listAvailablePorts: _trpc_server.TRPCQueryProcedure<{
1289
+ input: {
1290
+ project_id: string;
1291
+ status?: "ACTIVE" | undefined;
1292
+ admin_state_up?: true | undefined;
1293
+ };
1294
+ output: {
1295
+ id: string;
1296
+ name?: string | null | undefined;
1297
+ fixed_ips?: {
1298
+ ip_address: string;
1299
+ subnet_id?: string | undefined;
1300
+ }[] | undefined;
1301
+ }[];
1302
+ meta: object;
1303
+ }>;
1304
+ };
1305
+ securityGroup: {
1306
+ list: _trpc_server.TRPCQueryProcedure<{
1307
+ input: {
1308
+ project_id: string;
1309
+ sort_key?: string | undefined;
1310
+ sort_dir?: "asc" | "desc" | undefined;
1311
+ name?: string | undefined;
1312
+ description?: string | undefined;
1313
+ tenant_id?: string | undefined;
1314
+ shared?: boolean | undefined;
1315
+ tags?: string | undefined;
1316
+ tags_any?: string | undefined;
1317
+ not_tags?: string | undefined;
1318
+ not_tags_any?: string | undefined;
1319
+ searchTerm?: string | undefined;
1320
+ };
1321
+ output: {
1322
+ id: string;
1323
+ name?: string | null | undefined;
1324
+ description?: string | null | undefined;
1325
+ tenant_id?: string | null | undefined;
1326
+ project_id?: string | null | undefined;
1327
+ stateful?: boolean | undefined;
1328
+ shared?: boolean | undefined;
1329
+ tags?: string[] | undefined;
1330
+ security_group_rules?: {
1331
+ id: string;
1332
+ direction?: "ingress" | "egress" | undefined;
1333
+ ethertype?: "IPv4" | "IPv6" | undefined;
1334
+ description?: string | null | undefined;
1335
+ security_group_id?: string | undefined;
1336
+ protocol?: string | null | undefined;
1337
+ port_range_min?: number | null | undefined;
1338
+ port_range_max?: number | null | undefined;
1339
+ remote_ip_prefix?: string | null | undefined;
1340
+ remote_group_id?: string | null | undefined;
1341
+ remote_address_group_id?: string | null | undefined;
1342
+ tenant_id?: string | null | undefined;
1343
+ project_id?: string | null | undefined;
1344
+ revision_number?: number | undefined;
1345
+ tags?: string[] | undefined;
1346
+ created_at?: string | undefined;
1347
+ updated_at?: string | null | undefined;
1348
+ }[] | undefined;
1349
+ revision_number?: number | undefined;
1350
+ created_at?: string | undefined;
1351
+ updated_at?: string | null | undefined;
1352
+ }[];
1353
+ meta: object;
1354
+ }>;
1355
+ getById: _trpc_server.TRPCQueryProcedure<{
1356
+ input: {
1357
+ project_id: string;
1358
+ securityGroupId: string;
1359
+ };
1360
+ output: {
1361
+ id: string;
1362
+ name?: string | null | undefined;
1363
+ description?: string | null | undefined;
1364
+ tenant_id?: string | null | undefined;
1365
+ project_id?: string | null | undefined;
1366
+ stateful?: boolean | undefined;
1367
+ shared?: boolean | undefined;
1368
+ tags?: string[] | undefined;
1369
+ security_group_rules?: {
1370
+ id: string;
1371
+ direction?: "ingress" | "egress" | undefined;
1372
+ ethertype?: "IPv4" | "IPv6" | undefined;
1373
+ description?: string | null | undefined;
1374
+ security_group_id?: string | undefined;
1375
+ protocol?: string | null | undefined;
1376
+ port_range_min?: number | null | undefined;
1377
+ port_range_max?: number | null | undefined;
1378
+ remote_ip_prefix?: string | null | undefined;
1379
+ remote_group_id?: string | null | undefined;
1380
+ remote_address_group_id?: string | null | undefined;
1381
+ tenant_id?: string | null | undefined;
1382
+ project_id?: string | null | undefined;
1383
+ revision_number?: number | undefined;
1384
+ tags?: string[] | undefined;
1385
+ created_at?: string | undefined;
1386
+ updated_at?: string | null | undefined;
1387
+ }[] | undefined;
1388
+ revision_number?: number | undefined;
1389
+ created_at?: string | undefined;
1390
+ updated_at?: string | null | undefined;
1391
+ };
1392
+ meta: object;
1393
+ }>;
1394
+ create: _trpc_server.TRPCMutationProcedure<{
1395
+ input: {
1396
+ project_id: string;
1397
+ name: string;
1398
+ description?: string | undefined;
1399
+ stateful?: boolean | undefined;
1400
+ };
1401
+ output: {
1402
+ id: string;
1403
+ name?: string | null | undefined;
1404
+ description?: string | null | undefined;
1405
+ tenant_id?: string | null | undefined;
1406
+ project_id?: string | null | undefined;
1407
+ stateful?: boolean | undefined;
1408
+ shared?: boolean | undefined;
1409
+ tags?: string[] | undefined;
1410
+ security_group_rules?: {
1411
+ id: string;
1412
+ direction?: "ingress" | "egress" | undefined;
1413
+ ethertype?: "IPv4" | "IPv6" | undefined;
1414
+ description?: string | null | undefined;
1415
+ security_group_id?: string | undefined;
1416
+ protocol?: string | null | undefined;
1417
+ port_range_min?: number | null | undefined;
1418
+ port_range_max?: number | null | undefined;
1419
+ remote_ip_prefix?: string | null | undefined;
1420
+ remote_group_id?: string | null | undefined;
1421
+ remote_address_group_id?: string | null | undefined;
1422
+ tenant_id?: string | null | undefined;
1423
+ project_id?: string | null | undefined;
1424
+ revision_number?: number | undefined;
1425
+ tags?: string[] | undefined;
1426
+ created_at?: string | undefined;
1427
+ updated_at?: string | null | undefined;
1428
+ }[] | undefined;
1429
+ revision_number?: number | undefined;
1430
+ created_at?: string | undefined;
1431
+ updated_at?: string | null | undefined;
1432
+ };
1433
+ meta: object;
1434
+ }>;
1435
+ deleteById: _trpc_server.TRPCMutationProcedure<{
1436
+ input: {
1437
+ project_id: string;
1438
+ securityGroupId: string;
1439
+ };
1440
+ output: void;
1441
+ meta: object;
1442
+ }>;
1443
+ update: _trpc_server.TRPCMutationProcedure<{
1444
+ input: {
1445
+ project_id: string;
1446
+ securityGroupId: string;
1447
+ name?: string | undefined;
1448
+ description?: string | undefined;
1449
+ stateful?: boolean | undefined;
1450
+ };
1451
+ output: {
1452
+ id: string;
1453
+ name?: string | null | undefined;
1454
+ description?: string | null | undefined;
1455
+ tenant_id?: string | null | undefined;
1456
+ project_id?: string | null | undefined;
1457
+ stateful?: boolean | undefined;
1458
+ shared?: boolean | undefined;
1459
+ tags?: string[] | undefined;
1460
+ security_group_rules?: {
1461
+ id: string;
1462
+ direction?: "ingress" | "egress" | undefined;
1463
+ ethertype?: "IPv4" | "IPv6" | undefined;
1464
+ description?: string | null | undefined;
1465
+ security_group_id?: string | undefined;
1466
+ protocol?: string | null | undefined;
1467
+ port_range_min?: number | null | undefined;
1468
+ port_range_max?: number | null | undefined;
1469
+ remote_ip_prefix?: string | null | undefined;
1470
+ remote_group_id?: string | null | undefined;
1471
+ remote_address_group_id?: string | null | undefined;
1472
+ tenant_id?: string | null | undefined;
1473
+ project_id?: string | null | undefined;
1474
+ revision_number?: number | undefined;
1475
+ tags?: string[] | undefined;
1476
+ created_at?: string | undefined;
1477
+ updated_at?: string | null | undefined;
1478
+ }[] | undefined;
1479
+ revision_number?: number | undefined;
1480
+ created_at?: string | undefined;
1481
+ updated_at?: string | null | undefined;
1482
+ };
1483
+ meta: object;
1484
+ }>;
1485
+ };
1486
+ securityGroupRule: {
1487
+ delete: _trpc_server.TRPCMutationProcedure<{
1488
+ input: {
1489
+ project_id: string;
1490
+ ruleId: string;
1491
+ };
1492
+ output: void;
1493
+ meta: object;
1494
+ }>;
1495
+ create: _trpc_server.TRPCMutationProcedure<{
1496
+ input: {
1497
+ project_id: string;
1498
+ security_group_id: string;
1499
+ direction: "ingress" | "egress";
1500
+ ethertype?: "IPv4" | "IPv6" | undefined;
1501
+ description?: string | undefined;
1502
+ protocol?: string | null | undefined;
1503
+ port_range_min?: number | null | undefined;
1504
+ port_range_max?: number | null | undefined;
1505
+ remote_ip_prefix?: string | null | undefined;
1506
+ remote_group_id?: string | null | undefined;
1507
+ remote_address_group_id?: string | null | undefined;
1508
+ };
1509
+ output: {
1510
+ id: string;
1511
+ direction?: "ingress" | "egress" | undefined;
1512
+ ethertype?: "IPv4" | "IPv6" | undefined;
1513
+ description?: string | null | undefined;
1514
+ security_group_id?: string | undefined;
1515
+ protocol?: string | null | undefined;
1516
+ port_range_min?: number | null | undefined;
1517
+ port_range_max?: number | null | undefined;
1518
+ remote_ip_prefix?: string | null | undefined;
1519
+ remote_group_id?: string | null | undefined;
1520
+ remote_address_group_id?: string | null | undefined;
1521
+ tenant_id?: string | null | undefined;
1522
+ project_id?: string | null | undefined;
1523
+ revision_number?: number | undefined;
1524
+ tags?: string[] | undefined;
1525
+ created_at?: string | undefined;
1526
+ updated_at?: string | null | undefined;
1527
+ };
1528
+ meta: object;
1529
+ }>;
1530
+ };
1531
+ rbacPolicy: {
1532
+ list: _trpc_server.TRPCQueryProcedure<{
1533
+ input: {
1534
+ project_id: string;
1535
+ securityGroupId: string;
1536
+ };
1537
+ output: {
1538
+ id: string;
1539
+ object_type: "network" | "security_group" | "qos_policy";
1540
+ object_id: string;
1541
+ action: "access_as_shared" | "access_as_external";
1542
+ target_tenant: string;
1543
+ tenant_id?: string | null | undefined;
1544
+ project_id?: string | null | undefined;
1545
+ }[];
1546
+ meta: object;
1547
+ }>;
1548
+ create: _trpc_server.TRPCMutationProcedure<{
1549
+ input: {
1550
+ project_id: string;
1551
+ securityGroupId: string;
1552
+ targetTenant: string;
1553
+ };
1554
+ output: {
1555
+ id: string;
1556
+ object_type: "network" | "security_group" | "qos_policy";
1557
+ object_id: string;
1558
+ action: "access_as_shared" | "access_as_external";
1559
+ target_tenant: string;
1560
+ tenant_id?: string | null | undefined;
1561
+ project_id?: string | null | undefined;
1562
+ };
1563
+ meta: object;
1564
+ }>;
1565
+ update: _trpc_server.TRPCMutationProcedure<{
1566
+ input: {
1567
+ project_id: string;
1568
+ policyId: string;
1569
+ targetTenant: string;
1570
+ };
1571
+ output: {
1572
+ id: string;
1573
+ object_type: "network" | "security_group" | "qos_policy";
1574
+ object_id: string;
1575
+ action: "access_as_shared" | "access_as_external";
1576
+ target_tenant: string;
1577
+ tenant_id?: string | null | undefined;
1578
+ project_id?: string | null | undefined;
1579
+ };
1580
+ meta: object;
1581
+ }>;
1582
+ delete: _trpc_server.TRPCMutationProcedure<{
1583
+ input: {
1584
+ project_id: string;
1585
+ policyId: string;
1586
+ };
1587
+ output: void;
1588
+ meta: object;
1589
+ }>;
1590
+ };
1591
+ }>>;
1592
+ }> & _trpc_server.TRPCDecorateCreateRouterOptions<{
1593
+ project: _trpc_server.TRPCBuiltRouter<{
1594
+ ctx: AuroraPortalContext;
1595
+ meta: object;
1596
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
1597
+ transformer: false;
1598
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
1599
+ getAuthProjects: _trpc_server.TRPCQueryProcedure<{
1600
+ input: void;
1601
+ output: {
1602
+ id: string;
1603
+ name: string;
1604
+ enabled: boolean;
1605
+ domain_id?: string | null | undefined;
1606
+ parent_id?: string | null | undefined;
1607
+ is_domain?: boolean | null | undefined;
1608
+ tags?: string[] | null | undefined;
1609
+ options?: Record<string, string | boolean> | null | undefined;
1610
+ description?: string | null | undefined;
1611
+ links?: {
1612
+ self?: string | null | undefined;
1613
+ } | undefined;
1614
+ domain_name?: string | undefined;
1615
+ parents?: {
1616
+ project: {
1617
+ id: string;
1618
+ name: string;
1619
+ enabled: boolean;
1620
+ domain_id?: string | null | undefined;
1621
+ parent_id?: string | null | undefined;
1622
+ is_domain?: boolean | null | undefined;
1623
+ tags?: string[] | null | undefined;
1624
+ options?: Record<string, string | boolean> | null | undefined;
1625
+ description?: string | null | undefined;
1626
+ links?: {
1627
+ self?: string | null | undefined;
1628
+ } | undefined;
1629
+ };
1630
+ }[] | undefined;
1631
+ }[] | undefined;
1632
+ meta: object;
1633
+ }>;
1634
+ searchProjects: _trpc_server.TRPCQueryProcedure<{
1635
+ input: {
1636
+ search?: string | undefined;
1637
+ } | undefined;
1638
+ output: {
1639
+ id: string;
1640
+ name: string;
1641
+ enabled: boolean;
1642
+ domain_id?: string | null | undefined;
1643
+ parent_id?: string | null | undefined;
1644
+ is_domain?: boolean | null | undefined;
1645
+ tags?: string[] | null | undefined;
1646
+ options?: Record<string, string | boolean> | null | undefined;
1647
+ description?: string | null | undefined;
1648
+ links?: {
1649
+ self?: string | null | undefined;
1650
+ } | undefined;
1651
+ domain_name?: string | undefined;
1652
+ parents?: {
1653
+ project: {
1654
+ id: string;
1655
+ name: string;
1656
+ enabled: boolean;
1657
+ domain_id?: string | null | undefined;
1658
+ parent_id?: string | null | undefined;
1659
+ is_domain?: boolean | null | undefined;
1660
+ tags?: string[] | null | undefined;
1661
+ options?: Record<string, string | boolean> | null | undefined;
1662
+ description?: string | null | undefined;
1663
+ links?: {
1664
+ self?: string | null | undefined;
1665
+ } | undefined;
1666
+ };
1667
+ }[] | undefined;
1668
+ }[] | undefined;
1669
+ meta: object;
1670
+ }>;
1671
+ }>>;
1672
+ }> & _trpc_server.TRPCDecorateCreateRouterOptions<{
1673
+ storage: {
1674
+ canUser: _trpc_server.TRPCQueryProcedure<{
1675
+ input: {
1676
+ project_id: string;
1677
+ permission: string | string[];
1678
+ };
1679
+ output: boolean[];
1680
+ meta: object;
1681
+ }>;
1682
+ swift: _trpc_server.TRPCBuiltRouter<{
1683
+ ctx: AuroraPortalContext;
1684
+ meta: object;
1685
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
1686
+ transformer: false;
1687
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
1688
+ getServiceInfo: _trpc_server.TRPCQueryProcedure<{
1689
+ input: void;
1690
+ output: {
1691
+ swift: {
1692
+ version?: string | undefined;
1693
+ allow_account_management?: boolean | undefined;
1694
+ account_autocreate?: boolean | undefined;
1695
+ policies?: {
1696
+ name: string;
1697
+ default?: boolean | undefined;
1698
+ }[] | undefined;
1699
+ bulk_delete?: {
1700
+ max_deletes_per_request: number;
1701
+ max_failed_deletes: number;
1702
+ } | undefined;
1703
+ bulk_upload?: {
1704
+ max_containers_per_extraction: number;
1705
+ max_failed_extractions: number;
1706
+ } | undefined;
1707
+ container_quotas?: unknown;
1708
+ account_quotas?: unknown;
1709
+ slo?: {
1710
+ max_manifest_segments: number;
1711
+ max_manifest_size: number;
1712
+ min_segment_size: number;
1713
+ } | undefined;
1714
+ tempurl?: {
1715
+ methods: string[];
1716
+ } | undefined;
1717
+ container_listing_limit?: number | undefined;
1718
+ account_listing_limit?: number | undefined;
1719
+ max_container_name_length?: number | undefined;
1720
+ max_object_name_length?: number | undefined;
1721
+ max_file_size?: number | undefined;
1722
+ max_meta_name_length?: number | undefined;
1723
+ max_meta_value_length?: number | undefined;
1724
+ max_meta_count?: number | undefined;
1725
+ max_meta_overall_size?: number | undefined;
1726
+ max_header_size?: number | undefined;
1727
+ container_sync?: unknown;
1728
+ symlink?: unknown;
1729
+ versioned_writes?: unknown;
1730
+ };
1731
+ };
1732
+ meta: object;
1733
+ }>;
1734
+ listContainers: _trpc_server.TRPCQueryProcedure<{
1735
+ input: {
1736
+ project_id: string;
1737
+ account?: string | undefined;
1738
+ limit?: number | undefined;
1739
+ marker?: string | undefined;
1740
+ end_marker?: string | undefined;
1741
+ prefix?: string | undefined;
1742
+ delimiter?: string | undefined;
1743
+ reverse?: boolean | undefined;
1744
+ format?: "json" | "xml" | "plain" | undefined;
1745
+ xNewest?: boolean | undefined;
1746
+ };
1747
+ output: {
1748
+ name: string;
1749
+ count: number;
1750
+ bytes: number;
1751
+ last_modified?: string | undefined;
1752
+ }[];
1753
+ meta: object;
1754
+ }>;
1755
+ getAccountMetadata: _trpc_server.TRPCQueryProcedure<{
1756
+ input: {
1757
+ project_id: string;
1758
+ account?: string | undefined;
1759
+ xNewest?: boolean | undefined;
1760
+ };
1761
+ output: {
1762
+ objectCount: number;
1763
+ containerCount: number;
1764
+ bytesUsed: number;
1765
+ metadata?: Record<string, string> | undefined;
1766
+ quotaBytes?: number | undefined;
1767
+ tempUrlKey?: string | undefined;
1768
+ tempUrlKey2?: string | undefined;
1769
+ };
1770
+ meta: object;
1771
+ }>;
1772
+ updateAccountMetadata: _trpc_server.TRPCMutationProcedure<{
1773
+ input: {
1774
+ project_id: string;
1775
+ metadata: Record<string, string>;
1776
+ account?: string | undefined;
1777
+ removeMetadata?: string[] | undefined;
1778
+ tempUrlKey?: string | undefined;
1779
+ tempUrlKey2?: string | undefined;
1780
+ };
1781
+ output: boolean;
1782
+ meta: object;
1783
+ }>;
1784
+ deleteAccount: _trpc_server.TRPCMutationProcedure<{
1785
+ input: {
1786
+ project_id: string;
1787
+ account?: string | undefined;
1788
+ };
1789
+ output: boolean;
1790
+ meta: object;
1791
+ }>;
1792
+ listObjects: _trpc_server.TRPCQueryProcedure<{
1793
+ input: {
1794
+ project_id: string;
1795
+ container: string;
1796
+ account?: string | undefined;
1797
+ limit?: number | undefined;
1798
+ marker?: string | undefined;
1799
+ end_marker?: string | undefined;
1800
+ prefix?: string | undefined;
1801
+ delimiter?: string | undefined;
1802
+ path?: string | undefined;
1803
+ reverse?: boolean | undefined;
1804
+ format?: "json" | "xml" | "plain" | undefined;
1805
+ xNewest?: boolean | undefined;
1806
+ };
1807
+ output: {
1808
+ name: string;
1809
+ hash: string;
1810
+ bytes: number;
1811
+ content_type: string;
1812
+ last_modified: string;
1813
+ symlink_path?: string | undefined;
1814
+ }[];
1815
+ meta: object;
1816
+ }>;
1817
+ createContainer: _trpc_server.TRPCMutationProcedure<{
1818
+ input: {
1819
+ project_id: string;
1820
+ container: string;
1821
+ account?: string | undefined;
1822
+ metadata?: Record<string, string> | undefined;
1823
+ read?: string | undefined;
1824
+ write?: string | undefined;
1825
+ storagePolicy?: string | undefined;
1826
+ versionsLocation?: string | undefined;
1827
+ historyLocation?: string | undefined;
1828
+ quotaBytes?: number | undefined;
1829
+ quotaCount?: number | undefined;
1830
+ tempUrlKey?: string | undefined;
1831
+ tempUrlKey2?: string | undefined;
1832
+ };
1833
+ output: boolean;
1834
+ meta: object;
1835
+ }>;
1836
+ getContainerMetadata: _trpc_server.TRPCQueryProcedure<{
1837
+ input: {
1838
+ project_id: string;
1839
+ container: string;
1840
+ account?: string | undefined;
1841
+ xNewest?: boolean | undefined;
1842
+ };
1843
+ output: {
1844
+ objectCount: number;
1845
+ bytesUsed: number;
1846
+ metadata?: Record<string, string> | undefined;
1847
+ quotaBytes?: number | undefined;
1848
+ quotaCount?: number | undefined;
1849
+ storagePolicy?: string | undefined;
1850
+ versionsLocation?: string | undefined;
1851
+ historyLocation?: string | undefined;
1852
+ versionsEnabled?: boolean | undefined;
1853
+ read?: string | undefined;
1854
+ write?: string | undefined;
1855
+ syncTo?: string | undefined;
1856
+ syncKey?: string | undefined;
1857
+ tempUrlKey?: string | undefined;
1858
+ tempUrlKey2?: string | undefined;
1859
+ };
1860
+ meta: object;
1861
+ }>;
1862
+ updateContainerMetadata: _trpc_server.TRPCMutationProcedure<{
1863
+ input: {
1864
+ project_id: string;
1865
+ container: string;
1866
+ account?: string | undefined;
1867
+ metadata?: Record<string, string> | undefined;
1868
+ removeMetadata?: string[] | undefined;
1869
+ read?: string | undefined;
1870
+ write?: string | undefined;
1871
+ versionsLocation?: string | undefined;
1872
+ historyLocation?: string | undefined;
1873
+ removeVersionsLocation?: boolean | undefined;
1874
+ removeHistoryLocation?: boolean | undefined;
1875
+ quotaBytes?: number | undefined;
1876
+ quotaCount?: number | undefined;
1877
+ tempUrlKey?: string | undefined;
1878
+ tempUrlKey2?: string | undefined;
1879
+ };
1880
+ output: boolean;
1881
+ meta: object;
1882
+ }>;
1883
+ getContainerPublicUrl: _trpc_server.TRPCQueryProcedure<{
1884
+ input: {
1885
+ project_id: string;
1886
+ container: string;
1887
+ account?: string | undefined;
1888
+ xNewest?: boolean | undefined;
1889
+ };
1890
+ output: string | null;
1891
+ meta: object;
1892
+ }>;
1893
+ deleteContainer: _trpc_server.TRPCMutationProcedure<{
1894
+ input: {
1895
+ project_id: string;
1896
+ container: string;
1897
+ account?: string | undefined;
1898
+ };
1899
+ output: boolean;
1900
+ meta: object;
1901
+ }>;
1902
+ emptyContainer: _trpc_server.TRPCMutationProcedure<{
1903
+ input: {
1904
+ project_id: string;
1905
+ container: string;
1906
+ account?: string | undefined;
1907
+ };
1908
+ output: number;
1909
+ meta: object;
1910
+ }>;
1911
+ getObjectMetadata: _trpc_server.TRPCQueryProcedure<{
1912
+ input: {
1913
+ project_id: string;
1914
+ container: string;
1915
+ object: string;
1916
+ account?: string | undefined;
1917
+ multipartManifest?: "get" | undefined;
1918
+ symlink?: "get" | undefined;
1919
+ xNewest?: boolean | undefined;
1920
+ ifMatch?: string | undefined;
1921
+ ifNoneMatch?: string | undefined;
1922
+ ifModifiedSince?: string | undefined;
1923
+ ifUnmodifiedSince?: string | undefined;
1924
+ };
1925
+ output: {
1926
+ contentType?: string | undefined;
1927
+ contentLength?: number | undefined;
1928
+ contentEncoding?: string | undefined;
1929
+ contentDisposition?: string | undefined;
1930
+ etag?: string | undefined;
1931
+ lastModified?: string | undefined;
1932
+ deleteAt?: number | undefined;
1933
+ customMetadata?: Record<string, string> | undefined;
1934
+ objectManifest?: string | undefined;
1935
+ staticLargeObject?: boolean | undefined;
1936
+ symlinkTarget?: string | undefined;
1937
+ symlinkTargetAccount?: string | undefined;
1938
+ };
1939
+ meta: object;
1940
+ }>;
1941
+ updateObjectMetadata: _trpc_server.TRPCMutationProcedure<{
1942
+ input: {
1943
+ project_id: string;
1944
+ container: string;
1945
+ object: string;
1946
+ account?: string | undefined;
1947
+ metadata?: Record<string, string> | undefined;
1948
+ contentType?: string | undefined;
1949
+ contentEncoding?: string | undefined;
1950
+ contentDisposition?: string | undefined;
1951
+ deleteAt?: number | undefined;
1952
+ deleteAfter?: number | undefined;
1953
+ };
1954
+ output: boolean;
1955
+ meta: object;
1956
+ }>;
1957
+ copyObject: _trpc_server.TRPCMutationProcedure<{
1958
+ input: {
1959
+ project_id: string;
1960
+ container: string;
1961
+ object: string;
1962
+ destination: string;
1963
+ account?: string | undefined;
1964
+ destinationAccount?: string | undefined;
1965
+ metadata?: Record<string, string> | undefined;
1966
+ contentType?: string | undefined;
1967
+ contentEncoding?: string | undefined;
1968
+ contentDisposition?: string | undefined;
1969
+ freshMetadata?: boolean | undefined;
1970
+ multipartManifest?: "get" | undefined;
1971
+ symlink?: "get" | undefined;
1972
+ };
1973
+ output: boolean;
1974
+ meta: object;
1975
+ }>;
1976
+ deleteObject: _trpc_server.TRPCMutationProcedure<{
1977
+ input: {
1978
+ project_id: string;
1979
+ container: string;
1980
+ object: string;
1981
+ account?: string | undefined;
1982
+ multipartManifest?: "delete" | undefined;
1983
+ };
1984
+ output: boolean;
1985
+ meta: object;
1986
+ }>;
1987
+ bulkDelete: _trpc_server.TRPCMutationProcedure<{
1988
+ input: {
1989
+ project_id: string;
1990
+ objects: string[];
1991
+ account?: string | undefined;
1992
+ };
1993
+ output: {
1994
+ numberDeleted: number;
1995
+ numberNotFound: number;
1996
+ errors: {
1997
+ path: string;
1998
+ status: string;
1999
+ error: string;
2000
+ }[];
2001
+ };
2002
+ meta: object;
2003
+ }>;
2004
+ createFolder: _trpc_server.TRPCMutationProcedure<{
2005
+ input: {
2006
+ project_id: string;
2007
+ container: string;
2008
+ folderPath: string;
2009
+ account?: string | undefined;
2010
+ metadata?: Record<string, string> | undefined;
2011
+ };
2012
+ output: boolean;
2013
+ meta: object;
2014
+ }>;
2015
+ listFolderContents: _trpc_server.TRPCQueryProcedure<{
2016
+ input: {
2017
+ project_id: string;
2018
+ container: string;
2019
+ account?: string | undefined;
2020
+ folderPath?: string | undefined;
2021
+ limit?: number | undefined;
2022
+ marker?: string | undefined;
2023
+ };
2024
+ output: {
2025
+ folders: {
2026
+ name: string;
2027
+ path: string;
2028
+ }[];
2029
+ objects: {
2030
+ name: string;
2031
+ hash: string;
2032
+ bytes: number;
2033
+ content_type: string;
2034
+ last_modified: string;
2035
+ symlink_path?: string | undefined;
2036
+ }[];
2037
+ };
2038
+ meta: object;
2039
+ }>;
2040
+ moveFolder: _trpc_server.TRPCMutationProcedure<{
2041
+ input: {
2042
+ project_id: string;
2043
+ container: string;
2044
+ sourcePath: string;
2045
+ destinationPath: string;
2046
+ account?: string | undefined;
2047
+ destinationContainer?: string | undefined;
2048
+ };
2049
+ output: number;
2050
+ meta: object;
2051
+ }>;
2052
+ deleteFolder: _trpc_server.TRPCMutationProcedure<{
2053
+ input: {
2054
+ project_id: string;
2055
+ container: string;
2056
+ folderPath: string;
2057
+ account?: string | undefined;
2058
+ recursive?: boolean | undefined;
2059
+ };
2060
+ output: number;
2061
+ meta: object;
2062
+ }>;
2063
+ generateTempUrl: _trpc_server.TRPCMutationProcedure<{
2064
+ input: {
2065
+ project_id: string;
2066
+ container: string;
2067
+ object: string;
2068
+ method: "DELETE" | "GET" | "POST" | "PUT";
2069
+ expiresIn: number;
2070
+ account?: string | undefined;
2071
+ filename?: string | undefined;
2072
+ };
2073
+ output: {
2074
+ url: string;
2075
+ expiresAt: number;
2076
+ };
2077
+ meta: object;
2078
+ }>;
2079
+ uploadObject: _trpc_server.TRPCMutationProcedure<{
2080
+ input: _trpc_server_http.OctetInput;
2081
+ output: {
2082
+ success: boolean;
2083
+ };
2084
+ meta: object;
2085
+ }>;
2086
+ watchUploadProgress: _trpc_server.TRPCSubscriptionProcedure<{
2087
+ input: {
2088
+ uploadId: string;
2089
+ };
2090
+ output: AsyncIterable<{
2091
+ uploaded: number;
2092
+ total: number;
2093
+ percent: number;
2094
+ }, void, any>;
2095
+ meta: object;
2096
+ }>;
2097
+ downloadObject: _trpc_server.TRPCMutationProcedure<{
2098
+ input: {
2099
+ project_id: string;
2100
+ container: string;
2101
+ object: string;
2102
+ downloadId: string;
2103
+ account?: string | undefined;
2104
+ filename?: string | undefined;
2105
+ };
2106
+ output: AsyncGenerator<{
2107
+ chunk: string;
2108
+ downloaded: number;
2109
+ total: number;
2110
+ contentType?: string;
2111
+ filename?: string;
2112
+ }, any, any>;
2113
+ meta: object;
2114
+ }>;
2115
+ watchDownloadProgress: _trpc_server.TRPCSubscriptionProcedure<{
2116
+ input: {
2117
+ downloadId: string;
2118
+ };
2119
+ output: AsyncIterable<{
2120
+ downloaded: number;
2121
+ total: number;
2122
+ percent: number;
2123
+ }, void, any>;
2124
+ meta: object;
2125
+ }>;
2126
+ }>>;
2127
+ ceph: _trpc_server.TRPCBuiltRouter<{
2128
+ ctx: AuroraPortalContext;
2129
+ meta: object;
2130
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
2131
+ transformer: false;
2132
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
2133
+ ec2Credentials: _trpc_server.TRPCBuiltRouter<{
2134
+ ctx: AuroraPortalContext;
2135
+ meta: object;
2136
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
2137
+ transformer: false;
2138
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
2139
+ list: _trpc_server.TRPCQueryProcedure<{
2140
+ input: {
2141
+ project_id: string;
2142
+ };
2143
+ output: {
2144
+ id: string;
2145
+ access: string;
2146
+ user_id: string;
2147
+ project_id: string;
2148
+ }[];
2149
+ meta: object;
2150
+ }>;
2151
+ create: _trpc_server.TRPCMutationProcedure<{
2152
+ input: {
2153
+ project_id: string;
2154
+ };
2155
+ output: {
2156
+ id: string;
2157
+ access: string;
2158
+ user_id: string;
2159
+ project_id: string;
2160
+ secret: string;
2161
+ };
2162
+ meta: object;
2163
+ }>;
2164
+ delete: _trpc_server.TRPCMutationProcedure<{
2165
+ input: {
2166
+ project_id: string;
2167
+ credentialId: string;
2168
+ };
2169
+ output: {
2170
+ success: true;
2171
+ };
2172
+ meta: object;
2173
+ }>;
2174
+ }>>;
2175
+ containers: _trpc_server.TRPCBuiltRouter<{
2176
+ ctx: AuroraPortalContext;
2177
+ meta: object;
2178
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
2179
+ transformer: false;
2180
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
2181
+ status: _trpc_server.TRPCQueryProcedure<{
2182
+ input: {
2183
+ project_id: string;
2184
+ };
2185
+ output: {
2186
+ hasCredentials: boolean;
2187
+ };
2188
+ meta: object;
2189
+ }>;
2190
+ list: _trpc_server.TRPCQueryProcedure<{
2191
+ input: {
2192
+ project_id: string;
2193
+ includeMetadata?: boolean | undefined;
2194
+ };
2195
+ output: {
2196
+ name: string;
2197
+ count: number;
2198
+ bytes: number;
2199
+ last_modified?: string | undefined;
2200
+ creationDate?: string | undefined;
2201
+ }[];
2202
+ meta: object;
2203
+ }>;
2204
+ create: _trpc_server.TRPCMutationProcedure<{
2205
+ input: {
2206
+ project_id: string;
2207
+ bucketName: string;
2208
+ enableVersioning?: boolean | undefined;
2209
+ };
2210
+ output: {
2211
+ success: boolean;
2212
+ versioningError?: string | undefined;
2213
+ };
2214
+ meta: object;
2215
+ }>;
2216
+ delete: _trpc_server.TRPCMutationProcedure<{
2217
+ input: {
2218
+ project_id: string;
2219
+ bucketName: string;
2220
+ };
2221
+ output: boolean;
2222
+ meta: object;
2223
+ }>;
2224
+ }>>;
2225
+ objects: _trpc_server.TRPCBuiltRouter<{
2226
+ ctx: AuroraPortalContext;
2227
+ meta: object;
2228
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
2229
+ transformer: false;
2230
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
2231
+ list: _trpc_server.TRPCQueryProcedure<{
2232
+ input: {
2233
+ project_id: string;
2234
+ containerName: string;
2235
+ prefix?: string | undefined;
2236
+ delimiter?: string | undefined;
2237
+ maxKeys?: number | undefined;
2238
+ continuationToken?: string | undefined;
2239
+ keyMarker?: string | undefined;
2240
+ versionIdMarker?: string | undefined;
2241
+ showVersions?: boolean | undefined;
2242
+ };
2243
+ output: {
2244
+ objects: {
2245
+ key: string;
2246
+ size: number;
2247
+ lastModified?: string | undefined;
2248
+ etag?: string | undefined;
2249
+ storageClass?: string | undefined;
2250
+ }[];
2251
+ folders: {
2252
+ prefix: string;
2253
+ }[];
2254
+ isTruncated: boolean;
2255
+ nextContinuationToken?: string | undefined;
2256
+ versions?: {
2257
+ key: string;
2258
+ versionId: string;
2259
+ isLatest: boolean;
2260
+ size: number;
2261
+ isDeleteMarker: boolean;
2262
+ lastModified?: string | undefined;
2263
+ etag?: string | undefined;
2264
+ storageClass?: string | undefined;
2265
+ }[] | undefined;
2266
+ nextKeyMarker?: string | undefined;
2267
+ nextVersionIdMarker?: string | undefined;
2268
+ };
2269
+ meta: object;
2270
+ }>;
2271
+ getDetails: _trpc_server.TRPCQueryProcedure<{
2272
+ input: {
2273
+ project_id: string;
2274
+ containerName: string;
2275
+ objectKey: string;
2276
+ };
2277
+ output: {
2278
+ key: string;
2279
+ size: number;
2280
+ lastModified?: string | undefined;
2281
+ etag?: string | undefined;
2282
+ storageClass?: string | undefined;
2283
+ contentType?: string | undefined;
2284
+ metadata?: Record<string, string> | undefined;
2285
+ };
2286
+ meta: object;
2287
+ }>;
2288
+ deleteAll: _trpc_server.TRPCMutationProcedure<{
2289
+ input: {
2290
+ project_id: string;
2291
+ containerName: string;
2292
+ includeVersionsAndDeleteMarkers?: boolean | undefined;
2293
+ };
2294
+ output: number;
2295
+ meta: object;
2296
+ }>;
2297
+ delete: _trpc_server.TRPCMutationProcedure<{
2298
+ input: {
2299
+ project_id: string;
2300
+ containerName: string;
2301
+ objectKey: string;
2302
+ };
2303
+ output: boolean;
2304
+ meta: object;
2305
+ }>;
2306
+ createFolder: _trpc_server.TRPCMutationProcedure<{
2307
+ input: {
2308
+ project_id: string;
2309
+ containerName: string;
2310
+ folderPath: string;
2311
+ };
2312
+ output: boolean;
2313
+ meta: object;
2314
+ }>;
2315
+ copy: _trpc_server.TRPCMutationProcedure<{
2316
+ input: {
2317
+ project_id: string;
2318
+ sourceBucket: string;
2319
+ sourceKey: string;
2320
+ destinationBucket: string;
2321
+ destinationKey: string;
2322
+ copyMetadata?: boolean | undefined;
2323
+ };
2324
+ output: {
2325
+ key: string;
2326
+ etag?: string | undefined;
2327
+ lastModified?: string | undefined;
2328
+ };
2329
+ meta: object;
2330
+ }>;
2331
+ move: _trpc_server.TRPCMutationProcedure<{
2332
+ input: {
2333
+ project_id: string;
2334
+ sourceBucket: string;
2335
+ sourceKey: string;
2336
+ destinationBucket: string;
2337
+ destinationKey: string;
2338
+ };
2339
+ output: boolean;
2340
+ meta: object;
2341
+ }>;
2342
+ updateMetadata: _trpc_server.TRPCMutationProcedure<{
2343
+ input: {
2344
+ project_id: string;
2345
+ containerName: string;
2346
+ objectKey: string;
2347
+ metadata: Record<string, string>;
2348
+ };
2349
+ output: {
2350
+ key: string;
2351
+ size: number;
2352
+ lastModified?: string | undefined;
2353
+ etag?: string | undefined;
2354
+ storageClass?: string | undefined;
2355
+ contentType?: string | undefined;
2356
+ metadata?: Record<string, string> | undefined;
2357
+ };
2358
+ meta: object;
2359
+ }>;
2360
+ downloadObject: _trpc_server.TRPCMutationProcedure<{
2361
+ input: {
2362
+ project_id: string;
2363
+ containerName: string;
2364
+ objectKey: string;
2365
+ filename: string;
2366
+ downloadId: string;
2367
+ };
2368
+ output: AsyncGenerator<{
2369
+ chunk: string;
2370
+ downloaded: number;
2371
+ total: number;
2372
+ contentType?: string;
2373
+ filename?: string;
2374
+ }, any, any>;
2375
+ meta: object;
2376
+ }>;
2377
+ watchDownloadProgress: _trpc_server.TRPCSubscriptionProcedure<{
2378
+ input: {
2379
+ project_id: string;
2380
+ downloadId: string;
2381
+ };
2382
+ output: AsyncIterable<{
2383
+ downloaded: number;
2384
+ total: number;
2385
+ percent: number;
2386
+ }, void, any>;
2387
+ meta: object;
2388
+ }>;
2389
+ }>>;
2390
+ versioning: _trpc_server.TRPCBuiltRouter<{
2391
+ ctx: AuroraPortalContext;
2392
+ meta: object;
2393
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
2394
+ transformer: false;
2395
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
2396
+ getStatus: _trpc_server.TRPCQueryProcedure<{
2397
+ input: {
2398
+ project_id: string;
2399
+ bucket: string;
2400
+ };
2401
+ output: {
2402
+ status: "Enabled" | "Suspended" | "Unversioned";
2403
+ mfaDelete?: "Enabled" | "Disabled" | undefined;
2404
+ };
2405
+ meta: object;
2406
+ }>;
2407
+ setStatus: _trpc_server.TRPCMutationProcedure<{
2408
+ input: {
2409
+ project_id: string;
2410
+ bucket: string;
2411
+ status: "Enabled" | "Suspended";
2412
+ };
2413
+ output: {
2414
+ success: boolean;
2415
+ };
2416
+ meta: object;
2417
+ }>;
2418
+ listVersions: _trpc_server.TRPCQueryProcedure<{
2419
+ input: {
2420
+ project_id: string;
2421
+ bucket: string;
2422
+ prefix?: string | undefined;
2423
+ keyMarker?: string | undefined;
2424
+ versionIdMarker?: string | undefined;
2425
+ maxKeys?: number | undefined;
2426
+ };
2427
+ output: ListVersionsOutput;
2428
+ meta: object;
2429
+ }>;
2430
+ listObjectVersions: _trpc_server.TRPCQueryProcedure<{
2431
+ input: {
2432
+ project_id: string;
2433
+ bucket: string;
2434
+ key: string;
2435
+ };
2436
+ output: {
2437
+ key: string;
2438
+ versionId: string;
2439
+ isLatest: boolean;
2440
+ lastModified: string;
2441
+ size: number;
2442
+ isDeleteMarker: boolean;
2443
+ storageClass?: string | undefined;
2444
+ owner?: {
2445
+ displayName?: string | undefined;
2446
+ id?: string | undefined;
2447
+ } | undefined;
2448
+ etag?: string | undefined;
2449
+ }[];
2450
+ meta: object;
2451
+ }>;
2452
+ deleteVersion: _trpc_server.TRPCMutationProcedure<{
2453
+ input: {
2454
+ project_id: string;
2455
+ bucket: string;
2456
+ key: string;
2457
+ versionId: string;
2458
+ };
2459
+ output: {
2460
+ success: boolean;
2461
+ };
2462
+ meta: object;
2463
+ }>;
2464
+ restoreVersion: _trpc_server.TRPCMutationProcedure<{
2465
+ input: {
2466
+ project_id: string;
2467
+ bucket: string;
2468
+ key: string;
2469
+ versionId: string;
2470
+ };
2471
+ output: {
2472
+ success: boolean;
2473
+ versionId: string;
2474
+ };
2475
+ meta: object;
2476
+ }>;
2477
+ checkDeletedContent: _trpc_server.TRPCQueryProcedure<{
2478
+ input: {
2479
+ project_id: string;
2480
+ bucket: string;
2481
+ folders: string[];
2482
+ };
2483
+ output: {
2484
+ prefix: string;
2485
+ hasDeletedContent: boolean;
2486
+ isFolderDeleted: boolean;
2487
+ }[];
2488
+ meta: object;
2489
+ }>;
2490
+ }>>;
2491
+ bucketPolicy: _trpc_server.TRPCBuiltRouter<{
2492
+ ctx: AuroraPortalContext;
2493
+ meta: object;
2494
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
2495
+ transformer: false;
2496
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
2497
+ get: _trpc_server.TRPCQueryProcedure<{
2498
+ input: {
2499
+ project_id: string;
2500
+ bucketName: string;
2501
+ };
2502
+ output: {
2503
+ policy: {
2504
+ Version: string;
2505
+ Statement: {
2506
+ Effect: "Allow" | "Deny";
2507
+ Sid?: string | undefined;
2508
+ Principal?: string | {
2509
+ AWS?: string | string[] | undefined;
2510
+ Service?: string | string[] | undefined;
2511
+ Federated?: string | string[] | undefined;
2512
+ } | undefined;
2513
+ NotPrincipal?: string | {
2514
+ AWS?: string | string[] | undefined;
2515
+ Service?: string | string[] | undefined;
2516
+ Federated?: string | string[] | undefined;
2517
+ } | undefined;
2518
+ Action?: string | string[] | undefined;
2519
+ NotAction?: string | string[] | undefined;
2520
+ Resource?: string | string[] | undefined;
2521
+ NotResource?: string | string[] | undefined;
2522
+ Condition?: Record<string, Record<string, string | number | boolean | string[]>> | undefined;
2523
+ }[];
2524
+ Id?: string | undefined;
2525
+ } | null;
2526
+ policyText: string | null;
2527
+ };
2528
+ meta: object;
2529
+ }>;
2530
+ set: _trpc_server.TRPCMutationProcedure<{
2531
+ input: {
2532
+ project_id: string;
2533
+ bucketName: string;
2534
+ policy: string;
2535
+ };
2536
+ output: boolean;
2537
+ meta: object;
2538
+ }>;
2539
+ delete: _trpc_server.TRPCMutationProcedure<{
2540
+ input: {
2541
+ project_id: string;
2542
+ bucketName: string;
2543
+ };
2544
+ output: boolean;
2545
+ meta: object;
2546
+ }>;
2547
+ }>>;
2548
+ }>>;
2549
+ };
2550
+ }> & _trpc_server.TRPCDecorateCreateRouterOptions<{
2551
+ compute: _trpc_server.TRPCBuiltRouter<{
2552
+ ctx: AuroraPortalContext;
2553
+ meta: object;
2554
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
2555
+ transformer: false;
2556
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
2557
+ canUser: _trpc_server.TRPCQueryProcedure<{
2558
+ input: {
2559
+ project_id: string;
2560
+ permission: string | string[];
2561
+ };
2562
+ output: boolean[];
2563
+ meta: object;
2564
+ }>;
2565
+ getServerGroupsByProjectId: _trpc_server.TRPCQueryProcedure<{
2566
+ input: {
2567
+ project_id: string;
2568
+ };
2569
+ output: {
2570
+ id: string;
2571
+ name: string;
2572
+ policies?: string[] | undefined;
2573
+ policy?: string | undefined;
2574
+ members?: string[] | undefined;
2575
+ metadata?: Record<string, unknown> | undefined;
2576
+ project_id?: string | undefined;
2577
+ user_id?: string | undefined;
2578
+ created_at?: string | undefined;
2579
+ updated_at?: string | null | undefined;
2580
+ policy_details?: Record<string, unknown> | undefined;
2581
+ rules?: Record<string, unknown> | undefined;
2582
+ }[] | undefined;
2583
+ meta: object;
2584
+ }>;
2585
+ getKeypairsByProjectId: _trpc_server.TRPCQueryProcedure<{
2586
+ input: {
2587
+ project_id: string;
2588
+ };
2589
+ output: {
2590
+ name: string;
2591
+ public_key?: string | undefined;
2592
+ fingerprint?: string | undefined;
2593
+ type?: string | undefined;
2594
+ user_id?: string | null | undefined;
2595
+ created_at?: string | undefined;
2596
+ deleted?: boolean | undefined;
2597
+ deleted_at?: string | null | undefined;
2598
+ updated_at?: string | null | undefined;
2599
+ id?: number | undefined;
2600
+ private_key?: string | null | undefined;
2601
+ }[] | undefined;
2602
+ meta: object;
2603
+ }>;
2604
+ listImagesWithSearch: _trpc_server.TRPCQueryProcedure<{
2605
+ input: {
2606
+ project_id: string;
2607
+ sort_key?: "id" | "name" | "status" | "visibility" | "protected" | "container_format" | "disk_format" | "min_ram" | "min_disk" | "size" | "created_at" | "updated_at" | "owner" | undefined;
2608
+ sort_dir?: "asc" | "desc" | undefined;
2609
+ sort?: string | undefined;
2610
+ limit?: number | undefined;
2611
+ marker?: string | undefined;
2612
+ name?: string | undefined;
2613
+ status?: string | undefined;
2614
+ visibility?: "all" | "public" | "private" | "shared" | "community" | undefined;
2615
+ owner?: string | undefined;
2616
+ protected?: string | undefined;
2617
+ container_format?: string | undefined;
2618
+ disk_format?: string | undefined;
2619
+ size_min?: number | undefined;
2620
+ size_max?: number | undefined;
2621
+ min_ram?: number | undefined;
2622
+ min_disk?: number | undefined;
2623
+ tag?: string | undefined;
2624
+ os_type?: "linux" | "windows" | undefined;
2625
+ os_hidden?: boolean | undefined;
2626
+ member_status?: "all" | "pending" | "accepted" | "rejected" | undefined;
2627
+ created_at?: string | undefined;
2628
+ updated_at?: string | undefined;
2629
+ first?: string | undefined;
2630
+ next?: string | undefined;
2631
+ };
2632
+ output: {
2633
+ images: {
2634
+ [x: string]: unknown;
2635
+ id: string;
2636
+ name?: string | null | undefined;
2637
+ status?: string | undefined;
2638
+ visibility?: string | undefined;
2639
+ protected?: boolean | undefined;
2640
+ checksum?: string | null | undefined;
2641
+ container_format?: string | null | undefined;
2642
+ disk_format?: string | null | undefined;
2643
+ min_ram?: number | undefined;
2644
+ min_disk?: number | undefined;
2645
+ size?: number | null | undefined;
2646
+ virtual_size?: number | null | undefined;
2647
+ created_at?: string | undefined;
2648
+ updated_at?: string | undefined;
2649
+ deleted_at?: string | null | undefined;
2650
+ owner?: string | null | undefined;
2651
+ os_hidden?: boolean | undefined;
2652
+ os_hash_algo?: string | null | undefined;
2653
+ os_hash_value?: string | null | undefined;
2654
+ schema?: string | undefined;
2655
+ metadata?: Record<string, string> | undefined;
2656
+ file?: string | undefined;
2657
+ self?: string | undefined;
2658
+ tags?: string[] | undefined;
2659
+ direct_url?: string | null | undefined;
2660
+ hw_disk_bus?: string | null | undefined;
2661
+ hw_scsi_model?: string | null | undefined;
2662
+ hw_serial?: string | null | undefined;
2663
+ hw_qemu_guest_agent?: boolean | undefined;
2664
+ hw_vif_model?: string | null | undefined;
2665
+ hw_rng_model?: string | null | undefined;
2666
+ hw_machine_type?: string | null | undefined;
2667
+ os_type?: string | null | undefined;
2668
+ os_distro?: string | null | undefined;
2669
+ os_version?: string | null | undefined;
2670
+ os_require_quiesce?: boolean | undefined;
2671
+ links?: {
2672
+ href?: string | null | undefined;
2673
+ rel?: string | null | undefined;
2674
+ }[] | undefined;
2675
+ members?: string[] | undefined;
2676
+ locations?: {
2677
+ url: string;
2678
+ metadata?: Record<string, any> | undefined;
2679
+ }[] | undefined;
2680
+ }[];
2681
+ first?: string | undefined;
2682
+ next?: string | undefined;
2683
+ schema?: string | undefined;
2684
+ };
2685
+ meta: object;
2686
+ }>;
2687
+ listImagesWithPagination: _trpc_server.TRPCQueryProcedure<{
2688
+ input: {
2689
+ project_id: string;
2690
+ sort_key?: "id" | "name" | "status" | "visibility" | "protected" | "container_format" | "disk_format" | "min_ram" | "min_disk" | "size" | "created_at" | "updated_at" | "owner" | undefined;
2691
+ sort_dir?: "asc" | "desc" | undefined;
2692
+ sort?: string | undefined;
2693
+ limit?: number | undefined;
2694
+ marker?: string | undefined;
2695
+ name?: string | undefined;
2696
+ status?: string | undefined;
2697
+ visibility?: "all" | "public" | "private" | "shared" | "community" | undefined;
2698
+ owner?: string | undefined;
2699
+ protected?: string | undefined;
2700
+ container_format?: string | undefined;
2701
+ disk_format?: string | undefined;
2702
+ size_min?: number | undefined;
2703
+ size_max?: number | undefined;
2704
+ min_ram?: number | undefined;
2705
+ min_disk?: number | undefined;
2706
+ tag?: string | undefined;
2707
+ os_type?: "linux" | "windows" | undefined;
2708
+ os_hidden?: boolean | undefined;
2709
+ member_status?: "all" | "pending" | "accepted" | "rejected" | undefined;
2710
+ created_at?: string | undefined;
2711
+ updated_at?: string | undefined;
2712
+ first?: string | undefined;
2713
+ next?: string | undefined;
2714
+ };
2715
+ output: {
2716
+ images: {
2717
+ [x: string]: unknown;
2718
+ id: string;
2719
+ name?: string | null | undefined;
2720
+ status?: string | undefined;
2721
+ visibility?: string | undefined;
2722
+ protected?: boolean | undefined;
2723
+ checksum?: string | null | undefined;
2724
+ container_format?: string | null | undefined;
2725
+ disk_format?: string | null | undefined;
2726
+ min_ram?: number | undefined;
2727
+ min_disk?: number | undefined;
2728
+ size?: number | null | undefined;
2729
+ virtual_size?: number | null | undefined;
2730
+ created_at?: string | undefined;
2731
+ updated_at?: string | undefined;
2732
+ deleted_at?: string | null | undefined;
2733
+ owner?: string | null | undefined;
2734
+ os_hidden?: boolean | undefined;
2735
+ os_hash_algo?: string | null | undefined;
2736
+ os_hash_value?: string | null | undefined;
2737
+ schema?: string | undefined;
2738
+ metadata?: Record<string, string> | undefined;
2739
+ file?: string | undefined;
2740
+ self?: string | undefined;
2741
+ tags?: string[] | undefined;
2742
+ direct_url?: string | null | undefined;
2743
+ hw_disk_bus?: string | null | undefined;
2744
+ hw_scsi_model?: string | null | undefined;
2745
+ hw_serial?: string | null | undefined;
2746
+ hw_qemu_guest_agent?: boolean | undefined;
2747
+ hw_vif_model?: string | null | undefined;
2748
+ hw_rng_model?: string | null | undefined;
2749
+ hw_machine_type?: string | null | undefined;
2750
+ os_type?: string | null | undefined;
2751
+ os_distro?: string | null | undefined;
2752
+ os_version?: string | null | undefined;
2753
+ os_require_quiesce?: boolean | undefined;
2754
+ links?: {
2755
+ href?: string | null | undefined;
2756
+ rel?: string | null | undefined;
2757
+ }[] | undefined;
2758
+ members?: string[] | undefined;
2759
+ locations?: {
2760
+ url: string;
2761
+ metadata?: Record<string, any> | undefined;
2762
+ }[] | undefined;
2763
+ }[];
2764
+ first?: string | undefined;
2765
+ next?: string | undefined;
2766
+ schema?: string | undefined;
2767
+ };
2768
+ meta: object;
2769
+ }>;
2770
+ getImageById: _trpc_server.TRPCQueryProcedure<{
2771
+ input: {
2772
+ project_id: string;
2773
+ imageId: string;
2774
+ };
2775
+ output: {
2776
+ [x: string]: unknown;
2777
+ id: string;
2778
+ name?: string | null | undefined;
2779
+ status?: string | undefined;
2780
+ visibility?: string | undefined;
2781
+ protected?: boolean | undefined;
2782
+ checksum?: string | null | undefined;
2783
+ container_format?: string | null | undefined;
2784
+ disk_format?: string | null | undefined;
2785
+ min_ram?: number | undefined;
2786
+ min_disk?: number | undefined;
2787
+ size?: number | null | undefined;
2788
+ virtual_size?: number | null | undefined;
2789
+ created_at?: string | undefined;
2790
+ updated_at?: string | undefined;
2791
+ deleted_at?: string | null | undefined;
2792
+ owner?: string | null | undefined;
2793
+ os_hidden?: boolean | undefined;
2794
+ os_hash_algo?: string | null | undefined;
2795
+ os_hash_value?: string | null | undefined;
2796
+ schema?: string | undefined;
2797
+ metadata?: Record<string, string> | undefined;
2798
+ file?: string | undefined;
2799
+ self?: string | undefined;
2800
+ tags?: string[] | undefined;
2801
+ direct_url?: string | null | undefined;
2802
+ hw_disk_bus?: string | null | undefined;
2803
+ hw_scsi_model?: string | null | undefined;
2804
+ hw_serial?: string | null | undefined;
2805
+ hw_qemu_guest_agent?: boolean | undefined;
2806
+ hw_vif_model?: string | null | undefined;
2807
+ hw_rng_model?: string | null | undefined;
2808
+ hw_machine_type?: string | null | undefined;
2809
+ os_type?: string | null | undefined;
2810
+ os_distro?: string | null | undefined;
2811
+ os_version?: string | null | undefined;
2812
+ os_require_quiesce?: boolean | undefined;
2813
+ links?: {
2814
+ href?: string | null | undefined;
2815
+ rel?: string | null | undefined;
2816
+ }[] | undefined;
2817
+ members?: string[] | undefined;
2818
+ locations?: {
2819
+ url: string;
2820
+ metadata?: Record<string, any> | undefined;
2821
+ }[] | undefined;
2822
+ };
2823
+ meta: object;
2824
+ }>;
2825
+ createImage: _trpc_server.TRPCMutationProcedure<{
2826
+ input: {
2827
+ [x: string]: string;
2828
+ project_id: string;
2829
+ name?: string | undefined;
2830
+ id?: string | undefined;
2831
+ container_format?: string | undefined;
2832
+ disk_format?: string | undefined;
2833
+ visibility?: "public" | "private" | "shared" | "community" | undefined;
2834
+ protected?: boolean | undefined;
2835
+ min_ram?: number | undefined;
2836
+ min_disk?: number | undefined;
2837
+ tags?: string[] | undefined;
2838
+ os_type?: "linux" | "windows" | undefined;
2839
+ os_distro?: string | undefined;
2840
+ os_version?: string | undefined;
2841
+ architecture?: string | undefined;
2842
+ os_hidden?: boolean | undefined;
2843
+ hw_disk_bus?: string | undefined;
2844
+ hw_scsi_model?: string | undefined;
2845
+ hw_serial?: string | undefined;
2846
+ hw_qemu_guest_agent?: boolean | undefined;
2847
+ hw_vif_model?: string | undefined;
2848
+ hw_rng_model?: string | undefined;
2849
+ hw_machine_type?: string | undefined;
2850
+ };
2851
+ output: {
2852
+ [x: string]: unknown;
2853
+ id: string;
2854
+ name?: string | null | undefined;
2855
+ status?: string | undefined;
2856
+ visibility?: string | undefined;
2857
+ protected?: boolean | undefined;
2858
+ checksum?: string | null | undefined;
2859
+ container_format?: string | null | undefined;
2860
+ disk_format?: string | null | undefined;
2861
+ min_ram?: number | undefined;
2862
+ min_disk?: number | undefined;
2863
+ size?: number | null | undefined;
2864
+ virtual_size?: number | null | undefined;
2865
+ created_at?: string | undefined;
2866
+ updated_at?: string | undefined;
2867
+ deleted_at?: string | null | undefined;
2868
+ owner?: string | null | undefined;
2869
+ os_hidden?: boolean | undefined;
2870
+ os_hash_algo?: string | null | undefined;
2871
+ os_hash_value?: string | null | undefined;
2872
+ schema?: string | undefined;
2873
+ metadata?: Record<string, string> | undefined;
2874
+ file?: string | undefined;
2875
+ self?: string | undefined;
2876
+ tags?: string[] | undefined;
2877
+ direct_url?: string | null | undefined;
2878
+ hw_disk_bus?: string | null | undefined;
2879
+ hw_scsi_model?: string | null | undefined;
2880
+ hw_serial?: string | null | undefined;
2881
+ hw_qemu_guest_agent?: boolean | undefined;
2882
+ hw_vif_model?: string | null | undefined;
2883
+ hw_rng_model?: string | null | undefined;
2884
+ hw_machine_type?: string | null | undefined;
2885
+ os_type?: string | null | undefined;
2886
+ os_distro?: string | null | undefined;
2887
+ os_version?: string | null | undefined;
2888
+ os_require_quiesce?: boolean | undefined;
2889
+ links?: {
2890
+ href?: string | null | undefined;
2891
+ rel?: string | null | undefined;
2892
+ }[] | undefined;
2893
+ members?: string[] | undefined;
2894
+ locations?: {
2895
+ url: string;
2896
+ metadata?: Record<string, any> | undefined;
2897
+ }[] | undefined;
2898
+ };
2899
+ meta: object;
2900
+ }>;
2901
+ uploadImage: _trpc_server.TRPCMutationProcedure<{
2902
+ input: _trpc_server_http.OctetInput;
2903
+ output: {
2904
+ success: boolean;
2905
+ imageId: string;
2906
+ };
2907
+ meta: object;
2908
+ }>;
2909
+ watchUploadProgress: _trpc_server.TRPCSubscriptionProcedure<{
2910
+ input: {
2911
+ project_id: string;
2912
+ uploadId: string;
2913
+ };
2914
+ output: AsyncIterable<{
2915
+ percent: number;
2916
+ uploaded: number;
2917
+ total: number;
2918
+ }, void, any>;
2919
+ meta: object;
2920
+ }>;
2921
+ updateImage: _trpc_server.TRPCMutationProcedure<{
2922
+ input: {
2923
+ project_id: string;
2924
+ imageId: string;
2925
+ operations: {
2926
+ op: "replace" | "copy" | "move" | "add" | "remove" | "test";
2927
+ path: string;
2928
+ value?: any;
2929
+ from?: string | undefined;
2930
+ }[];
2931
+ };
2932
+ output: {
2933
+ [x: string]: unknown;
2934
+ id: string;
2935
+ name?: string | null | undefined;
2936
+ status?: string | undefined;
2937
+ visibility?: string | undefined;
2938
+ protected?: boolean | undefined;
2939
+ checksum?: string | null | undefined;
2940
+ container_format?: string | null | undefined;
2941
+ disk_format?: string | null | undefined;
2942
+ min_ram?: number | undefined;
2943
+ min_disk?: number | undefined;
2944
+ size?: number | null | undefined;
2945
+ virtual_size?: number | null | undefined;
2946
+ created_at?: string | undefined;
2947
+ updated_at?: string | undefined;
2948
+ deleted_at?: string | null | undefined;
2949
+ owner?: string | null | undefined;
2950
+ os_hidden?: boolean | undefined;
2951
+ os_hash_algo?: string | null | undefined;
2952
+ os_hash_value?: string | null | undefined;
2953
+ schema?: string | undefined;
2954
+ metadata?: Record<string, string> | undefined;
2955
+ file?: string | undefined;
2956
+ self?: string | undefined;
2957
+ tags?: string[] | undefined;
2958
+ direct_url?: string | null | undefined;
2959
+ hw_disk_bus?: string | null | undefined;
2960
+ hw_scsi_model?: string | null | undefined;
2961
+ hw_serial?: string | null | undefined;
2962
+ hw_qemu_guest_agent?: boolean | undefined;
2963
+ hw_vif_model?: string | null | undefined;
2964
+ hw_rng_model?: string | null | undefined;
2965
+ hw_machine_type?: string | null | undefined;
2966
+ os_type?: string | null | undefined;
2967
+ os_distro?: string | null | undefined;
2968
+ os_version?: string | null | undefined;
2969
+ os_require_quiesce?: boolean | undefined;
2970
+ links?: {
2971
+ href?: string | null | undefined;
2972
+ rel?: string | null | undefined;
2973
+ }[] | undefined;
2974
+ members?: string[] | undefined;
2975
+ locations?: {
2976
+ url: string;
2977
+ metadata?: Record<string, any> | undefined;
2978
+ }[] | undefined;
2979
+ };
2980
+ meta: object;
2981
+ }>;
2982
+ updateImageVisibility: _trpc_server.TRPCMutationProcedure<{
2983
+ input: {
2984
+ project_id: string;
2985
+ imageId: string;
2986
+ visibility: "public" | "private" | "shared" | "community";
2987
+ };
2988
+ output: {
2989
+ [x: string]: unknown;
2990
+ id: string;
2991
+ name?: string | null | undefined;
2992
+ status?: string | undefined;
2993
+ visibility?: string | undefined;
2994
+ protected?: boolean | undefined;
2995
+ checksum?: string | null | undefined;
2996
+ container_format?: string | null | undefined;
2997
+ disk_format?: string | null | undefined;
2998
+ min_ram?: number | undefined;
2999
+ min_disk?: number | undefined;
3000
+ size?: number | null | undefined;
3001
+ virtual_size?: number | null | undefined;
3002
+ created_at?: string | undefined;
3003
+ updated_at?: string | undefined;
3004
+ deleted_at?: string | null | undefined;
3005
+ owner?: string | null | undefined;
3006
+ os_hidden?: boolean | undefined;
3007
+ os_hash_algo?: string | null | undefined;
3008
+ os_hash_value?: string | null | undefined;
3009
+ schema?: string | undefined;
3010
+ metadata?: Record<string, string> | undefined;
3011
+ file?: string | undefined;
3012
+ self?: string | undefined;
3013
+ tags?: string[] | undefined;
3014
+ direct_url?: string | null | undefined;
3015
+ hw_disk_bus?: string | null | undefined;
3016
+ hw_scsi_model?: string | null | undefined;
3017
+ hw_serial?: string | null | undefined;
3018
+ hw_qemu_guest_agent?: boolean | undefined;
3019
+ hw_vif_model?: string | null | undefined;
3020
+ hw_rng_model?: string | null | undefined;
3021
+ hw_machine_type?: string | null | undefined;
3022
+ os_type?: string | null | undefined;
3023
+ os_distro?: string | null | undefined;
3024
+ os_version?: string | null | undefined;
3025
+ os_require_quiesce?: boolean | undefined;
3026
+ links?: {
3027
+ href?: string | null | undefined;
3028
+ rel?: string | null | undefined;
3029
+ }[] | undefined;
3030
+ members?: string[] | undefined;
3031
+ locations?: {
3032
+ url: string;
3033
+ metadata?: Record<string, any> | undefined;
3034
+ }[] | undefined;
3035
+ };
3036
+ meta: object;
3037
+ }>;
3038
+ deleteImage: _trpc_server.TRPCMutationProcedure<{
3039
+ input: {
3040
+ project_id: string;
3041
+ imageId: string;
3042
+ };
3043
+ output: boolean;
3044
+ meta: object;
3045
+ }>;
3046
+ deactivateImage: _trpc_server.TRPCMutationProcedure<{
3047
+ input: {
3048
+ project_id: string;
3049
+ imageId: string;
3050
+ };
3051
+ output: boolean;
3052
+ meta: object;
3053
+ }>;
3054
+ reactivateImage: _trpc_server.TRPCMutationProcedure<{
3055
+ input: {
3056
+ project_id: string;
3057
+ imageId: string;
3058
+ };
3059
+ output: boolean;
3060
+ meta: object;
3061
+ }>;
3062
+ listImageMembers: _trpc_server.TRPCQueryProcedure<{
3063
+ input: {
3064
+ project_id: string;
3065
+ imageId: string;
3066
+ };
3067
+ output: {
3068
+ member_id: string;
3069
+ image_id: string;
3070
+ status: "pending" | "accepted" | "rejected";
3071
+ created_at: string;
3072
+ updated_at: string;
3073
+ schema?: string | undefined;
3074
+ }[];
3075
+ meta: object;
3076
+ }>;
3077
+ getImageMember: _trpc_server.TRPCQueryProcedure<{
3078
+ input: {
3079
+ project_id: string;
3080
+ imageId: string;
3081
+ memberId: string;
3082
+ };
3083
+ output: {
3084
+ member_id: string;
3085
+ image_id: string;
3086
+ status: "pending" | "accepted" | "rejected";
3087
+ created_at: string;
3088
+ updated_at: string;
3089
+ schema?: string | undefined;
3090
+ };
3091
+ meta: object;
3092
+ }>;
3093
+ createImageMember: _trpc_server.TRPCMutationProcedure<{
3094
+ input: {
3095
+ project_id: string;
3096
+ imageId: string;
3097
+ member: string;
3098
+ };
3099
+ output: {
3100
+ member_id: string;
3101
+ image_id: string;
3102
+ status: "pending" | "accepted" | "rejected";
3103
+ created_at: string;
3104
+ updated_at: string;
3105
+ schema?: string | undefined;
3106
+ };
3107
+ meta: object;
3108
+ }>;
3109
+ updateImageMember: _trpc_server.TRPCMutationProcedure<{
3110
+ input: {
3111
+ project_id: string;
3112
+ imageId: string;
3113
+ memberId: string;
3114
+ status: "pending" | "accepted" | "rejected";
3115
+ };
3116
+ output: {
3117
+ member_id: string;
3118
+ image_id: string;
3119
+ status: "pending" | "accepted" | "rejected";
3120
+ created_at: string;
3121
+ updated_at: string;
3122
+ schema?: string | undefined;
3123
+ };
3124
+ meta: object;
3125
+ }>;
3126
+ deleteImageMember: _trpc_server.TRPCMutationProcedure<{
3127
+ input: {
3128
+ project_id: string;
3129
+ imageId: string;
3130
+ memberId: string;
3131
+ };
3132
+ output: boolean;
3133
+ meta: object;
3134
+ }>;
3135
+ deleteImages: _trpc_server.TRPCMutationProcedure<{
3136
+ input: {
3137
+ project_id: string;
3138
+ imageIds: string[];
3139
+ };
3140
+ output: {
3141
+ successful: string[];
3142
+ failed: {
3143
+ imageId: string;
3144
+ error: string;
3145
+ }[];
3146
+ };
3147
+ meta: object;
3148
+ }>;
3149
+ activateImages: _trpc_server.TRPCMutationProcedure<{
3150
+ input: {
3151
+ project_id: string;
3152
+ imageIds: string[];
3153
+ };
3154
+ output: {
3155
+ successful: string[];
3156
+ failed: {
3157
+ imageId: string;
3158
+ error: string;
3159
+ }[];
3160
+ };
3161
+ meta: object;
3162
+ }>;
3163
+ deactivateImages: _trpc_server.TRPCMutationProcedure<{
3164
+ input: {
3165
+ project_id: string;
3166
+ imageIds: string[];
3167
+ };
3168
+ output: {
3169
+ successful: string[];
3170
+ failed: {
3171
+ imageId: string;
3172
+ error: string;
3173
+ }[];
3174
+ };
3175
+ meta: object;
3176
+ }>;
3177
+ listSharedImagesByMemberStatus: _trpc_server.TRPCQueryProcedure<{
3178
+ input: {
3179
+ project_id: string;
3180
+ memberStatus: "pending" | "accepted" | "rejected";
3181
+ name?: string | undefined;
3182
+ status?: string | undefined;
3183
+ disk_format?: string | undefined;
3184
+ container_format?: string | undefined;
3185
+ protected?: string | undefined;
3186
+ sort?: string | undefined;
3187
+ };
3188
+ output: {
3189
+ [x: string]: unknown;
3190
+ id: string;
3191
+ name?: string | null | undefined;
3192
+ status?: string | undefined;
3193
+ visibility?: string | undefined;
3194
+ protected?: boolean | undefined;
3195
+ checksum?: string | null | undefined;
3196
+ container_format?: string | null | undefined;
3197
+ disk_format?: string | null | undefined;
3198
+ min_ram?: number | undefined;
3199
+ min_disk?: number | undefined;
3200
+ size?: number | null | undefined;
3201
+ virtual_size?: number | null | undefined;
3202
+ created_at?: string | undefined;
3203
+ updated_at?: string | undefined;
3204
+ deleted_at?: string | null | undefined;
3205
+ owner?: string | null | undefined;
3206
+ os_hidden?: boolean | undefined;
3207
+ os_hash_algo?: string | null | undefined;
3208
+ os_hash_value?: string | null | undefined;
3209
+ schema?: string | undefined;
3210
+ metadata?: Record<string, string> | undefined;
3211
+ file?: string | undefined;
3212
+ self?: string | undefined;
3213
+ tags?: string[] | undefined;
3214
+ direct_url?: string | null | undefined;
3215
+ hw_disk_bus?: string | null | undefined;
3216
+ hw_scsi_model?: string | null | undefined;
3217
+ hw_serial?: string | null | undefined;
3218
+ hw_qemu_guest_agent?: boolean | undefined;
3219
+ hw_vif_model?: string | null | undefined;
3220
+ hw_rng_model?: string | null | undefined;
3221
+ hw_machine_type?: string | null | undefined;
3222
+ os_type?: string | null | undefined;
3223
+ os_distro?: string | null | undefined;
3224
+ os_version?: string | null | undefined;
3225
+ os_require_quiesce?: boolean | undefined;
3226
+ links?: {
3227
+ href?: string | null | undefined;
3228
+ rel?: string | null | undefined;
3229
+ }[] | undefined;
3230
+ members?: string[] | undefined;
3231
+ locations?: {
3232
+ url: string;
3233
+ metadata?: Record<string, any> | undefined;
3234
+ }[] | undefined;
3235
+ }[];
3236
+ meta: object;
3237
+ }>;
3238
+ getImageMetadataExcludedProperties: _trpc_server.TRPCQueryProcedure<{
3239
+ input: {
3240
+ project_id: string;
3241
+ };
3242
+ output: string[];
3243
+ meta: object;
3244
+ }>;
3245
+ getFlavorById: _trpc_server.TRPCQueryProcedure<{
3246
+ input: {
3247
+ project_id: string;
3248
+ flavorId: string;
3249
+ };
3250
+ output: {
3251
+ id: string;
3252
+ name: string;
3253
+ vcpus: number;
3254
+ ram: number;
3255
+ disk: number;
3256
+ "OS-FLV-DISABLED:disabled"?: boolean | undefined;
3257
+ "OS-FLV-EXT-DATA:ephemeral"?: number | undefined;
3258
+ "os-flavor-access:is_public"?: boolean | undefined;
3259
+ swap?: string | number | undefined;
3260
+ rxtx_factor?: number | undefined;
3261
+ description?: string | null | undefined;
3262
+ links?: {
3263
+ href?: string | null | undefined;
3264
+ rel?: string | null | undefined;
3265
+ }[] | undefined;
3266
+ extra_specs?: Record<string, string> | undefined;
3267
+ };
3268
+ meta: object;
3269
+ }>;
3270
+ getFlavorsByProjectId: _trpc_server.TRPCQueryProcedure<{
3271
+ input: {
3272
+ project_id: string;
3273
+ sortBy?: string | undefined;
3274
+ sortDirection?: string | undefined;
3275
+ searchTerm?: string | undefined;
3276
+ };
3277
+ output: {
3278
+ flavors: {
3279
+ id: string;
3280
+ name: string;
3281
+ vcpus: number;
3282
+ ram: number;
3283
+ disk: number;
3284
+ "OS-FLV-DISABLED:disabled"?: boolean | undefined;
3285
+ "OS-FLV-EXT-DATA:ephemeral"?: number | undefined;
3286
+ "os-flavor-access:is_public"?: boolean | undefined;
3287
+ swap?: string | number | undefined;
3288
+ rxtx_factor?: number | undefined;
3289
+ description?: string | null | undefined;
3290
+ links?: {
3291
+ href?: string | null | undefined;
3292
+ rel?: string | null | undefined;
3293
+ }[] | undefined;
3294
+ extra_specs?: Record<string, string> | undefined;
3295
+ }[];
3296
+ privateFlavorError: string | undefined;
3297
+ };
3298
+ meta: object;
3299
+ }>;
3300
+ createFlavor: _trpc_server.TRPCMutationProcedure<{
3301
+ input: {
3302
+ project_id: string;
3303
+ flavor: {
3304
+ name: string;
3305
+ vcpus: number;
3306
+ ram: number;
3307
+ disk: number;
3308
+ id?: string | undefined;
3309
+ swap?: number | undefined;
3310
+ rxtx_factor?: number | undefined;
3311
+ "OS-FLV-EXT-DATA:ephemeral"?: number | undefined;
3312
+ "os-flavor-access:is_public"?: boolean | undefined;
3313
+ };
3314
+ };
3315
+ output: {
3316
+ id: string;
3317
+ name: string;
3318
+ vcpus: number;
3319
+ ram: number;
3320
+ disk: number;
3321
+ "OS-FLV-DISABLED:disabled"?: boolean | undefined;
3322
+ "OS-FLV-EXT-DATA:ephemeral"?: number | undefined;
3323
+ "os-flavor-access:is_public"?: boolean | undefined;
3324
+ swap?: string | number | undefined;
3325
+ rxtx_factor?: number | undefined;
3326
+ description?: string | null | undefined;
3327
+ links?: {
3328
+ href?: string | null | undefined;
3329
+ rel?: string | null | undefined;
3330
+ }[] | undefined;
3331
+ extra_specs?: Record<string, string> | undefined;
3332
+ };
3333
+ meta: object;
3334
+ }>;
3335
+ deleteFlavor: _trpc_server.TRPCMutationProcedure<{
3336
+ input: {
3337
+ project_id: string;
3338
+ flavorId: string;
3339
+ };
3340
+ output: {
3341
+ success: boolean;
3342
+ message: string;
3343
+ };
3344
+ meta: object;
3345
+ }>;
3346
+ createExtraSpecs: _trpc_server.TRPCMutationProcedure<{
3347
+ input: {
3348
+ project_id: string;
3349
+ flavorId: string;
3350
+ extra_specs: Record<string, string>;
3351
+ };
3352
+ output: Record<string, string>;
3353
+ meta: object;
3354
+ }>;
3355
+ getExtraSpecs: _trpc_server.TRPCQueryProcedure<{
3356
+ input: {
3357
+ project_id: string;
3358
+ flavorId: string;
3359
+ };
3360
+ output: Record<string, string>;
3361
+ meta: object;
3362
+ }>;
3363
+ deleteExtraSpec: _trpc_server.TRPCMutationProcedure<{
3364
+ input: {
3365
+ project_id: string;
3366
+ flavorId: string;
3367
+ key: string;
3368
+ };
3369
+ output: {
3370
+ success: boolean;
3371
+ message: string;
3372
+ };
3373
+ meta: object;
3374
+ }>;
3375
+ getFlavorAccess: _trpc_server.TRPCQueryProcedure<{
3376
+ input: {
3377
+ project_id: string;
3378
+ flavorId: string;
3379
+ };
3380
+ output: FlavorAccess[];
3381
+ meta: object;
3382
+ }>;
3383
+ addTenantAccess: _trpc_server.TRPCMutationProcedure<{
3384
+ input: {
3385
+ project_id: string;
3386
+ flavorId: string;
3387
+ targetProjectId: string;
3388
+ };
3389
+ output: FlavorAccess[];
3390
+ meta: object;
3391
+ }>;
3392
+ removeTenantAccess: _trpc_server.TRPCMutationProcedure<{
3393
+ input: {
3394
+ project_id: string;
3395
+ flavorId: string;
3396
+ targetProjectId: string;
3397
+ };
3398
+ output: FlavorAccess[];
3399
+ meta: object;
3400
+ }>;
3401
+ getServersByProjectId: _trpc_server.TRPCQueryProcedure<{
3402
+ input: {
3403
+ project_id: string;
3404
+ };
3405
+ output: {
3406
+ [x: string]: unknown;
3407
+ id: string;
3408
+ accessIPv4?: string | null | undefined;
3409
+ accessIPv6?: string | null | undefined;
3410
+ addresses?: Record<string, {
3411
+ addr?: string | undefined;
3412
+ mac_addr?: string | undefined;
3413
+ type?: string | undefined;
3414
+ version?: number | undefined;
3415
+ }[]> | undefined;
3416
+ created?: string | null | undefined;
3417
+ description?: string | null | undefined;
3418
+ flavor?: {
3419
+ disk?: number | undefined;
3420
+ ephemeral?: number | undefined;
3421
+ extra_specs?: Record<string, any> | undefined;
3422
+ original_name?: string | undefined;
3423
+ ram?: number | undefined;
3424
+ swap?: number | undefined;
3425
+ vcpus?: number | undefined;
3426
+ } | undefined;
3427
+ hostId?: string | undefined;
3428
+ host_status?: "" | "UP" | "DOWN" | "UNKNOWN" | "MAINTENANCE" | undefined;
3429
+ image?: string | {
3430
+ id?: string | null | undefined;
3431
+ links?: {
3432
+ href?: string | null | undefined;
3433
+ rel?: string | null | undefined;
3434
+ }[] | undefined;
3435
+ } | null | undefined;
3436
+ key_name?: string | null | undefined;
3437
+ links?: {
3438
+ href?: string | null | undefined;
3439
+ rel?: string | null | undefined;
3440
+ }[] | undefined;
3441
+ locked?: boolean | undefined;
3442
+ locked_reason?: string | null | undefined;
3443
+ metadata?: Record<string, string> | undefined;
3444
+ name?: string | null | undefined;
3445
+ "OS-DCF:diskConfig"?: "AUTO" | "MANUAL" | undefined;
3446
+ "OS-EXT-AZ:availability_zone"?: string | null | undefined;
3447
+ "OS-EXT-SRV-ATTR:host"?: string | null | undefined;
3448
+ "OS-EXT-SRV-ATTR:hostname"?: string | null | undefined;
3449
+ "OS-EXT-SRV-ATTR:hypervisor_hostname"?: string | null | undefined;
3450
+ "OS-EXT-SRV-ATTR:instance_name"?: string | null | undefined;
3451
+ "OS-EXT-SRV-ATTR:kernel_id"?: string | null | undefined;
3452
+ "OS-EXT-SRV-ATTR:launch_index"?: number | undefined;
3453
+ "OS-EXT-SRV-ATTR:ramdisk_id"?: string | null | undefined;
3454
+ "OS-EXT-SRV-ATTR:reservation_id"?: string | null | undefined;
3455
+ "OS-EXT-SRV-ATTR:root_device_name"?: string | null | undefined;
3456
+ "OS-EXT-SRV-ATTR:user_data"?: string | null | undefined;
3457
+ "OS-EXT-STS:power_state"?: number | undefined;
3458
+ "OS-EXT-STS:task_state"?: string | null | undefined;
3459
+ "OS-EXT-STS:vm_state"?: string | null | undefined;
3460
+ OS_EXT_SRV_ATTR_host?: string | undefined;
3461
+ OS_EXT_STS_task_state?: string | undefined;
3462
+ OS_EXT_STS_vm_state?: string | undefined;
3463
+ progress?: number | undefined;
3464
+ status?: string | undefined;
3465
+ tags?: string[] | undefined;
3466
+ tenant_id?: string | null | undefined;
3467
+ updated?: string | null | undefined;
3468
+ }[] | undefined;
3469
+ meta: object;
3470
+ }>;
3471
+ }>>;
3472
+ }> & _trpc_server.TRPCDecorateCreateRouterOptions<{
3473
+ auth: _trpc_server.TRPCBuiltRouter<{
3474
+ ctx: AuroraPortalContext;
3475
+ meta: object;
3476
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
3477
+ transformer: false;
3478
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
3479
+ getCurrentUserSession: _trpc_server.TRPCQueryProcedure<{
3480
+ input: void;
3481
+ output: {
3482
+ application_credential?: {
3483
+ id: string;
3484
+ name: string;
3485
+ restricted: boolean;
3486
+ };
3487
+ audit_ids?: string[];
3488
+ catalog?: {
3489
+ endpoints: {
3490
+ id: string;
3491
+ interface: string;
3492
+ region: string;
3493
+ region_id: string;
3494
+ url: string;
3495
+ }[];
3496
+ type: string;
3497
+ id: string;
3498
+ name: string;
3499
+ }[];
3500
+ expires_at: string;
3501
+ issued_at: string;
3502
+ methods: string[];
3503
+ roles: {
3504
+ id: string;
3505
+ name: string;
3506
+ }[];
3507
+ system: {
3508
+ all: boolean;
3509
+ };
3510
+ project?: {
3511
+ domain?: {
3512
+ id?: string;
3513
+ name?: string;
3514
+ };
3515
+ id?: string;
3516
+ name?: string;
3517
+ };
3518
+ domain?: {
3519
+ id?: string;
3520
+ name?: string;
3521
+ };
3522
+ user: {
3523
+ domain: {
3524
+ id: string;
3525
+ name: string;
3526
+ };
3527
+ id: string;
3528
+ name: string;
3529
+ password_expires_at: string;
3530
+ };
3531
+ } | null;
3532
+ meta: object;
3533
+ }>;
3534
+ getAuthToken: _trpc_server.TRPCQueryProcedure<{
3535
+ input: void;
3536
+ output: string | null;
3537
+ meta: object;
3538
+ }>;
3539
+ getCurrentScope: _trpc_server.TRPCQueryProcedure<{
3540
+ input: void;
3541
+ output: {
3542
+ project: {
3543
+ domain?: {
3544
+ id?: string;
3545
+ name?: string;
3546
+ };
3547
+ id?: string;
3548
+ name?: string;
3549
+ } | undefined;
3550
+ domain: {
3551
+ id?: string;
3552
+ name?: string;
3553
+ } | undefined;
3554
+ } | null;
3555
+ meta: object;
3556
+ }>;
3557
+ setCurrentScope: _trpc_server.TRPCMutationProcedure<{
3558
+ input: {
3559
+ type: "domain";
3560
+ domainId: string;
3561
+ } | {
3562
+ type: "project";
3563
+ projectId: string;
3564
+ } | {
3565
+ type: "unscoped";
3566
+ value: string;
3567
+ };
3568
+ output: {
3569
+ project: null;
3570
+ domain: {
3571
+ id?: string;
3572
+ name?: string;
3573
+ } | undefined;
3574
+ } | {
3575
+ project: {
3576
+ domain?: {
3577
+ id?: string;
3578
+ name?: string;
3579
+ };
3580
+ id?: string;
3581
+ name?: string;
3582
+ } | undefined;
3583
+ domain: {
3584
+ id?: string;
3585
+ name?: string;
3586
+ } | undefined;
3587
+ } | {
3588
+ project: null;
3589
+ domain: null;
3590
+ };
3591
+ meta: object;
3592
+ }>;
3593
+ createUserSession: _trpc_server.TRPCMutationProcedure<{
3594
+ input: {
3595
+ user: string;
3596
+ password: string;
3597
+ domainName: string;
3598
+ };
3599
+ output: {
3600
+ application_credential?: {
3601
+ id: string;
3602
+ name: string;
3603
+ restricted: boolean;
3604
+ };
3605
+ audit_ids?: string[];
3606
+ catalog?: {
3607
+ endpoints: {
3608
+ id: string;
3609
+ interface: string;
3610
+ region: string;
3611
+ region_id: string;
3612
+ url: string;
3613
+ }[];
3614
+ type: string;
3615
+ id: string;
3616
+ name: string;
3617
+ }[];
3618
+ expires_at: string;
3619
+ issued_at: string;
3620
+ methods: string[];
3621
+ roles: {
3622
+ id: string;
3623
+ name: string;
3624
+ }[];
3625
+ system: {
3626
+ all: boolean;
3627
+ };
3628
+ project?: {
3629
+ domain?: {
3630
+ id?: string;
3631
+ name?: string;
3632
+ };
3633
+ id?: string;
3634
+ name?: string;
3635
+ };
3636
+ domain?: {
3637
+ id?: string;
3638
+ name?: string;
3639
+ };
3640
+ user: {
3641
+ domain: {
3642
+ id: string;
3643
+ name: string;
3644
+ };
3645
+ id: string;
3646
+ name: string;
3647
+ password_expires_at: string;
3648
+ };
3649
+ };
3650
+ meta: object;
3651
+ }>;
3652
+ terminateUserSession: _trpc_server.TRPCMutationProcedure<{
3653
+ input: void;
3654
+ output: void;
3655
+ meta: object;
3656
+ }>;
3657
+ getAvailableServices: _trpc_server.TRPCQueryProcedure<{
3658
+ input: void;
3659
+ output: {
3660
+ name: string;
3661
+ type: string;
3662
+ }[];
3663
+ meta: object;
3664
+ }>;
3665
+ }>>;
3666
+ }>>;
3667
+ type AuroraRouter = ReturnType<typeof buildBaseRouter>;
3668
+ /**
3669
+ * Helper type to merge custom routers with the base Aurora router.
3670
+ * Use this in consuming apps to create a properly typed router that includes custom routers.
3671
+ *
3672
+ * @example
3673
+ * ```ts
3674
+ * import type { AuroraRouterWithCustom } from "@cobaltcore-dev/aurora/server"
3675
+ * import { customRouters } from "./server/customRouters"
3676
+ *
3677
+ * export type AppRouter = AuroraRouterWithCustom<typeof customRouters>
3678
+ * ```
3679
+ */
3680
+ type AuroraRouterWithCustom<TCustomRouters extends AnyRouter> = AuroraRouter & TCustomRouters;
3681
+
3682
+ export { type AuroraRouter, type AuroraRouterWithCustom, type AuroraServerConfig, auroraRouter, createServer, domainScopedInputSchema, domainScopedProcedure, projectScopedInputSchema, projectScopedProcedure, protectedProcedure, publicProcedure };