@remnawave/backend-contract 2.0.0-alpha.27 → 2.0.0-alpha.3

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 (199) hide show
  1. package/build/backend/api/controllers/index.d.ts +0 -1
  2. package/build/backend/api/controllers/index.d.ts.map +1 -1
  3. package/build/backend/api/controllers/index.js +0 -1
  4. package/build/backend/api/controllers/internal-squads.d.ts +0 -4
  5. package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
  6. package/build/backend/api/controllers/internal-squads.js +0 -5
  7. package/build/backend/api/controllers/users.d.ts +0 -1
  8. package/build/backend/api/controllers/users.d.ts.map +1 -1
  9. package/build/backend/api/controllers/users.js +0 -1
  10. package/build/backend/api/routes.d.ts +0 -19
  11. package/build/backend/api/routes.d.ts.map +1 -1
  12. package/build/backend/api/routes.js +0 -19
  13. package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
  14. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +10 -26
  15. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  16. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +10 -26
  17. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  18. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +10 -26
  19. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  20. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +10 -26
  21. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  22. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +10 -26
  23. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  24. package/build/backend/commands/hosts/create.command.d.ts +19 -47
  25. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  26. package/build/backend/commands/hosts/create.command.js +13 -13
  27. package/build/backend/commands/hosts/get-all.command.d.ts +10 -26
  28. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  29. package/build/backend/commands/hosts/get-one.command.d.ts +10 -26
  30. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  31. package/build/backend/commands/hosts/reorder.command.d.ts +2 -10
  32. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  33. package/build/backend/commands/hosts/update.command.d.ts +21 -57
  34. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  35. package/build/backend/commands/hosts/update.command.js +11 -10
  36. package/build/backend/commands/index.d.ts +0 -1
  37. package/build/backend/commands/index.d.ts.map +1 -1
  38. package/build/backend/commands/index.js +0 -1
  39. package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
  40. package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid.d.ts → get-internal-squad-by-uuid..d.ts} +1 -1
  41. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +1 -0
  42. package/build/backend/commands/internal-squads/index.d.ts +1 -2
  43. package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
  44. package/build/backend/commands/internal-squads/index.js +1 -2
  45. package/build/backend/commands/nodes/actions/disable.command.d.ts +64 -157
  46. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  47. package/build/backend/commands/nodes/actions/enable.command.d.ts +64 -157
  48. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  49. package/build/backend/commands/nodes/actions/reorder.command.d.ts +88 -230
  50. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  51. package/build/backend/commands/nodes/create.command.d.ts +70 -178
  52. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  53. package/build/backend/commands/nodes/create.command.js +4 -7
  54. package/build/backend/commands/nodes/get-all.command.d.ts +64 -157
  55. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  56. package/build/backend/commands/nodes/get-one.command.d.ts +64 -157
  57. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  58. package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
  59. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
  60. package/build/backend/commands/nodes/update.command.d.ts +94 -251
  61. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  62. package/build/backend/commands/nodes/update.command.js +4 -9
  63. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
  64. package/build/backend/commands/users/index.d.ts +0 -1
  65. package/build/backend/commands/users/index.d.ts.map +1 -1
  66. package/build/backend/commands/users/index.js +0 -1
  67. package/build/backend/constants/errors/errors.d.ts +0 -95
  68. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  69. package/build/backend/constants/errors/errors.js +0 -95
  70. package/build/backend/constants/events/events.d.ts +0 -11
  71. package/build/backend/constants/events/events.d.ts.map +1 -1
  72. package/build/backend/constants/events/events.js +0 -10
  73. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  74. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  75. package/build/backend/constants/templates/template-keys.js +0 -1
  76. package/build/backend/models/{extended-users.schema.d.ts → extented-users.schema.d.ts} +1 -1
  77. package/build/backend/models/{extended-users.schema.d.ts.map → extented-users.schema.d.ts.map} +1 -1
  78. package/build/backend/models/hosts.schema.d.ts +6 -18
  79. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  80. package/build/backend/models/hosts.schema.js +2 -4
  81. package/build/backend/models/index.d.ts +1 -5
  82. package/build/backend/models/index.d.ts.map +1 -1
  83. package/build/backend/models/index.js +1 -5
  84. package/build/backend/models/nodes.schema.d.ts +44 -115
  85. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  86. package/build/backend/models/nodes.schema.js +2 -7
  87. package/build/frontend/api/controllers/index.js +0 -1
  88. package/build/frontend/api/controllers/internal-squads.js +0 -5
  89. package/build/frontend/api/controllers/users.js +0 -1
  90. package/build/frontend/api/routes.js +0 -19
  91. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  92. package/build/frontend/commands/hosts/create.command.js +13 -13
  93. package/build/frontend/commands/hosts/update.command.js +11 -10
  94. package/build/frontend/commands/index.js +0 -1
  95. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  96. package/build/frontend/commands/internal-squads/index.js +1 -2
  97. package/build/frontend/commands/nodes/create.command.js +4 -7
  98. package/build/frontend/commands/nodes/update.command.js +4 -9
  99. package/build/frontend/commands/users/index.js +0 -1
  100. package/build/frontend/constants/errors/errors.js +0 -95
  101. package/build/frontend/constants/events/events.js +0 -10
  102. package/build/frontend/constants/templates/template-keys.js +0 -1
  103. package/build/frontend/models/hosts.schema.js +2 -4
  104. package/build/frontend/models/index.js +1 -5
  105. package/build/frontend/models/nodes.schema.js +2 -7
  106. package/package.json +1 -1
  107. package/build/backend/api/controllers/infra-billing.d.ts +0 -16
  108. package/build/backend/api/controllers/infra-billing.d.ts.map +0 -1
  109. package/build/backend/api/controllers/infra-billing.js +0 -18
  110. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +0 -125
  111. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +0 -1
  112. package/build/backend/commands/infra-billing/create-bill-record.command.js +0 -30
  113. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +0 -465
  114. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +0 -1
  115. package/build/backend/commands/infra-billing/create-billing-node.command.js +0 -38
  116. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +0 -123
  117. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +0 -1
  118. package/build/backend/commands/infra-billing/create-infra-provider.command.js +0 -24
  119. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +0 -119
  120. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +0 -1
  121. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
  122. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +0 -459
  123. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +0 -1
  124. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
  125. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +0 -33
  126. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +0 -1
  127. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
  128. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +0 -122
  129. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +0 -1
  130. package/build/backend/commands/infra-billing/get-bill-records.command.js +0 -31
  131. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +0 -451
  132. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +0 -1
  133. package/build/backend/commands/infra-billing/get-billing-nodes.command.js +0 -26
  134. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +0 -117
  135. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +0 -1
  136. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
  137. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +0 -156
  138. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +0 -1
  139. package/build/backend/commands/infra-billing/get-infra-providers.command.js +0 -19
  140. package/build/backend/commands/infra-billing/index.d.ts +0 -13
  141. package/build/backend/commands/infra-billing/index.d.ts.map +0 -1
  142. package/build/backend/commands/infra-billing/index.js +0 -28
  143. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +0 -462
  144. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +0 -1
  145. package/build/backend/commands/infra-billing/update-billing-node.command.js +0 -35
  146. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +0 -126
  147. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +0 -1
  148. package/build/backend/commands/infra-billing/update-infra-provider.command.js +0 -26
  149. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +0 -33
  150. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +0 -1
  151. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +0 -20
  152. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +0 -33
  153. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +0 -1
  154. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +0 -20
  155. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +0 -3
  156. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +0 -1
  157. package/build/backend/commands/internal-squads/bulk-actions/index.js +0 -18
  158. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +0 -1
  159. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +0 -114
  160. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +0 -1
  161. package/build/backend/commands/users/get-user-accessible-nodes.command.js +0 -31
  162. package/build/backend/models/infra-billing-available-node.schema.d.ts +0 -116
  163. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +0 -1
  164. package/build/backend/models/infra-billing-available-node.schema.js +0 -9
  165. package/build/backend/models/infra-billing-history-record.schema.d.ts +0 -44
  166. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +0 -1
  167. package/build/backend/models/infra-billing-history-record.schema.js +0 -19
  168. package/build/backend/models/infra-billing-node.schema.d.ts +0 -179
  169. package/build/backend/models/infra-billing-node.schema.d.ts.map +0 -1
  170. package/build/backend/models/infra-billing-node.schema.js +0 -34
  171. package/build/backend/models/infra-provider.schema.d.ts +0 -87
  172. package/build/backend/models/infra-provider.schema.d.ts.map +0 -1
  173. package/build/backend/models/infra-provider.schema.js +0 -41
  174. package/build/frontend/api/controllers/infra-billing.js +0 -18
  175. package/build/frontend/commands/infra-billing/create-bill-record.command.js +0 -30
  176. package/build/frontend/commands/infra-billing/create-billing-node.command.js +0 -38
  177. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +0 -24
  178. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
  179. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
  180. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
  181. package/build/frontend/commands/infra-billing/get-bill-records.command.js +0 -31
  182. package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +0 -26
  183. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
  184. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +0 -19
  185. package/build/frontend/commands/infra-billing/index.js +0 -28
  186. package/build/frontend/commands/infra-billing/update-billing-node.command.js +0 -35
  187. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +0 -26
  188. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +0 -20
  189. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +0 -20
  190. package/build/frontend/commands/internal-squads/bulk-actions/index.js +0 -18
  191. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +0 -31
  192. package/build/frontend/models/infra-billing-available-node.schema.js +0 -9
  193. package/build/frontend/models/infra-billing-history-record.schema.js +0 -19
  194. package/build/frontend/models/infra-billing-node.schema.js +0 -34
  195. package/build/frontend/models/infra-provider.schema.js +0 -41
  196. /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid.js → get-internal-squad-by-uuid..js} +0 -0
  197. /package/build/backend/models/{extended-users.schema.js → extented-users.schema.js} +0 -0
  198. /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid.js → get-internal-squad-by-uuid..js} +0 -0
  199. /package/build/frontend/models/{extended-users.schema.js → extented-users.schema.js} +0 -0
@@ -13,39 +13,23 @@ export declare namespace CreateNodeCommand {
13
13
  trafficResetDay: z.ZodOptional<z.ZodNumber>;
14
14
  countryCode: z.ZodDefault<z.ZodString>;
15
15
  consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
16
- configProfile: z.ZodObject<{
17
- activeConfigProfileUuid: z.ZodString;
18
- activeInbounds: z.ZodArray<z.ZodString, "many">;
19
- }, "strip", z.ZodTypeAny, {
20
- activeConfigProfileUuid: string;
21
- activeInbounds: string[];
22
- }, {
23
- activeConfigProfileUuid: string;
24
- activeInbounds: string[];
25
- }>;
26
- providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
17
+ activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27
18
  }, "strip", z.ZodTypeAny, {
28
19
  name: string;
29
20
  countryCode: string;
30
21
  address: string;
31
22
  isTrafficTrackingActive: boolean;
32
- configProfile: {
33
- activeConfigProfileUuid: string;
34
- activeInbounds: string[];
35
- };
36
23
  port?: number | undefined;
37
24
  trafficLimitBytes?: number | undefined;
38
25
  trafficResetDay?: number | undefined;
39
26
  notifyPercent?: number | undefined;
40
27
  consumptionMultiplier?: number | undefined;
41
- providerUuid?: string | null | undefined;
28
+ activeConfigProfileUuid?: string | undefined;
29
+ activeInbounds?: string[] | undefined;
42
30
  }, {
43
31
  name: string;
44
32
  address: string;
45
- configProfile: {
46
- activeConfigProfileUuid: string;
47
- activeInbounds: string[];
48
- };
49
33
  port?: number | undefined;
50
34
  countryCode?: string | undefined;
51
35
  trafficLimitBytes?: number | undefined;
@@ -53,7 +37,8 @@ export declare namespace CreateNodeCommand {
53
37
  trafficResetDay?: number | undefined;
54
38
  notifyPercent?: number | undefined;
55
39
  consumptionMultiplier?: number | undefined;
56
- providerUuid?: string | null | undefined;
40
+ activeConfigProfileUuid?: string | undefined;
41
+ activeInbounds?: string[] | undefined;
57
42
  }>;
58
43
  type Request = z.infer<typeof RequestSchema>;
59
44
  const ResponseSchema: z.ZodObject<{
@@ -85,84 +70,35 @@ export declare namespace CreateNodeCommand {
85
70
  totalRam: z.ZodNullable<z.ZodString>;
86
71
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
87
72
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
88
- configProfile: z.ZodObject<{
89
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
90
- activeInbounds: z.ZodArray<z.ZodObject<{
91
- uuid: z.ZodString;
92
- profileUuid: z.ZodString;
93
- tag: z.ZodString;
94
- type: z.ZodString;
95
- network: z.ZodNullable<z.ZodString>;
96
- security: z.ZodNullable<z.ZodString>;
97
- port: z.ZodNullable<z.ZodNumber>;
98
- rawInbound: z.ZodNullable<z.ZodUnknown>;
99
- }, "strip", z.ZodTypeAny, {
100
- type: string;
101
- uuid: string;
102
- profileUuid: string;
103
- tag: string;
104
- network: string | null;
105
- security: string | null;
106
- port: number | null;
107
- rawInbound?: unknown;
108
- }, {
109
- type: string;
110
- uuid: string;
111
- profileUuid: string;
112
- tag: string;
113
- network: string | null;
114
- security: string | null;
115
- port: number | null;
116
- rawInbound?: unknown;
117
- }>, "many">;
118
- }, "strip", z.ZodTypeAny, {
119
- activeConfigProfileUuid: string | null;
120
- activeInbounds: {
121
- type: string;
122
- uuid: string;
123
- profileUuid: string;
124
- tag: string;
125
- network: string | null;
126
- security: string | null;
127
- port: number | null;
128
- rawInbound?: unknown;
129
- }[];
130
- }, {
131
- activeConfigProfileUuid: string | null;
132
- activeInbounds: {
133
- type: string;
134
- uuid: string;
135
- profileUuid: string;
136
- tag: string;
137
- network: string | null;
138
- security: string | null;
139
- port: number | null;
140
- rawInbound?: unknown;
141
- }[];
142
- }>;
143
- providerUuid: z.ZodNullable<z.ZodString>;
144
- provider: z.ZodNullable<z.ZodObject<{
73
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
74
+ activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
145
75
  uuid: z.ZodString;
146
- name: z.ZodString;
147
- faviconLink: z.ZodNullable<z.ZodString>;
148
- loginUrl: z.ZodNullable<z.ZodString>;
149
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
150
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
76
+ profileUuid: z.ZodString;
77
+ tag: z.ZodString;
78
+ type: z.ZodString;
79
+ network: z.ZodNullable<z.ZodString>;
80
+ security: z.ZodNullable<z.ZodString>;
81
+ port: z.ZodNullable<z.ZodNumber>;
82
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
151
83
  }, "strip", z.ZodTypeAny, {
84
+ type: string;
152
85
  uuid: string;
153
- createdAt: Date;
154
- updatedAt: Date;
155
- name: string;
156
- faviconLink: string | null;
157
- loginUrl: string | null;
86
+ profileUuid: string;
87
+ tag: string;
88
+ network: string | null;
89
+ security: string | null;
90
+ port: number | null;
91
+ rawInbound?: unknown;
158
92
  }, {
93
+ type: string;
159
94
  uuid: string;
160
- createdAt: string;
161
- updatedAt: string;
162
- name: string;
163
- faviconLink: string | null;
164
- loginUrl: string | null;
165
- }>>;
95
+ profileUuid: string;
96
+ tag: string;
97
+ network: string | null;
98
+ security: string | null;
99
+ port: number | null;
100
+ rawInbound?: unknown;
101
+ }>, "many">>;
166
102
  }, "strip", z.ZodTypeAny, {
167
103
  uuid: string;
168
104
  createdAt: Date;
@@ -191,28 +127,17 @@ export declare namespace CreateNodeCommand {
191
127
  cpuCount: number | null;
192
128
  cpuModel: string | null;
193
129
  totalRam: string | null;
194
- configProfile: {
195
- activeConfigProfileUuid: string | null;
196
- activeInbounds: {
197
- type: string;
198
- uuid: string;
199
- profileUuid: string;
200
- tag: string;
201
- network: string | null;
202
- security: string | null;
203
- port: number | null;
204
- rawInbound?: unknown;
205
- }[];
206
- };
207
- providerUuid: string | null;
208
- provider: {
130
+ activeConfigProfileUuid: string | null;
131
+ activeInbounds: {
132
+ type: string;
209
133
  uuid: string;
210
- createdAt: Date;
211
- updatedAt: Date;
212
- name: string;
213
- faviconLink: string | null;
214
- loginUrl: string | null;
215
- } | null;
134
+ profileUuid: string;
135
+ tag: string;
136
+ network: string | null;
137
+ security: string | null;
138
+ port: number | null;
139
+ rawInbound?: unknown;
140
+ }[] | null;
216
141
  }, {
217
142
  uuid: string;
218
143
  createdAt: string;
@@ -241,28 +166,17 @@ export declare namespace CreateNodeCommand {
241
166
  cpuCount: number | null;
242
167
  cpuModel: string | null;
243
168
  totalRam: string | null;
244
- configProfile: {
245
- activeConfigProfileUuid: string | null;
246
- activeInbounds: {
247
- type: string;
248
- uuid: string;
249
- profileUuid: string;
250
- tag: string;
251
- network: string | null;
252
- security: string | null;
253
- port: number | null;
254
- rawInbound?: unknown;
255
- }[];
256
- };
257
- providerUuid: string | null;
258
- provider: {
169
+ activeConfigProfileUuid: string | null;
170
+ activeInbounds: {
171
+ type: string;
259
172
  uuid: string;
260
- createdAt: string;
261
- updatedAt: string;
262
- name: string;
263
- faviconLink: string | null;
264
- loginUrl: string | null;
265
- } | null;
173
+ profileUuid: string;
174
+ tag: string;
175
+ network: string | null;
176
+ security: string | null;
177
+ port: number | null;
178
+ rawInbound?: unknown;
179
+ }[] | null;
266
180
  }>;
267
181
  }, "strip", z.ZodTypeAny, {
268
182
  response: {
@@ -293,28 +207,17 @@ export declare namespace CreateNodeCommand {
293
207
  cpuCount: number | null;
294
208
  cpuModel: string | null;
295
209
  totalRam: string | null;
296
- configProfile: {
297
- activeConfigProfileUuid: string | null;
298
- activeInbounds: {
299
- type: string;
300
- uuid: string;
301
- profileUuid: string;
302
- tag: string;
303
- network: string | null;
304
- security: string | null;
305
- port: number | null;
306
- rawInbound?: unknown;
307
- }[];
308
- };
309
- providerUuid: string | null;
310
- provider: {
210
+ activeConfigProfileUuid: string | null;
211
+ activeInbounds: {
212
+ type: string;
311
213
  uuid: string;
312
- createdAt: Date;
313
- updatedAt: Date;
314
- name: string;
315
- faviconLink: string | null;
316
- loginUrl: string | null;
317
- } | null;
214
+ profileUuid: string;
215
+ tag: string;
216
+ network: string | null;
217
+ security: string | null;
218
+ port: number | null;
219
+ rawInbound?: unknown;
220
+ }[] | null;
318
221
  };
319
222
  }, {
320
223
  response: {
@@ -345,28 +248,17 @@ export declare namespace CreateNodeCommand {
345
248
  cpuCount: number | null;
346
249
  cpuModel: string | null;
347
250
  totalRam: string | null;
348
- configProfile: {
349
- activeConfigProfileUuid: string | null;
350
- activeInbounds: {
351
- type: string;
352
- uuid: string;
353
- profileUuid: string;
354
- tag: string;
355
- network: string | null;
356
- security: string | null;
357
- port: number | null;
358
- rawInbound?: unknown;
359
- }[];
360
- };
361
- providerUuid: string | null;
362
- provider: {
251
+ activeConfigProfileUuid: string | null;
252
+ activeInbounds: {
253
+ type: string;
363
254
  uuid: string;
364
- createdAt: string;
365
- updatedAt: string;
366
- name: string;
367
- faviconLink: string | null;
368
- loginUrl: string | null;
369
- } | null;
255
+ profileUuid: string;
256
+ tag: string;
257
+ network: string | null;
258
+ security: string | null;
259
+ port: number | null;
260
+ rawInbound?: unknown;
261
+ }[] | null;
370
262
  };
371
263
  }>;
372
264
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0CxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -35,13 +35,10 @@ var CreateNodeCommand;
35
35
  .number()
36
36
  .min(0.1, 'Consumption multiplier must be greater than 0')
37
37
  .transform((n) => Number(n.toFixed(1)))),
38
- configProfile: zod_1.z.object({
39
- activeConfigProfileUuid: zod_1.z.string().uuid(),
40
- activeInbounds: zod_1.z.array(zod_1.z.string().uuid(), {
41
- invalid_type_error: 'Config profile inbound UUID must be an array of UUIDs',
42
- }),
43
- }),
44
- providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
38
+ activeConfigProfileUuid: zod_1.z.optional(zod_1.z.string().uuid()),
39
+ activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
40
+ invalid_type_error: 'Active inbounds must be an array of UUIDs',
41
+ })),
45
42
  });
46
43
  CreateNodeCommand.ResponseSchema = zod_1.z.object({
47
44
  response: models_1.NodesSchema,
@@ -32,84 +32,35 @@ export declare namespace GetAllNodesCommand {
32
32
  totalRam: z.ZodNullable<z.ZodString>;
33
33
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
34
34
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
35
- configProfile: z.ZodObject<{
36
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
37
- activeInbounds: z.ZodArray<z.ZodObject<{
38
- uuid: z.ZodString;
39
- profileUuid: z.ZodString;
40
- tag: z.ZodString;
41
- type: z.ZodString;
42
- network: z.ZodNullable<z.ZodString>;
43
- security: z.ZodNullable<z.ZodString>;
44
- port: z.ZodNullable<z.ZodNumber>;
45
- rawInbound: z.ZodNullable<z.ZodUnknown>;
46
- }, "strip", z.ZodTypeAny, {
47
- type: string;
48
- uuid: string;
49
- profileUuid: string;
50
- tag: string;
51
- network: string | null;
52
- security: string | null;
53
- port: number | null;
54
- rawInbound?: unknown;
55
- }, {
56
- type: string;
57
- uuid: string;
58
- profileUuid: string;
59
- tag: string;
60
- network: string | null;
61
- security: string | null;
62
- port: number | null;
63
- rawInbound?: unknown;
64
- }>, "many">;
65
- }, "strip", z.ZodTypeAny, {
66
- activeConfigProfileUuid: string | null;
67
- activeInbounds: {
68
- type: string;
69
- uuid: string;
70
- profileUuid: string;
71
- tag: string;
72
- network: string | null;
73
- security: string | null;
74
- port: number | null;
75
- rawInbound?: unknown;
76
- }[];
77
- }, {
78
- activeConfigProfileUuid: string | null;
79
- activeInbounds: {
80
- type: string;
81
- uuid: string;
82
- profileUuid: string;
83
- tag: string;
84
- network: string | null;
85
- security: string | null;
86
- port: number | null;
87
- rawInbound?: unknown;
88
- }[];
89
- }>;
90
- providerUuid: z.ZodNullable<z.ZodString>;
91
- provider: z.ZodNullable<z.ZodObject<{
35
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
36
+ activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
92
37
  uuid: z.ZodString;
93
- name: z.ZodString;
94
- faviconLink: z.ZodNullable<z.ZodString>;
95
- loginUrl: z.ZodNullable<z.ZodString>;
96
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
97
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
38
+ profileUuid: z.ZodString;
39
+ tag: z.ZodString;
40
+ type: z.ZodString;
41
+ network: z.ZodNullable<z.ZodString>;
42
+ security: z.ZodNullable<z.ZodString>;
43
+ port: z.ZodNullable<z.ZodNumber>;
44
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
98
45
  }, "strip", z.ZodTypeAny, {
46
+ type: string;
99
47
  uuid: string;
100
- createdAt: Date;
101
- updatedAt: Date;
102
- name: string;
103
- faviconLink: string | null;
104
- loginUrl: string | null;
48
+ profileUuid: string;
49
+ tag: string;
50
+ network: string | null;
51
+ security: string | null;
52
+ port: number | null;
53
+ rawInbound?: unknown;
105
54
  }, {
55
+ type: string;
106
56
  uuid: string;
107
- createdAt: string;
108
- updatedAt: string;
109
- name: string;
110
- faviconLink: string | null;
111
- loginUrl: string | null;
112
- }>>;
57
+ profileUuid: string;
58
+ tag: string;
59
+ network: string | null;
60
+ security: string | null;
61
+ port: number | null;
62
+ rawInbound?: unknown;
63
+ }>, "many">>;
113
64
  }, "strip", z.ZodTypeAny, {
114
65
  uuid: string;
115
66
  createdAt: Date;
@@ -138,28 +89,17 @@ export declare namespace GetAllNodesCommand {
138
89
  cpuCount: number | null;
139
90
  cpuModel: string | null;
140
91
  totalRam: string | null;
141
- configProfile: {
142
- activeConfigProfileUuid: string | null;
143
- activeInbounds: {
144
- type: string;
145
- uuid: string;
146
- profileUuid: string;
147
- tag: string;
148
- network: string | null;
149
- security: string | null;
150
- port: number | null;
151
- rawInbound?: unknown;
152
- }[];
153
- };
154
- providerUuid: string | null;
155
- provider: {
92
+ activeConfigProfileUuid: string | null;
93
+ activeInbounds: {
94
+ type: string;
156
95
  uuid: string;
157
- createdAt: Date;
158
- updatedAt: Date;
159
- name: string;
160
- faviconLink: string | null;
161
- loginUrl: string | null;
162
- } | null;
96
+ profileUuid: string;
97
+ tag: string;
98
+ network: string | null;
99
+ security: string | null;
100
+ port: number | null;
101
+ rawInbound?: unknown;
102
+ }[] | null;
163
103
  }, {
164
104
  uuid: string;
165
105
  createdAt: string;
@@ -188,28 +128,17 @@ export declare namespace GetAllNodesCommand {
188
128
  cpuCount: number | null;
189
129
  cpuModel: string | null;
190
130
  totalRam: string | null;
191
- configProfile: {
192
- activeConfigProfileUuid: string | null;
193
- activeInbounds: {
194
- type: string;
195
- uuid: string;
196
- profileUuid: string;
197
- tag: string;
198
- network: string | null;
199
- security: string | null;
200
- port: number | null;
201
- rawInbound?: unknown;
202
- }[];
203
- };
204
- providerUuid: string | null;
205
- provider: {
131
+ activeConfigProfileUuid: string | null;
132
+ activeInbounds: {
133
+ type: string;
206
134
  uuid: string;
207
- createdAt: string;
208
- updatedAt: string;
209
- name: string;
210
- faviconLink: string | null;
211
- loginUrl: string | null;
212
- } | null;
135
+ profileUuid: string;
136
+ tag: string;
137
+ network: string | null;
138
+ security: string | null;
139
+ port: number | null;
140
+ rawInbound?: unknown;
141
+ }[] | null;
213
142
  }>, "many">;
214
143
  }, "strip", z.ZodTypeAny, {
215
144
  response: {
@@ -240,28 +169,17 @@ export declare namespace GetAllNodesCommand {
240
169
  cpuCount: number | null;
241
170
  cpuModel: string | null;
242
171
  totalRam: string | null;
243
- configProfile: {
244
- activeConfigProfileUuid: string | null;
245
- activeInbounds: {
246
- type: string;
247
- uuid: string;
248
- profileUuid: string;
249
- tag: string;
250
- network: string | null;
251
- security: string | null;
252
- port: number | null;
253
- rawInbound?: unknown;
254
- }[];
255
- };
256
- providerUuid: string | null;
257
- provider: {
172
+ activeConfigProfileUuid: string | null;
173
+ activeInbounds: {
174
+ type: string;
258
175
  uuid: string;
259
- createdAt: Date;
260
- updatedAt: Date;
261
- name: string;
262
- faviconLink: string | null;
263
- loginUrl: string | null;
264
- } | null;
176
+ profileUuid: string;
177
+ tag: string;
178
+ network: string | null;
179
+ security: string | null;
180
+ port: number | null;
181
+ rawInbound?: unknown;
182
+ }[] | null;
265
183
  }[];
266
184
  }, {
267
185
  response: {
@@ -292,28 +210,17 @@ export declare namespace GetAllNodesCommand {
292
210
  cpuCount: number | null;
293
211
  cpuModel: string | null;
294
212
  totalRam: string | null;
295
- configProfile: {
296
- activeConfigProfileUuid: string | null;
297
- activeInbounds: {
298
- type: string;
299
- uuid: string;
300
- profileUuid: string;
301
- tag: string;
302
- network: string | null;
303
- security: string | null;
304
- port: number | null;
305
- rawInbound?: unknown;
306
- }[];
307
- };
308
- providerUuid: string | null;
309
- provider: {
213
+ activeConfigProfileUuid: string | null;
214
+ activeInbounds: {
215
+ type: string;
310
216
  uuid: string;
311
- createdAt: string;
312
- updatedAt: string;
313
- name: string;
314
- faviconLink: string | null;
315
- loginUrl: string | null;
316
- } | null;
217
+ profileUuid: string;
218
+ tag: string;
219
+ network: string | null;
220
+ security: string | null;
221
+ port: number | null;
222
+ rawInbound?: unknown;
223
+ }[] | null;
317
224
  }[];
318
225
  }>;
319
226
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}