@remnawave/backend-contract 0.3.46 → 0.3.48

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.
@@ -7,26 +7,41 @@ export declare namespace GetInboundsCommand {
7
7
  uuid: z.ZodString;
8
8
  tag: z.ZodString;
9
9
  type: z.ZodString;
10
+ port: z.ZodNumber;
11
+ network: z.ZodNullable<z.ZodString>;
12
+ security: z.ZodNullable<z.ZodString>;
10
13
  }, "strip", z.ZodTypeAny, {
11
14
  uuid: string;
12
15
  type: string;
13
16
  tag: string;
17
+ port: number;
18
+ network: string | null;
19
+ security: string | null;
14
20
  }, {
15
21
  uuid: string;
16
22
  type: string;
17
23
  tag: string;
24
+ port: number;
25
+ network: string | null;
26
+ security: string | null;
18
27
  }>, "many">;
19
28
  }, "strip", z.ZodTypeAny, {
20
29
  response: {
21
30
  uuid: string;
22
31
  type: string;
23
32
  tag: string;
33
+ port: number;
34
+ network: string | null;
35
+ security: string | null;
24
36
  }[];
25
37
  }, {
26
38
  response: {
27
39
  uuid: string;
28
40
  type: string;
29
41
  tag: string;
42
+ port: number;
43
+ network: string | null;
44
+ security: string | null;
30
45
  }[];
31
46
  }>;
32
47
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/inbounds/get-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,kBAAiC,CAAC;IAC3C,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/inbounds/get-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,kBAAiC,CAAC;IAC3C,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -2,13 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetInboundsCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const inbounds_schema_1 = require("../../models/inbounds.schema");
6
5
  const api_1 = require("../../api");
7
6
  var GetInboundsCommand;
8
7
  (function (GetInboundsCommand) {
9
8
  GetInboundsCommand.url = api_1.REST_API.INBOUNDS.GET_INBOUNDS;
10
9
  GetInboundsCommand.TSQ_url = GetInboundsCommand.url;
11
10
  GetInboundsCommand.ResponseSchema = zod_1.z.object({
12
- response: zod_1.z.array(inbounds_schema_1.InboundsSchema),
11
+ response: zod_1.z.array(zod_1.z.object({
12
+ uuid: zod_1.z.string().uuid(),
13
+ tag: zod_1.z.string(),
14
+ type: zod_1.z.string(),
15
+ port: zod_1.z.number(),
16
+ network: zod_1.z.string().nullable(),
17
+ security: zod_1.z.string().nullable(),
18
+ })),
13
19
  });
14
20
  })(GetInboundsCommand || (exports.GetInboundsCommand = GetInboundsCommand = {}));
@@ -2,13 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetInboundsCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const inbounds_schema_1 = require("../../models/inbounds.schema");
6
5
  const api_1 = require("../../api");
7
6
  var GetInboundsCommand;
8
7
  (function (GetInboundsCommand) {
9
8
  GetInboundsCommand.url = api_1.REST_API.INBOUNDS.GET_INBOUNDS;
10
9
  GetInboundsCommand.TSQ_url = GetInboundsCommand.url;
11
10
  GetInboundsCommand.ResponseSchema = zod_1.z.object({
12
- response: zod_1.z.array(inbounds_schema_1.InboundsSchema),
11
+ response: zod_1.z.array(zod_1.z.object({
12
+ uuid: zod_1.z.string().uuid(),
13
+ tag: zod_1.z.string(),
14
+ type: zod_1.z.string(),
15
+ port: zod_1.z.number(),
16
+ network: zod_1.z.string().nullable(),
17
+ security: zod_1.z.string().nullable(),
18
+ })),
13
19
  });
14
20
  })(GetInboundsCommand || (exports.GetInboundsCommand = GetInboundsCommand = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.3.46",
3
+ "version": "0.3.48",
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.",