@remnawave/backend-contract 2.1.23 → 2.1.25

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.
@@ -15,6 +15,8 @@ export declare namespace GetAllInboundsCommand {
15
15
  security: z.ZodNullable<z.ZodString>;
16
16
  port: z.ZodNullable<z.ZodNumber>;
17
17
  rawInbound: z.ZodNullable<z.ZodUnknown>;
18
+ } & {
19
+ activeSquads: z.ZodArray<z.ZodString, "many">;
18
20
  }, "strip", z.ZodTypeAny, {
19
21
  type: string;
20
22
  uuid: string;
@@ -23,6 +25,7 @@ export declare namespace GetAllInboundsCommand {
23
25
  network: string | null;
24
26
  security: string | null;
25
27
  port: number | null;
28
+ activeSquads: string[];
26
29
  rawInbound?: unknown;
27
30
  }, {
28
31
  type: string;
@@ -32,6 +35,7 @@ export declare namespace GetAllInboundsCommand {
32
35
  network: string | null;
33
36
  security: string | null;
34
37
  port: number | null;
38
+ activeSquads: string[];
35
39
  rawInbound?: unknown;
36
40
  }>, "many">;
37
41
  }, "strip", z.ZodTypeAny, {
@@ -43,6 +47,7 @@ export declare namespace GetAllInboundsCommand {
43
47
  network: string | null;
44
48
  security: string | null;
45
49
  port: number | null;
50
+ activeSquads: string[];
46
51
  rawInbound?: unknown;
47
52
  }[];
48
53
  total: number;
@@ -55,6 +60,7 @@ export declare namespace GetAllInboundsCommand {
55
60
  network: string | null;
56
61
  security: string | null;
57
62
  port: number | null;
63
+ activeSquads: string[];
58
64
  rawInbound?: unknown;
59
65
  }[];
60
66
  total: number;
@@ -69,6 +75,7 @@ export declare namespace GetAllInboundsCommand {
69
75
  network: string | null;
70
76
  security: string | null;
71
77
  port: number | null;
78
+ activeSquads: string[];
72
79
  rawInbound?: unknown;
73
80
  }[];
74
81
  total: number;
@@ -83,6 +90,7 @@ export declare namespace GetAllInboundsCommand {
83
90
  network: string | null;
84
91
  security: string | null;
85
92
  port: number | null;
93
+ activeSquads: string[];
86
94
  rawInbound?: unknown;
87
95
  }[];
88
96
  total: number;
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-all-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,iCAA4C,CAAC;IACtD,MAAM,OAAO,iCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-all-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,iCAA4C,CAAC;IACtD,MAAM,OAAO,iCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -13,7 +13,9 @@ var GetAllInboundsCommand;
13
13
  GetAllInboundsCommand.ResponseSchema = zod_1.z.object({
14
14
  response: zod_1.z.object({
15
15
  total: zod_1.z.number(),
16
- inbounds: zod_1.z.array(models_1.ConfigProfileInboundsSchema),
16
+ inbounds: zod_1.z.array(models_1.ConfigProfileInboundsSchema.extend({
17
+ activeSquads: zod_1.z.array(zod_1.z.string().uuid()),
18
+ })),
17
19
  }),
18
20
  });
19
21
  })(GetAllInboundsCommand || (exports.GetAllInboundsCommand = GetAllInboundsCommand = {}));
@@ -23,6 +23,8 @@ export declare namespace GetInboundsByProfileUuidCommand {
23
23
  security: z.ZodNullable<z.ZodString>;
24
24
  port: z.ZodNullable<z.ZodNumber>;
25
25
  rawInbound: z.ZodNullable<z.ZodUnknown>;
26
+ } & {
27
+ activeSquads: z.ZodArray<z.ZodString, "many">;
26
28
  }, "strip", z.ZodTypeAny, {
27
29
  type: string;
28
30
  uuid: string;
@@ -31,6 +33,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
31
33
  network: string | null;
32
34
  security: string | null;
33
35
  port: number | null;
36
+ activeSquads: string[];
34
37
  rawInbound?: unknown;
35
38
  }, {
36
39
  type: string;
@@ -40,6 +43,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
40
43
  network: string | null;
41
44
  security: string | null;
42
45
  port: number | null;
46
+ activeSquads: string[];
43
47
  rawInbound?: unknown;
44
48
  }>, "many">;
45
49
  }, "strip", z.ZodTypeAny, {
@@ -51,6 +55,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
51
55
  network: string | null;
52
56
  security: string | null;
53
57
  port: number | null;
58
+ activeSquads: string[];
54
59
  rawInbound?: unknown;
55
60
  }[];
56
61
  total: number;
@@ -63,6 +68,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
63
68
  network: string | null;
64
69
  security: string | null;
65
70
  port: number | null;
71
+ activeSquads: string[];
66
72
  rawInbound?: unknown;
67
73
  }[];
68
74
  total: number;
@@ -77,6 +83,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
77
83
  network: string | null;
78
84
  security: string | null;
79
85
  port: number | null;
86
+ activeSquads: string[];
80
87
  rawInbound?: unknown;
81
88
  }[];
82
89
  total: number;
@@ -91,6 +98,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
91
98
  network: string | null;
92
99
  security: string | null;
93
100
  port: number | null;
101
+ activeSquads: string[];
94
102
  rawInbound?: unknown;
95
103
  }[];
96
104
  total: number;
@@ -1 +1 @@
1
- {"version":3,"file":"get-inbounds-by-profile-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-inbounds-by-profile-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,0BAAwD,CAAC;IAClE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-inbounds-by-profile-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-inbounds-by-profile-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,0BAAwD,CAAC;IAClE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -16,7 +16,9 @@ var GetInboundsByProfileUuidCommand;
16
16
  GetInboundsByProfileUuidCommand.ResponseSchema = zod_1.z.object({
17
17
  response: zod_1.z.object({
18
18
  total: zod_1.z.number(),
19
- inbounds: zod_1.z.array(models_1.ConfigProfileInboundsSchema),
19
+ inbounds: zod_1.z.array(models_1.ConfigProfileInboundsSchema.extend({
20
+ activeSquads: zod_1.z.array(zod_1.z.string().uuid()),
21
+ })),
20
22
  }),
21
23
  });
22
24
  })(GetInboundsByProfileUuidCommand || (exports.GetInboundsByProfileUuidCommand = GetInboundsByProfileUuidCommand = {}));
@@ -35,21 +35,21 @@ export declare namespace GetUserAccessibleNodesCommand {
35
35
  countryCode: string;
36
36
  nodeName: string;
37
37
  configProfileUuid: string;
38
- configProfileName: string;
39
38
  activeSquads: {
40
39
  activeInbounds: string[];
41
40
  squadName: string;
42
41
  }[];
42
+ configProfileName: string;
43
43
  }, {
44
44
  uuid: string;
45
45
  countryCode: string;
46
46
  nodeName: string;
47
47
  configProfileUuid: string;
48
- configProfileName: string;
49
48
  activeSquads: {
50
49
  activeInbounds: string[];
51
50
  squadName: string;
52
51
  }[];
52
+ configProfileName: string;
53
53
  }>, "many">;
54
54
  }, "strip", z.ZodTypeAny, {
55
55
  userUuid: string;
@@ -58,11 +58,11 @@ export declare namespace GetUserAccessibleNodesCommand {
58
58
  countryCode: string;
59
59
  nodeName: string;
60
60
  configProfileUuid: string;
61
- configProfileName: string;
62
61
  activeSquads: {
63
62
  activeInbounds: string[];
64
63
  squadName: string;
65
64
  }[];
65
+ configProfileName: string;
66
66
  }[];
67
67
  }, {
68
68
  userUuid: string;
@@ -71,11 +71,11 @@ export declare namespace GetUserAccessibleNodesCommand {
71
71
  countryCode: string;
72
72
  nodeName: string;
73
73
  configProfileUuid: string;
74
- configProfileName: string;
75
74
  activeSquads: {
76
75
  activeInbounds: string[];
77
76
  squadName: string;
78
77
  }[];
78
+ configProfileName: string;
79
79
  }[];
80
80
  }>;
81
81
  }, "strip", z.ZodTypeAny, {
@@ -86,11 +86,11 @@ export declare namespace GetUserAccessibleNodesCommand {
86
86
  countryCode: string;
87
87
  nodeName: string;
88
88
  configProfileUuid: string;
89
- configProfileName: string;
90
89
  activeSquads: {
91
90
  activeInbounds: string[];
92
91
  squadName: string;
93
92
  }[];
93
+ configProfileName: string;
94
94
  }[];
95
95
  };
96
96
  }, {
@@ -101,11 +101,11 @@ export declare namespace GetUserAccessibleNodesCommand {
101
101
  countryCode: string;
102
102
  nodeName: string;
103
103
  configProfileUuid: string;
104
- configProfileName: string;
105
104
  activeSquads: {
106
105
  activeInbounds: string[];
107
106
  squadName: string;
108
107
  }[];
108
+ configProfileName: string;
109
109
  }[];
110
110
  };
111
111
  }>;
@@ -13,7 +13,9 @@ var GetAllInboundsCommand;
13
13
  GetAllInboundsCommand.ResponseSchema = zod_1.z.object({
14
14
  response: zod_1.z.object({
15
15
  total: zod_1.z.number(),
16
- inbounds: zod_1.z.array(models_1.ConfigProfileInboundsSchema),
16
+ inbounds: zod_1.z.array(models_1.ConfigProfileInboundsSchema.extend({
17
+ activeSquads: zod_1.z.array(zod_1.z.string().uuid()),
18
+ })),
17
19
  }),
18
20
  });
19
21
  })(GetAllInboundsCommand || (exports.GetAllInboundsCommand = GetAllInboundsCommand = {}));
@@ -16,7 +16,9 @@ var GetInboundsByProfileUuidCommand;
16
16
  GetInboundsByProfileUuidCommand.ResponseSchema = zod_1.z.object({
17
17
  response: zod_1.z.object({
18
18
  total: zod_1.z.number(),
19
- inbounds: zod_1.z.array(models_1.ConfigProfileInboundsSchema),
19
+ inbounds: zod_1.z.array(models_1.ConfigProfileInboundsSchema.extend({
20
+ activeSquads: zod_1.z.array(zod_1.z.string().uuid()),
21
+ })),
20
22
  }),
21
23
  });
22
24
  })(GetInboundsByProfileUuidCommand || (exports.GetInboundsByProfileUuidCommand = GetInboundsByProfileUuidCommand = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.1.23",
3
+ "version": "2.1.25",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",