@remnawave/backend-contract 2.1.29 → 2.1.31

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.
@@ -84,7 +84,19 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
84
84
  fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
85
  host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
86
  network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
+ password: z.ZodObject<{
88
+ ssPassword: z.ZodString;
89
+ trojanPassword: z.ZodString;
90
+ vlessPassword: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ trojanPassword: string;
93
+ ssPassword: string;
94
+ vlessPassword: string;
95
+ }, {
96
+ trojanPassword: string;
97
+ ssPassword: string;
98
+ vlessPassword: string;
99
+ }>;
88
100
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
101
  publicKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
102
  port: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -165,8 +177,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
165
177
  inboundTag: string;
166
178
  }>>;
167
179
  }, "strip", z.ZodTypeAny, {
180
+ password: {
181
+ trojanPassword: string;
182
+ ssPassword: string;
183
+ vlessPassword: string;
184
+ };
168
185
  path?: string | null | undefined;
169
- password?: string | null | undefined;
170
186
  network?: string | null | undefined;
171
187
  port?: number | null | undefined;
172
188
  remark?: string | null | undefined;
@@ -209,8 +225,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
209
225
  inboundTag: string;
210
226
  } | undefined;
211
227
  }, {
228
+ password: {
229
+ trojanPassword: string;
230
+ ssPassword: string;
231
+ vlessPassword: string;
232
+ };
212
233
  path?: string | null | undefined;
213
- password?: string | null | undefined;
214
234
  network?: string | null | undefined;
215
235
  port?: number | null | undefined;
216
236
  remark?: string | null | undefined;
@@ -274,8 +294,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
274
294
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
275
295
  };
276
296
  rawHosts: {
297
+ password: {
298
+ trojanPassword: string;
299
+ ssPassword: string;
300
+ vlessPassword: string;
301
+ };
277
302
  path?: string | null | undefined;
278
- password?: string | null | undefined;
279
303
  network?: string | null | undefined;
280
304
  port?: number | null | undefined;
281
305
  remark?: string | null | undefined;
@@ -339,8 +363,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
339
363
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
340
364
  };
341
365
  rawHosts: {
366
+ password: {
367
+ trojanPassword: string;
368
+ ssPassword: string;
369
+ vlessPassword: string;
370
+ };
342
371
  path?: string | null | undefined;
343
- password?: string | null | undefined;
344
372
  network?: string | null | undefined;
345
373
  port?: number | null | undefined;
346
374
  remark?: string | null | undefined;
@@ -406,8 +434,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
406
434
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
407
435
  };
408
436
  rawHosts: {
437
+ password: {
438
+ trojanPassword: string;
439
+ ssPassword: string;
440
+ vlessPassword: string;
441
+ };
409
442
  path?: string | null | undefined;
410
- password?: string | null | undefined;
411
443
  network?: string | null | undefined;
412
444
  port?: number | null | undefined;
413
445
  remark?: string | null | undefined;
@@ -473,8 +505,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
473
505
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
474
506
  };
475
507
  rawHosts: {
508
+ password: {
509
+ trojanPassword: string;
510
+ ssPassword: string;
511
+ vlessPassword: string;
512
+ };
476
513
  path?: string | null | undefined;
477
- password?: string | null | undefined;
478
514
  network?: string | null | undefined;
479
515
  port?: number | null | undefined;
480
516
  remark?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAM7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsFzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-raw-subscription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AC,CAAC;CACzD"}
@@ -48,7 +48,11 @@ var GetRawSubscriptionByShortUuidCommand;
48
48
  fingerprint: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
49
49
  host: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
50
50
  network: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
51
- password: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
51
+ password: zod_1.z.object({
52
+ ssPassword: zod_1.z.string(),
53
+ trojanPassword: zod_1.z.string(),
54
+ vlessPassword: zod_1.z.string(),
55
+ }),
52
56
  path: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
53
57
  publicKey: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
54
58
  port: zod_1.z.optional(zod_1.z.nullable(zod_1.z.number())),
@@ -48,7 +48,11 @@ var GetRawSubscriptionByShortUuidCommand;
48
48
  fingerprint: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
49
49
  host: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
50
50
  network: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
51
- password: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
51
+ password: zod_1.z.object({
52
+ ssPassword: zod_1.z.string(),
53
+ trojanPassword: zod_1.z.string(),
54
+ vlessPassword: zod_1.z.string(),
55
+ }),
52
56
  path: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
53
57
  publicKey: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
54
58
  port: zod_1.z.optional(zod_1.z.nullable(zod_1.z.number())),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.1.29",
3
+ "version": "2.1.31",
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.",