@remnawave/backend-contract 2.5.6 → 2.5.8

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.
@@ -22,12 +22,32 @@ export declare namespace GetUserAccessibleNodesCommand {
22
22
  configProfileName: z.ZodString;
23
23
  activeSquads: z.ZodArray<z.ZodObject<{
24
24
  squadName: z.ZodString;
25
- activeInbounds: z.ZodArray<z.ZodString, "many">;
25
+ activeInbounds: z.ZodArray<z.ZodObject<{
26
+ uuid: z.ZodString;
27
+ tag: z.ZodString;
28
+ type: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ type: string;
31
+ uuid: string;
32
+ tag: string;
33
+ }, {
34
+ type: string;
35
+ uuid: string;
36
+ tag: string;
37
+ }>, "many">;
26
38
  }, "strip", z.ZodTypeAny, {
27
- activeInbounds: string[];
39
+ activeInbounds: {
40
+ type: string;
41
+ uuid: string;
42
+ tag: string;
43
+ }[];
28
44
  squadName: string;
29
45
  }, {
30
- activeInbounds: string[];
46
+ activeInbounds: {
47
+ type: string;
48
+ uuid: string;
49
+ tag: string;
50
+ }[];
31
51
  squadName: string;
32
52
  }>, "many">;
33
53
  }, "strip", z.ZodTypeAny, {
@@ -36,7 +56,11 @@ export declare namespace GetUserAccessibleNodesCommand {
36
56
  countryCode: string;
37
57
  configProfileUuid: string;
38
58
  activeSquads: {
39
- activeInbounds: string[];
59
+ activeInbounds: {
60
+ type: string;
61
+ uuid: string;
62
+ tag: string;
63
+ }[];
40
64
  squadName: string;
41
65
  }[];
42
66
  configProfileName: string;
@@ -46,7 +70,11 @@ export declare namespace GetUserAccessibleNodesCommand {
46
70
  countryCode: string;
47
71
  configProfileUuid: string;
48
72
  activeSquads: {
49
- activeInbounds: string[];
73
+ activeInbounds: {
74
+ type: string;
75
+ uuid: string;
76
+ tag: string;
77
+ }[];
50
78
  squadName: string;
51
79
  }[];
52
80
  configProfileName: string;
@@ -59,7 +87,11 @@ export declare namespace GetUserAccessibleNodesCommand {
59
87
  countryCode: string;
60
88
  configProfileUuid: string;
61
89
  activeSquads: {
62
- activeInbounds: string[];
90
+ activeInbounds: {
91
+ type: string;
92
+ uuid: string;
93
+ tag: string;
94
+ }[];
63
95
  squadName: string;
64
96
  }[];
65
97
  configProfileName: string;
@@ -72,7 +104,11 @@ export declare namespace GetUserAccessibleNodesCommand {
72
104
  countryCode: string;
73
105
  configProfileUuid: string;
74
106
  activeSquads: {
75
- activeInbounds: string[];
107
+ activeInbounds: {
108
+ type: string;
109
+ uuid: string;
110
+ tag: string;
111
+ }[];
76
112
  squadName: string;
77
113
  }[];
78
114
  configProfileName: string;
@@ -87,7 +123,11 @@ export declare namespace GetUserAccessibleNodesCommand {
87
123
  countryCode: string;
88
124
  configProfileUuid: string;
89
125
  activeSquads: {
90
- activeInbounds: string[];
126
+ activeInbounds: {
127
+ type: string;
128
+ uuid: string;
129
+ tag: string;
130
+ }[];
91
131
  squadName: string;
92
132
  }[];
93
133
  configProfileName: string;
@@ -102,7 +142,11 @@ export declare namespace GetUserAccessibleNodesCommand {
102
142
  countryCode: string;
103
143
  configProfileUuid: string;
104
144
  activeSquads: {
105
- activeInbounds: string[];
145
+ activeInbounds: {
146
+ type: string;
147
+ uuid: string;
148
+ tag: string;
149
+ }[];
106
150
  squadName: string;
107
151
  }[];
108
152
  configProfileName: string;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBzB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -23,7 +23,11 @@ var GetUserAccessibleNodesCommand;
23
23
  configProfileName: zod_1.z.string(),
24
24
  activeSquads: zod_1.z.array(zod_1.z.object({
25
25
  squadName: zod_1.z.string(),
26
- activeInbounds: zod_1.z.array(zod_1.z.string()),
26
+ activeInbounds: zod_1.z.array(zod_1.z.object({
27
+ uuid: zod_1.z.string().uuid(),
28
+ tag: zod_1.z.string(),
29
+ type: zod_1.z.string(),
30
+ })),
27
31
  })),
28
32
  })),
29
33
  }),
@@ -1,3 +1,3 @@
1
- export declare const TEMPLATE_KEYS: readonly ["DAYS_LEFT", "TRAFFIC_USED", "TRAFFIC_LEFT", "STATUS", "TOTAL_TRAFFIC", "USERNAME", "EMAIL", "TELEGRAM_ID", "SUBSCRIPTION_URL", "TAG", "EXPIRE_UNIX", "SHORT_UUID", "ID"];
1
+ export declare const TEMPLATE_KEYS: readonly ["DAYS_LEFT", "TRAFFIC_USED", "TRAFFIC_LEFT", "STATUS", "TOTAL_TRAFFIC", "USERNAME", "EMAIL", "TELEGRAM_ID", "SUBSCRIPTION_URL", "TAG", "EXPIRE_UNIX", "SHORT_UUID", "ID", "TRAFFIC_USED_BYTES", "TRAFFIC_LEFT_BYTES", "TOTAL_TRAFFIC_BYTES"];
2
2
  export type TemplateKeys = (typeof TEMPLATE_KEYS)[number];
3
3
  //# sourceMappingURL=template-keys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"template-keys.d.ts","sourceRoot":"","sources":["../../../../constants/templates/template-keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,qLAchB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"template-keys.d.ts","sourceRoot":"","sources":["../../../../constants/templates/template-keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,wPAiBhB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -15,4 +15,7 @@ exports.TEMPLATE_KEYS = [
15
15
  'EXPIRE_UNIX',
16
16
  'SHORT_UUID',
17
17
  'ID',
18
+ 'TRAFFIC_USED_BYTES',
19
+ 'TRAFFIC_LEFT_BYTES',
20
+ 'TOTAL_TRAFFIC_BYTES',
18
21
  ];
@@ -23,7 +23,11 @@ var GetUserAccessibleNodesCommand;
23
23
  configProfileName: zod_1.z.string(),
24
24
  activeSquads: zod_1.z.array(zod_1.z.object({
25
25
  squadName: zod_1.z.string(),
26
- activeInbounds: zod_1.z.array(zod_1.z.string()),
26
+ activeInbounds: zod_1.z.array(zod_1.z.object({
27
+ uuid: zod_1.z.string().uuid(),
28
+ tag: zod_1.z.string(),
29
+ type: zod_1.z.string(),
30
+ })),
27
31
  })),
28
32
  })),
29
33
  }),
@@ -15,4 +15,7 @@ exports.TEMPLATE_KEYS = [
15
15
  'EXPIRE_UNIX',
16
16
  'SHORT_UUID',
17
17
  'ID',
18
+ 'TRAFFIC_USED_BYTES',
19
+ 'TRAFFIC_LEFT_BYTES',
20
+ 'TOTAL_TRAFFIC_BYTES',
18
21
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.5.6",
3
+ "version": "2.5.8",
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.",