@remnawave/backend-contract 2.0.0-alpha.7 → 2.0.0-alpha.9

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 (83) hide show
  1. package/build/backend/api/controllers/index.d.ts +1 -0
  2. package/build/backend/api/controllers/index.d.ts.map +1 -1
  3. package/build/backend/api/controllers/index.js +1 -0
  4. package/build/backend/api/controllers/infra-billing.d.ts +16 -0
  5. package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
  6. package/build/backend/api/controllers/infra-billing.js +22 -0
  7. package/build/backend/api/routes.d.ts +14 -0
  8. package/build/backend/api/routes.d.ts.map +1 -1
  9. package/build/backend/api/routes.js +14 -0
  10. package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
  11. package/build/backend/commands/index.d.ts +1 -0
  12. package/build/backend/commands/index.d.ts.map +1 -1
  13. package/build/backend/commands/index.js +1 -0
  14. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +64 -0
  15. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
  16. package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
  17. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
  18. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
  19. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  20. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +58 -0
  21. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
  22. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  23. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +79 -0
  24. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
  25. package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
  26. package/build/backend/commands/infra-billing/index.d.ts +6 -0
  27. package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
  28. package/build/backend/commands/infra-billing/index.js +21 -0
  29. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +67 -0
  30. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
  31. package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
  32. package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
  33. package/build/backend/commands/nodes/actions/disable.command.d.ts +59 -0
  34. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  35. package/build/backend/commands/nodes/actions/enable.command.d.ts +59 -0
  36. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  37. package/build/backend/commands/nodes/actions/reorder.command.d.ts +82 -0
  38. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  39. package/build/backend/commands/nodes/create.command.d.ts +62 -0
  40. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  41. package/build/backend/commands/nodes/create.command.js +1 -0
  42. package/build/backend/commands/nodes/get-all.command.d.ts +59 -0
  43. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  44. package/build/backend/commands/nodes/get-one.command.d.ts +59 -0
  45. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  46. package/build/backend/commands/nodes/update.command.d.ts +85 -0
  47. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  48. package/build/backend/commands/nodes/update.command.js +1 -0
  49. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +39 -93
  50. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -1
  51. package/build/backend/commands/users/get-user-accessible-nodes.command.js +5 -9
  52. package/build/backend/constants/errors/errors.d.ts +30 -0
  53. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  54. package/build/backend/constants/errors/errors.js +30 -0
  55. package/build/backend/models/index.d.ts +1 -0
  56. package/build/backend/models/index.d.ts.map +1 -1
  57. package/build/backend/models/index.js +1 -0
  58. package/build/backend/models/infra-provider.schema.d.ts +24 -0
  59. package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
  60. package/build/backend/models/infra-provider.schema.js +18 -0
  61. package/build/backend/models/nodes.schema.d.ts +41 -0
  62. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  63. package/build/backend/models/nodes.schema.js +3 -0
  64. package/build/frontend/api/controllers/index.js +1 -0
  65. package/build/frontend/api/controllers/infra-billing.js +22 -0
  66. package/build/frontend/api/routes.js +14 -0
  67. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  68. package/build/frontend/commands/index.js +1 -0
  69. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
  70. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  71. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  72. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
  73. package/build/frontend/commands/infra-billing/index.js +21 -0
  74. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
  75. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  76. package/build/frontend/commands/nodes/create.command.js +1 -0
  77. package/build/frontend/commands/nodes/update.command.js +1 -0
  78. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +5 -9
  79. package/build/frontend/constants/errors/errors.js +30 -0
  80. package/build/frontend/models/index.js +1 -0
  81. package/build/frontend/models/infra-provider.schema.js +18 -0
  82. package/build/frontend/models/nodes.schema.js +3 -0
  83. package/package.json +1 -1
@@ -60,6 +60,29 @@ 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
+ }>>;
63
86
  }, "uuid"> & {
64
87
  name: z.ZodOptional<z.ZodString>;
65
88
  address: z.ZodOptional<z.ZodString>;
@@ -72,6 +95,7 @@ export declare namespace UpdateNodeCommand {
72
95
  consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
73
96
  activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
74
97
  activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
98
+ providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
99
  }, "strip", z.ZodTypeAny, {
76
100
  uuid: string;
77
101
  name?: string | undefined;
@@ -85,6 +109,7 @@ export declare namespace UpdateNodeCommand {
85
109
  consumptionMultiplier?: number | undefined;
86
110
  activeConfigProfileUuid?: string | undefined;
87
111
  activeInbounds?: string[] | undefined;
112
+ providerUuid?: string | null | undefined;
88
113
  }, {
89
114
  uuid: string;
90
115
  name?: string | undefined;
@@ -98,6 +123,7 @@ export declare namespace UpdateNodeCommand {
98
123
  consumptionMultiplier?: number | undefined;
99
124
  activeConfigProfileUuid?: string | undefined;
100
125
  activeInbounds?: string[] | undefined;
126
+ providerUuid?: string | null | undefined;
101
127
  }>;
102
128
  type Request = z.infer<typeof RequestSchema>;
103
129
  const ResponseSchema: z.ZodObject<{
@@ -158,6 +184,29 @@ export declare namespace UpdateNodeCommand {
158
184
  port: number | null;
159
185
  rawInbound?: unknown;
160
186
  }>, "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
+ }>>;
161
210
  }, "strip", z.ZodTypeAny, {
162
211
  uuid: string;
163
212
  createdAt: Date;
@@ -197,6 +246,15 @@ export declare namespace UpdateNodeCommand {
197
246
  port: number | null;
198
247
  rawInbound?: unknown;
199
248
  }[] | 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;
200
258
  }, {
201
259
  uuid: string;
202
260
  createdAt: string;
@@ -236,6 +294,15 @@ export declare namespace UpdateNodeCommand {
236
294
  port: number | null;
237
295
  rawInbound?: unknown;
238
296
  }[] | 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;
239
306
  }>;
240
307
  }, "strip", z.ZodTypeAny, {
241
308
  response: {
@@ -277,6 +344,15 @@ export declare namespace UpdateNodeCommand {
277
344
  port: number | null;
278
345
  rawInbound?: unknown;
279
346
  }[] | 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;
280
356
  };
281
357
  }, {
282
358
  response: {
@@ -318,6 +394,15 @@ export declare namespace UpdateNodeCommand {
318
394
  port: number | null;
319
395
  rawInbound?: unknown;
320
396
  }[] | 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;
321
406
  };
322
407
  }>;
323
408
  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;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmCxB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCxB,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,6 +35,7 @@ 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())),
38
39
  });
39
40
  UpdateNodeCommand.ResponseSchema = zod_1.z.object({
40
41
  response: models_1.NodesSchema,
@@ -18,75 +18,37 @@ export declare namespace GetUserAccessibleNodesCommand {
18
18
  uuid: z.ZodString;
19
19
  nodeName: z.ZodString;
20
20
  countryCode: z.ZodString;
21
- reasons: z.ZodArray<z.ZodObject<{
22
- configProfileUuid: z.ZodString;
23
- configProfileName: z.ZodString;
24
- activeSquads: z.ZodArray<z.ZodObject<{
25
- squadName: z.ZodString;
26
- activeInbounds: z.ZodArray<z.ZodObject<{
27
- inboundTag: z.ZodString;
28
- }, "strip", z.ZodTypeAny, {
29
- inboundTag: string;
30
- }, {
31
- inboundTag: string;
32
- }>, "many">;
33
- }, "strip", z.ZodTypeAny, {
34
- activeInbounds: {
35
- inboundTag: string;
36
- }[];
37
- squadName: string;
38
- }, {
39
- activeInbounds: {
40
- inboundTag: string;
41
- }[];
42
- squadName: string;
43
- }>, "many">;
21
+ configProfileUuid: z.ZodString;
22
+ configProfileName: z.ZodString;
23
+ activeSquads: z.ZodArray<z.ZodObject<{
24
+ squadName: z.ZodString;
25
+ activeInbounds: z.ZodArray<z.ZodString, "many">;
44
26
  }, "strip", z.ZodTypeAny, {
45
- configProfileUuid: string;
46
- configProfileName: string;
47
- activeSquads: {
48
- activeInbounds: {
49
- inboundTag: string;
50
- }[];
51
- squadName: string;
52
- }[];
27
+ activeInbounds: string[];
28
+ squadName: string;
53
29
  }, {
54
- configProfileUuid: string;
55
- configProfileName: string;
56
- activeSquads: {
57
- activeInbounds: {
58
- inboundTag: string;
59
- }[];
60
- squadName: string;
61
- }[];
30
+ activeInbounds: string[];
31
+ squadName: string;
62
32
  }>, "many">;
63
33
  }, "strip", z.ZodTypeAny, {
64
34
  uuid: string;
65
35
  countryCode: string;
66
36
  nodeName: string;
67
- reasons: {
68
- configProfileUuid: string;
69
- configProfileName: string;
70
- activeSquads: {
71
- activeInbounds: {
72
- inboundTag: string;
73
- }[];
74
- squadName: string;
75
- }[];
37
+ configProfileUuid: string;
38
+ configProfileName: string;
39
+ activeSquads: {
40
+ activeInbounds: string[];
41
+ squadName: string;
76
42
  }[];
77
43
  }, {
78
44
  uuid: string;
79
45
  countryCode: string;
80
46
  nodeName: string;
81
- reasons: {
82
- configProfileUuid: string;
83
- configProfileName: string;
84
- activeSquads: {
85
- activeInbounds: {
86
- inboundTag: string;
87
- }[];
88
- squadName: string;
89
- }[];
47
+ configProfileUuid: string;
48
+ configProfileName: string;
49
+ activeSquads: {
50
+ activeInbounds: string[];
51
+ squadName: string;
90
52
  }[];
91
53
  }>, "many">;
92
54
  }, "strip", z.ZodTypeAny, {
@@ -95,15 +57,11 @@ export declare namespace GetUserAccessibleNodesCommand {
95
57
  uuid: string;
96
58
  countryCode: string;
97
59
  nodeName: string;
98
- reasons: {
99
- configProfileUuid: string;
100
- configProfileName: string;
101
- activeSquads: {
102
- activeInbounds: {
103
- inboundTag: string;
104
- }[];
105
- squadName: string;
106
- }[];
60
+ configProfileUuid: string;
61
+ configProfileName: string;
62
+ activeSquads: {
63
+ activeInbounds: string[];
64
+ squadName: string;
107
65
  }[];
108
66
  }[];
109
67
  }, {
@@ -112,15 +70,11 @@ export declare namespace GetUserAccessibleNodesCommand {
112
70
  uuid: string;
113
71
  countryCode: string;
114
72
  nodeName: string;
115
- reasons: {
116
- configProfileUuid: string;
117
- configProfileName: string;
118
- activeSquads: {
119
- activeInbounds: {
120
- inboundTag: string;
121
- }[];
122
- squadName: string;
123
- }[];
73
+ configProfileUuid: string;
74
+ configProfileName: string;
75
+ activeSquads: {
76
+ activeInbounds: string[];
77
+ squadName: string;
124
78
  }[];
125
79
  }[];
126
80
  }>;
@@ -131,15 +85,11 @@ export declare namespace GetUserAccessibleNodesCommand {
131
85
  uuid: string;
132
86
  countryCode: string;
133
87
  nodeName: string;
134
- reasons: {
135
- configProfileUuid: string;
136
- configProfileName: string;
137
- activeSquads: {
138
- activeInbounds: {
139
- inboundTag: string;
140
- }[];
141
- squadName: string;
142
- }[];
88
+ configProfileUuid: string;
89
+ configProfileName: string;
90
+ activeSquads: {
91
+ activeInbounds: string[];
92
+ squadName: string;
143
93
  }[];
144
94
  }[];
145
95
  };
@@ -150,15 +100,11 @@ export declare namespace GetUserAccessibleNodesCommand {
150
100
  uuid: string;
151
101
  countryCode: string;
152
102
  nodeName: string;
153
- reasons: {
154
- configProfileUuid: string;
155
- configProfileName: string;
156
- activeSquads: {
157
- activeInbounds: {
158
- inboundTag: string;
159
- }[];
160
- squadName: string;
161
- }[];
103
+ configProfileUuid: string;
104
+ configProfileName: string;
105
+ activeSquads: {
106
+ activeInbounds: string[];
107
+ squadName: string;
162
108
  }[];
163
109
  }[];
164
110
  };
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-accessible-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-accessible-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAkC,CAAC;IAC5C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-user-accessible-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-accessible-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAkC,CAAC;IAC5C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -19,15 +19,11 @@ var GetUserAccessibleNodesCommand;
19
19
  uuid: zod_1.z.string().uuid(),
20
20
  nodeName: zod_1.z.string(),
21
21
  countryCode: zod_1.z.string(),
22
- reasons: zod_1.z.array(zod_1.z.object({
23
- configProfileUuid: zod_1.z.string().uuid(),
24
- configProfileName: zod_1.z.string(),
25
- activeSquads: zod_1.z.array(zod_1.z.object({
26
- squadName: zod_1.z.string(),
27
- activeInbounds: zod_1.z.array(zod_1.z.object({
28
- inboundTag: zod_1.z.string(),
29
- })),
30
- })),
22
+ configProfileUuid: zod_1.z.string().uuid(),
23
+ configProfileName: zod_1.z.string(),
24
+ activeSquads: zod_1.z.array(zod_1.z.object({
25
+ squadName: zod_1.z.string(),
26
+ activeInbounds: zod_1.z.array(zod_1.z.string()),
31
27
  })),
32
28
  })),
33
29
  }),
@@ -654,5 +654,35 @@ export declare const ERRORS: {
654
654
  readonly message: "Get user accessible nodes error";
655
655
  readonly httpCode: 500;
656
656
  };
657
+ readonly GET_INFRA_PROVIDERS_ERROR: {
658
+ readonly code: "A126";
659
+ readonly message: "Get infra providers error";
660
+ readonly httpCode: 500;
661
+ };
662
+ readonly GET_INFRA_PROVIDER_BY_UUID_ERROR: {
663
+ readonly code: "A127";
664
+ readonly message: "Get infra provider by UUID error";
665
+ readonly httpCode: 500;
666
+ };
667
+ readonly INFRA_PROVIDER_NOT_FOUND: {
668
+ readonly code: "A128";
669
+ readonly message: "Infra provider not found";
670
+ readonly httpCode: 404;
671
+ };
672
+ readonly DELETE_INFRA_PROVIDER_BY_UUID_ERROR: {
673
+ readonly code: "A129";
674
+ readonly message: "Delete infra provider by UUID error";
675
+ readonly httpCode: 500;
676
+ };
677
+ readonly CREATE_INFRA_PROVIDER_ERROR: {
678
+ readonly code: "A130";
679
+ readonly message: "Create infra provider error";
680
+ readonly httpCode: 500;
681
+ };
682
+ readonly UPDATE_INFRA_PROVIDER_ERROR: {
683
+ readonly code: "A131";
684
+ readonly message: "Update infra provider error";
685
+ readonly httpCode: 500;
686
+ };
657
687
  };
658
688
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoU3B,CAAC"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkW3B,CAAC"}
@@ -625,4 +625,34 @@ exports.ERRORS = {
625
625
  message: 'Get user accessible nodes error',
626
626
  httpCode: 500,
627
627
  },
628
+ GET_INFRA_PROVIDERS_ERROR: {
629
+ code: 'A126',
630
+ message: 'Get infra providers error',
631
+ httpCode: 500,
632
+ },
633
+ GET_INFRA_PROVIDER_BY_UUID_ERROR: {
634
+ code: 'A127',
635
+ message: 'Get infra provider by UUID error',
636
+ httpCode: 500,
637
+ },
638
+ INFRA_PROVIDER_NOT_FOUND: {
639
+ code: 'A128',
640
+ message: 'Infra provider not found',
641
+ httpCode: 404,
642
+ },
643
+ DELETE_INFRA_PROVIDER_BY_UUID_ERROR: {
644
+ code: 'A129',
645
+ message: 'Delete infra provider by UUID error',
646
+ httpCode: 500,
647
+ },
648
+ CREATE_INFRA_PROVIDER_ERROR: {
649
+ code: 'A130',
650
+ message: 'Create infra provider error',
651
+ httpCode: 500,
652
+ },
653
+ UPDATE_INFRA_PROVIDER_ERROR: {
654
+ code: 'A131',
655
+ message: 'Update infra provider error',
656
+ httpCode: 500,
657
+ },
628
658
  };
@@ -8,6 +8,7 @@ export * from './extented-users.schema';
8
8
  export * from './happ.schema';
9
9
  export * from './hosts.schema';
10
10
  export * from './hwid-user-device.schema';
11
+ export * from './infra-provider.schema';
11
12
  export * from './internal-squad.schema';
12
13
  export * from './last-connected-node.schema';
13
14
  export * from './nodes.schema';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC"}
@@ -24,6 +24,7 @@ __exportStar(require("./extented-users.schema"), exports);
24
24
  __exportStar(require("./happ.schema"), exports);
25
25
  __exportStar(require("./hosts.schema"), exports);
26
26
  __exportStar(require("./hwid-user-device.schema"), exports);
27
+ __exportStar(require("./infra-provider.schema"), exports);
27
28
  __exportStar(require("./internal-squad.schema"), exports);
28
29
  __exportStar(require("./last-connected-node.schema"), exports);
29
30
  __exportStar(require("./nodes.schema"), exports);
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ export declare const InfraProviderSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ name: z.ZodString;
5
+ faviconLink: z.ZodNullable<z.ZodString>;
6
+ loginUrl: z.ZodNullable<z.ZodString>;
7
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
8
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ uuid: string;
11
+ createdAt: Date;
12
+ updatedAt: Date;
13
+ name: string;
14
+ faviconLink: string | null;
15
+ loginUrl: string | null;
16
+ }, {
17
+ uuid: string;
18
+ createdAt: string;
19
+ updatedAt: string;
20
+ name: string;
21
+ faviconLink: string | null;
22
+ loginUrl: string | null;
23
+ }>;
24
+ //# sourceMappingURL=infra-provider.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"infra-provider.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-provider.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAc9B,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InfraProviderSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.InfraProviderSchema = zod_1.z.object({
6
+ uuid: zod_1.z.string().uuid(),
7
+ name: zod_1.z.string(),
8
+ faviconLink: zod_1.z.nullable(zod_1.z.string()),
9
+ loginUrl: zod_1.z.nullable(zod_1.z.string()),
10
+ createdAt: zod_1.z
11
+ .string()
12
+ .datetime()
13
+ .transform((str) => new Date(str)),
14
+ updatedAt: zod_1.z
15
+ .string()
16
+ .datetime()
17
+ .transform((str) => new Date(str)),
18
+ });
@@ -56,6 +56,29 @@ export declare const NodesSchema: z.ZodObject<{
56
56
  port: number | null;
57
57
  rawInbound?: unknown;
58
58
  }>, "many">>;
59
+ providerUuid: z.ZodNullable<z.ZodString>;
60
+ provider: z.ZodNullable<z.ZodObject<{
61
+ uuid: z.ZodString;
62
+ name: z.ZodString;
63
+ faviconLink: z.ZodNullable<z.ZodString>;
64
+ loginUrl: z.ZodNullable<z.ZodString>;
65
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
66
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ uuid: string;
69
+ createdAt: Date;
70
+ updatedAt: Date;
71
+ name: string;
72
+ faviconLink: string | null;
73
+ loginUrl: string | null;
74
+ }, {
75
+ uuid: string;
76
+ createdAt: string;
77
+ updatedAt: string;
78
+ name: string;
79
+ faviconLink: string | null;
80
+ loginUrl: string | null;
81
+ }>>;
59
82
  }, "strip", z.ZodTypeAny, {
60
83
  uuid: string;
61
84
  createdAt: Date;
@@ -95,6 +118,15 @@ export declare const NodesSchema: z.ZodObject<{
95
118
  port: number | null;
96
119
  rawInbound?: unknown;
97
120
  }[] | null;
121
+ providerUuid: string | null;
122
+ provider: {
123
+ uuid: string;
124
+ createdAt: Date;
125
+ updatedAt: Date;
126
+ name: string;
127
+ faviconLink: string | null;
128
+ loginUrl: string | null;
129
+ } | null;
98
130
  }, {
99
131
  uuid: string;
100
132
  createdAt: string;
@@ -134,5 +166,14 @@ export declare const NodesSchema: z.ZodObject<{
134
166
  port: number | null;
135
167
  rawInbound?: unknown;
136
168
  }[] | null;
169
+ providerUuid: string | null;
170
+ provider: {
171
+ uuid: string;
172
+ createdAt: string;
173
+ updatedAt: string;
174
+ name: string;
175
+ faviconLink: string | null;
176
+ loginUrl: string | null;
177
+ } | null;
137
178
  }>;
138
179
  //# sourceMappingURL=nodes.schema.d.ts.map
@@ -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;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CtB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDtB,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NodesSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const config_profile_inbounds_schema_1 = require("./config-profile-inbounds.schema");
6
+ const infra_provider_schema_1 = require("./infra-provider.schema");
6
7
  exports.NodesSchema = zod_1.z.object({
7
8
  uuid: zod_1.z.string().uuid(),
8
9
  name: zod_1.z.string(),
@@ -42,4 +43,6 @@ exports.NodesSchema = zod_1.z.object({
42
43
  .transform((str) => new Date(str)),
43
44
  activeConfigProfileUuid: zod_1.z.nullable(zod_1.z.string().uuid()),
44
45
  activeInbounds: zod_1.z.nullable(zod_1.z.array(config_profile_inbounds_schema_1.ConfigProfileInboundsSchema)),
46
+ providerUuid: zod_1.z.nullable(zod_1.z.string().uuid()),
47
+ provider: zod_1.z.nullable(infra_provider_schema_1.InfraProviderSchema),
45
48
  });
@@ -19,6 +19,7 @@ __exportStar(require("./auth"), exports);
19
19
  __exportStar(require("./config-profiles"), exports);
20
20
  __exportStar(require("./hosts"), exports);
21
21
  __exportStar(require("./hwid"), exports);
22
+ __exportStar(require("./infra-billing"), exports);
22
23
  __exportStar(require("./internal-squads"), exports);
23
24
  __exportStar(require("./keygen"), exports);
24
25
  __exportStar(require("./nodes"), exports);
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.INFRA_BILLING_ROUTES = exports.INFRA_BILLING_CONTROLLER = void 0;
4
+ exports.INFRA_BILLING_CONTROLLER = 'infra-billing';
5
+ exports.INFRA_BILLING_ROUTES = {
6
+ GET_PROVIDERS: 'providers', // Get list of all providers // get
7
+ CREATE_PROVIDER: 'providers', // Create new provider // post
8
+ UPDATE_PROVIDER: 'providers', // Update provider by uuid // patch
9
+ DELETE_PROVIDER: (uuid) => `providers/${uuid}`, // Delete provider by uuid // delete
10
+ GET_PROVIDER_BY_UUID: (uuid) => `providers/${uuid}`, // Get provider by uuid // get
11
+ GET_BILLING_NODES: 'nodes', // Get list of all nodes billing // get
12
+ CREATE_BILLING_NODE: 'nodes', // Create new node billing // post
13
+ UPDATE_BILLING_NODE: (uuid) => `nodes/${uuid}`, // Update node billing by uuid // patch
14
+ DELETE_BILLING_NODE: (uuid) => `nodes/${uuid}`, // Delete node billing by uuid // delete
15
+ GET_BILLING_HISTORY: 'history', // Get list of all nodes billing history // get
16
+ CREATE_BILLING_HISTORY: 'history', // Create new node billing history // post
17
+ DELETE_BILLING_HISTORY: (uuid) => `history/${uuid}`, // Delete node billing history by uuid // delete
18
+ // GET_BILLING_HISTORY_BY_NODE_UUID: (nodeUuid: string) => `history/${nodeUuid}`, // Get list of all nodes billing history by node uuid // get
19
+ // GET_BILLING_HISTORY_BY_PROVIDER_UUID: (providerUuid: string) => `history/${providerUuid}`, // Get list of all nodes billing history by provider uuid // get
20
+ // GET_BILLING_HISTORY_BY_NODE_UUID_AND_PROVIDER_UUID: (nodeUuid: string, providerUuid: string) =>
21
+ // `history/${nodeUuid}/${providerUuid}`, // Get list of all nodes billing history by node uuid and provider uuid // get
22
+ };
@@ -179,4 +179,18 @@ exports.REST_API = {
179
179
  GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.GET_BY_UUID(uuid)}`,
180
180
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.DELETE(uuid)}`,
181
181
  },
182
+ INFRA_BILLING: {
183
+ GET_PROVIDERS: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_PROVIDERS}`,
184
+ CREATE_PROVIDER: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_PROVIDER}`,
185
+ UPDATE_PROVIDER: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.UPDATE_PROVIDER}`,
186
+ DELETE_PROVIDER: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_PROVIDER(uuid)}`,
187
+ GET_PROVIDER_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_PROVIDER_BY_UUID(uuid)}`,
188
+ GET_BILLING_NODES: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_BILLING_NODES}`,
189
+ CREATE_BILLING_NODE: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_BILLING_NODE}`,
190
+ UPDATE_BILLING_NODE: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.UPDATE_BILLING_NODE(uuid)}`,
191
+ DELETE_BILLING_NODE: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_BILLING_NODE(uuid)}`,
192
+ GET_BILLING_HISTORY: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_BILLING_HISTORY}`,
193
+ CREATE_BILLING_HISTORY: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_BILLING_HISTORY}`,
194
+ DELETE_BILLING_HISTORY: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_BILLING_HISTORY(uuid)}`,
195
+ },
182
196
  };