@remnawave/backend-contract 0.0.81 → 0.0.82

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.
Files changed (38) hide show
  1. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +7 -7
  2. package/build/backend/commands/users/create-user.command.d.ts +16 -8
  3. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  4. package/build/backend/commands/users/create-user.command.js +1 -0
  5. package/build/backend/commands/users/disable-user.command.ts.d.ts +10 -5
  6. package/build/backend/commands/users/disable-user.command.ts.d.ts.map +1 -1
  7. package/build/backend/commands/users/enable-user.command.d.ts +10 -5
  8. package/build/backend/commands/users/enable-user.command.d.ts.map +1 -1
  9. package/build/backend/commands/users/get-all-users-v2.command.d.ts +14 -7
  10. package/build/backend/commands/users/get-all-users-v2.command.d.ts.map +1 -1
  11. package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts +10 -5
  12. package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts.map +1 -1
  13. package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts +10 -5
  14. package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +1 -1
  15. package/build/backend/commands/users/get-user-by-username.command.d.ts +10 -5
  16. package/build/backend/commands/users/get-user-by-username.command.d.ts.map +1 -1
  17. package/build/backend/commands/users/get-user-by-uuid.command.d.ts +10 -5
  18. package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
  19. package/build/backend/commands/users/reset-user-traffic.command.d.ts +10 -5
  20. package/build/backend/commands/users/reset-user-traffic.command.d.ts.map +1 -1
  21. package/build/backend/commands/users/revoke-user-subscription.command.d.ts +10 -5
  22. package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -1
  23. package/build/backend/commands/users/update-user.command.d.ts +18 -9
  24. package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
  25. package/build/backend/commands/users/update-user.command.js +1 -0
  26. package/build/backend/constants/events/events.d.ts +25 -21
  27. package/build/backend/constants/events/events.d.ts.map +1 -1
  28. package/build/backend/constants/events/events.js +2 -0
  29. package/build/backend/constants/nodes/status/status.constant.d.ts +1 -1
  30. package/build/backend/constants/users/status/status.constant.d.ts +1 -1
  31. package/build/backend/models/users.schema.d.ts +6 -3
  32. package/build/backend/models/users.schema.d.ts.map +1 -1
  33. package/build/backend/models/users.schema.js +1 -0
  34. package/build/frontend/commands/users/create-user.command.js +1 -0
  35. package/build/frontend/commands/users/update-user.command.js +1 -0
  36. package/build/frontend/constants/events/events.js +2 -0
  37. package/build/frontend/models/users.schema.js +1 -0
  38. package/package.json +1 -1
@@ -21,7 +21,7 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
21
21
  username: z.ZodString;
22
22
  expiresAt: z.ZodEffects<z.ZodString, Date, string>;
23
23
  isActive: z.ZodBoolean;
24
- userStatus: z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>;
24
+ userStatus: z.ZodEnum<["DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE", ...("DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE")[]]>;
25
25
  }, "strip", z.ZodTypeAny, {
26
26
  username: string;
27
27
  shortUuid: string;
@@ -30,7 +30,7 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
30
30
  trafficLimit: string;
31
31
  expiresAt: Date;
32
32
  isActive: boolean;
33
- userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
33
+ userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
34
34
  }, {
35
35
  username: string;
36
36
  shortUuid: string;
@@ -39,7 +39,7 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
39
39
  trafficLimit: string;
40
40
  expiresAt: string;
41
41
  isActive: boolean;
42
- userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
42
+ userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
43
43
  }>;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  isFound: boolean;
@@ -51,7 +51,7 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
51
51
  trafficLimit: string;
52
52
  expiresAt: Date;
53
53
  isActive: boolean;
54
- userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
54
+ userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
55
55
  };
56
56
  }, {
57
57
  isFound: boolean;
@@ -63,7 +63,7 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
63
63
  trafficLimit: string;
64
64
  expiresAt: string;
65
65
  isActive: boolean;
66
- userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
66
+ userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
67
67
  };
68
68
  }>;
69
69
  }, "strip", z.ZodTypeAny, {
@@ -77,7 +77,7 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
77
77
  trafficLimit: string;
78
78
  expiresAt: Date;
79
79
  isActive: boolean;
80
- userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
80
+ userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
81
81
  };
82
82
  };
83
83
  }, {
@@ -91,7 +91,7 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
91
91
  trafficLimit: string;
92
92
  expiresAt: string;
93
93
  isActive: boolean;
94
- userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
94
+ userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
95
95
  };
96
96
  };
97
97
  }>;
@@ -4,7 +4,7 @@ export declare namespace CreateUserCommand {
4
4
  const TSQ_url: "/api/users/";
5
5
  const RequestSchema: z.ZodObject<{
6
6
  username: z.ZodString;
7
- status: z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>>>;
7
+ status: z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodEnum<["DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE", ...("DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE")[]]>>>>;
8
8
  subscriptionUuid: z.ZodOptional<z.ZodString>;
9
9
  shortUuid: z.ZodOptional<z.ZodString>;
10
10
  trojanPassword: z.ZodOptional<z.ZodString>;
@@ -16,15 +16,17 @@ export declare namespace CreateUserCommand {
16
16
  expireAt: z.ZodEffects<z.ZodDate, Date, Date>;
17
17
  createdAt: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, Date>>;
18
18
  lastTrafficResetAt: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, Date>>;
19
+ description: z.ZodOptional<z.ZodString>;
19
20
  }, "strip", z.ZodTypeAny, {
20
21
  username: string;
21
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
22
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
22
23
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
23
24
  expireAt: Date;
24
25
  createdAt?: Date | undefined;
25
26
  trafficLimitBytes?: number | undefined;
26
27
  subscriptionUuid?: string | undefined;
27
28
  shortUuid?: string | undefined;
29
+ description?: string | undefined;
28
30
  lastTrafficResetAt?: Date | undefined;
29
31
  trojanPassword?: string | undefined;
30
32
  vlessUuid?: string | undefined;
@@ -33,11 +35,12 @@ export declare namespace CreateUserCommand {
33
35
  }, {
34
36
  username: string;
35
37
  expireAt: Date;
36
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
38
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
37
39
  createdAt?: Date | undefined;
38
40
  trafficLimitBytes?: number | undefined;
39
41
  subscriptionUuid?: string | undefined;
40
42
  shortUuid?: string | undefined;
43
+ description?: string | undefined;
41
44
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
42
45
  lastTrafficResetAt?: Date | undefined;
43
46
  trojanPassword?: string | undefined;
@@ -52,7 +55,7 @@ export declare namespace CreateUserCommand {
52
55
  subscriptionUuid: z.ZodString;
53
56
  shortUuid: z.ZodString;
54
57
  username: z.ZodString;
55
- status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
58
+ status: z.ZodDefault<z.ZodEnum<["DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE", ...("DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE")[]]>>;
56
59
  usedTrafficBytes: z.ZodNumber;
57
60
  lifetimeUsedTrafficBytes: z.ZodNumber;
58
61
  trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
@@ -66,6 +69,7 @@ export declare namespace CreateUserCommand {
66
69
  trojanPassword: z.ZodString;
67
70
  vlessUuid: z.ZodString;
68
71
  ssPassword: z.ZodString;
72
+ description: z.ZodNullable<z.ZodString>;
69
73
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
70
74
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
71
75
  activeUserInbounds: z.ZodArray<z.ZodObject<{
@@ -84,7 +88,7 @@ export declare namespace CreateUserCommand {
84
88
  }, "strip", z.ZodTypeAny, {
85
89
  uuid: string;
86
90
  username: string;
87
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
91
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
92
  createdAt: Date;
89
93
  updatedAt: Date;
90
94
  trafficLimitBytes: number;
@@ -92,6 +96,7 @@ export declare namespace CreateUserCommand {
92
96
  shortUuid: string;
93
97
  usedTrafficBytes: number;
94
98
  lifetimeUsedTrafficBytes: number;
99
+ description: string | null;
95
100
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
96
101
  subLastUserAgent: string | null;
97
102
  subLastOpenedAt: Date | null;
@@ -116,6 +121,7 @@ export declare namespace CreateUserCommand {
116
121
  shortUuid: string;
117
122
  usedTrafficBytes: number;
118
123
  lifetimeUsedTrafficBytes: number;
124
+ description: string | null;
119
125
  subLastUserAgent: string | null;
120
126
  subLastOpenedAt: string | null;
121
127
  expireAt: string | null;
@@ -130,7 +136,7 @@ export declare namespace CreateUserCommand {
130
136
  type: string;
131
137
  tag: string;
132
138
  }[];
133
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
139
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
134
140
  trafficLimitBytes?: number | undefined;
135
141
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
136
142
  }>;
@@ -138,7 +144,7 @@ export declare namespace CreateUserCommand {
138
144
  response: {
139
145
  uuid: string;
140
146
  username: string;
141
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
147
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
142
148
  createdAt: Date;
143
149
  updatedAt: Date;
144
150
  trafficLimitBytes: number;
@@ -146,6 +152,7 @@ export declare namespace CreateUserCommand {
146
152
  shortUuid: string;
147
153
  usedTrafficBytes: number;
148
154
  lifetimeUsedTrafficBytes: number;
155
+ description: string | null;
149
156
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
150
157
  subLastUserAgent: string | null;
151
158
  subLastOpenedAt: Date | null;
@@ -172,6 +179,7 @@ export declare namespace CreateUserCommand {
172
179
  shortUuid: string;
173
180
  usedTrafficBytes: number;
174
181
  lifetimeUsedTrafficBytes: number;
182
+ description: string | null;
175
183
  subLastUserAgent: string | null;
176
184
  subLastOpenedAt: string | null;
177
185
  expireAt: string | null;
@@ -186,7 +194,7 @@ export declare namespace CreateUserCommand {
186
194
  type: string;
187
195
  tag: string;
188
196
  }[];
189
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
197
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
190
198
  trafficLimitBytes?: number | undefined;
191
199
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
192
200
  };
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkGxB,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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmGxB,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"}
@@ -104,6 +104,7 @@ var CreateUserCommand;
104
104
  message: 'Expiration date cannot be in the past',
105
105
  })
106
106
  .optional(),
107
+ description: zod_1.z.string().optional(),
107
108
  });
108
109
  CreateUserCommand.ResponseSchema = zod_1.z.object({
109
110
  response: models_1.UsersSchema,
@@ -16,7 +16,7 @@ export declare namespace DisableUserCommand {
16
16
  subscriptionUuid: z.ZodString;
17
17
  shortUuid: z.ZodString;
18
18
  username: z.ZodString;
19
- status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
19
+ status: z.ZodDefault<z.ZodEnum<["DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE", ...("DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE")[]]>>;
20
20
  usedTrafficBytes: z.ZodNumber;
21
21
  lifetimeUsedTrafficBytes: z.ZodNumber;
22
22
  trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
@@ -30,6 +30,7 @@ export declare namespace DisableUserCommand {
30
30
  trojanPassword: z.ZodString;
31
31
  vlessUuid: z.ZodString;
32
32
  ssPassword: z.ZodString;
33
+ description: z.ZodNullable<z.ZodString>;
33
34
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
34
35
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
35
36
  activeUserInbounds: z.ZodArray<z.ZodObject<{
@@ -50,7 +51,7 @@ export declare namespace DisableUserCommand {
50
51
  }>, "strip", z.ZodTypeAny, {
51
52
  uuid: string;
52
53
  username: string;
53
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
54
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
54
55
  createdAt: Date;
55
56
  updatedAt: Date;
56
57
  trafficLimitBytes: number;
@@ -58,6 +59,7 @@ export declare namespace DisableUserCommand {
58
59
  shortUuid: string;
59
60
  usedTrafficBytes: number;
60
61
  lifetimeUsedTrafficBytes: number;
62
+ description: string | null;
61
63
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
62
64
  subLastUserAgent: string | null;
63
65
  subLastOpenedAt: Date | null;
@@ -83,6 +85,7 @@ export declare namespace DisableUserCommand {
83
85
  shortUuid: string;
84
86
  usedTrafficBytes: number;
85
87
  lifetimeUsedTrafficBytes: number;
88
+ description: string | null;
86
89
  subLastUserAgent: string | null;
87
90
  subLastOpenedAt: string | null;
88
91
  expireAt: string | null;
@@ -98,7 +101,7 @@ export declare namespace DisableUserCommand {
98
101
  tag: string;
99
102
  }[];
100
103
  subscriptionUrl: string;
101
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
104
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
102
105
  trafficLimitBytes?: number | undefined;
103
106
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
104
107
  }>;
@@ -106,7 +109,7 @@ export declare namespace DisableUserCommand {
106
109
  response: {
107
110
  uuid: string;
108
111
  username: string;
109
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
112
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
110
113
  createdAt: Date;
111
114
  updatedAt: Date;
112
115
  trafficLimitBytes: number;
@@ -114,6 +117,7 @@ export declare namespace DisableUserCommand {
114
117
  shortUuid: string;
115
118
  usedTrafficBytes: number;
116
119
  lifetimeUsedTrafficBytes: number;
120
+ description: string | null;
117
121
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
118
122
  subLastUserAgent: string | null;
119
123
  subLastOpenedAt: Date | null;
@@ -141,6 +145,7 @@ export declare namespace DisableUserCommand {
141
145
  shortUuid: string;
142
146
  usedTrafficBytes: number;
143
147
  lifetimeUsedTrafficBytes: number;
148
+ description: string | null;
144
149
  subLastUserAgent: string | null;
145
150
  subLastOpenedAt: string | null;
146
151
  expireAt: string | null;
@@ -156,7 +161,7 @@ export declare namespace DisableUserCommand {
156
161
  tag: string;
157
162
  }[];
158
163
  subscriptionUrl: string;
159
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
164
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
160
165
  trafficLimitBytes?: number | undefined;
161
166
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
162
167
  };
@@ -1 +1 @@
1
- {"version":3,"file":"disable-user.command.ts.d.ts","sourceRoot":"","sources":["../../../../commands/users/disable-user.command.ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAA8B,CAAC;IACxC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"disable-user.command.ts.d.ts","sourceRoot":"","sources":["../../../../commands/users/disable-user.command.ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAA8B,CAAC;IACxC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -16,7 +16,7 @@ export declare namespace EnableUserCommand {
16
16
  subscriptionUuid: z.ZodString;
17
17
  shortUuid: z.ZodString;
18
18
  username: z.ZodString;
19
- status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
19
+ status: z.ZodDefault<z.ZodEnum<["DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE", ...("DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE")[]]>>;
20
20
  usedTrafficBytes: z.ZodNumber;
21
21
  lifetimeUsedTrafficBytes: z.ZodNumber;
22
22
  trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
@@ -30,6 +30,7 @@ export declare namespace EnableUserCommand {
30
30
  trojanPassword: z.ZodString;
31
31
  vlessUuid: z.ZodString;
32
32
  ssPassword: z.ZodString;
33
+ description: z.ZodNullable<z.ZodString>;
33
34
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
34
35
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
35
36
  activeUserInbounds: z.ZodArray<z.ZodObject<{
@@ -50,7 +51,7 @@ export declare namespace EnableUserCommand {
50
51
  }>, "strip", z.ZodTypeAny, {
51
52
  uuid: string;
52
53
  username: string;
53
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
54
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
54
55
  createdAt: Date;
55
56
  updatedAt: Date;
56
57
  trafficLimitBytes: number;
@@ -58,6 +59,7 @@ export declare namespace EnableUserCommand {
58
59
  shortUuid: string;
59
60
  usedTrafficBytes: number;
60
61
  lifetimeUsedTrafficBytes: number;
62
+ description: string | null;
61
63
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
62
64
  subLastUserAgent: string | null;
63
65
  subLastOpenedAt: Date | null;
@@ -83,6 +85,7 @@ export declare namespace EnableUserCommand {
83
85
  shortUuid: string;
84
86
  usedTrafficBytes: number;
85
87
  lifetimeUsedTrafficBytes: number;
88
+ description: string | null;
86
89
  subLastUserAgent: string | null;
87
90
  subLastOpenedAt: string | null;
88
91
  expireAt: string | null;
@@ -98,7 +101,7 @@ export declare namespace EnableUserCommand {
98
101
  tag: string;
99
102
  }[];
100
103
  subscriptionUrl: string;
101
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
104
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
102
105
  trafficLimitBytes?: number | undefined;
103
106
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
104
107
  }>;
@@ -106,7 +109,7 @@ export declare namespace EnableUserCommand {
106
109
  response: {
107
110
  uuid: string;
108
111
  username: string;
109
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
112
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
110
113
  createdAt: Date;
111
114
  updatedAt: Date;
112
115
  trafficLimitBytes: number;
@@ -114,6 +117,7 @@ export declare namespace EnableUserCommand {
114
117
  shortUuid: string;
115
118
  usedTrafficBytes: number;
116
119
  lifetimeUsedTrafficBytes: number;
120
+ description: string | null;
117
121
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
118
122
  subLastUserAgent: string | null;
119
123
  subLastOpenedAt: Date | null;
@@ -141,6 +145,7 @@ export declare namespace EnableUserCommand {
141
145
  shortUuid: string;
142
146
  usedTrafficBytes: number;
143
147
  lifetimeUsedTrafficBytes: number;
148
+ description: string | null;
144
149
  subLastUserAgent: string | null;
145
150
  subLastOpenedAt: string | null;
146
151
  expireAt: string | null;
@@ -156,7 +161,7 @@ export declare namespace EnableUserCommand {
156
161
  tag: string;
157
162
  }[];
158
163
  subscriptionUrl: string;
159
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
164
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
160
165
  trafficLimitBytes?: number | undefined;
161
166
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
162
167
  };
@@ -1 +1 @@
1
- {"version":3,"file":"enable-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/enable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"enable-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/enable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -62,7 +62,7 @@ export declare namespace GetAllUsersV2Command {
62
62
  subscriptionUuid: z.ZodString;
63
63
  shortUuid: z.ZodString;
64
64
  username: z.ZodString;
65
- status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
65
+ status: z.ZodDefault<z.ZodEnum<["DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE", ...("DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE")[]]>>;
66
66
  usedTrafficBytes: z.ZodNumber;
67
67
  lifetimeUsedTrafficBytes: z.ZodNumber;
68
68
  trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
@@ -76,6 +76,7 @@ export declare namespace GetAllUsersV2Command {
76
76
  trojanPassword: z.ZodString;
77
77
  vlessUuid: z.ZodString;
78
78
  ssPassword: z.ZodString;
79
+ description: z.ZodNullable<z.ZodString>;
79
80
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
80
81
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
81
82
  activeUserInbounds: z.ZodArray<z.ZodObject<{
@@ -106,7 +107,7 @@ export declare namespace GetAllUsersV2Command {
106
107
  }>, "strip", z.ZodTypeAny, {
107
108
  uuid: string;
108
109
  username: string;
109
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
110
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
110
111
  createdAt: Date;
111
112
  updatedAt: Date;
112
113
  trafficLimitBytes: number;
@@ -114,6 +115,7 @@ export declare namespace GetAllUsersV2Command {
114
115
  shortUuid: string;
115
116
  usedTrafficBytes: number;
116
117
  lifetimeUsedTrafficBytes: number;
118
+ description: string | null;
117
119
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
118
120
  subLastUserAgent: string | null;
119
121
  subLastOpenedAt: Date | null;
@@ -143,6 +145,7 @@ export declare namespace GetAllUsersV2Command {
143
145
  shortUuid: string;
144
146
  usedTrafficBytes: number;
145
147
  lifetimeUsedTrafficBytes: number;
148
+ description: string | null;
146
149
  subLastUserAgent: string | null;
147
150
  subLastOpenedAt: string | null;
148
151
  expireAt: string | null;
@@ -162,7 +165,7 @@ export declare namespace GetAllUsersV2Command {
162
165
  nodeName: string;
163
166
  connectedAt: string;
164
167
  } | null;
165
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
168
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
166
169
  trafficLimitBytes?: number | undefined;
167
170
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
168
171
  }>, "many">;
@@ -171,7 +174,7 @@ export declare namespace GetAllUsersV2Command {
171
174
  users: {
172
175
  uuid: string;
173
176
  username: string;
174
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
177
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
175
178
  createdAt: Date;
176
179
  updatedAt: Date;
177
180
  trafficLimitBytes: number;
@@ -179,6 +182,7 @@ export declare namespace GetAllUsersV2Command {
179
182
  shortUuid: string;
180
183
  usedTrafficBytes: number;
181
184
  lifetimeUsedTrafficBytes: number;
185
+ description: string | null;
182
186
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
183
187
  subLastUserAgent: string | null;
184
188
  subLastOpenedAt: Date | null;
@@ -211,6 +215,7 @@ export declare namespace GetAllUsersV2Command {
211
215
  shortUuid: string;
212
216
  usedTrafficBytes: number;
213
217
  lifetimeUsedTrafficBytes: number;
218
+ description: string | null;
214
219
  subLastUserAgent: string | null;
215
220
  subLastOpenedAt: string | null;
216
221
  expireAt: string | null;
@@ -230,7 +235,7 @@ export declare namespace GetAllUsersV2Command {
230
235
  nodeName: string;
231
236
  connectedAt: string;
232
237
  } | null;
233
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
238
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
234
239
  trafficLimitBytes?: number | undefined;
235
240
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
236
241
  }[];
@@ -241,7 +246,7 @@ export declare namespace GetAllUsersV2Command {
241
246
  users: {
242
247
  uuid: string;
243
248
  username: string;
244
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
249
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
245
250
  createdAt: Date;
246
251
  updatedAt: Date;
247
252
  trafficLimitBytes: number;
@@ -249,6 +254,7 @@ export declare namespace GetAllUsersV2Command {
249
254
  shortUuid: string;
250
255
  usedTrafficBytes: number;
251
256
  lifetimeUsedTrafficBytes: number;
257
+ description: string | null;
252
258
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
253
259
  subLastUserAgent: string | null;
254
260
  subLastOpenedAt: Date | null;
@@ -283,6 +289,7 @@ export declare namespace GetAllUsersV2Command {
283
289
  shortUuid: string;
284
290
  usedTrafficBytes: number;
285
291
  lifetimeUsedTrafficBytes: number;
292
+ description: string | null;
286
293
  subLastUserAgent: string | null;
287
294
  subLastOpenedAt: string | null;
288
295
  expireAt: string | null;
@@ -302,7 +309,7 @@ export declare namespace GetAllUsersV2Command {
302
309
  nodeName: string;
303
310
  connectedAt: string;
304
311
  } | null;
305
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
312
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
306
313
  trafficLimitBytes?: number | undefined;
307
314
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
308
315
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-users-v2.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users-v2.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,iBAA4B,CAAC;IACtC,MAAM,OAAO,iBAAM,CAAC;IAYpB,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyB7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all-users-v2.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users-v2.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,iBAA4B,CAAC;IACtC,MAAM,OAAO,iBAAM,CAAC;IAYpB,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyB7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -16,7 +16,7 @@ export declare namespace GetUserByShortUuidCommand {
16
16
  subscriptionUuid: z.ZodString;
17
17
  shortUuid: z.ZodString;
18
18
  username: z.ZodString;
19
- status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
19
+ status: z.ZodDefault<z.ZodEnum<["DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE", ...("DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE")[]]>>;
20
20
  usedTrafficBytes: z.ZodNumber;
21
21
  lifetimeUsedTrafficBytes: z.ZodNumber;
22
22
  trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
@@ -30,6 +30,7 @@ export declare namespace GetUserByShortUuidCommand {
30
30
  trojanPassword: z.ZodString;
31
31
  vlessUuid: z.ZodString;
32
32
  ssPassword: z.ZodString;
33
+ description: z.ZodNullable<z.ZodString>;
33
34
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
34
35
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
35
36
  activeUserInbounds: z.ZodArray<z.ZodObject<{
@@ -48,7 +49,7 @@ export declare namespace GetUserByShortUuidCommand {
48
49
  }, "strip", z.ZodTypeAny, {
49
50
  uuid: string;
50
51
  username: string;
51
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
52
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
52
53
  createdAt: Date;
53
54
  updatedAt: Date;
54
55
  trafficLimitBytes: number;
@@ -56,6 +57,7 @@ export declare namespace GetUserByShortUuidCommand {
56
57
  shortUuid: string;
57
58
  usedTrafficBytes: number;
58
59
  lifetimeUsedTrafficBytes: number;
60
+ description: string | null;
59
61
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
60
62
  subLastUserAgent: string | null;
61
63
  subLastOpenedAt: Date | null;
@@ -80,6 +82,7 @@ export declare namespace GetUserByShortUuidCommand {
80
82
  shortUuid: string;
81
83
  usedTrafficBytes: number;
82
84
  lifetimeUsedTrafficBytes: number;
85
+ description: string | null;
83
86
  subLastUserAgent: string | null;
84
87
  subLastOpenedAt: string | null;
85
88
  expireAt: string | null;
@@ -94,7 +97,7 @@ export declare namespace GetUserByShortUuidCommand {
94
97
  type: string;
95
98
  tag: string;
96
99
  }[];
97
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
100
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
98
101
  trafficLimitBytes?: number | undefined;
99
102
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
100
103
  }>;
@@ -102,7 +105,7 @@ export declare namespace GetUserByShortUuidCommand {
102
105
  response: {
103
106
  uuid: string;
104
107
  username: string;
105
- status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
108
+ status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
106
109
  createdAt: Date;
107
110
  updatedAt: Date;
108
111
  trafficLimitBytes: number;
@@ -110,6 +113,7 @@ export declare namespace GetUserByShortUuidCommand {
110
113
  shortUuid: string;
111
114
  usedTrafficBytes: number;
112
115
  lifetimeUsedTrafficBytes: number;
116
+ description: string | null;
113
117
  trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
114
118
  subLastUserAgent: string | null;
115
119
  subLastOpenedAt: Date | null;
@@ -136,6 +140,7 @@ export declare namespace GetUserByShortUuidCommand {
136
140
  shortUuid: string;
137
141
  usedTrafficBytes: number;
138
142
  lifetimeUsedTrafficBytes: number;
143
+ description: string | null;
139
144
  subLastUserAgent: string | null;
140
145
  subLastOpenedAt: string | null;
141
146
  expireAt: string | null;
@@ -150,7 +155,7 @@ export declare namespace GetUserByShortUuidCommand {
150
155
  type: string;
151
156
  tag: string;
152
157
  }[];
153
- status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
158
+ status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
154
159
  trafficLimitBytes?: number | undefined;
155
160
  trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
156
161
  };
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,+BAAmC,CAAC;IAC7C,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,aAAa;;;;;;MAExB,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"}
1
+ {"version":3,"file":"get-user-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,+BAAmC,CAAC;IAC7C,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,aAAa;;;;;;MAExB,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"}