@remnawave/backend-contract 0.1.14 → 0.2.0
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/api/controllers/users.d.ts +2 -0
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +2 -0
- package/build/backend/api/routes.d.ts +2 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +2 -0
- package/build/backend/commands/users/create-user.command.d.ts +16 -0
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +4 -4
- package/build/backend/commands/users/disable-user.command.ts.d.ts +10 -0
- package/build/backend/commands/users/disable-user.command.ts.d.ts.map +1 -1
- package/build/backend/commands/users/enable-user.command.d.ts +10 -0
- package/build/backend/commands/users/enable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-all-users-v2.command.d.ts +14 -0
- package/build/backend/commands/users/get-all-users-v2.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-email.command.d.ts +217 -0
- package/build/backend/commands/users/get-user-by-email.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-user-by-email.command.js +21 -0
- package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts +10 -0
- package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts +10 -0
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-telegram-id.command.d.ts +217 -0
- package/build/backend/commands/users/get-user-by-telegram-id.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-user-by-telegram-id.command.js +21 -0
- package/build/backend/commands/users/get-user-by-username.command.d.ts +10 -0
- package/build/backend/commands/users/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +10 -0
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/index.d.ts +2 -0
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +2 -0
- package/build/backend/commands/users/reset-user-traffic.command.d.ts +10 -0
- package/build/backend/commands/users/reset-user-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts +10 -0
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.d.ts +18 -0
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.js +2 -0
- package/build/backend/commands/xray/get-config.command.d.ts +5 -5
- package/build/backend/commands/xray/get-config.command.js +1 -1
- package/build/backend/commands/xray/update-config.command.d.ts +6 -6
- package/build/backend/commands/xray/update-config.command.d.ts.map +1 -1
- package/build/backend/commands/xray/update-config.command.js +2 -2
- package/build/backend/constants/errors/errors.d.ts +10 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +11 -1
- package/build/backend/models/users.schema.d.ts +6 -0
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.js +2 -0
- package/build/frontend/api/controllers/users.js +2 -0
- package/build/frontend/api/routes.js +2 -0
- package/build/frontend/commands/users/create-user.command.js +4 -4
- package/build/frontend/commands/users/get-user-by-email.command.js +21 -0
- package/build/frontend/commands/users/get-user-by-telegram-id.command.js +21 -0
- package/build/frontend/commands/users/index.js +2 -0
- package/build/frontend/commands/users/update-user.command.js +2 -0
- package/build/frontend/commands/xray/get-config.command.js +1 -1
- package/build/frontend/commands/xray/update-config.command.js +2 -2
- package/build/frontend/constants/errors/errors.js +11 -1
- package/build/frontend/models/users.schema.js +2 -0
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../api/controllers/users.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../api/controllers/users.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;CAkBf,CAAC"}
|
@@ -50,6 +50,8 @@ export declare const REST_API: {
|
|
50
50
|
readonly BULK: {
|
51
51
|
readonly DELETE_BY_STATUS: "/api/users/bulk/delete-by-status";
|
52
52
|
};
|
53
|
+
readonly GET_BY_TELEGRAM_ID: (telegramId: string) => string;
|
54
|
+
readonly GET_BY_EMAIL: (email: string) => string;
|
53
55
|
};
|
54
56
|
readonly SUBSCRIPTION: {
|
55
57
|
readonly GET: (shortUuid: string) => string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAEhD,eAAO,MAAM,QAAQ;;;;;;gCAME,MAAM;;;;;;;;gCASN,MAAM;;;iCAIL,MAAM;iCAEN,MAAM;iCAEN,MAAM;gCAEP,MAAM;;;;;;;;;;;;;;;;qCAiBD,MAAM;gDAEK,MAAM;6CAET,MAAM;8DAEW,MAAM;6CAEvB,MAAM;sCAEb,MAAM;qCAEP,MAAM;qCAEN,MAAM;;;4CAIC,MAAM
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAEhD,eAAO,MAAM,QAAQ;;;;;;gCAME,MAAM;;;;;;;;gCASN,MAAM;;;iCAIL,MAAM;iCAEN,MAAM;iCAEN,MAAM;gCAEP,MAAM;;;;;;;;;;;;;;;;qCAiBD,MAAM;gDAEK,MAAM;6CAET,MAAM;8DAEW,MAAM;6CAEvB,MAAM;sCAEb,MAAM;qCAEP,MAAM;qCAEN,MAAM;;;4CAIC,MAAM;;;;kDAKA,MAAM;uCAEjB,MAAM;;;kCAIX,MAAM;uCAED,MAAM;;;;;;;;gCASb,MAAM;;;;;;;CAQnB,CAAC"}
|
@@ -87,6 +87,8 @@ exports.REST_API = {
|
|
87
87
|
BULK: {
|
88
88
|
DELETE_BY_STATUS: `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.BULK.DELETE_BY_STATUS}`,
|
89
89
|
},
|
90
|
+
GET_BY_TELEGRAM_ID: (telegramId) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET_BY_TELEGRAM_ID}/${telegramId}`,
|
91
|
+
GET_BY_EMAIL: (email) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET_BY_EMAIL}/${email}`,
|
90
92
|
},
|
91
93
|
SUBSCRIPTION: {
|
92
94
|
GET: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET}/${shortUuid}`,
|
@@ -27,12 +27,15 @@ export declare namespace CreateUserCommand {
|
|
27
27
|
createdAt: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
|
28
28
|
lastTrafficResetAt: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
|
29
29
|
description: z.ZodOptional<z.ZodString>;
|
30
|
+
telegramId: z.ZodOptional<z.ZodNumber>;
|
31
|
+
email: z.ZodOptional<z.ZodString>;
|
30
32
|
activateAllInbounds: z.ZodOptional<z.ZodBoolean>;
|
31
33
|
}, "strip", z.ZodTypeAny, {
|
32
34
|
username: string;
|
33
35
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
34
36
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
35
37
|
expireAt: Date;
|
38
|
+
email?: string | undefined;
|
36
39
|
createdAt?: Date | undefined;
|
37
40
|
trafficLimitBytes?: number | undefined;
|
38
41
|
subscriptionUuid?: string | undefined;
|
@@ -42,11 +45,13 @@ export declare namespace CreateUserCommand {
|
|
42
45
|
trojanPassword?: string | undefined;
|
43
46
|
vlessUuid?: string | undefined;
|
44
47
|
ssPassword?: string | undefined;
|
48
|
+
telegramId?: number | undefined;
|
45
49
|
activeUserInbounds?: string[] | undefined;
|
46
50
|
activateAllInbounds?: boolean | undefined;
|
47
51
|
}, {
|
48
52
|
username: string;
|
49
53
|
expireAt: string;
|
54
|
+
email?: string | undefined;
|
50
55
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
51
56
|
createdAt?: string | undefined;
|
52
57
|
trafficLimitBytes?: number | undefined;
|
@@ -58,6 +63,7 @@ export declare namespace CreateUserCommand {
|
|
58
63
|
trojanPassword?: string | undefined;
|
59
64
|
vlessUuid?: string | undefined;
|
60
65
|
ssPassword?: string | undefined;
|
66
|
+
telegramId?: number | undefined;
|
61
67
|
activeUserInbounds?: string[] | undefined;
|
62
68
|
activateAllInbounds?: boolean | undefined;
|
63
69
|
}>;
|
@@ -93,6 +99,8 @@ export declare namespace CreateUserCommand {
|
|
93
99
|
vlessUuid: z.ZodString;
|
94
100
|
ssPassword: z.ZodString;
|
95
101
|
description: z.ZodNullable<z.ZodString>;
|
102
|
+
telegramId: z.ZodNullable<z.ZodNumber>;
|
103
|
+
email: z.ZodNullable<z.ZodString>;
|
96
104
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
97
105
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
98
106
|
activeUserInbounds: z.ZodArray<z.ZodObject<{
|
@@ -123,6 +131,7 @@ export declare namespace CreateUserCommand {
|
|
123
131
|
}>, "strip", z.ZodTypeAny, {
|
124
132
|
uuid: string;
|
125
133
|
username: string;
|
134
|
+
email: string | null;
|
126
135
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
127
136
|
createdAt: Date;
|
128
137
|
updatedAt: Date;
|
@@ -142,6 +151,7 @@ export declare namespace CreateUserCommand {
|
|
142
151
|
trojanPassword: string;
|
143
152
|
vlessUuid: string;
|
144
153
|
ssPassword: string;
|
154
|
+
telegramId: number | null;
|
145
155
|
activeUserInbounds: {
|
146
156
|
uuid: string;
|
147
157
|
type: string;
|
@@ -155,6 +165,7 @@ export declare namespace CreateUserCommand {
|
|
155
165
|
}, {
|
156
166
|
uuid: string;
|
157
167
|
username: string;
|
168
|
+
email: string | null;
|
158
169
|
createdAt: string;
|
159
170
|
updatedAt: string;
|
160
171
|
subscriptionUuid: string;
|
@@ -171,6 +182,7 @@ export declare namespace CreateUserCommand {
|
|
171
182
|
trojanPassword: string;
|
172
183
|
vlessUuid: string;
|
173
184
|
ssPassword: string;
|
185
|
+
telegramId: number | null;
|
174
186
|
activeUserInbounds: {
|
175
187
|
uuid: string;
|
176
188
|
type: string;
|
@@ -189,6 +201,7 @@ export declare namespace CreateUserCommand {
|
|
189
201
|
response: {
|
190
202
|
uuid: string;
|
191
203
|
username: string;
|
204
|
+
email: string | null;
|
192
205
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
193
206
|
createdAt: Date;
|
194
207
|
updatedAt: Date;
|
@@ -208,6 +221,7 @@ export declare namespace CreateUserCommand {
|
|
208
221
|
trojanPassword: string;
|
209
222
|
vlessUuid: string;
|
210
223
|
ssPassword: string;
|
224
|
+
telegramId: number | null;
|
211
225
|
activeUserInbounds: {
|
212
226
|
uuid: string;
|
213
227
|
type: string;
|
@@ -223,6 +237,7 @@ export declare namespace CreateUserCommand {
|
|
223
237
|
response: {
|
224
238
|
uuid: string;
|
225
239
|
username: string;
|
240
|
+
email: string | null;
|
226
241
|
createdAt: string;
|
227
242
|
updatedAt: string;
|
228
243
|
subscriptionUuid: string;
|
@@ -239,6 +254,7 @@ export declare namespace CreateUserCommand {
|
|
239
254
|
trojanPassword: string;
|
240
255
|
vlessUuid: string;
|
241
256
|
ssPassword: string;
|
257
|
+
telegramId: number | null;
|
242
258
|
activeUserInbounds: {
|
243
259
|
uuid: string;
|
244
260
|
type: string;
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -88,23 +88,23 @@ var CreateUserCommand;
|
|
88
88
|
.describe('Date format: 2025-01-17T15:38:45.065Z'),
|
89
89
|
createdAt: zod_1.z
|
90
90
|
.string({
|
91
|
-
required_error: 'Expiration date is required',
|
92
91
|
invalid_type_error: 'Invalid date format',
|
93
92
|
})
|
94
|
-
.datetime({ message: 'Invalid date format', offset: true })
|
93
|
+
.datetime({ message: 'Invalid date format', offset: true, local: true })
|
95
94
|
.transform((str) => new Date(str))
|
96
95
|
.describe('Date format: 2025-01-17T15:38:45.065Z')
|
97
96
|
.optional(),
|
98
97
|
lastTrafficResetAt: zod_1.z
|
99
98
|
.string({
|
100
|
-
required_error: 'Expiration date is required',
|
101
99
|
invalid_type_error: 'Invalid date format',
|
102
100
|
})
|
103
|
-
.datetime({ message: 'Invalid date format', offset: true })
|
101
|
+
.datetime({ message: 'Invalid date format', offset: true, local: true })
|
104
102
|
.transform((str) => new Date(str))
|
105
103
|
.describe('Date format: 2025-01-17T15:38:45.065Z')
|
106
104
|
.optional(),
|
107
105
|
description: zod_1.z.string().optional(),
|
106
|
+
telegramId: zod_1.z.number().optional(),
|
107
|
+
email: zod_1.z.string().optional(),
|
108
108
|
activateAllInbounds: zod_1.z.boolean().optional(),
|
109
109
|
});
|
110
110
|
CreateUserCommand.ResponseSchema = zod_1.z.object({
|
@@ -41,6 +41,8 @@ export declare namespace DisableUserCommand {
|
|
41
41
|
vlessUuid: z.ZodString;
|
42
42
|
ssPassword: z.ZodString;
|
43
43
|
description: z.ZodNullable<z.ZodString>;
|
44
|
+
telegramId: z.ZodNullable<z.ZodNumber>;
|
45
|
+
email: z.ZodNullable<z.ZodString>;
|
44
46
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
45
47
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
46
48
|
activeUserInbounds: z.ZodArray<z.ZodObject<{
|
@@ -71,6 +73,7 @@ export declare namespace DisableUserCommand {
|
|
71
73
|
}>, "strip", z.ZodTypeAny, {
|
72
74
|
uuid: string;
|
73
75
|
username: string;
|
76
|
+
email: string | null;
|
74
77
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
75
78
|
createdAt: Date;
|
76
79
|
updatedAt: Date;
|
@@ -90,6 +93,7 @@ export declare namespace DisableUserCommand {
|
|
90
93
|
trojanPassword: string;
|
91
94
|
vlessUuid: string;
|
92
95
|
ssPassword: string;
|
96
|
+
telegramId: number | null;
|
93
97
|
activeUserInbounds: {
|
94
98
|
uuid: string;
|
95
99
|
type: string;
|
@@ -103,6 +107,7 @@ export declare namespace DisableUserCommand {
|
|
103
107
|
}, {
|
104
108
|
uuid: string;
|
105
109
|
username: string;
|
110
|
+
email: string | null;
|
106
111
|
createdAt: string;
|
107
112
|
updatedAt: string;
|
108
113
|
subscriptionUuid: string;
|
@@ -119,6 +124,7 @@ export declare namespace DisableUserCommand {
|
|
119
124
|
trojanPassword: string;
|
120
125
|
vlessUuid: string;
|
121
126
|
ssPassword: string;
|
127
|
+
telegramId: number | null;
|
122
128
|
activeUserInbounds: {
|
123
129
|
uuid: string;
|
124
130
|
type: string;
|
@@ -137,6 +143,7 @@ export declare namespace DisableUserCommand {
|
|
137
143
|
response: {
|
138
144
|
uuid: string;
|
139
145
|
username: string;
|
146
|
+
email: string | null;
|
140
147
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
141
148
|
createdAt: Date;
|
142
149
|
updatedAt: Date;
|
@@ -156,6 +163,7 @@ export declare namespace DisableUserCommand {
|
|
156
163
|
trojanPassword: string;
|
157
164
|
vlessUuid: string;
|
158
165
|
ssPassword: string;
|
166
|
+
telegramId: number | null;
|
159
167
|
activeUserInbounds: {
|
160
168
|
uuid: string;
|
161
169
|
type: string;
|
@@ -171,6 +179,7 @@ export declare namespace DisableUserCommand {
|
|
171
179
|
response: {
|
172
180
|
uuid: string;
|
173
181
|
username: string;
|
182
|
+
email: string | null;
|
174
183
|
createdAt: string;
|
175
184
|
updatedAt: string;
|
176
185
|
subscriptionUuid: string;
|
@@ -187,6 +196,7 @@ export declare namespace DisableUserCommand {
|
|
187
196
|
trojanPassword: string;
|
188
197
|
vlessUuid: string;
|
189
198
|
ssPassword: string;
|
199
|
+
telegramId: number | null;
|
190
200
|
activeUserInbounds: {
|
191
201
|
uuid: string;
|
192
202
|
type: string;
|
@@ -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
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -41,6 +41,8 @@ export declare namespace EnableUserCommand {
|
|
41
41
|
vlessUuid: z.ZodString;
|
42
42
|
ssPassword: z.ZodString;
|
43
43
|
description: z.ZodNullable<z.ZodString>;
|
44
|
+
telegramId: z.ZodNullable<z.ZodNumber>;
|
45
|
+
email: z.ZodNullable<z.ZodString>;
|
44
46
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
45
47
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
46
48
|
activeUserInbounds: z.ZodArray<z.ZodObject<{
|
@@ -71,6 +73,7 @@ export declare namespace EnableUserCommand {
|
|
71
73
|
}>, "strip", z.ZodTypeAny, {
|
72
74
|
uuid: string;
|
73
75
|
username: string;
|
76
|
+
email: string | null;
|
74
77
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
75
78
|
createdAt: Date;
|
76
79
|
updatedAt: Date;
|
@@ -90,6 +93,7 @@ export declare namespace EnableUserCommand {
|
|
90
93
|
trojanPassword: string;
|
91
94
|
vlessUuid: string;
|
92
95
|
ssPassword: string;
|
96
|
+
telegramId: number | null;
|
93
97
|
activeUserInbounds: {
|
94
98
|
uuid: string;
|
95
99
|
type: string;
|
@@ -103,6 +107,7 @@ export declare namespace EnableUserCommand {
|
|
103
107
|
}, {
|
104
108
|
uuid: string;
|
105
109
|
username: string;
|
110
|
+
email: string | null;
|
106
111
|
createdAt: string;
|
107
112
|
updatedAt: string;
|
108
113
|
subscriptionUuid: string;
|
@@ -119,6 +124,7 @@ export declare namespace EnableUserCommand {
|
|
119
124
|
trojanPassword: string;
|
120
125
|
vlessUuid: string;
|
121
126
|
ssPassword: string;
|
127
|
+
telegramId: number | null;
|
122
128
|
activeUserInbounds: {
|
123
129
|
uuid: string;
|
124
130
|
type: string;
|
@@ -137,6 +143,7 @@ export declare namespace EnableUserCommand {
|
|
137
143
|
response: {
|
138
144
|
uuid: string;
|
139
145
|
username: string;
|
146
|
+
email: string | null;
|
140
147
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
141
148
|
createdAt: Date;
|
142
149
|
updatedAt: Date;
|
@@ -156,6 +163,7 @@ export declare namespace EnableUserCommand {
|
|
156
163
|
trojanPassword: string;
|
157
164
|
vlessUuid: string;
|
158
165
|
ssPassword: string;
|
166
|
+
telegramId: number | null;
|
159
167
|
activeUserInbounds: {
|
160
168
|
uuid: string;
|
161
169
|
type: string;
|
@@ -171,6 +179,7 @@ export declare namespace EnableUserCommand {
|
|
171
179
|
response: {
|
172
180
|
uuid: string;
|
173
181
|
username: string;
|
182
|
+
email: string | null;
|
174
183
|
createdAt: string;
|
175
184
|
updatedAt: string;
|
176
185
|
subscriptionUuid: string;
|
@@ -187,6 +196,7 @@ export declare namespace EnableUserCommand {
|
|
187
196
|
trojanPassword: string;
|
188
197
|
vlessUuid: string;
|
189
198
|
ssPassword: string;
|
199
|
+
telegramId: number | null;
|
190
200
|
activeUserInbounds: {
|
191
201
|
uuid: string;
|
192
202
|
type: string;
|
@@ -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;AAMxB,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
|
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;AAMxB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -87,6 +87,8 @@ export declare namespace GetAllUsersV2Command {
|
|
87
87
|
vlessUuid: z.ZodString;
|
88
88
|
ssPassword: z.ZodString;
|
89
89
|
description: z.ZodNullable<z.ZodString>;
|
90
|
+
telegramId: z.ZodNullable<z.ZodNumber>;
|
91
|
+
email: z.ZodNullable<z.ZodString>;
|
90
92
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
91
93
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
92
94
|
activeUserInbounds: z.ZodArray<z.ZodObject<{
|
@@ -117,6 +119,7 @@ export declare namespace GetAllUsersV2Command {
|
|
117
119
|
}>, "strip", z.ZodTypeAny, {
|
118
120
|
uuid: string;
|
119
121
|
username: string;
|
122
|
+
email: string | null;
|
120
123
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
121
124
|
createdAt: Date;
|
122
125
|
updatedAt: Date;
|
@@ -136,6 +139,7 @@ export declare namespace GetAllUsersV2Command {
|
|
136
139
|
trojanPassword: string;
|
137
140
|
vlessUuid: string;
|
138
141
|
ssPassword: string;
|
142
|
+
telegramId: number | null;
|
139
143
|
activeUserInbounds: {
|
140
144
|
uuid: string;
|
141
145
|
type: string;
|
@@ -149,6 +153,7 @@ export declare namespace GetAllUsersV2Command {
|
|
149
153
|
}, {
|
150
154
|
uuid: string;
|
151
155
|
username: string;
|
156
|
+
email: string | null;
|
152
157
|
createdAt: string;
|
153
158
|
updatedAt: string;
|
154
159
|
subscriptionUuid: string;
|
@@ -165,6 +170,7 @@ export declare namespace GetAllUsersV2Command {
|
|
165
170
|
trojanPassword: string;
|
166
171
|
vlessUuid: string;
|
167
172
|
ssPassword: string;
|
173
|
+
telegramId: number | null;
|
168
174
|
activeUserInbounds: {
|
169
175
|
uuid: string;
|
170
176
|
type: string;
|
@@ -184,6 +190,7 @@ export declare namespace GetAllUsersV2Command {
|
|
184
190
|
users: {
|
185
191
|
uuid: string;
|
186
192
|
username: string;
|
193
|
+
email: string | null;
|
187
194
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
188
195
|
createdAt: Date;
|
189
196
|
updatedAt: Date;
|
@@ -203,6 +210,7 @@ export declare namespace GetAllUsersV2Command {
|
|
203
210
|
trojanPassword: string;
|
204
211
|
vlessUuid: string;
|
205
212
|
ssPassword: string;
|
213
|
+
telegramId: number | null;
|
206
214
|
activeUserInbounds: {
|
207
215
|
uuid: string;
|
208
216
|
type: string;
|
@@ -219,6 +227,7 @@ export declare namespace GetAllUsersV2Command {
|
|
219
227
|
users: {
|
220
228
|
uuid: string;
|
221
229
|
username: string;
|
230
|
+
email: string | null;
|
222
231
|
createdAt: string;
|
223
232
|
updatedAt: string;
|
224
233
|
subscriptionUuid: string;
|
@@ -235,6 +244,7 @@ export declare namespace GetAllUsersV2Command {
|
|
235
244
|
trojanPassword: string;
|
236
245
|
vlessUuid: string;
|
237
246
|
ssPassword: string;
|
247
|
+
telegramId: number | null;
|
238
248
|
activeUserInbounds: {
|
239
249
|
uuid: string;
|
240
250
|
type: string;
|
@@ -256,6 +266,7 @@ export declare namespace GetAllUsersV2Command {
|
|
256
266
|
users: {
|
257
267
|
uuid: string;
|
258
268
|
username: string;
|
269
|
+
email: string | null;
|
259
270
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
260
271
|
createdAt: Date;
|
261
272
|
updatedAt: Date;
|
@@ -275,6 +286,7 @@ export declare namespace GetAllUsersV2Command {
|
|
275
286
|
trojanPassword: string;
|
276
287
|
vlessUuid: string;
|
277
288
|
ssPassword: string;
|
289
|
+
telegramId: number | null;
|
278
290
|
activeUserInbounds: {
|
279
291
|
uuid: string;
|
280
292
|
type: string;
|
@@ -293,6 +305,7 @@ export declare namespace GetAllUsersV2Command {
|
|
293
305
|
users: {
|
294
306
|
uuid: string;
|
295
307
|
username: string;
|
308
|
+
email: string | null;
|
296
309
|
createdAt: string;
|
297
310
|
updatedAt: string;
|
298
311
|
subscriptionUuid: string;
|
@@ -309,6 +322,7 @@ export declare namespace GetAllUsersV2Command {
|
|
309
322
|
trojanPassword: string;
|
310
323
|
vlessUuid: string;
|
311
324
|
ssPassword: string;
|
325
|
+
telegramId: number | null;
|
312
326
|
activeUserInbounds: {
|
313
327
|
uuid: string;
|
314
328
|
type: string;
|
@@ -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;AAMxB,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
|
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;AAMxB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -0,0 +1,217 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace GetUserByEmailCommand {
|
3
|
+
const url: (email: string) => string;
|
4
|
+
const TSQ_url: string;
|
5
|
+
const RequestSchema: z.ZodObject<{
|
6
|
+
email: z.ZodString;
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
8
|
+
email: string;
|
9
|
+
}, {
|
10
|
+
email: string;
|
11
|
+
}>;
|
12
|
+
type Request = z.infer<typeof RequestSchema>;
|
13
|
+
const ResponseSchema: z.ZodObject<{
|
14
|
+
response: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
15
|
+
uuid: z.ZodString;
|
16
|
+
subscriptionUuid: z.ZodString;
|
17
|
+
shortUuid: z.ZodString;
|
18
|
+
username: z.ZodString;
|
19
|
+
status: z.ZodDefault<z.ZodNativeEnum<{
|
20
|
+
readonly ACTIVE: "ACTIVE";
|
21
|
+
readonly DISABLED: "DISABLED";
|
22
|
+
readonly LIMITED: "LIMITED";
|
23
|
+
readonly EXPIRED: "EXPIRED";
|
24
|
+
}>>;
|
25
|
+
usedTrafficBytes: z.ZodNumber;
|
26
|
+
lifetimeUsedTrafficBytes: z.ZodNumber;
|
27
|
+
trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
|
28
|
+
trafficLimitStrategy: z.ZodDefault<z.ZodNativeEnum<{
|
29
|
+
readonly NO_RESET: "NO_RESET";
|
30
|
+
readonly DAY: "DAY";
|
31
|
+
readonly WEEK: "WEEK";
|
32
|
+
readonly MONTH: "MONTH";
|
33
|
+
}>>;
|
34
|
+
subLastUserAgent: z.ZodNullable<z.ZodString>;
|
35
|
+
subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
36
|
+
expireAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
37
|
+
onlineAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
38
|
+
subRevokedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
39
|
+
lastTrafficResetAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
40
|
+
trojanPassword: z.ZodString;
|
41
|
+
vlessUuid: z.ZodString;
|
42
|
+
ssPassword: z.ZodString;
|
43
|
+
description: z.ZodNullable<z.ZodString>;
|
44
|
+
telegramId: z.ZodNullable<z.ZodNumber>;
|
45
|
+
email: z.ZodNullable<z.ZodString>;
|
46
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
47
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
48
|
+
activeUserInbounds: z.ZodArray<z.ZodObject<{
|
49
|
+
uuid: z.ZodString;
|
50
|
+
tag: z.ZodString;
|
51
|
+
type: z.ZodString;
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
53
|
+
uuid: string;
|
54
|
+
type: string;
|
55
|
+
tag: string;
|
56
|
+
}, {
|
57
|
+
uuid: string;
|
58
|
+
type: string;
|
59
|
+
tag: string;
|
60
|
+
}>, "many">;
|
61
|
+
}, {
|
62
|
+
subscriptionUrl: z.ZodString;
|
63
|
+
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
64
|
+
connectedAt: z.ZodEffects<z.ZodString, Date, string>;
|
65
|
+
nodeName: z.ZodString;
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
67
|
+
connectedAt: Date;
|
68
|
+
nodeName: string;
|
69
|
+
}, {
|
70
|
+
connectedAt: string;
|
71
|
+
nodeName: string;
|
72
|
+
}>>;
|
73
|
+
}>, "strip", z.ZodTypeAny, {
|
74
|
+
uuid: string;
|
75
|
+
username: string;
|
76
|
+
email: string | null;
|
77
|
+
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
78
|
+
createdAt: Date;
|
79
|
+
updatedAt: Date;
|
80
|
+
trafficLimitBytes: number;
|
81
|
+
subscriptionUuid: string;
|
82
|
+
shortUuid: string;
|
83
|
+
usedTrafficBytes: number;
|
84
|
+
lifetimeUsedTrafficBytes: number;
|
85
|
+
description: string | null;
|
86
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
87
|
+
subLastUserAgent: string | null;
|
88
|
+
subLastOpenedAt: Date | null;
|
89
|
+
expireAt: Date | null;
|
90
|
+
onlineAt: Date | null;
|
91
|
+
subRevokedAt: Date | null;
|
92
|
+
lastTrafficResetAt: Date | null;
|
93
|
+
trojanPassword: string;
|
94
|
+
vlessUuid: string;
|
95
|
+
ssPassword: string;
|
96
|
+
telegramId: number | null;
|
97
|
+
activeUserInbounds: {
|
98
|
+
uuid: string;
|
99
|
+
type: string;
|
100
|
+
tag: string;
|
101
|
+
}[];
|
102
|
+
subscriptionUrl: string;
|
103
|
+
lastConnectedNode: {
|
104
|
+
connectedAt: Date;
|
105
|
+
nodeName: string;
|
106
|
+
} | null;
|
107
|
+
}, {
|
108
|
+
uuid: string;
|
109
|
+
username: string;
|
110
|
+
email: string | null;
|
111
|
+
createdAt: string;
|
112
|
+
updatedAt: string;
|
113
|
+
subscriptionUuid: string;
|
114
|
+
shortUuid: string;
|
115
|
+
usedTrafficBytes: number;
|
116
|
+
lifetimeUsedTrafficBytes: number;
|
117
|
+
description: string | null;
|
118
|
+
subLastUserAgent: string | null;
|
119
|
+
subLastOpenedAt: string | null;
|
120
|
+
expireAt: string | null;
|
121
|
+
onlineAt: string | null;
|
122
|
+
subRevokedAt: string | null;
|
123
|
+
lastTrafficResetAt: string | null;
|
124
|
+
trojanPassword: string;
|
125
|
+
vlessUuid: string;
|
126
|
+
ssPassword: string;
|
127
|
+
telegramId: number | null;
|
128
|
+
activeUserInbounds: {
|
129
|
+
uuid: string;
|
130
|
+
type: string;
|
131
|
+
tag: string;
|
132
|
+
}[];
|
133
|
+
subscriptionUrl: string;
|
134
|
+
lastConnectedNode: {
|
135
|
+
connectedAt: string;
|
136
|
+
nodeName: string;
|
137
|
+
} | null;
|
138
|
+
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
139
|
+
trafficLimitBytes?: number | undefined;
|
140
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
141
|
+
}>, "many">;
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
143
|
+
response: {
|
144
|
+
uuid: string;
|
145
|
+
username: string;
|
146
|
+
email: string | null;
|
147
|
+
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
148
|
+
createdAt: Date;
|
149
|
+
updatedAt: Date;
|
150
|
+
trafficLimitBytes: number;
|
151
|
+
subscriptionUuid: string;
|
152
|
+
shortUuid: string;
|
153
|
+
usedTrafficBytes: number;
|
154
|
+
lifetimeUsedTrafficBytes: number;
|
155
|
+
description: string | null;
|
156
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
157
|
+
subLastUserAgent: string | null;
|
158
|
+
subLastOpenedAt: Date | null;
|
159
|
+
expireAt: Date | null;
|
160
|
+
onlineAt: Date | null;
|
161
|
+
subRevokedAt: Date | null;
|
162
|
+
lastTrafficResetAt: Date | null;
|
163
|
+
trojanPassword: string;
|
164
|
+
vlessUuid: string;
|
165
|
+
ssPassword: string;
|
166
|
+
telegramId: number | null;
|
167
|
+
activeUserInbounds: {
|
168
|
+
uuid: string;
|
169
|
+
type: string;
|
170
|
+
tag: string;
|
171
|
+
}[];
|
172
|
+
subscriptionUrl: string;
|
173
|
+
lastConnectedNode: {
|
174
|
+
connectedAt: Date;
|
175
|
+
nodeName: string;
|
176
|
+
} | null;
|
177
|
+
}[];
|
178
|
+
}, {
|
179
|
+
response: {
|
180
|
+
uuid: string;
|
181
|
+
username: string;
|
182
|
+
email: string | null;
|
183
|
+
createdAt: string;
|
184
|
+
updatedAt: string;
|
185
|
+
subscriptionUuid: string;
|
186
|
+
shortUuid: string;
|
187
|
+
usedTrafficBytes: number;
|
188
|
+
lifetimeUsedTrafficBytes: number;
|
189
|
+
description: string | null;
|
190
|
+
subLastUserAgent: string | null;
|
191
|
+
subLastOpenedAt: string | null;
|
192
|
+
expireAt: string | null;
|
193
|
+
onlineAt: string | null;
|
194
|
+
subRevokedAt: string | null;
|
195
|
+
lastTrafficResetAt: string | null;
|
196
|
+
trojanPassword: string;
|
197
|
+
vlessUuid: string;
|
198
|
+
ssPassword: string;
|
199
|
+
telegramId: number | null;
|
200
|
+
activeUserInbounds: {
|
201
|
+
uuid: string;
|
202
|
+
type: string;
|
203
|
+
tag: string;
|
204
|
+
}[];
|
205
|
+
subscriptionUrl: string;
|
206
|
+
lastConnectedNode: {
|
207
|
+
connectedAt: string;
|
208
|
+
nodeName: string;
|
209
|
+
} | null;
|
210
|
+
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
211
|
+
trafficLimitBytes?: number | undefined;
|
212
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
213
|
+
}[];
|
214
|
+
}>;
|
215
|
+
type Response = z.infer<typeof ResponseSchema>;
|
216
|
+
}
|
217
|
+
//# sourceMappingURL=get-user-by-email.command.d.ts.map
|