@pelican.ts/sdk 0.5.1 → 0.5.2-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -2,6 +2,144 @@ import z from 'zod';
2
2
  import { AxiosInstance } from 'axios';
3
3
  import WebSocket from 'isomorphic-ws';
4
4
 
5
+ type ServerSignalOption = "start" | "stop" | "restart" | "kill";
6
+
7
+ type GenericResponse<T, N extends string = string, M = undefined> = {
8
+ object: N;
9
+ attributes: T;
10
+ meta?: M;
11
+ };
12
+ type PaginationMeta = {
13
+ total: number;
14
+ count: number;
15
+ per_page: number;
16
+ current_page: number;
17
+ total_pages: number;
18
+ links: unknown;
19
+ };
20
+ type GenericListResponse<T> = {
21
+ object: "list";
22
+ data: T[];
23
+ meta?: {
24
+ pagination: PaginationMeta;
25
+ };
26
+ };
27
+
28
+ type ServerDatabase = {
29
+ id: string;
30
+ host: {
31
+ address: string;
32
+ port: number;
33
+ };
34
+ name: string;
35
+ username: string;
36
+ connections_from: string;
37
+ max_connections: number;
38
+ relationships?: {
39
+ password: GenericResponse<{
40
+ password: string;
41
+ }, "database_password">;
42
+ };
43
+ };
44
+
45
+ type Nullable<T> = T | null;
46
+
47
+ /**
48
+ * Server limits indicate how many resources can be used by the server
49
+ */
50
+ type ServerLimits = {
51
+ /**
52
+ * Memory limit in megabytes, 0 = unlimited
53
+ * @remarks
54
+ * This is not a pterodactyl's MiB, it's a MB (multiple of 1000).
55
+ * That means to set 8GB RAM, you should set 8000 instead of 8192
56
+ */
57
+ memory: number;
58
+ /**
59
+ * Swap limit in megabytes, 0 = disabled, -1 = unlimited
60
+ * @see memory
61
+ */
62
+ swap: number;
63
+ /**
64
+ * Disk limit in megabytes, 0 = unlimited
65
+ * @see memory
66
+ */
67
+ disk: number;
68
+ /**
69
+ * IO is an arbitrary value indicating IO importance relative to other servers
70
+ */
71
+ io: number;
72
+ /**
73
+ * CPU limit in percentage, 0 = unlimited (1 core = 100%)
74
+ */
75
+ cpu: number;
76
+ /**
77
+ * CPU pinning (Optional)
78
+ * @usage
79
+ * ```
80
+ * 1 or 1,2,4 or 1-4
81
+ * ```
82
+ * @remarks
83
+ * Can be useful to pin workloads to P-cores and avoid E-cores or HT/SMT cores
84
+ * @see https://superuser.com/questions/122536/what-is-hyper-threading-and-how-does-it-work
85
+ */
86
+ threads: Nullable<number | string>;
87
+ /**
88
+ * If OOM killer should be disabled, opposite of {@link oom_killer}
89
+ * @deprecated use {@link oom_killer}
90
+ */
91
+ oom_disabled: boolean;
92
+ /**
93
+ * If OOM killer should be enabled, opposite of {@link oom_disabled}
94
+ */
95
+ oom_killer: boolean;
96
+ };
97
+ /**
98
+ * Feature limits indicate how many features can user enable by themselves. It doesn't include features assigned
99
+ * by admins
100
+ */
101
+ type FeatureLimits = {
102
+ databases: number;
103
+ allocations: number;
104
+ backups: number;
105
+ };
106
+
107
+ type StartupParams = {
108
+ name: string;
109
+ description: string;
110
+ env_variables: string;
111
+ default_value: string;
112
+ server_value: string;
113
+ is_editable: boolean;
114
+ rules: string;
115
+ };
116
+ type StartupMeta = {
117
+ startup_command: string;
118
+ raw_startup_command: string;
119
+ };
120
+
121
+ type ServerBackup = {
122
+ uuid: string;
123
+ is_successful: boolean;
124
+ is_locked: boolean;
125
+ name: string;
126
+ ignored_files: string[];
127
+ checksum: Nullable<string>;
128
+ bytes: number;
129
+ created_at: string;
130
+ completed_at: Nullable<string>;
131
+ };
132
+
133
+ type EggVariable = {
134
+ name: string;
135
+ description: string;
136
+ env_variable: string;
137
+ default_value: string;
138
+ server_value: string;
139
+ is_editable: boolean;
140
+ rules: string;
141
+ };
142
+
5
143
  type FileObject = {
6
144
  name: string;
7
145
  mode: string;
@@ -574,217 +712,83 @@ declare const timezonesSchema: z.ZodEnum<{
574
712
  }>;
575
713
  type TimezonesType = z.infer<typeof timezonesSchema>;
576
714
 
577
- type GenericResponse<T, N extends string = string, M = undefined> = {
578
- object: N;
579
- attributes: T;
580
- meta?: M;
581
- };
582
- type PaginationMeta = {
583
- total: number;
584
- count: number;
585
- per_page: number;
586
- current_page: number;
587
- total_pages: number;
588
- links: unknown;
589
- };
590
- type GenericListResponse<T> = {
591
- object: "list";
592
- data: T[];
593
- meta?: {
594
- pagination: PaginationMeta;
595
- };
596
- };
597
-
598
- type ServerDatabase = {
599
- id: string;
600
- host: {
601
- address: string;
602
- port: number;
603
- };
715
+ type Schedule = {
716
+ id: number;
604
717
  name: string;
605
- username: string;
606
- connections_from: string;
607
- max_connections: number;
608
- relationships?: {
609
- password: GenericResponse<{
610
- password: string;
611
- }, "database_password">;
718
+ cron: {
719
+ day_of_week: string;
720
+ day_of_month: string;
721
+ hour: string;
722
+ minute: string;
723
+ };
724
+ is_active: boolean;
725
+ is_processing: boolean;
726
+ only_when_online: boolean;
727
+ last_run_at: Nullable<string>;
728
+ next_run_at: string;
729
+ created_at: string;
730
+ updated_at: string;
731
+ relationships: {
732
+ tasks: GenericListResponse<GenericResponse<ScheduleTask, "schedule_task">>;
612
733
  };
613
734
  };
735
+ type ScheduleTask = {
736
+ id: number;
737
+ sequence_id: number;
738
+ action: "command" | "power" | "backup" | "delete_files";
739
+ payload: string;
740
+ time_offset: number;
741
+ is_queued: boolean;
742
+ continue_on_failure: boolean;
743
+ created_at: string;
744
+ updated_at: Nullable<string>;
745
+ };
614
746
 
615
- type Nullable<T> = T | null;
747
+ type Container = {
748
+ startup_command: string;
749
+ image: string;
750
+ installed: number;
751
+ docker_labels: Record<string, string>;
752
+ environment: Record<string, string>;
753
+ ports: number[];
754
+ volumes: string[];
755
+ network_mode: string;
756
+ };
616
757
 
617
- type ServerBackup = {
758
+ type ApplicationServer = {
759
+ id: number;
760
+ external_id: Nullable<string>;
618
761
  uuid: string;
619
- is_successful: boolean;
620
- is_locked: boolean;
762
+ identifier: string;
621
763
  name: string;
622
- ignored_files: string[];
623
- checksum: Nullable<string>;
624
- bytes: number;
764
+ description: string;
765
+ status: Nullable<unknown>;
766
+ suspended: boolean;
767
+ limits: ServerLimits;
768
+ feature_limits: FeatureLimits;
769
+ user: number;
770
+ node: number;
771
+ allocation: number;
772
+ egg: number;
773
+ container: Container;
625
774
  created_at: string;
626
- completed_at: Nullable<string>;
775
+ updated_at: Nullable<string>;
627
776
  };
628
777
 
629
- type ServerSignalOption = "start" | "stop" | "restart" | "kill";
630
-
631
- /**
632
- * Server limits indicate how many resources can be used by the server
633
- */
634
- type ServerLimits = {
635
- /**
636
- * Memory limit in megabytes, 0 = unlimited
637
- * @remarks
638
- * This is not a pterodactyl's MiB, it's a MB (multiple of 1000).
639
- * That means to set 8GB RAM, you should set 8000 instead of 8192
640
- */
641
- memory: number;
642
- /**
643
- * Swap limit in megabytes, 0 = disabled, -1 = unlimited
644
- * @see memory
645
- */
646
- swap: number;
647
- /**
648
- * Disk limit in megabytes, 0 = unlimited
649
- * @see memory
650
- */
651
- disk: number;
652
- /**
653
- * IO is an arbitrary value indicating IO importance relative to other servers
654
- */
655
- io: number;
656
- /**
657
- * CPU limit in percentage, 0 = unlimited (1 core = 100%)
658
- */
659
- cpu: number;
660
- /**
661
- * CPU pinning (Optional)
662
- * @usage
663
- * ```
664
- * 1 or 1,2,4 or 1-4
665
- * ```
666
- * @remarks
667
- * Can be useful to pin workloads to P-cores and avoid E-cores or HT/SMT cores
668
- * @see https://superuser.com/questions/122536/what-is-hyper-threading-and-how-does-it-work
669
- */
670
- threads: Nullable<number | string>;
671
- /**
672
- * If OOM killer should be disabled, opposite of {@link oom_killer}
673
- * @deprecated use {@link oom_killer}
674
- */
675
- oom_disabled: boolean;
676
- /**
677
- * If OOM killer should be enabled, opposite of {@link oom_disabled}
678
- */
679
- oom_killer: boolean;
680
- };
681
- /**
682
- * Feature limits indicate how many features can user enable by themselves. It doesn't include features assigned
683
- * by admins
684
- */
685
- type FeatureLimits = {
686
- databases: number;
687
- allocations: number;
688
- backups: number;
689
- };
690
-
691
- type StartupParams = {
692
- name: string;
693
- description: string;
694
- env_variables: string;
695
- default_value: string;
696
- server_value: string;
697
- is_editable: boolean;
698
- rules: string;
699
- };
700
- type StartupMeta = {
701
- startup_command: string;
702
- raw_startup_command: string;
703
- };
704
-
705
- type Schedule = {
706
- id: number;
707
- name: string;
708
- cron: {
709
- day_of_week: string;
710
- day_of_month: string;
711
- hour: string;
712
- minute: string;
713
- };
714
- is_active: boolean;
715
- is_processing: boolean;
716
- only_when_online: boolean;
717
- last_run_at: Nullable<string>;
718
- next_run_at: string;
719
- created_at: string;
720
- updated_at: string;
721
- relationships: {
722
- tasks: GenericListResponse<GenericResponse<ScheduleTask, "schedule_task">>;
723
- };
724
- };
725
- type ScheduleTask = {
726
- id: number;
727
- sequence_id: number;
728
- action: "command" | "power" | "backup" | "delete_files";
729
- payload: string;
730
- time_offset: number;
731
- is_queued: boolean;
732
- continue_on_failure: boolean;
733
- created_at: string;
734
- updated_at: Nullable<string>;
735
- };
736
-
737
- type EggVariable = {
738
- name: string;
739
- description: string;
740
- env_variable: string;
741
- default_value: string;
742
- server_value: string;
743
- is_editable: boolean;
744
- rules: string;
745
- };
746
-
747
- type Mount = {
748
- id: number;
749
- uuid: string;
750
- name: string;
751
- description: Nullable<string>;
752
- source: string;
753
- target: string;
754
- read_only: boolean;
755
- user_mountable: boolean;
756
- };
757
-
758
- type Container = {
759
- startup_command: string;
760
- image: string;
761
- installed: number;
762
- docker_labels: Record<string, string>;
763
- environment: Record<string, string>;
764
- ports: number[];
765
- volumes: string[];
766
- network_mode: string;
767
- };
768
-
769
- type ApplicationServer = {
770
- id: number;
771
- external_id: Nullable<string>;
772
- uuid: string;
773
- identifier: string;
774
- name: string;
775
- description: string;
776
- status: Nullable<unknown>;
777
- suspended: boolean;
778
- limits: ServerLimits;
779
- feature_limits: FeatureLimits;
780
- user: number;
781
- node: number;
782
- allocation: number;
783
- egg: number;
784
- container: Container;
785
- created_at: string;
786
- updated_at: Nullable<string>;
787
- };
778
+ type Allocation = {
779
+ id: number;
780
+ ip: string;
781
+ alias: Nullable<string>;
782
+ port: number;
783
+ notes: Nullable<string>;
784
+ assigned: boolean;
785
+ };
786
+ type AllocationRel = Allocation & {
787
+ relationships?: {
788
+ node?: GenericResponse<Node, "node">;
789
+ server?: GenericResponse<ApplicationServer, "server">;
790
+ };
791
+ };
788
792
 
789
793
  type Node = {
790
794
  id: number;
@@ -846,50 +850,15 @@ type NodeConfiguration = {
846
850
  remote: string;
847
851
  };
848
852
 
849
- type Allocation = {
850
- id: number;
851
- ip: string;
852
- alias: Nullable<string>;
853
- port: number;
854
- notes: Nullable<string>;
855
- assigned: boolean;
856
- };
857
- type AllocationRel = Allocation & {
858
- relationships?: {
859
- node?: GenericResponse<Node, "node">;
860
- server?: GenericResponse<ApplicationServer, "server">;
861
- };
862
- };
863
-
864
- type ApplicationUser = {
853
+ type Mount = {
865
854
  id: number;
866
- external_id: Nullable<string>;
867
- is_managed_externally: boolean;
868
855
  uuid: string;
869
- username: string;
870
- email: string;
871
- language: string;
872
- root_admin: string;
873
- "2fa_enabled": boolean;
874
- "2fa": boolean;
875
- created_at: string;
876
- updated_at: Nullable<string>;
877
- relationships?: {
878
- servers: GenericListResponse<GenericResponse<ApplicationServer>>;
879
- };
880
- };
881
- type ApplicationUserApiKey = {
882
- id: number;
883
- user_id: number;
884
- key_type: 1;
885
- identifier: string;
886
- memo: string;
887
- allowed_ips: Array<string>;
888
- permissions: [];
889
- last_used_at: Nullable<string>;
890
- expires_at: Nullable<string>;
891
- created_at: string;
892
- updated_at: string;
856
+ name: string;
857
+ description: Nullable<string>;
858
+ source: string;
859
+ target: string;
860
+ read_only: boolean;
861
+ user_mountable: boolean;
893
862
  };
894
863
 
895
864
  type DatabaseHost = {
@@ -902,6 +871,13 @@ type DatabaseHost = {
902
871
  updated_at: Nullable<string>;
903
872
  };
904
873
 
874
+ type Role = {
875
+ id: number;
876
+ name: string;
877
+ created_at: string;
878
+ updated_at: string;
879
+ };
880
+
905
881
  type Egg = {
906
882
  id: number;
907
883
  uuid: string;
@@ -969,121 +945,35 @@ type ExportedEgg = {
969
945
  variables: ApplicationEggVariable[];
970
946
  };
971
947
 
972
- type Role = {
973
- id: number;
974
- name: string;
975
- created_at: string;
976
- updated_at: string;
977
- };
978
-
979
- type ServerAllocation = {
948
+ type ApplicationUser = {
980
949
  id: number;
981
- ip: string;
982
- ip_alias: Nullable<string>;
983
- port: number;
984
- notes: Nullable<string>;
985
- is_default: boolean;
986
- };
987
-
988
- type ServerSubuser = {
950
+ external_id: Nullable<string>;
951
+ is_managed_externally: boolean;
989
952
  uuid: string;
990
953
  username: string;
991
954
  email: string;
992
955
  language: string;
993
- image: string;
994
- admin: false;
995
- root_admin: false;
956
+ root_admin: string;
996
957
  "2fa_enabled": boolean;
958
+ "2fa": boolean;
997
959
  created_at: string;
998
- permissions: SubuserPermission[] | string[];
999
- };
1000
- type SubuserPermission = "activity.read" | "allocation.create" | "allocation.delete" | "allocation.read" | "allocation.update" | "backup.create" | "backup.delete" | "backup.download" | "backup.read" | "backup.restore" | "control.console" | "control.restart" | "control.start" | "control.stop" | "database.create" | "database.delete" | "database.read" | "database.update" | "database.view-password" | "file.archive" | "file.create" | "file.delete" | "file.read" | "file.read-content" | "file.sftp" | "file.update" | "schedule.create" | "schedule.delete" | "schedule.read" | "schedule.update" | "settings.description" | "settings.reinstall" | "settings.rename" | "startup.docker-image" | "startup.read" | "startup.update" | "user.create" | "user.delete" | "user.read" | "user.update" | "websocket.connect";
1001
-
1002
- type Server = {
1003
- server_owner: boolean;
1004
- identifier: string;
1005
- internal_id?: number;
1006
- uuid: string;
1007
- name: string;
1008
- node: string;
1009
- is_node_under_maintenance: boolean;
1010
- sftp_details: {
1011
- ip: string;
1012
- alias: Nullable<string>;
1013
- port: number;
1014
- };
1015
- description: string;
1016
- limits: ServerLimits;
1017
- invocation: string;
1018
- docker_image: string;
1019
- egg_features: Nullable<string[]>;
1020
- feature_limits: FeatureLimits;
1021
- status: Nullable<ServerStats["current_state"]>;
1022
- is_suspended: boolean;
1023
- is_installing: boolean;
1024
- is_transferring: boolean;
1025
- relationships: {
1026
- allocations: GenericListResponse<GenericResponse<ServerAllocation, "allocation">>;
1027
- variables: GenericListResponse<GenericResponse<EggVariable, "egg_variable">>;
1028
- egg?: GenericResponse<{
1029
- uuid: string;
1030
- name: string;
1031
- }, "egg">;
1032
- subusers?: GenericListResponse<GenericResponse<ServerSubuser, "server_subuser">>;
960
+ updated_at: Nullable<string>;
961
+ relationships?: {
962
+ servers: GenericListResponse<GenericResponse<ApplicationServer>>;
1033
963
  };
1034
964
  };
1035
- type ServerStats = {
1036
- current_state: "installing" | "install_failed" | "reinstall_failed" | "suspended" | "restoring_backup" | "running" | "stopped" | "offline";
1037
- is_suspended: boolean;
1038
- resources: ServerResources;
1039
- };
1040
- type ServerResources = {
1041
- memory_bytes: number;
1042
- cpu_absolute: number;
1043
- disk_bytes: number;
1044
- network_tx_bytes: number;
1045
- network_rx_bytes: number;
1046
- uptime: number;
1047
- };
1048
- type ServerActivityLog = {
1049
- id: string;
1050
- event: string;
1051
- is_api: boolean;
1052
- ip: string;
1053
- description: Nullable<string>;
1054
- properties: Record<string, string>;
1055
- has_additional_metadata: boolean;
1056
- timestamp: string;
1057
- };
1058
-
1059
- type User = {
1060
- uuid: string;
1061
- username: string;
1062
- email: string;
1063
- language: string;
1064
- image: string;
1065
- admin: boolean;
1066
- root_admin: boolean;
1067
- "2fa_enabled": boolean;
1068
- created_at: string;
1069
- updated_at: string;
1070
- };
1071
- type APIKey = {
965
+ type ApplicationUserApiKey = {
966
+ id: number;
967
+ user_id: number;
968
+ key_type: 1;
1072
969
  identifier: string;
1073
- description: string;
1074
- allowed_ips: string[];
970
+ memo: string;
971
+ allowed_ips: Array<string>;
972
+ permissions: [];
1075
973
  last_used_at: Nullable<string>;
974
+ expires_at: Nullable<string>;
1076
975
  created_at: string;
1077
- };
1078
- type SSHKey = {
1079
- name: string;
1080
- fingerprint: string;
1081
- pubic_key: string;
1082
- created_at: string;
1083
- };
1084
- type Permission = {
1085
- description: string;
1086
- keys: Record<string, string>;
976
+ updated_at: string;
1087
977
  };
1088
978
 
1089
979
  type SocketEventPayloadMap = {
@@ -1257,4 +1147,114 @@ type JwtErrorEvent = {
1257
1147
  args: [string];
1258
1148
  };
1259
1149
 
1150
+ type ServerAllocation = {
1151
+ id: number;
1152
+ ip: string;
1153
+ ip_alias: Nullable<string>;
1154
+ port: number;
1155
+ notes: Nullable<string>;
1156
+ is_default: boolean;
1157
+ };
1158
+
1159
+ type ServerSubuser = {
1160
+ uuid: string;
1161
+ username: string;
1162
+ email: string;
1163
+ language: string;
1164
+ image: string;
1165
+ admin: false;
1166
+ root_admin: false;
1167
+ "2fa_enabled": boolean;
1168
+ created_at: string;
1169
+ permissions: SubuserPermission[] | string[];
1170
+ };
1171
+ type SubuserPermission = "activity.read" | "allocation.create" | "allocation.delete" | "allocation.read" | "allocation.update" | "backup.create" | "backup.delete" | "backup.download" | "backup.read" | "backup.restore" | "control.console" | "control.restart" | "control.start" | "control.stop" | "database.create" | "database.delete" | "database.read" | "database.update" | "database.view-password" | "file.archive" | "file.create" | "file.delete" | "file.read" | "file.read-content" | "file.sftp" | "file.update" | "schedule.create" | "schedule.delete" | "schedule.read" | "schedule.update" | "settings.description" | "settings.reinstall" | "settings.rename" | "startup.docker-image" | "startup.read" | "startup.update" | "user.create" | "user.delete" | "user.read" | "user.update" | "websocket.connect";
1172
+
1173
+ type Server = {
1174
+ server_owner: boolean;
1175
+ identifier: string;
1176
+ internal_id?: number;
1177
+ uuid: string;
1178
+ name: string;
1179
+ node: string;
1180
+ is_node_under_maintenance: boolean;
1181
+ sftp_details: {
1182
+ ip: string;
1183
+ alias: Nullable<string>;
1184
+ port: number;
1185
+ };
1186
+ description: string;
1187
+ limits: ServerLimits;
1188
+ invocation: string;
1189
+ docker_image: string;
1190
+ egg_features: Nullable<string[]>;
1191
+ feature_limits: FeatureLimits;
1192
+ status: Nullable<ServerStats["current_state"]>;
1193
+ is_suspended: boolean;
1194
+ is_installing: boolean;
1195
+ is_transferring: boolean;
1196
+ relationships: {
1197
+ allocations: GenericListResponse<GenericResponse<ServerAllocation, "allocation">>;
1198
+ variables: GenericListResponse<GenericResponse<EggVariable, "egg_variable">>;
1199
+ egg?: GenericResponse<{
1200
+ uuid: string;
1201
+ name: string;
1202
+ }, "egg">;
1203
+ subusers?: GenericListResponse<GenericResponse<ServerSubuser, "server_subuser">>;
1204
+ };
1205
+ };
1206
+ type ServerStats = {
1207
+ current_state: "installing" | "install_failed" | "reinstall_failed" | "suspended" | "restoring_backup" | "running" | "stopped" | "offline";
1208
+ is_suspended: boolean;
1209
+ resources: ServerResources;
1210
+ };
1211
+ type ServerResources = {
1212
+ memory_bytes: number;
1213
+ cpu_absolute: number;
1214
+ disk_bytes: number;
1215
+ network_tx_bytes: number;
1216
+ network_rx_bytes: number;
1217
+ uptime: number;
1218
+ };
1219
+ type ServerActivityLog = {
1220
+ id: string;
1221
+ event: string;
1222
+ is_api: boolean;
1223
+ ip: string;
1224
+ description: Nullable<string>;
1225
+ properties: Record<string, string>;
1226
+ has_additional_metadata: boolean;
1227
+ timestamp: string;
1228
+ };
1229
+
1230
+ type User = {
1231
+ uuid: string;
1232
+ username: string;
1233
+ email: string;
1234
+ language: string;
1235
+ image: string;
1236
+ admin: boolean;
1237
+ root_admin: boolean;
1238
+ "2fa_enabled": boolean;
1239
+ created_at: string;
1240
+ updated_at: string;
1241
+ };
1242
+ type APIKey = {
1243
+ identifier: string;
1244
+ description: string;
1245
+ allowed_ips: string[];
1246
+ last_used_at: Nullable<string>;
1247
+ created_at: string;
1248
+ };
1249
+ type SSHKey = {
1250
+ name: string;
1251
+ fingerprint: string;
1252
+ pubic_key: string;
1253
+ created_at: string;
1254
+ };
1255
+ type Permission = {
1256
+ description: string;
1257
+ keys: Record<string, string>;
1258
+ };
1259
+
1260
1260
  export { type APIKey, type Allocation, type AllocationRel, type ApplicationEggVariable, type ApplicationServer, type ApplicationUser, type ApplicationUserApiKey, type AuthSuccessWsEvent, type BackupCompletedEvent, type BackupCompletedJson, type BackupRestoreCompletedEvent, type ConsoleLogWsEvent, type Container, type DaemonErrorEvent, type DaemonMessageEvent, type DatabaseHost, type Egg, type EggVariable, type ExportedEgg, type FeatureLimits, type FileObject, type InstallCompletedEvent, type InstallOutputEvent, type InstallStartedEvent, type JwtErrorEvent, type LanguagesType, type Mount, type Node, type NodeConfiguration, type Permission, type PowerState, type Role, SERVER_SIGNAL, SOCKET_EVENT, type SSHKey, type Schedule, type ScheduleTask, type Server, type ServerActivityLog, type ServerAllocation, type ServerBackup, type ServerDatabase, type ServerLimits, type ServerSignalOption, type ServerStats, type ServerStatus, type ServerSubuser, ServerWebsocket, type StartupMeta, type StartupParams, type StatsWsEvent, type StatsWsJson, type StatusWsEvent, type SubuserPermission, type TimezonesType, type TokenExpiredWsEvent, type TokenExpiringWsEvent, type TransferLogsEvent, type TransferStatusEvent, type User, type WebsocketEvent, languagesSchema, timezonesSchema };