@remnawave/backend-contract 2.0.0-alpha.19 → 2.0.0-alpha.2

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 (146) 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/users.d.ts +0 -1
  5. package/build/backend/api/controllers/users.d.ts.map +1 -1
  6. package/build/backend/api/controllers/users.js +0 -1
  7. package/build/backend/api/routes.d.ts +0 -15
  8. package/build/backend/api/routes.d.ts.map +1 -1
  9. package/build/backend/api/routes.js +0 -15
  10. package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
  11. package/build/backend/commands/hosts/create.command.d.ts +6 -6
  12. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  13. package/build/backend/commands/hosts/create.command.js +2 -4
  14. package/build/backend/commands/index.d.ts +0 -1
  15. package/build/backend/commands/index.d.ts.map +1 -1
  16. package/build/backend/commands/index.js +0 -1
  17. package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
  18. package/build/backend/commands/nodes/actions/disable.command.d.ts +0 -59
  19. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  20. package/build/backend/commands/nodes/actions/enable.command.d.ts +0 -59
  21. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  22. package/build/backend/commands/nodes/actions/reorder.command.d.ts +0 -82
  23. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  24. package/build/backend/commands/nodes/create.command.d.ts +0 -62
  25. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  26. package/build/backend/commands/nodes/create.command.js +0 -1
  27. package/build/backend/commands/nodes/get-all.command.d.ts +0 -59
  28. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  29. package/build/backend/commands/nodes/get-one.command.d.ts +0 -59
  30. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  31. package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
  32. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
  33. package/build/backend/commands/nodes/update.command.d.ts +0 -85
  34. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  35. package/build/backend/commands/nodes/update.command.js +0 -1
  36. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
  37. package/build/backend/commands/users/index.d.ts +0 -1
  38. package/build/backend/commands/users/index.d.ts.map +1 -1
  39. package/build/backend/commands/users/index.js +0 -1
  40. package/build/backend/constants/errors/errors.d.ts +0 -75
  41. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  42. package/build/backend/constants/errors/errors.js +0 -75
  43. package/build/backend/constants/events/events.d.ts +0 -11
  44. package/build/backend/constants/events/events.d.ts.map +1 -1
  45. package/build/backend/constants/events/events.js +0 -10
  46. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  47. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  48. package/build/backend/constants/templates/template-keys.js +0 -1
  49. package/build/backend/models/index.d.ts +0 -4
  50. package/build/backend/models/index.d.ts.map +1 -1
  51. package/build/backend/models/index.js +0 -4
  52. package/build/backend/models/nodes.schema.d.ts +0 -41
  53. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  54. package/build/backend/models/nodes.schema.js +0 -3
  55. package/build/frontend/api/controllers/index.js +0 -1
  56. package/build/frontend/api/controllers/users.js +0 -1
  57. package/build/frontend/api/routes.js +0 -15
  58. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  59. package/build/frontend/commands/hosts/create.command.js +2 -4
  60. package/build/frontend/commands/index.js +0 -1
  61. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  62. package/build/frontend/commands/nodes/create.command.js +0 -1
  63. package/build/frontend/commands/nodes/update.command.js +0 -1
  64. package/build/frontend/commands/users/index.js +0 -1
  65. package/build/frontend/constants/errors/errors.js +0 -75
  66. package/build/frontend/constants/events/events.js +0 -10
  67. package/build/frontend/constants/templates/template-keys.js +0 -1
  68. package/build/frontend/models/index.js +0 -4
  69. package/build/frontend/models/nodes.schema.js +0 -3
  70. package/package.json +1 -1
  71. package/build/backend/api/controllers/infra-billing.d.ts +0 -16
  72. package/build/backend/api/controllers/infra-billing.d.ts.map +0 -1
  73. package/build/backend/api/controllers/infra-billing.js +0 -18
  74. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +0 -125
  75. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +0 -1
  76. package/build/backend/commands/infra-billing/create-bill-record.command.js +0 -30
  77. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +0 -413
  78. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +0 -1
  79. package/build/backend/commands/infra-billing/create-billing-node.command.js +0 -38
  80. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +0 -123
  81. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +0 -1
  82. package/build/backend/commands/infra-billing/create-infra-provider.command.js +0 -24
  83. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +0 -119
  84. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +0 -1
  85. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
  86. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +0 -407
  87. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +0 -1
  88. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
  89. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +0 -33
  90. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +0 -1
  91. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
  92. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +0 -122
  93. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +0 -1
  94. package/build/backend/commands/infra-billing/get-bill-records.command.js +0 -31
  95. package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts +0 -399
  96. package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts.map +0 -1
  97. package/build/backend/commands/infra-billing/get-blling-nodes.command.js +0 -26
  98. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +0 -117
  99. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +0 -1
  100. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
  101. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +0 -156
  102. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +0 -1
  103. package/build/backend/commands/infra-billing/get-infra-providers.command.js +0 -19
  104. package/build/backend/commands/infra-billing/index.d.ts +0 -13
  105. package/build/backend/commands/infra-billing/index.d.ts.map +0 -1
  106. package/build/backend/commands/infra-billing/index.js +0 -28
  107. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +0 -410
  108. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +0 -1
  109. package/build/backend/commands/infra-billing/update-billing-node.command.js +0 -35
  110. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +0 -126
  111. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +0 -1
  112. package/build/backend/commands/infra-billing/update-infra-provider.command.js +0 -26
  113. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +0 -114
  114. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +0 -1
  115. package/build/backend/commands/users/get-user-accessible-nodes.command.js +0 -31
  116. package/build/backend/models/infra-billing-available-node.schema.d.ts +0 -90
  117. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +0 -1
  118. package/build/backend/models/infra-billing-available-node.schema.js +0 -9
  119. package/build/backend/models/infra-billing-history-record.schema.d.ts +0 -44
  120. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +0 -1
  121. package/build/backend/models/infra-billing-history-record.schema.js +0 -19
  122. package/build/backend/models/infra-billing-node.schema.d.ts +0 -153
  123. package/build/backend/models/infra-billing-node.schema.d.ts.map +0 -1
  124. package/build/backend/models/infra-billing-node.schema.js +0 -34
  125. package/build/backend/models/infra-provider.schema.d.ts +0 -87
  126. package/build/backend/models/infra-provider.schema.d.ts.map +0 -1
  127. package/build/backend/models/infra-provider.schema.js +0 -41
  128. package/build/frontend/api/controllers/infra-billing.js +0 -18
  129. package/build/frontend/commands/infra-billing/create-bill-record.command.js +0 -30
  130. package/build/frontend/commands/infra-billing/create-billing-node.command.js +0 -38
  131. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +0 -24
  132. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
  133. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
  134. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
  135. package/build/frontend/commands/infra-billing/get-bill-records.command.js +0 -31
  136. package/build/frontend/commands/infra-billing/get-blling-nodes.command.js +0 -26
  137. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
  138. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +0 -19
  139. package/build/frontend/commands/infra-billing/index.js +0 -28
  140. package/build/frontend/commands/infra-billing/update-billing-node.command.js +0 -35
  141. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +0 -26
  142. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +0 -31
  143. package/build/frontend/models/infra-billing-available-node.schema.js +0 -9
  144. package/build/frontend/models/infra-billing-history-record.schema.js +0 -19
  145. package/build/frontend/models/infra-billing-node.schema.js +0 -34
  146. package/build/frontend/models/infra-provider.schema.js +0 -41
@@ -15,7 +15,6 @@ export declare namespace CreateNodeCommand {
15
15
  consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
16
16
  activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
17
17
  activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
- providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
18
  }, "strip", z.ZodTypeAny, {
20
19
  name: string;
21
20
  countryCode: string;
@@ -28,7 +27,6 @@ export declare namespace CreateNodeCommand {
28
27
  consumptionMultiplier?: number | undefined;
29
28
  activeConfigProfileUuid?: string | undefined;
30
29
  activeInbounds?: string[] | undefined;
31
- providerUuid?: string | null | undefined;
32
30
  }, {
33
31
  name: string;
34
32
  address: string;
@@ -41,7 +39,6 @@ export declare namespace CreateNodeCommand {
41
39
  consumptionMultiplier?: number | undefined;
42
40
  activeConfigProfileUuid?: string | undefined;
43
41
  activeInbounds?: string[] | undefined;
44
- providerUuid?: string | null | undefined;
45
42
  }>;
46
43
  type Request = z.infer<typeof RequestSchema>;
47
44
  const ResponseSchema: z.ZodObject<{
@@ -102,29 +99,6 @@ export declare namespace CreateNodeCommand {
102
99
  port: number | null;
103
100
  rawInbound?: unknown;
104
101
  }>, "many">>;
105
- providerUuid: z.ZodNullable<z.ZodString>;
106
- provider: z.ZodNullable<z.ZodObject<{
107
- uuid: z.ZodString;
108
- name: z.ZodString;
109
- faviconLink: z.ZodNullable<z.ZodString>;
110
- loginUrl: z.ZodNullable<z.ZodString>;
111
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
112
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
113
- }, "strip", z.ZodTypeAny, {
114
- uuid: string;
115
- createdAt: Date;
116
- updatedAt: Date;
117
- name: string;
118
- faviconLink: string | null;
119
- loginUrl: string | null;
120
- }, {
121
- uuid: string;
122
- createdAt: string;
123
- updatedAt: string;
124
- name: string;
125
- faviconLink: string | null;
126
- loginUrl: string | null;
127
- }>>;
128
102
  }, "strip", z.ZodTypeAny, {
129
103
  uuid: string;
130
104
  createdAt: Date;
@@ -164,15 +138,6 @@ export declare namespace CreateNodeCommand {
164
138
  port: number | null;
165
139
  rawInbound?: unknown;
166
140
  }[] | null;
167
- providerUuid: string | null;
168
- provider: {
169
- uuid: string;
170
- createdAt: Date;
171
- updatedAt: Date;
172
- name: string;
173
- faviconLink: string | null;
174
- loginUrl: string | null;
175
- } | null;
176
141
  }, {
177
142
  uuid: string;
178
143
  createdAt: string;
@@ -212,15 +177,6 @@ export declare namespace CreateNodeCommand {
212
177
  port: number | null;
213
178
  rawInbound?: unknown;
214
179
  }[] | null;
215
- providerUuid: string | null;
216
- provider: {
217
- uuid: string;
218
- createdAt: string;
219
- updatedAt: string;
220
- name: string;
221
- faviconLink: string | null;
222
- loginUrl: string | null;
223
- } | null;
224
180
  }>;
225
181
  }, "strip", z.ZodTypeAny, {
226
182
  response: {
@@ -262,15 +218,6 @@ export declare namespace CreateNodeCommand {
262
218
  port: number | null;
263
219
  rawInbound?: unknown;
264
220
  }[] | null;
265
- providerUuid: string | null;
266
- provider: {
267
- uuid: string;
268
- createdAt: Date;
269
- updatedAt: Date;
270
- name: string;
271
- faviconLink: string | null;
272
- loginUrl: string | null;
273
- } | null;
274
221
  };
275
222
  }, {
276
223
  response: {
@@ -312,15 +259,6 @@ export declare namespace CreateNodeCommand {
312
259
  port: number | null;
313
260
  rawInbound?: unknown;
314
261
  }[] | null;
315
- providerUuid: string | null;
316
- provider: {
317
- uuid: string;
318
- createdAt: string;
319
- updatedAt: string;
320
- name: string;
321
- faviconLink: string | null;
322
- loginUrl: string | null;
323
- } | null;
324
262
  };
325
263
  }>;
326
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;IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -39,7 +39,6 @@ var CreateNodeCommand;
39
39
  activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
40
40
  invalid_type_error: 'Active inbounds must be an array of UUIDs',
41
41
  })),
42
- providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
43
42
  });
44
43
  CreateNodeCommand.ResponseSchema = zod_1.z.object({
45
44
  response: models_1.NodesSchema,
@@ -61,29 +61,6 @@ export declare namespace GetAllNodesCommand {
61
61
  port: number | null;
62
62
  rawInbound?: unknown;
63
63
  }>, "many">>;
64
- providerUuid: z.ZodNullable<z.ZodString>;
65
- provider: z.ZodNullable<z.ZodObject<{
66
- uuid: z.ZodString;
67
- name: z.ZodString;
68
- faviconLink: z.ZodNullable<z.ZodString>;
69
- loginUrl: z.ZodNullable<z.ZodString>;
70
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
71
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
72
- }, "strip", z.ZodTypeAny, {
73
- uuid: string;
74
- createdAt: Date;
75
- updatedAt: Date;
76
- name: string;
77
- faviconLink: string | null;
78
- loginUrl: string | null;
79
- }, {
80
- uuid: string;
81
- createdAt: string;
82
- updatedAt: string;
83
- name: string;
84
- faviconLink: string | null;
85
- loginUrl: string | null;
86
- }>>;
87
64
  }, "strip", z.ZodTypeAny, {
88
65
  uuid: string;
89
66
  createdAt: Date;
@@ -123,15 +100,6 @@ export declare namespace GetAllNodesCommand {
123
100
  port: number | null;
124
101
  rawInbound?: unknown;
125
102
  }[] | null;
126
- providerUuid: string | null;
127
- provider: {
128
- uuid: string;
129
- createdAt: Date;
130
- updatedAt: Date;
131
- name: string;
132
- faviconLink: string | null;
133
- loginUrl: string | null;
134
- } | null;
135
103
  }, {
136
104
  uuid: string;
137
105
  createdAt: string;
@@ -171,15 +139,6 @@ export declare namespace GetAllNodesCommand {
171
139
  port: number | null;
172
140
  rawInbound?: unknown;
173
141
  }[] | null;
174
- providerUuid: string | null;
175
- provider: {
176
- uuid: string;
177
- createdAt: string;
178
- updatedAt: string;
179
- name: string;
180
- faviconLink: string | null;
181
- loginUrl: string | null;
182
- } | null;
183
142
  }>, "many">;
184
143
  }, "strip", z.ZodTypeAny, {
185
144
  response: {
@@ -221,15 +180,6 @@ export declare namespace GetAllNodesCommand {
221
180
  port: number | null;
222
181
  rawInbound?: unknown;
223
182
  }[] | null;
224
- providerUuid: string | null;
225
- provider: {
226
- uuid: string;
227
- createdAt: Date;
228
- updatedAt: Date;
229
- name: string;
230
- faviconLink: string | null;
231
- loginUrl: string | null;
232
- } | null;
233
183
  }[];
234
184
  }, {
235
185
  response: {
@@ -271,15 +221,6 @@ export declare namespace GetAllNodesCommand {
271
221
  port: number | null;
272
222
  rawInbound?: unknown;
273
223
  }[] | null;
274
- providerUuid: string | null;
275
- provider: {
276
- uuid: string;
277
- createdAt: string;
278
- updatedAt: string;
279
- name: string;
280
- faviconLink: string | null;
281
- loginUrl: string | null;
282
- } | null;
283
224
  }[];
284
225
  }>;
285
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"}
@@ -69,29 +69,6 @@ export declare namespace GetOneNodeCommand {
69
69
  port: number | null;
70
70
  rawInbound?: unknown;
71
71
  }>, "many">>;
72
- providerUuid: z.ZodNullable<z.ZodString>;
73
- provider: z.ZodNullable<z.ZodObject<{
74
- uuid: z.ZodString;
75
- name: z.ZodString;
76
- faviconLink: z.ZodNullable<z.ZodString>;
77
- loginUrl: z.ZodNullable<z.ZodString>;
78
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
79
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
80
- }, "strip", z.ZodTypeAny, {
81
- uuid: string;
82
- createdAt: Date;
83
- updatedAt: Date;
84
- name: string;
85
- faviconLink: string | null;
86
- loginUrl: string | null;
87
- }, {
88
- uuid: string;
89
- createdAt: string;
90
- updatedAt: string;
91
- name: string;
92
- faviconLink: string | null;
93
- loginUrl: string | null;
94
- }>>;
95
72
  }, "strip", z.ZodTypeAny, {
96
73
  uuid: string;
97
74
  createdAt: Date;
@@ -131,15 +108,6 @@ export declare namespace GetOneNodeCommand {
131
108
  port: number | null;
132
109
  rawInbound?: unknown;
133
110
  }[] | null;
134
- providerUuid: string | null;
135
- provider: {
136
- uuid: string;
137
- createdAt: Date;
138
- updatedAt: Date;
139
- name: string;
140
- faviconLink: string | null;
141
- loginUrl: string | null;
142
- } | null;
143
111
  }, {
144
112
  uuid: string;
145
113
  createdAt: string;
@@ -179,15 +147,6 @@ export declare namespace GetOneNodeCommand {
179
147
  port: number | null;
180
148
  rawInbound?: unknown;
181
149
  }[] | null;
182
- providerUuid: string | null;
183
- provider: {
184
- uuid: string;
185
- createdAt: string;
186
- updatedAt: string;
187
- name: string;
188
- faviconLink: string | null;
189
- loginUrl: string | null;
190
- } | null;
191
150
  }>;
192
151
  }, "strip", z.ZodTypeAny, {
193
152
  response: {
@@ -229,15 +188,6 @@ export declare namespace GetOneNodeCommand {
229
188
  port: number | null;
230
189
  rawInbound?: unknown;
231
190
  }[] | null;
232
- providerUuid: string | null;
233
- provider: {
234
- uuid: string;
235
- createdAt: Date;
236
- updatedAt: Date;
237
- name: string;
238
- faviconLink: string | null;
239
- loginUrl: string | null;
240
- } | null;
241
191
  };
242
192
  }, {
243
193
  response: {
@@ -279,15 +229,6 @@ export declare namespace GetOneNodeCommand {
279
229
  port: number | null;
280
230
  rawInbound?: unknown;
281
231
  }[] | null;
282
- providerUuid: string | null;
283
- provider: {
284
- uuid: string;
285
- createdAt: string;
286
- updatedAt: string;
287
- name: string;
288
- faviconLink: string | null;
289
- loginUrl: string | null;
290
- } | null;
291
232
  };
292
233
  }>;
293
234
  type Response = z.infer<typeof ResponseSchema>;
@@ -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"}
@@ -33,30 +33,30 @@ export declare namespace GetNodeUserUsageByRangeCommand {
33
33
  date: Date;
34
34
  username: string;
35
35
  userUuid: string;
36
- nodeUuid: string;
37
36
  total: number;
37
+ nodeUuid: string;
38
38
  }, {
39
39
  date: string;
40
40
  username: string;
41
41
  userUuid: string;
42
- nodeUuid: string;
43
42
  total: number;
43
+ nodeUuid: string;
44
44
  }>, "many">;
45
45
  }, "strip", z.ZodTypeAny, {
46
46
  response: {
47
47
  date: Date;
48
48
  username: string;
49
49
  userUuid: string;
50
- nodeUuid: string;
51
50
  total: number;
51
+ nodeUuid: string;
52
52
  }[];
53
53
  }, {
54
54
  response: {
55
55
  date: string;
56
56
  username: string;
57
57
  userUuid: string;
58
- nodeUuid: string;
59
58
  total: number;
59
+ nodeUuid: string;
60
60
  }[];
61
61
  }>;
62
62
  type Response = z.infer<typeof ResponseSchema>;
@@ -28,8 +28,8 @@ export declare namespace GetNodesUsageByRangeCommand {
28
28
  }, "strip", z.ZodTypeAny, {
29
29
  date: Date;
30
30
  nodeName: string;
31
- nodeUuid: string;
32
31
  total: number;
32
+ nodeUuid: string;
33
33
  totalDownload: number;
34
34
  totalUpload: number;
35
35
  humanReadableTotal: string;
@@ -38,8 +38,8 @@ export declare namespace GetNodesUsageByRangeCommand {
38
38
  }, {
39
39
  date: string;
40
40
  nodeName: string;
41
- nodeUuid: string;
42
41
  total: number;
42
+ nodeUuid: string;
43
43
  totalDownload: number;
44
44
  totalUpload: number;
45
45
  humanReadableTotal: string;
@@ -50,8 +50,8 @@ export declare namespace GetNodesUsageByRangeCommand {
50
50
  response: {
51
51
  date: Date;
52
52
  nodeName: string;
53
- nodeUuid: string;
54
53
  total: number;
54
+ nodeUuid: string;
55
55
  totalDownload: number;
56
56
  totalUpload: number;
57
57
  humanReadableTotal: string;
@@ -62,8 +62,8 @@ export declare namespace GetNodesUsageByRangeCommand {
62
62
  response: {
63
63
  date: string;
64
64
  nodeName: string;
65
- nodeUuid: string;
66
65
  total: number;
66
+ nodeUuid: string;
67
67
  totalDownload: number;
68
68
  totalUpload: number;
69
69
  humanReadableTotal: string;
@@ -60,29 +60,6 @@ export declare namespace UpdateNodeCommand {
60
60
  port: number | null;
61
61
  rawInbound?: unknown;
62
62
  }>, "many">>;
63
- providerUuid: z.ZodNullable<z.ZodString>;
64
- provider: z.ZodNullable<z.ZodObject<{
65
- uuid: z.ZodString;
66
- name: z.ZodString;
67
- faviconLink: z.ZodNullable<z.ZodString>;
68
- loginUrl: z.ZodNullable<z.ZodString>;
69
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
70
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
71
- }, "strip", z.ZodTypeAny, {
72
- uuid: string;
73
- createdAt: Date;
74
- updatedAt: Date;
75
- name: string;
76
- faviconLink: string | null;
77
- loginUrl: string | null;
78
- }, {
79
- uuid: string;
80
- createdAt: string;
81
- updatedAt: string;
82
- name: string;
83
- faviconLink: string | null;
84
- loginUrl: string | null;
85
- }>>;
86
63
  }, "uuid"> & {
87
64
  name: z.ZodOptional<z.ZodString>;
88
65
  address: z.ZodOptional<z.ZodString>;
@@ -95,7 +72,6 @@ export declare namespace UpdateNodeCommand {
95
72
  consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
96
73
  activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
97
74
  activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
98
- providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
75
  }, "strip", z.ZodTypeAny, {
100
76
  uuid: string;
101
77
  name?: string | undefined;
@@ -109,7 +85,6 @@ export declare namespace UpdateNodeCommand {
109
85
  consumptionMultiplier?: number | undefined;
110
86
  activeConfigProfileUuid?: string | undefined;
111
87
  activeInbounds?: string[] | undefined;
112
- providerUuid?: string | null | undefined;
113
88
  }, {
114
89
  uuid: string;
115
90
  name?: string | undefined;
@@ -123,7 +98,6 @@ export declare namespace UpdateNodeCommand {
123
98
  consumptionMultiplier?: number | undefined;
124
99
  activeConfigProfileUuid?: string | undefined;
125
100
  activeInbounds?: string[] | undefined;
126
- providerUuid?: string | null | undefined;
127
101
  }>;
128
102
  type Request = z.infer<typeof RequestSchema>;
129
103
  const ResponseSchema: z.ZodObject<{
@@ -184,29 +158,6 @@ export declare namespace UpdateNodeCommand {
184
158
  port: number | null;
185
159
  rawInbound?: unknown;
186
160
  }>, "many">>;
187
- providerUuid: z.ZodNullable<z.ZodString>;
188
- provider: z.ZodNullable<z.ZodObject<{
189
- uuid: z.ZodString;
190
- name: z.ZodString;
191
- faviconLink: z.ZodNullable<z.ZodString>;
192
- loginUrl: z.ZodNullable<z.ZodString>;
193
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
194
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
195
- }, "strip", z.ZodTypeAny, {
196
- uuid: string;
197
- createdAt: Date;
198
- updatedAt: Date;
199
- name: string;
200
- faviconLink: string | null;
201
- loginUrl: string | null;
202
- }, {
203
- uuid: string;
204
- createdAt: string;
205
- updatedAt: string;
206
- name: string;
207
- faviconLink: string | null;
208
- loginUrl: string | null;
209
- }>>;
210
161
  }, "strip", z.ZodTypeAny, {
211
162
  uuid: string;
212
163
  createdAt: Date;
@@ -246,15 +197,6 @@ export declare namespace UpdateNodeCommand {
246
197
  port: number | null;
247
198
  rawInbound?: unknown;
248
199
  }[] | null;
249
- providerUuid: string | null;
250
- provider: {
251
- uuid: string;
252
- createdAt: Date;
253
- updatedAt: Date;
254
- name: string;
255
- faviconLink: string | null;
256
- loginUrl: string | null;
257
- } | null;
258
200
  }, {
259
201
  uuid: string;
260
202
  createdAt: string;
@@ -294,15 +236,6 @@ export declare namespace UpdateNodeCommand {
294
236
  port: number | null;
295
237
  rawInbound?: unknown;
296
238
  }[] | null;
297
- providerUuid: string | null;
298
- provider: {
299
- uuid: string;
300
- createdAt: string;
301
- updatedAt: string;
302
- name: string;
303
- faviconLink: string | null;
304
- loginUrl: string | null;
305
- } | null;
306
239
  }>;
307
240
  }, "strip", z.ZodTypeAny, {
308
241
  response: {
@@ -344,15 +277,6 @@ export declare namespace UpdateNodeCommand {
344
277
  port: number | null;
345
278
  rawInbound?: unknown;
346
279
  }[] | null;
347
- providerUuid: string | null;
348
- provider: {
349
- uuid: string;
350
- createdAt: Date;
351
- updatedAt: Date;
352
- name: string;
353
- faviconLink: string | null;
354
- loginUrl: string | null;
355
- } | null;
356
280
  };
357
281
  }, {
358
282
  response: {
@@ -394,15 +318,6 @@ export declare namespace UpdateNodeCommand {
394
318
  port: number | null;
395
319
  rawInbound?: unknown;
396
320
  }[] | null;
397
- providerUuid: string | null;
398
- provider: {
399
- uuid: string;
400
- createdAt: string;
401
- updatedAt: string;
402
- name: string;
403
- faviconLink: string | null;
404
- loginUrl: string | null;
405
- } | null;
406
321
  };
407
322
  }>;
408
323
  type Response = z.infer<typeof ResponseSchema>;
@@ -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;I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -35,7 +35,6 @@ var UpdateNodeCommand;
35
35
  activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
36
36
  invalid_type_error: 'Active inbounds must be an array of UUIDs',
37
37
  })),
38
- providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
39
38
  });
40
39
  UpdateNodeCommand.ResponseSchema = zod_1.z.object({
41
40
  response: models_1.NodesSchema,
@@ -33,30 +33,30 @@ export declare namespace GetUserUsageByRangeCommand {
33
33
  date: Date;
34
34
  nodeName: string;
35
35
  userUuid: string;
36
- nodeUuid: string;
37
36
  total: number;
37
+ nodeUuid: string;
38
38
  }, {
39
39
  date: string;
40
40
  nodeName: string;
41
41
  userUuid: string;
42
- nodeUuid: string;
43
42
  total: number;
43
+ nodeUuid: string;
44
44
  }>, "many">;
45
45
  }, "strip", z.ZodTypeAny, {
46
46
  response: {
47
47
  date: Date;
48
48
  nodeName: string;
49
49
  userUuid: string;
50
- nodeUuid: string;
51
50
  total: number;
51
+ nodeUuid: string;
52
52
  }[];
53
53
  }, {
54
54
  response: {
55
55
  date: string;
56
56
  nodeName: string;
57
57
  userUuid: string;
58
- nodeUuid: string;
59
58
  total: number;
59
+ nodeUuid: string;
60
60
  }[];
61
61
  }>;
62
62
  type Response = z.infer<typeof ResponseSchema>;
@@ -5,7 +5,6 @@ export * from './create-user.command';
5
5
  export * from './delete-user.command';
6
6
  export * from './get-all-users.command';
7
7
  export * from './get-by';
8
- export * from './get-user-accessible-nodes.command';
9
8
  export * from './get-user-by-uuid.command';
10
9
  export * from './get-user-usage-by-range.command';
11
10
  export * from './tags';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAE3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,UAAU,CAAC;AAEzB,cAAc,qCAAqC,CAAC;AAEpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAElD,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAE3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,UAAU,CAAC;AAEzB,cAAc,4BAA4B,CAAC;AAE3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,QAAQ,CAAC;AAEvB,cAAc,uBAAuB,CAAC"}
@@ -21,7 +21,6 @@ __exportStar(require("./create-user.command"), exports);
21
21
  __exportStar(require("./delete-user.command"), exports);
22
22
  __exportStar(require("./get-all-users.command"), exports);
23
23
  __exportStar(require("./get-by"), exports);
24
- __exportStar(require("./get-user-accessible-nodes.command"), exports);
25
24
  __exportStar(require("./get-user-by-uuid.command"), exports);
26
25
  __exportStar(require("./get-user-usage-by-range.command"), exports);
27
26
  __exportStar(require("./tags"), exports);