@remnawave/backend-contract 0.0.82 → 0.0.83
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.
- package/build/backend/commands/users/create-user.command.d.ts +3 -0
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +1 -0
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- package/build/frontend/commands/users/create-user.command.js +1 -0
- package/build/frontend/constants/errors/errors.js +5 -0
- package/package.json +1 -1
@@ -17,11 +17,13 @@ export declare namespace CreateUserCommand {
|
|
17
17
|
createdAt: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, Date>>;
|
18
18
|
lastTrafficResetAt: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, Date>>;
|
19
19
|
description: z.ZodOptional<z.ZodString>;
|
20
|
+
activateAllInbounds: z.ZodDefault<z.ZodBoolean>;
|
20
21
|
}, "strip", z.ZodTypeAny, {
|
21
22
|
username: string;
|
22
23
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
23
24
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
|
24
25
|
expireAt: Date;
|
26
|
+
activateAllInbounds: boolean;
|
25
27
|
createdAt?: Date | undefined;
|
26
28
|
trafficLimitBytes?: number | undefined;
|
27
29
|
subscriptionUuid?: string | undefined;
|
@@ -47,6 +49,7 @@ export declare namespace CreateUserCommand {
|
|
47
49
|
vlessUuid?: string | undefined;
|
48
50
|
ssPassword?: string | undefined;
|
49
51
|
activeUserInbounds?: string[] | undefined;
|
52
|
+
activateAllInbounds?: boolean | undefined;
|
50
53
|
}>;
|
51
54
|
type Request = z.infer<typeof RequestSchema>;
|
52
55
|
const ResponseSchema: z.ZodObject<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/create-user.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,aAAa
|
1
|
+
{"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/create-user.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,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoGxB,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"}
|
@@ -304,5 +304,10 @@ export declare const ERRORS: {
|
|
304
304
|
readonly message: "Reorder nodes error";
|
305
305
|
readonly httpCode: 500;
|
306
306
|
};
|
307
|
+
readonly GET_ALL_INBOUNDS_ERROR: {
|
308
|
+
readonly code: "A058";
|
309
|
+
readonly message: "Get all inbounds error";
|
310
|
+
readonly httpCode: 500;
|
311
|
+
};
|
307
312
|
};
|
308
313
|
//# sourceMappingURL=errors.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8H3B,CAAC"}
|