@remnawave/backend-contract 2.3.11 → 2.3.13

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 (55) hide show
  1. package/build/backend/api/controllers/nodes.d.ts +3 -0
  2. package/build/backend/api/controllers/nodes.d.ts.map +1 -1
  3. package/build/backend/api/controllers/nodes.js +3 -0
  4. package/build/backend/api/routes.d.ts +3 -0
  5. package/build/backend/api/routes.d.ts.map +1 -1
  6. package/build/backend/api/routes.js +3 -0
  7. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +2 -0
  8. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
  9. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +2 -0
  10. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
  11. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +2 -0
  12. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
  13. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +2 -0
  14. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
  15. package/build/backend/commands/nodes/actions/disable.command.d.ts +5 -0
  16. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  17. package/build/backend/commands/nodes/actions/enable.command.d.ts +5 -0
  18. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  19. package/build/backend/commands/nodes/actions/reorder.command.d.ts +6 -0
  20. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  21. package/build/backend/commands/nodes/create.command.d.ts +8 -0
  22. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  23. package/build/backend/commands/nodes/create.command.js +1 -0
  24. package/build/backend/commands/nodes/get-all.command.d.ts +5 -0
  25. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  26. package/build/backend/commands/nodes/get-one.command.d.ts +5 -0
  27. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  28. package/build/backend/commands/nodes/index.d.ts +1 -0
  29. package/build/backend/commands/nodes/index.d.ts.map +1 -1
  30. package/build/backend/commands/nodes/index.js +1 -0
  31. package/build/backend/commands/nodes/tags/get-all-nodes-tags.command.d.ts +25 -0
  32. package/build/backend/commands/nodes/tags/get-all-nodes-tags.command.d.ts.map +1 -0
  33. package/build/backend/commands/nodes/tags/get-all-nodes-tags.command.js +17 -0
  34. package/build/backend/commands/nodes/tags/index.d.ts +2 -0
  35. package/build/backend/commands/nodes/tags/index.d.ts.map +1 -0
  36. package/build/backend/commands/nodes/tags/index.js +17 -0
  37. package/build/backend/commands/nodes/update.command.d.ts +9 -0
  38. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  39. package/build/backend/commands/nodes/update.command.js +1 -0
  40. package/build/backend/models/infra-billing-available-node.schema.d.ts +1 -0
  41. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  42. package/build/backend/models/infra-billing-node.schema.d.ts +1 -0
  43. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  44. package/build/backend/models/nodes.schema.d.ts +3 -0
  45. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  46. package/build/backend/models/nodes.schema.js +1 -0
  47. package/build/frontend/api/controllers/nodes.js +3 -0
  48. package/build/frontend/api/routes.js +3 -0
  49. package/build/frontend/commands/nodes/create.command.js +1 -0
  50. package/build/frontend/commands/nodes/index.js +1 -0
  51. package/build/frontend/commands/nodes/tags/get-all-nodes-tags.command.js +17 -0
  52. package/build/frontend/commands/nodes/tags/index.js +17 -0
  53. package/build/frontend/commands/nodes/update.command.js +1 -0
  54. package/build/frontend/models/nodes.schema.js +1 -0
  55. package/package.json +1 -1
@@ -19,5 +19,8 @@ export declare const NODES_ROUTES: {
19
19
  readonly USAGE_BY_RANGE_USER: (uuid: string) => string;
20
20
  readonly USAGE_REALTIME: "usage/realtime";
21
21
  };
22
+ readonly TAGS: {
23
+ readonly GET: "tags";
24
+ };
22
25
  };
23
26
  //# sourceMappingURL=nodes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,kBAAkB,EAAG,SAAkB,CAAC;AAErD,eAAO,MAAM,YAAY;;;iCAGD,MAAM;;4BAEX,MAAM;;gCAGF,MAAM;iCACL,MAAM;iCACN,MAAM;uCACA,MAAM;;;;;;6CAQA,MAAM;;;CAGhC,CAAC"}
1
+ {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,kBAAkB,EAAG,SAAkB,CAAC;AAErD,eAAO,MAAM,YAAY;;;iCAGD,MAAM;;4BAEX,MAAM;;gCAGF,MAAM;iCACL,MAAM;iCACN,MAAM;uCACA,MAAM;;;;;;6CAQA,MAAM;;;;;;CAOhC,CAAC"}
@@ -22,4 +22,7 @@ exports.NODES_ROUTES = {
22
22
  USAGE_BY_RANGE_USER: (uuid) => `usage/${uuid}/users/range`,
23
23
  USAGE_REALTIME: 'usage/realtime',
24
24
  },
25
+ TAGS: {
26
+ GET: 'tags',
27
+ },
25
28
  };
@@ -38,6 +38,9 @@ export declare const REST_API: {
38
38
  readonly GET_BY_UUID: (uuid: string) => string;
39
39
  readonly UPDATE: "/api/nodes/";
40
40
  readonly DELETE: (uuid: string) => string;
41
+ readonly TAGS: {
42
+ readonly GET: "/api/nodes/tags";
43
+ };
41
44
  readonly ACTIONS: {
42
45
  readonly ENABLE: (uuid: string) => string;
43
46
  readonly DISABLE: (uuid: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,E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exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.UPDATE}`,
77
77
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.DELETE(uuid)}`,
78
+ TAGS: {
79
+ GET: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.TAGS.GET}`,
80
+ },
78
81
  ACTIONS: {
79
82
  ENABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ACTIONS.ENABLE(uuid)}`,
80
83
  DISABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ACTIONS.DISABLE(uuid)}`,
@@ -66,6 +66,7 @@ export declare namespace CreateInfraBillingNodeCommand {
66
66
  viewPosition: z.ZodNumber;
67
67
  countryCode: z.ZodString;
68
68
  consumptionMultiplier: z.ZodNumber;
69
+ tags: z.ZodArray<z.ZodString, "many">;
69
70
  cpuCount: z.ZodNullable<z.ZodNumber>;
70
71
  cpuModel: z.ZodNullable<z.ZodString>;
71
72
  totalRam: z.ZodNullable<z.ZodString>;
@@ -222,6 +223,7 @@ export declare namespace CreateInfraBillingNodeCommand {
222
223
  viewPosition: z.ZodNumber;
223
224
  countryCode: z.ZodString;
224
225
  consumptionMultiplier: z.ZodNumber;
226
+ tags: z.ZodArray<z.ZodString, "many">;
225
227
  cpuCount: z.ZodNullable<z.ZodNumber>;
226
228
  cpuModel: z.ZodNullable<z.ZodString>;
227
229
  totalRam: z.ZodNullable<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAWxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAWxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -60,6 +60,7 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
60
60
  viewPosition: z.ZodNumber;
61
61
  countryCode: z.ZodString;
62
62
  consumptionMultiplier: z.ZodNumber;
63
+ tags: z.ZodArray<z.ZodString, "many">;
63
64
  cpuCount: z.ZodNullable<z.ZodNumber>;
64
65
  cpuModel: z.ZodNullable<z.ZodString>;
65
66
  totalRam: z.ZodNullable<z.ZodString>;
@@ -216,6 +217,7 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
216
217
  viewPosition: z.ZodNumber;
217
218
  countryCode: z.ZodString;
218
219
  consumptionMultiplier: z.ZodNumber;
220
+ tags: z.ZodArray<z.ZodString, "many">;
219
221
  cpuCount: z.ZodNullable<z.ZodNumber>;
220
222
  cpuModel: z.ZodNullable<z.ZodString>;
221
223
  totalRam: z.ZodNullable<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,QAAsD,CAAC;IAChE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,QAAsD,CAAC;IAChE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -52,6 +52,7 @@ export declare namespace GetInfraBillingNodesCommand {
52
52
  viewPosition: z.ZodNumber;
53
53
  countryCode: z.ZodString;
54
54
  consumptionMultiplier: z.ZodNumber;
55
+ tags: z.ZodArray<z.ZodString, "many">;
55
56
  cpuCount: z.ZodNullable<z.ZodNumber>;
56
57
  cpuModel: z.ZodNullable<z.ZodString>;
57
58
  totalRam: z.ZodNullable<z.ZodString>;
@@ -208,6 +209,7 @@ export declare namespace GetInfraBillingNodesCommand {
208
209
  viewPosition: z.ZodNumber;
209
210
  countryCode: z.ZodString;
210
211
  consumptionMultiplier: z.ZodNumber;
212
+ tags: z.ZodArray<z.ZodString, "many">;
211
213
  cpuCount: z.ZodNullable<z.ZodNumber>;
212
214
  cpuModel: z.ZodNullable<z.ZodString>;
213
215
  totalRam: z.ZodNullable<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-billing-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-billing-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-billing-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-billing-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -63,6 +63,7 @@ export declare namespace UpdateInfraBillingNodeCommand {
63
63
  viewPosition: z.ZodNumber;
64
64
  countryCode: z.ZodString;
65
65
  consumptionMultiplier: z.ZodNumber;
66
+ tags: z.ZodArray<z.ZodString, "many">;
66
67
  cpuCount: z.ZodNullable<z.ZodNumber>;
67
68
  cpuModel: z.ZodNullable<z.ZodString>;
68
69
  totalRam: z.ZodNullable<z.ZodString>;
@@ -219,6 +220,7 @@ export declare namespace UpdateInfraBillingNodeCommand {
219
220
  viewPosition: z.ZodNumber;
220
221
  countryCode: z.ZodString;
221
222
  consumptionMultiplier: z.ZodNumber;
223
+ tags: z.ZodArray<z.ZodString, "many">;
222
224
  cpuCount: z.ZodNullable<z.ZodNumber>;
223
225
  cpuModel: z.ZodNullable<z.ZodString>;
224
226
  totalRam: z.ZodNullable<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"update-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/update-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAQxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/update-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAQxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -36,6 +36,7 @@ export declare namespace DisableNodeCommand {
36
36
  viewPosition: z.ZodNumber;
37
37
  countryCode: z.ZodString;
38
38
  consumptionMultiplier: z.ZodNumber;
39
+ tags: z.ZodArray<z.ZodString, "many">;
39
40
  cpuCount: z.ZodNullable<z.ZodNumber>;
40
41
  cpuModel: z.ZodNullable<z.ZodString>;
41
42
  totalRam: z.ZodNullable<z.ZodString>;
@@ -120,6 +121,7 @@ export declare namespace DisableNodeCommand {
120
121
  loginUrl: string | null;
121
122
  }>>;
122
123
  }, "strip", z.ZodTypeAny, {
124
+ tags: string[];
123
125
  uuid: string;
124
126
  createdAt: Date;
125
127
  updatedAt: Date;
@@ -171,6 +173,7 @@ export declare namespace DisableNodeCommand {
171
173
  };
172
174
  providerUuid: string | null;
173
175
  }, {
176
+ tags: string[];
174
177
  uuid: string;
175
178
  createdAt: string;
176
179
  updatedAt: string;
@@ -224,6 +227,7 @@ export declare namespace DisableNodeCommand {
224
227
  }>;
225
228
  }, "strip", z.ZodTypeAny, {
226
229
  response: {
230
+ tags: string[];
227
231
  uuid: string;
228
232
  createdAt: Date;
229
233
  updatedAt: Date;
@@ -277,6 +281,7 @@ export declare namespace DisableNodeCommand {
277
281
  };
278
282
  }, {
279
283
  response: {
284
+ tags: string[];
280
285
  uuid: string;
281
286
  createdAt: string;
282
287
  updatedAt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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":"disable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
@@ -36,6 +36,7 @@ export declare namespace EnableNodeCommand {
36
36
  viewPosition: z.ZodNumber;
37
37
  countryCode: z.ZodString;
38
38
  consumptionMultiplier: z.ZodNumber;
39
+ tags: z.ZodArray<z.ZodString, "many">;
39
40
  cpuCount: z.ZodNullable<z.ZodNumber>;
40
41
  cpuModel: z.ZodNullable<z.ZodString>;
41
42
  totalRam: z.ZodNullable<z.ZodString>;
@@ -120,6 +121,7 @@ export declare namespace EnableNodeCommand {
120
121
  loginUrl: string | null;
121
122
  }>>;
122
123
  }, "strip", z.ZodTypeAny, {
124
+ tags: string[];
123
125
  uuid: string;
124
126
  createdAt: Date;
125
127
  updatedAt: Date;
@@ -171,6 +173,7 @@ export declare namespace EnableNodeCommand {
171
173
  };
172
174
  providerUuid: string | null;
173
175
  }, {
176
+ tags: string[];
174
177
  uuid: string;
175
178
  createdAt: string;
176
179
  updatedAt: string;
@@ -224,6 +227,7 @@ export declare namespace EnableNodeCommand {
224
227
  }>;
225
228
  }, "strip", z.ZodTypeAny, {
226
229
  response: {
230
+ tags: string[];
227
231
  uuid: string;
228
232
  createdAt: Date;
229
233
  updatedAt: Date;
@@ -277,6 +281,7 @@ export declare namespace EnableNodeCommand {
277
281
  };
278
282
  }, {
279
283
  response: {
284
+ tags: string[];
280
285
  uuid: string;
281
286
  createdAt: string;
282
287
  updatedAt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"enable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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":"enable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
@@ -28,6 +28,7 @@ export declare namespace ReorderNodeCommand {
28
28
  viewPosition: z.ZodNumber;
29
29
  countryCode: z.ZodString;
30
30
  consumptionMultiplier: z.ZodNumber;
31
+ tags: z.ZodArray<z.ZodString, "many">;
31
32
  cpuCount: z.ZodNullable<z.ZodNumber>;
32
33
  cpuModel: z.ZodNullable<z.ZodString>;
33
34
  totalRam: z.ZodNullable<z.ZodString>;
@@ -155,6 +156,7 @@ export declare namespace ReorderNodeCommand {
155
156
  viewPosition: z.ZodNumber;
156
157
  countryCode: z.ZodString;
157
158
  consumptionMultiplier: z.ZodNumber;
159
+ tags: z.ZodArray<z.ZodString, "many">;
158
160
  cpuCount: z.ZodNullable<z.ZodNumber>;
159
161
  cpuModel: z.ZodNullable<z.ZodString>;
160
162
  totalRam: z.ZodNullable<z.ZodString>;
@@ -239,6 +241,7 @@ export declare namespace ReorderNodeCommand {
239
241
  loginUrl: string | null;
240
242
  }>>;
241
243
  }, "strip", z.ZodTypeAny, {
244
+ tags: string[];
242
245
  uuid: string;
243
246
  createdAt: Date;
244
247
  updatedAt: Date;
@@ -290,6 +293,7 @@ export declare namespace ReorderNodeCommand {
290
293
  };
291
294
  providerUuid: string | null;
292
295
  }, {
296
+ tags: string[];
293
297
  uuid: string;
294
298
  createdAt: string;
295
299
  updatedAt: string;
@@ -343,6 +347,7 @@ export declare namespace ReorderNodeCommand {
343
347
  }>, "many">;
344
348
  }, "strip", z.ZodTypeAny, {
345
349
  response: {
350
+ tags: string[];
346
351
  uuid: string;
347
352
  createdAt: Date;
348
353
  updatedAt: Date;
@@ -396,6 +401,7 @@ export declare namespace ReorderNodeCommand {
396
401
  }[];
397
402
  }, {
398
403
  response: {
404
+ tags: string[];
399
405
  uuid: string;
400
406
  createdAt: string;
401
407
  updatedAt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAA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;;;MAOxB,CAAC;IACH,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"}
@@ -24,6 +24,7 @@ export declare namespace CreateNodeCommand {
24
24
  activeInbounds: string[];
25
25
  }>;
26
26
  providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27
28
  }, "strip", z.ZodTypeAny, {
28
29
  name: string;
29
30
  countryCode: string;
@@ -33,6 +34,7 @@ export declare namespace CreateNodeCommand {
33
34
  activeConfigProfileUuid: string;
34
35
  activeInbounds: string[];
35
36
  };
37
+ tags?: string[] | undefined;
36
38
  port?: number | undefined;
37
39
  trafficLimitBytes?: number | undefined;
38
40
  trafficResetDay?: number | undefined;
@@ -46,6 +48,7 @@ export declare namespace CreateNodeCommand {
46
48
  activeConfigProfileUuid: string;
47
49
  activeInbounds: string[];
48
50
  };
51
+ tags?: string[] | undefined;
49
52
  port?: number | undefined;
50
53
  countryCode?: string | undefined;
51
54
  trafficLimitBytes?: number | undefined;
@@ -81,6 +84,7 @@ export declare namespace CreateNodeCommand {
81
84
  viewPosition: z.ZodNumber;
82
85
  countryCode: z.ZodString;
83
86
  consumptionMultiplier: z.ZodNumber;
87
+ tags: z.ZodArray<z.ZodString, "many">;
84
88
  cpuCount: z.ZodNullable<z.ZodNumber>;
85
89
  cpuModel: z.ZodNullable<z.ZodString>;
86
90
  totalRam: z.ZodNullable<z.ZodString>;
@@ -165,6 +169,7 @@ export declare namespace CreateNodeCommand {
165
169
  loginUrl: string | null;
166
170
  }>>;
167
171
  }, "strip", z.ZodTypeAny, {
172
+ tags: string[];
168
173
  uuid: string;
169
174
  createdAt: Date;
170
175
  updatedAt: Date;
@@ -216,6 +221,7 @@ export declare namespace CreateNodeCommand {
216
221
  };
217
222
  providerUuid: string | null;
218
223
  }, {
224
+ tags: string[];
219
225
  uuid: string;
220
226
  createdAt: string;
221
227
  updatedAt: string;
@@ -269,6 +275,7 @@ export declare namespace CreateNodeCommand {
269
275
  }>;
270
276
  }, "strip", z.ZodTypeAny, {
271
277
  response: {
278
+ tags: string[];
272
279
  uuid: string;
273
280
  createdAt: Date;
274
281
  updatedAt: Date;
@@ -322,6 +329,7 @@ export declare namespace CreateNodeCommand {
322
329
  };
323
330
  }, {
324
331
  response: {
332
+ tags: string[];
325
333
  uuid: string;
326
334
  createdAt: string;
327
335
  updatedAt: string;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+CxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -47,6 +47,7 @@ var CreateNodeCommand;
47
47
  }),
48
48
  }),
49
49
  providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
50
+ tags: zod_1.z.optional(zod_1.z.array(zod_1.z.string().max(36, 'Tag must be less than 36 characters'))),
50
51
  });
51
52
  CreateNodeCommand.ResponseSchema = zod_1.z.object({
52
53
  response: models_1.NodesSchema,
@@ -28,6 +28,7 @@ export declare namespace GetAllNodesCommand {
28
28
  viewPosition: z.ZodNumber;
29
29
  countryCode: z.ZodString;
30
30
  consumptionMultiplier: z.ZodNumber;
31
+ tags: z.ZodArray<z.ZodString, "many">;
31
32
  cpuCount: z.ZodNullable<z.ZodNumber>;
32
33
  cpuModel: z.ZodNullable<z.ZodString>;
33
34
  totalRam: z.ZodNullable<z.ZodString>;
@@ -112,6 +113,7 @@ export declare namespace GetAllNodesCommand {
112
113
  loginUrl: string | null;
113
114
  }>>;
114
115
  }, "strip", z.ZodTypeAny, {
116
+ tags: string[];
115
117
  uuid: string;
116
118
  createdAt: Date;
117
119
  updatedAt: Date;
@@ -163,6 +165,7 @@ export declare namespace GetAllNodesCommand {
163
165
  };
164
166
  providerUuid: string | null;
165
167
  }, {
168
+ tags: string[];
166
169
  uuid: string;
167
170
  createdAt: string;
168
171
  updatedAt: string;
@@ -216,6 +219,7 @@ export declare namespace GetAllNodesCommand {
216
219
  }>, "many">;
217
220
  }, "strip", z.ZodTypeAny, {
218
221
  response: {
222
+ tags: string[];
219
223
  uuid: string;
220
224
  createdAt: Date;
221
225
  updatedAt: Date;
@@ -269,6 +273,7 @@ export declare namespace GetAllNodesCommand {
269
273
  }[];
270
274
  }, {
271
275
  response: {
276
+ tags: string[];
272
277
  uuid: string;
273
278
  createdAt: string;
274
279
  updatedAt: string;
@@ -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"}
@@ -36,6 +36,7 @@ export declare namespace GetOneNodeCommand {
36
36
  viewPosition: z.ZodNumber;
37
37
  countryCode: z.ZodString;
38
38
  consumptionMultiplier: z.ZodNumber;
39
+ tags: z.ZodArray<z.ZodString, "many">;
39
40
  cpuCount: z.ZodNullable<z.ZodNumber>;
40
41
  cpuModel: z.ZodNullable<z.ZodString>;
41
42
  totalRam: z.ZodNullable<z.ZodString>;
@@ -120,6 +121,7 @@ export declare namespace GetOneNodeCommand {
120
121
  loginUrl: string | null;
121
122
  }>>;
122
123
  }, "strip", z.ZodTypeAny, {
124
+ tags: string[];
123
125
  uuid: string;
124
126
  createdAt: Date;
125
127
  updatedAt: Date;
@@ -171,6 +173,7 @@ export declare namespace GetOneNodeCommand {
171
173
  };
172
174
  providerUuid: string | null;
173
175
  }, {
176
+ tags: string[];
174
177
  uuid: string;
175
178
  createdAt: string;
176
179
  updatedAt: string;
@@ -224,6 +227,7 @@ export declare namespace GetOneNodeCommand {
224
227
  }>;
225
228
  }, "strip", z.ZodTypeAny, {
226
229
  response: {
230
+ tags: string[];
227
231
  uuid: string;
228
232
  createdAt: Date;
229
233
  updatedAt: Date;
@@ -277,6 +281,7 @@ export declare namespace GetOneNodeCommand {
277
281
  };
278
282
  }, {
279
283
  response: {
284
+ tags: string[];
280
285
  uuid: string;
281
286
  createdAt: string;
282
287
  updatedAt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
@@ -4,5 +4,6 @@ export * from './delete.command';
4
4
  export * from './get-all.command';
5
5
  export * from './get-one.command';
6
6
  export * from './stats';
7
+ export * from './tags';
7
8
  export * from './update.command';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC"}
@@ -20,4 +20,5 @@ __exportStar(require("./delete.command"), exports);
20
20
  __exportStar(require("./get-all.command"), exports);
21
21
  __exportStar(require("./get-one.command"), exports);
22
22
  __exportStar(require("./stats"), exports);
23
+ __exportStar(require("./tags"), exports);
23
24
  __exportStar(require("./update.command"), exports);
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ export declare namespace GetAllNodesTagsCommand {
3
+ const url: "/api/nodes/tags";
4
+ const TSQ_url: "/api/nodes/tags";
5
+ const endpointDetails: import("../../../constants").EndpointDetails;
6
+ const ResponseSchema: z.ZodObject<{
7
+ response: z.ZodObject<{
8
+ tags: z.ZodArray<z.ZodString, "many">;
9
+ }, "strip", z.ZodTypeAny, {
10
+ tags: string[];
11
+ }, {
12
+ tags: string[];
13
+ }>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ response: {
16
+ tags: string[];
17
+ };
18
+ }, {
19
+ response: {
20
+ tags: string[];
21
+ };
22
+ }>;
23
+ type Response = z.infer<typeof ResponseSchema>;
24
+ }
25
+ //# sourceMappingURL=get-all-nodes-tags.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-nodes-tags.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/tags/get-all-nodes-tags.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,mBAA0B,CAAC;IACpC,MAAM,OAAO,mBAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAllNodesTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
6
+ const api_1 = require("../../../api");
7
+ var GetAllNodesTagsCommand;
8
+ (function (GetAllNodesTagsCommand) {
9
+ GetAllNodesTagsCommand.url = api_1.REST_API.NODES.TAGS.GET;
10
+ GetAllNodesTagsCommand.TSQ_url = GetAllNodesTagsCommand.url;
11
+ GetAllNodesTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.TAGS.GET, 'get', 'Get all existing nodes tags');
12
+ GetAllNodesTagsCommand.ResponseSchema = zod_1.z.object({
13
+ response: zod_1.z.object({
14
+ tags: zod_1.z.array(zod_1.z.string()),
15
+ }),
16
+ });
17
+ })(GetAllNodesTagsCommand || (exports.GetAllNodesTagsCommand = GetAllNodesTagsCommand = {}));
@@ -0,0 +1,2 @@
1
+ export * from './get-all-nodes-tags.command';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/tags/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-all-nodes-tags.command"), exports);
@@ -27,6 +27,7 @@ export declare namespace UpdateNodeCommand {
27
27
  viewPosition: z.ZodNumber;
28
28
  countryCode: z.ZodString;
29
29
  consumptionMultiplier: z.ZodNumber;
30
+ tags: z.ZodArray<z.ZodString, "many">;
30
31
  cpuCount: z.ZodNullable<z.ZodNumber>;
31
32
  cpuModel: z.ZodNullable<z.ZodString>;
32
33
  totalRam: z.ZodNullable<z.ZodString>;
@@ -131,8 +132,10 @@ export declare namespace UpdateNodeCommand {
131
132
  activeInbounds: string[];
132
133
  }>>;
133
134
  providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
134
136
  }, "strip", z.ZodTypeAny, {
135
137
  uuid: string;
138
+ tags?: string[] | undefined;
136
139
  name?: string | undefined;
137
140
  port?: number | undefined;
138
141
  countryCode?: string | undefined;
@@ -149,6 +152,7 @@ export declare namespace UpdateNodeCommand {
149
152
  providerUuid?: string | null | undefined;
150
153
  }, {
151
154
  uuid: string;
155
+ tags?: string[] | undefined;
152
156
  name?: string | undefined;
153
157
  port?: number | undefined;
154
158
  countryCode?: string | undefined;
@@ -190,6 +194,7 @@ export declare namespace UpdateNodeCommand {
190
194
  viewPosition: z.ZodNumber;
191
195
  countryCode: z.ZodString;
192
196
  consumptionMultiplier: z.ZodNumber;
197
+ tags: z.ZodArray<z.ZodString, "many">;
193
198
  cpuCount: z.ZodNullable<z.ZodNumber>;
194
199
  cpuModel: z.ZodNullable<z.ZodString>;
195
200
  totalRam: z.ZodNullable<z.ZodString>;
@@ -274,6 +279,7 @@ export declare namespace UpdateNodeCommand {
274
279
  loginUrl: string | null;
275
280
  }>>;
276
281
  }, "strip", z.ZodTypeAny, {
282
+ tags: string[];
277
283
  uuid: string;
278
284
  createdAt: Date;
279
285
  updatedAt: Date;
@@ -325,6 +331,7 @@ export declare namespace UpdateNodeCommand {
325
331
  };
326
332
  providerUuid: string | null;
327
333
  }, {
334
+ tags: string[];
328
335
  uuid: string;
329
336
  createdAt: string;
330
337
  updatedAt: string;
@@ -378,6 +385,7 @@ export declare namespace UpdateNodeCommand {
378
385
  }>;
379
386
  }, "strip", z.ZodTypeAny, {
380
387
  response: {
388
+ tags: string[];
381
389
  uuid: string;
382
390
  createdAt: Date;
383
391
  updatedAt: Date;
@@ -431,6 +439,7 @@ export declare namespace UpdateNodeCommand {
431
439
  };
432
440
  }, {
433
441
  response: {
442
+ tags: string[];
434
443
  uuid: string;
435
444
  createdAt: string;
436
445
  updatedAt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4CxB,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":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA6CxB,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"}
@@ -43,6 +43,7 @@ var UpdateNodeCommand;
43
43
  })
44
44
  .optional(),
45
45
  providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
46
+ tags: zod_1.z.optional(zod_1.z.array(zod_1.z.string().max(36, 'Tag must be less than 36 characters'))),
46
47
  });
47
48
  UpdateNodeCommand.ResponseSchema = zod_1.z.object({
48
49
  response: models_1.NodesSchema,
@@ -22,6 +22,7 @@ export declare const InfraBillingAvailableNodeSchema: import("zod").ZodObject<Pi
22
22
  viewPosition: import("zod").ZodNumber;
23
23
  countryCode: import("zod").ZodString;
24
24
  consumptionMultiplier: import("zod").ZodNumber;
25
+ tags: import("zod").ZodArray<import("zod").ZodString, "many">;
25
26
  cpuCount: import("zod").ZodNullable<import("zod").ZodNumber>;
26
27
  cpuModel: import("zod").ZodNullable<import("zod").ZodString>;
27
28
  totalRam: import("zod").ZodNullable<import("zod").ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC"}
1
+ {"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC"}
@@ -45,6 +45,7 @@ export declare const InfraBillingNodeSchema: z.ZodObject<{
45
45
  viewPosition: z.ZodNumber;
46
46
  countryCode: z.ZodString;
47
47
  consumptionMultiplier: z.ZodNumber;
48
+ tags: z.ZodArray<z.ZodString, "many">;
48
49
  cpuCount: z.ZodNullable<z.ZodNumber>;
49
50
  cpuModel: z.ZodNullable<z.ZodString>;
50
51
  totalRam: z.ZodNullable<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
1
+ {"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
@@ -23,6 +23,7 @@ export declare const NodesSchema: z.ZodObject<{
23
23
  viewPosition: z.ZodNumber;
24
24
  countryCode: z.ZodString;
25
25
  consumptionMultiplier: z.ZodNumber;
26
+ tags: z.ZodArray<z.ZodString, "many">;
26
27
  cpuCount: z.ZodNullable<z.ZodNumber>;
27
28
  cpuModel: z.ZodNullable<z.ZodString>;
28
29
  totalRam: z.ZodNullable<z.ZodString>;
@@ -107,6 +108,7 @@ export declare const NodesSchema: z.ZodObject<{
107
108
  loginUrl: string | null;
108
109
  }>>;
109
110
  }, "strip", z.ZodTypeAny, {
111
+ tags: string[];
110
112
  uuid: string;
111
113
  createdAt: Date;
112
114
  updatedAt: Date;
@@ -158,6 +160,7 @@ export declare const NodesSchema: z.ZodObject<{
158
160
  };
159
161
  providerUuid: string | null;
160
162
  }, {
163
+ tags: string[];
161
164
  uuid: string;
162
165
  createdAt: string;
163
166
  updatedAt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDtB,CAAC"}
1
+ {"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDtB,CAAC"}
@@ -31,6 +31,7 @@ exports.NodesSchema = zod_1.z.object({
31
31
  viewPosition: zod_1.z.number().int(),
32
32
  countryCode: zod_1.z.string(),
33
33
  consumptionMultiplier: zod_1.z.number(),
34
+ tags: zod_1.z.array(zod_1.z.string()),
34
35
  cpuCount: zod_1.z.nullable(zod_1.z.number().int()),
35
36
  cpuModel: zod_1.z.nullable(zod_1.z.string()),
36
37
  totalRam: zod_1.z.nullable(zod_1.z.string()),
@@ -22,4 +22,7 @@ exports.NODES_ROUTES = {
22
22
  USAGE_BY_RANGE_USER: (uuid) => `usage/${uuid}/users/range`,
23
23
  USAGE_REALTIME: 'usage/realtime',
24
24
  },
25
+ TAGS: {
26
+ GET: 'tags',
27
+ },
25
28
  };
@@ -75,6 +75,9 @@ exports.REST_API = {
75
75
  GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.GET_BY_UUID(uuid)}`,
76
76
  UPDATE: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.UPDATE}`,
77
77
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.DELETE(uuid)}`,
78
+ TAGS: {
79
+ GET: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.TAGS.GET}`,
80
+ },
78
81
  ACTIONS: {
79
82
  ENABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ACTIONS.ENABLE(uuid)}`,
80
83
  DISABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ACTIONS.DISABLE(uuid)}`,
@@ -47,6 +47,7 @@ var CreateNodeCommand;
47
47
  }),
48
48
  }),
49
49
  providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
50
+ tags: zod_1.z.optional(zod_1.z.array(zod_1.z.string().max(36, 'Tag must be less than 36 characters'))),
50
51
  });
51
52
  CreateNodeCommand.ResponseSchema = zod_1.z.object({
52
53
  response: models_1.NodesSchema,
@@ -20,4 +20,5 @@ __exportStar(require("./delete.command"), exports);
20
20
  __exportStar(require("./get-all.command"), exports);
21
21
  __exportStar(require("./get-one.command"), exports);
22
22
  __exportStar(require("./stats"), exports);
23
+ __exportStar(require("./tags"), exports);
23
24
  __exportStar(require("./update.command"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAllNodesTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
6
+ const api_1 = require("../../../api");
7
+ var GetAllNodesTagsCommand;
8
+ (function (GetAllNodesTagsCommand) {
9
+ GetAllNodesTagsCommand.url = api_1.REST_API.NODES.TAGS.GET;
10
+ GetAllNodesTagsCommand.TSQ_url = GetAllNodesTagsCommand.url;
11
+ GetAllNodesTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.TAGS.GET, 'get', 'Get all existing nodes tags');
12
+ GetAllNodesTagsCommand.ResponseSchema = zod_1.z.object({
13
+ response: zod_1.z.object({
14
+ tags: zod_1.z.array(zod_1.z.string()),
15
+ }),
16
+ });
17
+ })(GetAllNodesTagsCommand || (exports.GetAllNodesTagsCommand = GetAllNodesTagsCommand = {}));
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-all-nodes-tags.command"), exports);
@@ -43,6 +43,7 @@ var UpdateNodeCommand;
43
43
  })
44
44
  .optional(),
45
45
  providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
46
+ tags: zod_1.z.optional(zod_1.z.array(zod_1.z.string().max(36, 'Tag must be less than 36 characters'))),
46
47
  });
47
48
  UpdateNodeCommand.ResponseSchema = zod_1.z.object({
48
49
  response: models_1.NodesSchema,
@@ -31,6 +31,7 @@ exports.NodesSchema = zod_1.z.object({
31
31
  viewPosition: zod_1.z.number().int(),
32
32
  countryCode: zod_1.z.string(),
33
33
  consumptionMultiplier: zod_1.z.number(),
34
+ tags: zod_1.z.array(zod_1.z.string()),
34
35
  cpuCount: zod_1.z.nullable(zod_1.z.number().int()),
35
36
  cpuModel: zod_1.z.nullable(zod_1.z.string()),
36
37
  totalRam: zod_1.z.nullable(zod_1.z.string()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.3.11",
3
+ "version": "2.3.13",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",