@remnawave/backend-contract 2.0.0-alpha.20 → 2.0.0-alpha.22

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 (63) hide show
  1. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +26 -10
  2. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  3. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +26 -10
  4. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  5. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +26 -10
  6. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  7. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +26 -10
  8. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  9. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +26 -10
  10. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  11. package/build/backend/commands/hosts/create.command.d.ts +44 -19
  12. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  13. package/build/backend/commands/hosts/create.command.js +7 -13
  14. package/build/backend/commands/hosts/get-all.command.d.ts +26 -10
  15. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  16. package/build/backend/commands/hosts/get-one.command.d.ts +26 -10
  17. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  18. package/build/backend/commands/hosts/reorder.command.d.ts +10 -2
  19. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  20. package/build/backend/commands/hosts/update.command.d.ts +54 -21
  21. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  22. package/build/backend/commands/hosts/update.command.js +4 -11
  23. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +106 -54
  24. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
  25. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +106 -54
  26. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
  27. package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts +106 -54
  28. package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts.map +1 -1
  29. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +106 -54
  30. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
  31. package/build/backend/commands/nodes/actions/disable.command.d.ts +105 -71
  32. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  33. package/build/backend/commands/nodes/actions/enable.command.d.ts +105 -71
  34. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  35. package/build/backend/commands/nodes/actions/reorder.command.d.ts +158 -98
  36. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  37. package/build/backend/commands/nodes/create.command.d.ts +123 -77
  38. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  39. package/build/backend/commands/nodes/create.command.js +6 -4
  40. package/build/backend/commands/nodes/get-all.command.d.ts +105 -71
  41. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  42. package/build/backend/commands/nodes/get-one.command.d.ts +105 -71
  43. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  44. package/build/backend/commands/nodes/update.command.d.ts +176 -104
  45. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  46. package/build/backend/commands/nodes/update.command.js +8 -4
  47. package/build/backend/models/hosts.schema.d.ts +18 -6
  48. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  49. package/build/backend/models/hosts.schema.js +4 -2
  50. package/build/backend/models/infra-billing-available-node.schema.d.ts +53 -27
  51. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  52. package/build/backend/models/infra-billing-node.schema.d.ts +53 -27
  53. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  54. package/build/backend/models/nodes.schema.d.ts +79 -49
  55. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  56. package/build/backend/models/nodes.schema.js +4 -2
  57. package/build/frontend/commands/hosts/create.command.js +7 -13
  58. package/build/frontend/commands/hosts/update.command.js +4 -11
  59. package/build/frontend/commands/nodes/create.command.js +6 -4
  60. package/build/frontend/commands/nodes/update.command.js +8 -4
  61. package/build/frontend/models/hosts.schema.js +4 -2
  62. package/build/frontend/models/nodes.schema.js +4 -2
  63. package/package.json +1 -1
@@ -30,8 +30,16 @@ export declare namespace GetOneHostCommand {
30
30
  readonly NONE: "NONE";
31
31
  }>>;
32
32
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
33
- configProfileUuid: z.ZodNullable<z.ZodString>;
34
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
33
+ inbound: z.ZodObject<{
34
+ configProfileUuid: z.ZodNullable<z.ZodString>;
35
+ configProfileInboundUuid: z.ZodNullable<z.ZodString>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ configProfileUuid: string | null;
38
+ configProfileInboundUuid: string | null;
39
+ }, {
40
+ configProfileUuid: string | null;
41
+ configProfileInboundUuid: string | null;
42
+ }>;
35
43
  }, "strip", z.ZodTypeAny, {
36
44
  path: string | null;
37
45
  uuid: string;
@@ -45,8 +53,10 @@ export declare namespace GetOneHostCommand {
45
53
  fingerprint: string | null;
46
54
  isDisabled: boolean;
47
55
  securityLayer: "DEFAULT" | "TLS" | "NONE";
48
- configProfileUuid: string | null;
49
- configProfileInboundUuid: string | null;
56
+ inbound: {
57
+ configProfileUuid: string | null;
58
+ configProfileInboundUuid: string | null;
59
+ };
50
60
  xHttpExtraParams?: unknown;
51
61
  }, {
52
62
  path: string | null;
@@ -59,8 +69,10 @@ export declare namespace GetOneHostCommand {
59
69
  host: string | null;
60
70
  alpn: string | null;
61
71
  fingerprint: string | null;
62
- configProfileUuid: string | null;
63
- configProfileInboundUuid: string | null;
72
+ inbound: {
73
+ configProfileUuid: string | null;
74
+ configProfileInboundUuid: string | null;
75
+ };
64
76
  isDisabled?: boolean | undefined;
65
77
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
66
78
  xHttpExtraParams?: unknown;
@@ -79,8 +91,10 @@ export declare namespace GetOneHostCommand {
79
91
  fingerprint: string | null;
80
92
  isDisabled: boolean;
81
93
  securityLayer: "DEFAULT" | "TLS" | "NONE";
82
- configProfileUuid: string | null;
83
- configProfileInboundUuid: string | null;
94
+ inbound: {
95
+ configProfileUuid: string | null;
96
+ configProfileInboundUuid: string | null;
97
+ };
84
98
  xHttpExtraParams?: unknown;
85
99
  };
86
100
  }, {
@@ -95,8 +109,10 @@ export declare namespace GetOneHostCommand {
95
109
  host: string | null;
96
110
  alpn: string | null;
97
111
  fingerprint: string | null;
98
- configProfileUuid: string | null;
99
- configProfileInboundUuid: string | null;
112
+ inbound: {
113
+ configProfileUuid: string | null;
114
+ configProfileInboundUuid: string | null;
115
+ };
100
116
  isDisabled?: boolean | undefined;
101
117
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
102
118
  xHttpExtraParams?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/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/hosts/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"}
@@ -22,8 +22,16 @@ export declare namespace ReorderHostCommand {
22
22
  readonly NONE: "NONE";
23
23
  }>>;
24
24
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
25
- configProfileUuid: z.ZodNullable<z.ZodString>;
26
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
25
+ inbound: z.ZodObject<{
26
+ configProfileUuid: z.ZodNullable<z.ZodString>;
27
+ configProfileInboundUuid: z.ZodNullable<z.ZodString>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ configProfileUuid: string | null;
30
+ configProfileInboundUuid: string | null;
31
+ }, {
32
+ configProfileUuid: string | null;
33
+ configProfileInboundUuid: string | null;
34
+ }>;
27
35
  }, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
28
36
  uuid: string;
29
37
  viewPosition: number;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -21,11 +21,27 @@ export declare namespace UpdateHostCommand {
21
21
  readonly NONE: "NONE";
22
22
  }>>;
23
23
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
24
- configProfileUuid: z.ZodNullable<z.ZodString>;
25
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
24
+ inbound: z.ZodObject<{
25
+ configProfileUuid: z.ZodNullable<z.ZodString>;
26
+ configProfileInboundUuid: z.ZodNullable<z.ZodString>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ configProfileUuid: string | null;
29
+ configProfileInboundUuid: string | null;
30
+ }, {
31
+ configProfileUuid: string | null;
32
+ configProfileInboundUuid: string | null;
33
+ }>;
26
34
  }, "uuid"> & {
27
- configProfileUuid: z.ZodOptional<z.ZodString>;
28
- configProfileInboundUuid: z.ZodOptional<z.ZodString>;
35
+ inbound: z.ZodOptional<z.ZodObject<{
36
+ configProfileUuid: z.ZodString;
37
+ configProfileInboundUuid: z.ZodString;
38
+ }, "strip", z.ZodTypeAny, {
39
+ configProfileUuid: string;
40
+ configProfileInboundUuid: string;
41
+ }, {
42
+ configProfileUuid: string;
43
+ configProfileInboundUuid: string;
44
+ }>>;
29
45
  remark: z.ZodOptional<z.ZodString>;
30
46
  address: z.ZodOptional<z.ZodString>;
31
47
  port: z.ZodOptional<z.ZodNumber>;
@@ -51,7 +67,6 @@ export declare namespace UpdateHostCommand {
51
67
  readonly RANDOM: "random";
52
68
  readonly RANDOMIZED: "randomized";
53
69
  }>>>;
54
- allowInsecure: z.ZodOptional<z.ZodBoolean>;
55
70
  isDisabled: z.ZodOptional<z.ZodBoolean>;
56
71
  securityLayer: z.ZodOptional<z.ZodNativeEnum<{
57
72
  readonly DEFAULT: "DEFAULT";
@@ -72,9 +87,10 @@ export declare namespace UpdateHostCommand {
72
87
  isDisabled?: boolean | undefined;
73
88
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
74
89
  xHttpExtraParams?: unknown;
75
- configProfileUuid?: string | undefined;
76
- configProfileInboundUuid?: string | undefined;
77
- allowInsecure?: boolean | undefined;
90
+ inbound?: {
91
+ configProfileUuid: string;
92
+ configProfileInboundUuid: string;
93
+ } | undefined;
78
94
  }, {
79
95
  uuid: string;
80
96
  path?: string | undefined;
@@ -88,9 +104,10 @@ export declare namespace UpdateHostCommand {
88
104
  isDisabled?: boolean | undefined;
89
105
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
90
106
  xHttpExtraParams?: unknown;
91
- configProfileUuid?: string | undefined;
92
- configProfileInboundUuid?: string | undefined;
93
- allowInsecure?: boolean | undefined;
107
+ inbound?: {
108
+ configProfileUuid: string;
109
+ configProfileInboundUuid: string;
110
+ } | undefined;
94
111
  }>;
95
112
  type Request = z.infer<typeof RequestSchema>;
96
113
  const ResponseSchema: z.ZodObject<{
@@ -112,8 +129,16 @@ export declare namespace UpdateHostCommand {
112
129
  readonly NONE: "NONE";
113
130
  }>>;
114
131
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
115
- configProfileUuid: z.ZodNullable<z.ZodString>;
116
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
132
+ inbound: z.ZodObject<{
133
+ configProfileUuid: z.ZodNullable<z.ZodString>;
134
+ configProfileInboundUuid: z.ZodNullable<z.ZodString>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ configProfileUuid: string | null;
137
+ configProfileInboundUuid: string | null;
138
+ }, {
139
+ configProfileUuid: string | null;
140
+ configProfileInboundUuid: string | null;
141
+ }>;
117
142
  }, "strip", z.ZodTypeAny, {
118
143
  path: string | null;
119
144
  uuid: string;
@@ -127,8 +152,10 @@ export declare namespace UpdateHostCommand {
127
152
  fingerprint: string | null;
128
153
  isDisabled: boolean;
129
154
  securityLayer: "DEFAULT" | "TLS" | "NONE";
130
- configProfileUuid: string | null;
131
- configProfileInboundUuid: string | null;
155
+ inbound: {
156
+ configProfileUuid: string | null;
157
+ configProfileInboundUuid: string | null;
158
+ };
132
159
  xHttpExtraParams?: unknown;
133
160
  }, {
134
161
  path: string | null;
@@ -141,8 +168,10 @@ export declare namespace UpdateHostCommand {
141
168
  host: string | null;
142
169
  alpn: string | null;
143
170
  fingerprint: string | null;
144
- configProfileUuid: string | null;
145
- configProfileInboundUuid: string | null;
171
+ inbound: {
172
+ configProfileUuid: string | null;
173
+ configProfileInboundUuid: string | null;
174
+ };
146
175
  isDisabled?: boolean | undefined;
147
176
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
148
177
  xHttpExtraParams?: unknown;
@@ -161,8 +190,10 @@ export declare namespace UpdateHostCommand {
161
190
  fingerprint: string | null;
162
191
  isDisabled: boolean;
163
192
  securityLayer: "DEFAULT" | "TLS" | "NONE";
164
- configProfileUuid: string | null;
165
- configProfileInboundUuid: string | null;
193
+ inbound: {
194
+ configProfileUuid: string | null;
195
+ configProfileInboundUuid: string | null;
196
+ };
166
197
  xHttpExtraParams?: unknown;
167
198
  };
168
199
  }, {
@@ -177,8 +208,10 @@ export declare namespace UpdateHostCommand {
177
208
  host: string | null;
178
209
  alpn: string | null;
179
210
  fingerprint: string | null;
180
- configProfileUuid: string | null;
181
- configProfileInboundUuid: string | null;
211
+ inbound: {
212
+ configProfileUuid: string | null;
213
+ configProfileInboundUuid: string | null;
214
+ };
182
215
  isDisabled?: boolean | undefined;
183
216
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
184
217
  xHttpExtraParams?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/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,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2CxB,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"}
1
+ {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/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,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCxB,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"}
@@ -13,17 +13,11 @@ var UpdateHostCommand;
13
13
  UpdateHostCommand.RequestSchema = models_1.HostsSchema.pick({
14
14
  uuid: true,
15
15
  }).extend({
16
- configProfileUuid: zod_1.z
17
- .string({
18
- invalid_type_error: 'Config Profile UUID must be a string',
19
- })
20
- .uuid('Config Profile UUID must be a valid UUID')
21
- .optional(),
22
- configProfileInboundUuid: zod_1.z
23
- .string({
24
- invalid_type_error: 'Inbound UUID must be a string',
16
+ inbound: zod_1.z
17
+ .object({
18
+ configProfileUuid: zod_1.z.string().uuid(),
19
+ configProfileInboundUuid: zod_1.z.string().uuid(),
25
20
  })
26
- .uuid('Inbound UUID must be a valid UUID')
27
21
  .optional(),
28
22
  remark: zod_1.z
29
23
  .string({
@@ -49,7 +43,6 @@ var UpdateHostCommand;
49
43
  host: zod_1.z.optional(zod_1.z.string()),
50
44
  alpn: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.ALPN).nullable()),
51
45
  fingerprint: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.FINGERPRINTS).nullable()),
52
- allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
53
46
  isDisabled: zod_1.z.optional(zod_1.z.boolean()),
54
47
  securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS)),
55
48
  xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
@@ -70,35 +70,61 @@ export declare namespace CreateInfraBillingNodeCommand {
70
70
  totalRam: z.ZodNullable<z.ZodString>;
71
71
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
72
72
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
73
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
74
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
75
- uuid: z.ZodString;
76
- profileUuid: z.ZodString;
77
- tag: z.ZodString;
78
- type: z.ZodString;
79
- network: z.ZodNullable<z.ZodString>;
80
- security: z.ZodNullable<z.ZodString>;
81
- port: z.ZodNullable<z.ZodNumber>;
82
- rawInbound: z.ZodNullable<z.ZodUnknown>;
73
+ configProfile: z.ZodObject<{
74
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
75
+ activeInbounds: z.ZodArray<z.ZodObject<{
76
+ uuid: z.ZodString;
77
+ profileUuid: z.ZodString;
78
+ tag: z.ZodString;
79
+ type: z.ZodString;
80
+ network: z.ZodNullable<z.ZodString>;
81
+ security: z.ZodNullable<z.ZodString>;
82
+ port: z.ZodNullable<z.ZodNumber>;
83
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ type: string;
86
+ uuid: string;
87
+ profileUuid: string;
88
+ tag: string;
89
+ network: string | null;
90
+ security: string | null;
91
+ port: number | null;
92
+ rawInbound?: unknown;
93
+ }, {
94
+ type: string;
95
+ uuid: string;
96
+ profileUuid: string;
97
+ tag: string;
98
+ network: string | null;
99
+ security: string | null;
100
+ port: number | null;
101
+ rawInbound?: unknown;
102
+ }>, "many">;
83
103
  }, "strip", z.ZodTypeAny, {
84
- type: string;
85
- uuid: string;
86
- profileUuid: string;
87
- tag: string;
88
- network: string | null;
89
- security: string | null;
90
- port: number | null;
91
- rawInbound?: unknown;
104
+ activeConfigProfileUuid: string | null;
105
+ activeInbounds: {
106
+ type: string;
107
+ uuid: string;
108
+ profileUuid: string;
109
+ tag: string;
110
+ network: string | null;
111
+ security: string | null;
112
+ port: number | null;
113
+ rawInbound?: unknown;
114
+ }[];
92
115
  }, {
93
- type: string;
94
- uuid: string;
95
- profileUuid: string;
96
- tag: string;
97
- network: string | null;
98
- security: string | null;
99
- port: number | null;
100
- rawInbound?: unknown;
101
- }>, "many">>;
116
+ activeConfigProfileUuid: string | null;
117
+ activeInbounds: {
118
+ type: string;
119
+ uuid: string;
120
+ profileUuid: string;
121
+ tag: string;
122
+ network: string | null;
123
+ security: string | null;
124
+ port: number | null;
125
+ rawInbound?: unknown;
126
+ }[];
127
+ }>;
102
128
  providerUuid: z.ZodNullable<z.ZodString>;
103
129
  provider: z.ZodNullable<z.ZodObject<{
104
130
  uuid: z.ZodString;
@@ -199,35 +225,61 @@ export declare namespace CreateInfraBillingNodeCommand {
199
225
  totalRam: z.ZodNullable<z.ZodString>;
200
226
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
201
227
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
202
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
203
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
204
- uuid: z.ZodString;
205
- profileUuid: z.ZodString;
206
- tag: z.ZodString;
207
- type: z.ZodString;
208
- network: z.ZodNullable<z.ZodString>;
209
- security: z.ZodNullable<z.ZodString>;
210
- port: z.ZodNullable<z.ZodNumber>;
211
- rawInbound: z.ZodNullable<z.ZodUnknown>;
228
+ configProfile: z.ZodObject<{
229
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
230
+ activeInbounds: z.ZodArray<z.ZodObject<{
231
+ uuid: z.ZodString;
232
+ profileUuid: z.ZodString;
233
+ tag: z.ZodString;
234
+ type: z.ZodString;
235
+ network: z.ZodNullable<z.ZodString>;
236
+ security: z.ZodNullable<z.ZodString>;
237
+ port: z.ZodNullable<z.ZodNumber>;
238
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ type: string;
241
+ uuid: string;
242
+ profileUuid: string;
243
+ tag: string;
244
+ network: string | null;
245
+ security: string | null;
246
+ port: number | null;
247
+ rawInbound?: unknown;
248
+ }, {
249
+ type: string;
250
+ uuid: string;
251
+ profileUuid: string;
252
+ tag: string;
253
+ network: string | null;
254
+ security: string | null;
255
+ port: number | null;
256
+ rawInbound?: unknown;
257
+ }>, "many">;
212
258
  }, "strip", z.ZodTypeAny, {
213
- type: string;
214
- uuid: string;
215
- profileUuid: string;
216
- tag: string;
217
- network: string | null;
218
- security: string | null;
219
- port: number | null;
220
- rawInbound?: unknown;
259
+ activeConfigProfileUuid: string | null;
260
+ activeInbounds: {
261
+ type: string;
262
+ uuid: string;
263
+ profileUuid: string;
264
+ tag: string;
265
+ network: string | null;
266
+ security: string | null;
267
+ port: number | null;
268
+ rawInbound?: unknown;
269
+ }[];
221
270
  }, {
222
- type: string;
223
- uuid: string;
224
- profileUuid: string;
225
- tag: string;
226
- network: string | null;
227
- security: string | null;
228
- port: number | null;
229
- rawInbound?: unknown;
230
- }>, "many">>;
271
+ activeConfigProfileUuid: string | null;
272
+ activeInbounds: {
273
+ type: string;
274
+ uuid: string;
275
+ profileUuid: string;
276
+ tag: string;
277
+ network: string | null;
278
+ security: string | null;
279
+ port: number | null;
280
+ rawInbound?: unknown;
281
+ }[];
282
+ }>;
231
283
  providerUuid: z.ZodNullable<z.ZodString>;
232
284
  provider: z.ZodNullable<z.ZodObject<{
233
285
  uuid: 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"}
@@ -64,35 +64,61 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
64
64
  totalRam: z.ZodNullable<z.ZodString>;
65
65
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
67
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
68
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
69
- uuid: z.ZodString;
70
- profileUuid: z.ZodString;
71
- tag: z.ZodString;
72
- type: z.ZodString;
73
- network: z.ZodNullable<z.ZodString>;
74
- security: z.ZodNullable<z.ZodString>;
75
- port: z.ZodNullable<z.ZodNumber>;
76
- rawInbound: z.ZodNullable<z.ZodUnknown>;
67
+ configProfile: z.ZodObject<{
68
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
69
+ activeInbounds: z.ZodArray<z.ZodObject<{
70
+ uuid: z.ZodString;
71
+ profileUuid: z.ZodString;
72
+ tag: z.ZodString;
73
+ type: z.ZodString;
74
+ network: z.ZodNullable<z.ZodString>;
75
+ security: z.ZodNullable<z.ZodString>;
76
+ port: z.ZodNullable<z.ZodNumber>;
77
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ type: string;
80
+ uuid: string;
81
+ profileUuid: string;
82
+ tag: string;
83
+ network: string | null;
84
+ security: string | null;
85
+ port: number | null;
86
+ rawInbound?: unknown;
87
+ }, {
88
+ type: string;
89
+ uuid: string;
90
+ profileUuid: string;
91
+ tag: string;
92
+ network: string | null;
93
+ security: string | null;
94
+ port: number | null;
95
+ rawInbound?: unknown;
96
+ }>, "many">;
77
97
  }, "strip", z.ZodTypeAny, {
78
- type: string;
79
- uuid: string;
80
- profileUuid: string;
81
- tag: string;
82
- network: string | null;
83
- security: string | null;
84
- port: number | null;
85
- rawInbound?: unknown;
98
+ activeConfigProfileUuid: string | null;
99
+ activeInbounds: {
100
+ type: string;
101
+ uuid: string;
102
+ profileUuid: string;
103
+ tag: string;
104
+ network: string | null;
105
+ security: string | null;
106
+ port: number | null;
107
+ rawInbound?: unknown;
108
+ }[];
86
109
  }, {
87
- type: string;
88
- uuid: string;
89
- profileUuid: string;
90
- tag: string;
91
- network: string | null;
92
- security: string | null;
93
- port: number | null;
94
- rawInbound?: unknown;
95
- }>, "many">>;
110
+ activeConfigProfileUuid: string | null;
111
+ activeInbounds: {
112
+ type: string;
113
+ uuid: string;
114
+ profileUuid: string;
115
+ tag: string;
116
+ network: string | null;
117
+ security: string | null;
118
+ port: number | null;
119
+ rawInbound?: unknown;
120
+ }[];
121
+ }>;
96
122
  providerUuid: z.ZodNullable<z.ZodString>;
97
123
  provider: z.ZodNullable<z.ZodObject<{
98
124
  uuid: z.ZodString;
@@ -193,35 +219,61 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
193
219
  totalRam: z.ZodNullable<z.ZodString>;
194
220
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
195
221
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
196
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
197
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
198
- uuid: z.ZodString;
199
- profileUuid: z.ZodString;
200
- tag: z.ZodString;
201
- type: z.ZodString;
202
- network: z.ZodNullable<z.ZodString>;
203
- security: z.ZodNullable<z.ZodString>;
204
- port: z.ZodNullable<z.ZodNumber>;
205
- rawInbound: z.ZodNullable<z.ZodUnknown>;
222
+ configProfile: z.ZodObject<{
223
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
224
+ activeInbounds: z.ZodArray<z.ZodObject<{
225
+ uuid: z.ZodString;
226
+ profileUuid: z.ZodString;
227
+ tag: z.ZodString;
228
+ type: z.ZodString;
229
+ network: z.ZodNullable<z.ZodString>;
230
+ security: z.ZodNullable<z.ZodString>;
231
+ port: z.ZodNullable<z.ZodNumber>;
232
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ type: string;
235
+ uuid: string;
236
+ profileUuid: string;
237
+ tag: string;
238
+ network: string | null;
239
+ security: string | null;
240
+ port: number | null;
241
+ rawInbound?: unknown;
242
+ }, {
243
+ type: string;
244
+ uuid: string;
245
+ profileUuid: string;
246
+ tag: string;
247
+ network: string | null;
248
+ security: string | null;
249
+ port: number | null;
250
+ rawInbound?: unknown;
251
+ }>, "many">;
206
252
  }, "strip", z.ZodTypeAny, {
207
- type: string;
208
- uuid: string;
209
- profileUuid: string;
210
- tag: string;
211
- network: string | null;
212
- security: string | null;
213
- port: number | null;
214
- rawInbound?: unknown;
253
+ activeConfigProfileUuid: string | null;
254
+ activeInbounds: {
255
+ type: string;
256
+ uuid: string;
257
+ profileUuid: string;
258
+ tag: string;
259
+ network: string | null;
260
+ security: string | null;
261
+ port: number | null;
262
+ rawInbound?: unknown;
263
+ }[];
215
264
  }, {
216
- type: string;
217
- uuid: string;
218
- profileUuid: string;
219
- tag: string;
220
- network: string | null;
221
- security: string | null;
222
- port: number | null;
223
- rawInbound?: unknown;
224
- }>, "many">>;
265
+ activeConfigProfileUuid: string | null;
266
+ activeInbounds: {
267
+ type: string;
268
+ uuid: string;
269
+ profileUuid: string;
270
+ tag: string;
271
+ network: string | null;
272
+ security: string | null;
273
+ port: number | null;
274
+ rawInbound?: unknown;
275
+ }[];
276
+ }>;
225
277
  providerUuid: z.ZodNullable<z.ZodString>;
226
278
  provider: z.ZodNullable<z.ZodObject<{
227
279
  uuid: z.ZodString;