@remnawave/backend-contract 0.4.5 → 0.5.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 +19 -14
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +20 -15
- package/build/backend/api/routes.d.ts +17 -13
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +17 -13
- package/build/backend/commands/api-tokens/create.command.d.ts +4 -4
- package/build/backend/commands/api-tokens/find.command.d.ts +6 -6
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +4 -4
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +4 -4
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +4 -4
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +4 -4
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +4 -4
- package/build/backend/commands/hosts/create.command.d.ts +4 -4
- package/build/backend/commands/hosts/get-all.command.d.ts +4 -4
- package/build/backend/commands/hosts/get-one.command.d.ts +4 -4
- package/build/backend/commands/hosts/update.command.d.ts +7 -7
- package/build/backend/commands/inbounds/get-full-inbounds.command.d.ts +4 -4
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts +4 -4
- package/build/backend/commands/nodes/create.command.d.ts +6 -6
- package/build/backend/commands/nodes/disable.command.d.ts +6 -6
- package/build/backend/commands/nodes/enable.command.d.ts +6 -6
- package/build/backend/commands/nodes/get-all.command.d.ts +6 -6
- package/build/backend/commands/nodes/get-node-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/get-one.command.d.ts +6 -6
- package/build/backend/commands/nodes/reorder.command.d.ts +8 -8
- package/build/backend/commands/nodes/update.command.d.ts +11 -11
- package/build/backend/commands/users/activate-all-inbounds.command.d.ts +18 -17
- package/build/backend/commands/users/activate-all-inbounds.command.d.ts.map +1 -1
- package/build/backend/commands/users/activate-all-inbounds.command.js +3 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +4 -4
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +2 -2
- package/build/backend/commands/users/create-user.command.d.ts +20 -19
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +2 -1
- package/build/backend/commands/users/delete-user.command.d.ts +1 -0
- package/build/backend/commands/users/delete-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/delete-user.command.js +3 -1
- package/build/backend/commands/users/disable-user.command.d.ts +18 -17
- package/build/backend/commands/users/disable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/disable-user.command.js +3 -1
- package/build/backend/commands/users/enable-user.command.d.ts +18 -17
- package/build/backend/commands/users/enable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/enable-user.command.js +3 -1
- package/build/backend/commands/users/{get-all-users-v2.command.d.ts → get-all-users.command.d.ts} +28 -27
- package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -0
- package/build/backend/commands/users/{get-all-users-v2.command.js → get-all-users.command.js} +10 -8
- package/build/backend/commands/users/get-user-by-email.command.d.ts +18 -17
- package/build/backend/commands/users/get-user-by-email.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-email.command.js +3 -1
- package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts +18 -17
- package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-short-uuid.command.js +3 -1
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts +18 -17
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.js +3 -1
- package/build/backend/commands/users/get-user-by-telegram-id.command.d.ts +18 -17
- package/build/backend/commands/users/get-user-by-telegram-id.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-telegram-id.command.js +3 -1
- package/build/backend/commands/users/get-user-by-username.command.d.ts +18 -17
- package/build/backend/commands/users/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-username.command.js +3 -1
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +18 -17
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.js +2 -0
- package/build/backend/commands/users/index.d.ts +1 -1
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +1 -1
- package/build/backend/commands/users/reset-user-traffic.command.d.ts +18 -17
- package/build/backend/commands/users/reset-user-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/users/reset-user-traffic.command.js +3 -1
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts +18 -17
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/revoke-user-subscription.command.js +3 -1
- package/build/backend/commands/users/update-user.command.d.ts +27 -26
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.js +2 -1
- package/build/backend/constants/base-api/base-api-endpoint.d.ts +7 -0
- package/build/backend/constants/base-api/base-api-endpoint.d.ts.map +1 -0
- package/build/backend/constants/base-api/base-api-endpoint.js +10 -0
- package/build/backend/constants/base-api/index.d.ts +2 -0
- package/build/backend/constants/base-api/index.d.ts.map +1 -0
- package/build/backend/constants/base-api/index.js +17 -0
- package/build/backend/constants/index.d.ts +1 -0
- package/build/backend/constants/index.d.ts.map +1 -1
- package/build/backend/constants/index.js +1 -0
- package/build/backend/models/api-tokens.schema.d.ts +2 -2
- package/build/backend/models/extented-users.schema.d.ts +11 -11
- package/build/backend/models/full-inbounds.schema.d.ts +2 -2
- package/build/backend/models/hosts.schema.d.ts +2 -2
- package/build/backend/models/inbounds.schema.d.ts +2 -2
- package/build/backend/models/nodes.schema.d.ts +4 -4
- package/build/backend/models/users.schema.d.ts +8 -8
- package/build/frontend/api/controllers/users.js +20 -15
- package/build/frontend/api/routes.js +17 -13
- package/build/frontend/commands/users/activate-all-inbounds.command.js +3 -1
- package/build/frontend/commands/users/create-user.command.js +2 -1
- package/build/frontend/commands/users/delete-user.command.js +3 -1
- package/build/frontend/commands/users/disable-user.command.js +3 -1
- package/build/frontend/commands/users/enable-user.command.js +3 -1
- package/build/frontend/commands/users/{get-all-users-v2.command.js → get-all-users.command.js} +10 -8
- package/build/frontend/commands/users/get-user-by-email.command.js +3 -1
- package/build/frontend/commands/users/get-user-by-short-uuid.command.js +3 -1
- package/build/frontend/commands/users/get-user-by-subscription-uuid.command.js +3 -1
- package/build/frontend/commands/users/get-user-by-telegram-id.command.js +3 -1
- package/build/frontend/commands/users/get-user-by-username.command.js +3 -1
- package/build/frontend/commands/users/get-user-by-uuid.command.js +2 -0
- package/build/frontend/commands/users/index.js +1 -1
- package/build/frontend/commands/users/reset-user-traffic.command.js +3 -1
- package/build/frontend/commands/users/revoke-user-subscription.command.js +3 -1
- package/build/frontend/commands/users/update-user.command.js +2 -1
- package/build/frontend/constants/base-api/base-api-endpoint.js +10 -0
- package/build/frontend/constants/base-api/index.js +17 -0
- package/build/frontend/constants/index.js +1 -0
- package/package.json +1 -1
- package/build/backend/commands/users/get-all-users-v2.command.d.ts.map +0 -1
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
2
2
|
export declare namespace GetUserByShortUuidCommand {
|
3
3
|
const url: (shortUuid: string) => string;
|
4
4
|
const TSQ_url: string;
|
5
|
+
const baseApiEndpoint: import("../../constants").BaseApiEndpoint;
|
5
6
|
const RequestSchema: z.ZodObject<{
|
6
7
|
shortUuid: z.ZodString;
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
@@ -11,7 +12,7 @@ export declare namespace GetUserByShortUuidCommand {
|
|
11
12
|
}>;
|
12
13
|
type Request = z.infer<typeof RequestSchema>;
|
13
14
|
const ResponseSchema: z.ZodObject<{
|
14
|
-
response: z.ZodObject<{
|
15
|
+
response: z.ZodObject<z.objectUtil.extendShape<{
|
15
16
|
uuid: z.ZodString;
|
16
17
|
subscriptionUuid: z.ZodString;
|
17
18
|
shortUuid: z.ZodString;
|
@@ -53,19 +54,19 @@ export declare namespace GetUserByShortUuidCommand {
|
|
53
54
|
network: z.ZodNullable<z.ZodString>;
|
54
55
|
security: z.ZodNullable<z.ZodString>;
|
55
56
|
}, "strip", z.ZodTypeAny, {
|
56
|
-
uuid: string;
|
57
57
|
type: string;
|
58
|
+
uuid: string;
|
58
59
|
tag: string;
|
59
60
|
network: string | null;
|
60
61
|
security: string | null;
|
61
62
|
}, {
|
62
|
-
uuid: string;
|
63
63
|
type: string;
|
64
|
+
uuid: string;
|
64
65
|
tag: string;
|
65
66
|
network: string | null;
|
66
67
|
security: string | null;
|
67
68
|
}>, "many">;
|
68
|
-
}
|
69
|
+
}, {
|
69
70
|
subscriptionUrl: z.ZodString;
|
70
71
|
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
71
72
|
connectedAt: z.ZodEffects<z.ZodString, Date, string>;
|
@@ -84,13 +85,12 @@ export declare namespace GetUserByShortUuidCommand {
|
|
84
85
|
}, {
|
85
86
|
cryptoLink: string;
|
86
87
|
}>;
|
87
|
-
}
|
88
|
+
}>, "strip", z.ZodTypeAny, {
|
88
89
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
89
90
|
uuid: string;
|
90
|
-
username: string;
|
91
|
-
email: string | null;
|
92
91
|
createdAt: Date;
|
93
92
|
updatedAt: Date;
|
93
|
+
username: string;
|
94
94
|
subscriptionUuid: string;
|
95
95
|
shortUuid: string;
|
96
96
|
usedTrafficBytes: number;
|
@@ -108,10 +108,11 @@ export declare namespace GetUserByShortUuidCommand {
|
|
108
108
|
vlessUuid: string;
|
109
109
|
ssPassword: string;
|
110
110
|
telegramId: number | null;
|
111
|
+
email: string | null;
|
111
112
|
hwidDeviceLimit: number | null;
|
112
113
|
activeUserInbounds: {
|
113
|
-
uuid: string;
|
114
114
|
type: string;
|
115
|
+
uuid: string;
|
115
116
|
tag: string;
|
116
117
|
network: string | null;
|
117
118
|
security: string | null;
|
@@ -126,10 +127,9 @@ export declare namespace GetUserByShortUuidCommand {
|
|
126
127
|
};
|
127
128
|
}, {
|
128
129
|
uuid: string;
|
129
|
-
username: string;
|
130
|
-
email: string | null;
|
131
130
|
createdAt: string;
|
132
131
|
updatedAt: string;
|
132
|
+
username: string;
|
133
133
|
subscriptionUuid: string;
|
134
134
|
shortUuid: string;
|
135
135
|
usedTrafficBytes: number;
|
@@ -145,10 +145,11 @@ export declare namespace GetUserByShortUuidCommand {
|
|
145
145
|
vlessUuid: string;
|
146
146
|
ssPassword: string;
|
147
147
|
telegramId: number | null;
|
148
|
+
email: string | null;
|
148
149
|
hwidDeviceLimit: number | null;
|
149
150
|
activeUserInbounds: {
|
150
|
-
uuid: string;
|
151
151
|
type: string;
|
152
|
+
uuid: string;
|
152
153
|
tag: string;
|
153
154
|
network: string | null;
|
154
155
|
security: string | null;
|
@@ -169,10 +170,9 @@ export declare namespace GetUserByShortUuidCommand {
|
|
169
170
|
response: {
|
170
171
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
171
172
|
uuid: string;
|
172
|
-
username: string;
|
173
|
-
email: string | null;
|
174
173
|
createdAt: Date;
|
175
174
|
updatedAt: Date;
|
175
|
+
username: string;
|
176
176
|
subscriptionUuid: string;
|
177
177
|
shortUuid: string;
|
178
178
|
usedTrafficBytes: number;
|
@@ -190,10 +190,11 @@ export declare namespace GetUserByShortUuidCommand {
|
|
190
190
|
vlessUuid: string;
|
191
191
|
ssPassword: string;
|
192
192
|
telegramId: number | null;
|
193
|
+
email: string | null;
|
193
194
|
hwidDeviceLimit: number | null;
|
194
195
|
activeUserInbounds: {
|
195
|
-
uuid: string;
|
196
196
|
type: string;
|
197
|
+
uuid: string;
|
197
198
|
tag: string;
|
198
199
|
network: string | null;
|
199
200
|
security: string | null;
|
@@ -210,10 +211,9 @@ export declare namespace GetUserByShortUuidCommand {
|
|
210
211
|
}, {
|
211
212
|
response: {
|
212
213
|
uuid: string;
|
213
|
-
username: string;
|
214
|
-
email: string | null;
|
215
214
|
createdAt: string;
|
216
215
|
updatedAt: string;
|
216
|
+
username: string;
|
217
217
|
subscriptionUuid: string;
|
218
218
|
shortUuid: string;
|
219
219
|
usedTrafficBytes: number;
|
@@ -229,10 +229,11 @@ export declare namespace GetUserByShortUuidCommand {
|
|
229
229
|
vlessUuid: string;
|
230
230
|
ssPassword: string;
|
231
231
|
telegramId: number | null;
|
232
|
+
email: string | null;
|
232
233
|
hwidDeviceLimit: number | null;
|
233
234
|
activeUserInbounds: {
|
234
|
-
uuid: string;
|
235
235
|
type: string;
|
236
|
+
uuid: string;
|
236
237
|
tag: string;
|
237
238
|
network: string | null;
|
238
239
|
security: string | null;
|
@@ -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;
|
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;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,+BAAmC,CAAC;IAC7C,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,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -2,12 +2,14 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetUserByShortUuidCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
+
const constants_1 = require("../../constants");
|
5
6
|
const models_1 = require("../../models");
|
6
7
|
const api_1 = require("../../api");
|
7
8
|
var GetUserByShortUuidCommand;
|
8
9
|
(function (GetUserByShortUuidCommand) {
|
9
|
-
GetUserByShortUuidCommand.url = api_1.REST_API.USERS.
|
10
|
+
GetUserByShortUuidCommand.url = api_1.REST_API.USERS.GET_BY.SHORT_UUID;
|
10
11
|
GetUserByShortUuidCommand.TSQ_url = GetUserByShortUuidCommand.url(':shortUuid');
|
12
|
+
GetUserByShortUuidCommand.baseApiEndpoint = (0, constants_1.getBaseApiEndpoint)(api_1.USERS_ROUTES.GET_BY.SHORT_UUID(':shortUuid'), 'get', 'Get user by Short UUID');
|
11
13
|
GetUserByShortUuidCommand.RequestSchema = zod_1.z.object({
|
12
14
|
shortUuid: zod_1.z.string(),
|
13
15
|
});
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
2
2
|
export declare namespace GetUserBySubscriptionUuidCommand {
|
3
3
|
const url: (subscriptionUuid: string) => string;
|
4
4
|
const TSQ_url: string;
|
5
|
+
const baseApiEndpoint: import("../../constants").BaseApiEndpoint;
|
5
6
|
const RequestSchema: z.ZodObject<{
|
6
7
|
subscriptionUuid: z.ZodString;
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
@@ -11,7 +12,7 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
11
12
|
}>;
|
12
13
|
type Request = z.infer<typeof RequestSchema>;
|
13
14
|
const ResponseSchema: z.ZodObject<{
|
14
|
-
response: z.ZodObject<{
|
15
|
+
response: z.ZodObject<z.objectUtil.extendShape<{
|
15
16
|
uuid: z.ZodString;
|
16
17
|
subscriptionUuid: z.ZodString;
|
17
18
|
shortUuid: z.ZodString;
|
@@ -53,19 +54,19 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
53
54
|
network: z.ZodNullable<z.ZodString>;
|
54
55
|
security: z.ZodNullable<z.ZodString>;
|
55
56
|
}, "strip", z.ZodTypeAny, {
|
56
|
-
uuid: string;
|
57
57
|
type: string;
|
58
|
+
uuid: string;
|
58
59
|
tag: string;
|
59
60
|
network: string | null;
|
60
61
|
security: string | null;
|
61
62
|
}, {
|
62
|
-
uuid: string;
|
63
63
|
type: string;
|
64
|
+
uuid: string;
|
64
65
|
tag: string;
|
65
66
|
network: string | null;
|
66
67
|
security: string | null;
|
67
68
|
}>, "many">;
|
68
|
-
}
|
69
|
+
}, {
|
69
70
|
subscriptionUrl: z.ZodString;
|
70
71
|
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
71
72
|
connectedAt: z.ZodEffects<z.ZodString, Date, string>;
|
@@ -84,13 +85,12 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
84
85
|
}, {
|
85
86
|
cryptoLink: string;
|
86
87
|
}>;
|
87
|
-
}
|
88
|
+
}>, "strip", z.ZodTypeAny, {
|
88
89
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
89
90
|
uuid: string;
|
90
|
-
username: string;
|
91
|
-
email: string | null;
|
92
91
|
createdAt: Date;
|
93
92
|
updatedAt: Date;
|
93
|
+
username: string;
|
94
94
|
subscriptionUuid: string;
|
95
95
|
shortUuid: string;
|
96
96
|
usedTrafficBytes: number;
|
@@ -108,10 +108,11 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
108
108
|
vlessUuid: string;
|
109
109
|
ssPassword: string;
|
110
110
|
telegramId: number | null;
|
111
|
+
email: string | null;
|
111
112
|
hwidDeviceLimit: number | null;
|
112
113
|
activeUserInbounds: {
|
113
|
-
uuid: string;
|
114
114
|
type: string;
|
115
|
+
uuid: string;
|
115
116
|
tag: string;
|
116
117
|
network: string | null;
|
117
118
|
security: string | null;
|
@@ -126,10 +127,9 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
126
127
|
};
|
127
128
|
}, {
|
128
129
|
uuid: string;
|
129
|
-
username: string;
|
130
|
-
email: string | null;
|
131
130
|
createdAt: string;
|
132
131
|
updatedAt: string;
|
132
|
+
username: string;
|
133
133
|
subscriptionUuid: string;
|
134
134
|
shortUuid: string;
|
135
135
|
usedTrafficBytes: number;
|
@@ -145,10 +145,11 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
145
145
|
vlessUuid: string;
|
146
146
|
ssPassword: string;
|
147
147
|
telegramId: number | null;
|
148
|
+
email: string | null;
|
148
149
|
hwidDeviceLimit: number | null;
|
149
150
|
activeUserInbounds: {
|
150
|
-
uuid: string;
|
151
151
|
type: string;
|
152
|
+
uuid: string;
|
152
153
|
tag: string;
|
153
154
|
network: string | null;
|
154
155
|
security: string | null;
|
@@ -169,10 +170,9 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
169
170
|
response: {
|
170
171
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
171
172
|
uuid: string;
|
172
|
-
username: string;
|
173
|
-
email: string | null;
|
174
173
|
createdAt: Date;
|
175
174
|
updatedAt: Date;
|
175
|
+
username: string;
|
176
176
|
subscriptionUuid: string;
|
177
177
|
shortUuid: string;
|
178
178
|
usedTrafficBytes: number;
|
@@ -190,10 +190,11 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
190
190
|
vlessUuid: string;
|
191
191
|
ssPassword: string;
|
192
192
|
telegramId: number | null;
|
193
|
+
email: string | null;
|
193
194
|
hwidDeviceLimit: number | null;
|
194
195
|
activeUserInbounds: {
|
195
|
-
uuid: string;
|
196
196
|
type: string;
|
197
|
+
uuid: string;
|
197
198
|
tag: string;
|
198
199
|
network: string | null;
|
199
200
|
security: string | null;
|
@@ -210,10 +211,9 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
210
211
|
}, {
|
211
212
|
response: {
|
212
213
|
uuid: string;
|
213
|
-
username: string;
|
214
|
-
email: string | null;
|
215
214
|
createdAt: string;
|
216
215
|
updatedAt: string;
|
216
|
+
username: string;
|
217
217
|
subscriptionUuid: string;
|
218
218
|
shortUuid: string;
|
219
219
|
usedTrafficBytes: number;
|
@@ -229,10 +229,11 @@ export declare namespace GetUserBySubscriptionUuidCommand {
|
|
229
229
|
vlessUuid: string;
|
230
230
|
ssPassword: string;
|
231
231
|
telegramId: number | null;
|
232
|
+
email: string | null;
|
232
233
|
hwidDeviceLimit: number | null;
|
233
234
|
activeUserInbounds: {
|
234
|
-
uuid: string;
|
235
235
|
type: string;
|
236
|
+
uuid: string;
|
236
237
|
tag: string;
|
237
238
|
network: string | null;
|
238
239
|
security: string | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-user-by-subscription-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-subscription-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-user-by-subscription-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-subscription-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,GAAG,sCAA0C,CAAC;IACpD,MAAM,OAAO,QAA2B,CAAC;IAEzC,MAAM,eAAe,2CAI3B,CAAC;IAEK,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"}
|
@@ -2,12 +2,14 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetUserBySubscriptionUuidCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
+
const constants_1 = require("../../constants");
|
5
6
|
const models_1 = require("../../models");
|
6
7
|
const api_1 = require("../../api");
|
7
8
|
var GetUserBySubscriptionUuidCommand;
|
8
9
|
(function (GetUserBySubscriptionUuidCommand) {
|
9
|
-
GetUserBySubscriptionUuidCommand.url = api_1.REST_API.USERS.
|
10
|
+
GetUserBySubscriptionUuidCommand.url = api_1.REST_API.USERS.GET_BY.SUBSCRIPTION_UUID;
|
10
11
|
GetUserBySubscriptionUuidCommand.TSQ_url = GetUserBySubscriptionUuidCommand.url(':subscriptionUuid');
|
12
|
+
GetUserBySubscriptionUuidCommand.baseApiEndpoint = (0, constants_1.getBaseApiEndpoint)(api_1.USERS_ROUTES.GET_BY.SUBSCRIPTION_UUID(':subscriptionUuid'), 'get', 'Get user by subscription UUID');
|
11
13
|
GetUserBySubscriptionUuidCommand.RequestSchema = zod_1.z.object({
|
12
14
|
subscriptionUuid: zod_1.z.string(),
|
13
15
|
});
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
2
2
|
export declare namespace GetUserByTelegramIdCommand {
|
3
3
|
const url: (telegramId: string) => string;
|
4
4
|
const TSQ_url: string;
|
5
|
+
const baseApiEndpoint: import("../../constants").BaseApiEndpoint;
|
5
6
|
const RequestSchema: z.ZodObject<{
|
6
7
|
telegramId: z.ZodString;
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
@@ -11,7 +12,7 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
11
12
|
}>;
|
12
13
|
type Request = z.infer<typeof RequestSchema>;
|
13
14
|
const ResponseSchema: z.ZodObject<{
|
14
|
-
response: z.ZodArray<z.ZodObject<{
|
15
|
+
response: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
15
16
|
uuid: z.ZodString;
|
16
17
|
subscriptionUuid: z.ZodString;
|
17
18
|
shortUuid: z.ZodString;
|
@@ -53,19 +54,19 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
53
54
|
network: z.ZodNullable<z.ZodString>;
|
54
55
|
security: z.ZodNullable<z.ZodString>;
|
55
56
|
}, "strip", z.ZodTypeAny, {
|
56
|
-
uuid: string;
|
57
57
|
type: string;
|
58
|
+
uuid: string;
|
58
59
|
tag: string;
|
59
60
|
network: string | null;
|
60
61
|
security: string | null;
|
61
62
|
}, {
|
62
|
-
uuid: string;
|
63
63
|
type: string;
|
64
|
+
uuid: string;
|
64
65
|
tag: string;
|
65
66
|
network: string | null;
|
66
67
|
security: string | null;
|
67
68
|
}>, "many">;
|
68
|
-
}
|
69
|
+
}, {
|
69
70
|
subscriptionUrl: z.ZodString;
|
70
71
|
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
71
72
|
connectedAt: z.ZodEffects<z.ZodString, Date, string>;
|
@@ -84,13 +85,12 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
84
85
|
}, {
|
85
86
|
cryptoLink: string;
|
86
87
|
}>;
|
87
|
-
}
|
88
|
+
}>, "strip", z.ZodTypeAny, {
|
88
89
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
89
90
|
uuid: string;
|
90
|
-
username: string;
|
91
|
-
email: string | null;
|
92
91
|
createdAt: Date;
|
93
92
|
updatedAt: Date;
|
93
|
+
username: string;
|
94
94
|
subscriptionUuid: string;
|
95
95
|
shortUuid: string;
|
96
96
|
usedTrafficBytes: number;
|
@@ -108,10 +108,11 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
108
108
|
vlessUuid: string;
|
109
109
|
ssPassword: string;
|
110
110
|
telegramId: number | null;
|
111
|
+
email: string | null;
|
111
112
|
hwidDeviceLimit: number | null;
|
112
113
|
activeUserInbounds: {
|
113
|
-
uuid: string;
|
114
114
|
type: string;
|
115
|
+
uuid: string;
|
115
116
|
tag: string;
|
116
117
|
network: string | null;
|
117
118
|
security: string | null;
|
@@ -126,10 +127,9 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
126
127
|
};
|
127
128
|
}, {
|
128
129
|
uuid: string;
|
129
|
-
username: string;
|
130
|
-
email: string | null;
|
131
130
|
createdAt: string;
|
132
131
|
updatedAt: string;
|
132
|
+
username: string;
|
133
133
|
subscriptionUuid: string;
|
134
134
|
shortUuid: string;
|
135
135
|
usedTrafficBytes: number;
|
@@ -145,10 +145,11 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
145
145
|
vlessUuid: string;
|
146
146
|
ssPassword: string;
|
147
147
|
telegramId: number | null;
|
148
|
+
email: string | null;
|
148
149
|
hwidDeviceLimit: number | null;
|
149
150
|
activeUserInbounds: {
|
150
|
-
uuid: string;
|
151
151
|
type: string;
|
152
|
+
uuid: string;
|
152
153
|
tag: string;
|
153
154
|
network: string | null;
|
154
155
|
security: string | null;
|
@@ -169,10 +170,9 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
169
170
|
response: {
|
170
171
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
171
172
|
uuid: string;
|
172
|
-
username: string;
|
173
|
-
email: string | null;
|
174
173
|
createdAt: Date;
|
175
174
|
updatedAt: Date;
|
175
|
+
username: string;
|
176
176
|
subscriptionUuid: string;
|
177
177
|
shortUuid: string;
|
178
178
|
usedTrafficBytes: number;
|
@@ -190,10 +190,11 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
190
190
|
vlessUuid: string;
|
191
191
|
ssPassword: string;
|
192
192
|
telegramId: number | null;
|
193
|
+
email: string | null;
|
193
194
|
hwidDeviceLimit: number | null;
|
194
195
|
activeUserInbounds: {
|
195
|
-
uuid: string;
|
196
196
|
type: string;
|
197
|
+
uuid: string;
|
197
198
|
tag: string;
|
198
199
|
network: string | null;
|
199
200
|
security: string | null;
|
@@ -210,10 +211,9 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
210
211
|
}, {
|
211
212
|
response: {
|
212
213
|
uuid: string;
|
213
|
-
username: string;
|
214
|
-
email: string | null;
|
215
214
|
createdAt: string;
|
216
215
|
updatedAt: string;
|
216
|
+
username: string;
|
217
217
|
subscriptionUuid: string;
|
218
218
|
shortUuid: string;
|
219
219
|
usedTrafficBytes: number;
|
@@ -229,10 +229,11 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
229
229
|
vlessUuid: string;
|
230
230
|
ssPassword: string;
|
231
231
|
telegramId: number | null;
|
232
|
+
email: string | null;
|
232
233
|
hwidDeviceLimit: number | null;
|
233
234
|
activeUserInbounds: {
|
234
|
-
uuid: string;
|
235
235
|
type: string;
|
236
|
+
uuid: string;
|
236
237
|
tag: string;
|
237
238
|
network: string | null;
|
238
239
|
security: string | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-user-by-telegram-id.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-telegram-id.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-user-by-telegram-id.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-telegram-id.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,gCAAoC,CAAC;IAC9C,MAAM,OAAO,QAAqB,CAAC;IAEnC,MAAM,eAAe,2CAI3B,CAAC;IAEK,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"}
|
@@ -2,12 +2,14 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetUserByTelegramIdCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
+
const constants_1 = require("../../constants");
|
5
6
|
const models_1 = require("../../models");
|
6
7
|
const api_1 = require("../../api");
|
7
8
|
var GetUserByTelegramIdCommand;
|
8
9
|
(function (GetUserByTelegramIdCommand) {
|
9
|
-
GetUserByTelegramIdCommand.url = api_1.REST_API.USERS.
|
10
|
+
GetUserByTelegramIdCommand.url = api_1.REST_API.USERS.GET_BY.TELEGRAM_ID;
|
10
11
|
GetUserByTelegramIdCommand.TSQ_url = GetUserByTelegramIdCommand.url(':telegramId');
|
12
|
+
GetUserByTelegramIdCommand.baseApiEndpoint = (0, constants_1.getBaseApiEndpoint)(api_1.USERS_ROUTES.GET_BY.TELEGRAM_ID(':telegramId'), 'get', 'Get users by telegram ID');
|
11
13
|
GetUserByTelegramIdCommand.RequestSchema = zod_1.z.object({
|
12
14
|
telegramId: zod_1.z.string(),
|
13
15
|
});
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
2
2
|
export declare namespace GetUserByUsernameCommand {
|
3
3
|
const url: (username: string) => string;
|
4
4
|
const TSQ_url: string;
|
5
|
+
const baseApiEndpoint: import("../../constants").BaseApiEndpoint;
|
5
6
|
const RequestSchema: z.ZodObject<{
|
6
7
|
username: z.ZodString;
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
@@ -11,7 +12,7 @@ export declare namespace GetUserByUsernameCommand {
|
|
11
12
|
}>;
|
12
13
|
type Request = z.infer<typeof RequestSchema>;
|
13
14
|
const ResponseSchema: z.ZodObject<{
|
14
|
-
response: z.ZodObject<{
|
15
|
+
response: z.ZodObject<z.objectUtil.extendShape<{
|
15
16
|
uuid: z.ZodString;
|
16
17
|
subscriptionUuid: z.ZodString;
|
17
18
|
shortUuid: z.ZodString;
|
@@ -53,19 +54,19 @@ export declare namespace GetUserByUsernameCommand {
|
|
53
54
|
network: z.ZodNullable<z.ZodString>;
|
54
55
|
security: z.ZodNullable<z.ZodString>;
|
55
56
|
}, "strip", z.ZodTypeAny, {
|
56
|
-
uuid: string;
|
57
57
|
type: string;
|
58
|
+
uuid: string;
|
58
59
|
tag: string;
|
59
60
|
network: string | null;
|
60
61
|
security: string | null;
|
61
62
|
}, {
|
62
|
-
uuid: string;
|
63
63
|
type: string;
|
64
|
+
uuid: string;
|
64
65
|
tag: string;
|
65
66
|
network: string | null;
|
66
67
|
security: string | null;
|
67
68
|
}>, "many">;
|
68
|
-
}
|
69
|
+
}, {
|
69
70
|
subscriptionUrl: z.ZodString;
|
70
71
|
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
71
72
|
connectedAt: z.ZodEffects<z.ZodString, Date, string>;
|
@@ -84,13 +85,12 @@ export declare namespace GetUserByUsernameCommand {
|
|
84
85
|
}, {
|
85
86
|
cryptoLink: string;
|
86
87
|
}>;
|
87
|
-
}
|
88
|
+
}>, "strip", z.ZodTypeAny, {
|
88
89
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
89
90
|
uuid: string;
|
90
|
-
username: string;
|
91
|
-
email: string | null;
|
92
91
|
createdAt: Date;
|
93
92
|
updatedAt: Date;
|
93
|
+
username: string;
|
94
94
|
subscriptionUuid: string;
|
95
95
|
shortUuid: string;
|
96
96
|
usedTrafficBytes: number;
|
@@ -108,10 +108,11 @@ export declare namespace GetUserByUsernameCommand {
|
|
108
108
|
vlessUuid: string;
|
109
109
|
ssPassword: string;
|
110
110
|
telegramId: number | null;
|
111
|
+
email: string | null;
|
111
112
|
hwidDeviceLimit: number | null;
|
112
113
|
activeUserInbounds: {
|
113
|
-
uuid: string;
|
114
114
|
type: string;
|
115
|
+
uuid: string;
|
115
116
|
tag: string;
|
116
117
|
network: string | null;
|
117
118
|
security: string | null;
|
@@ -126,10 +127,9 @@ export declare namespace GetUserByUsernameCommand {
|
|
126
127
|
};
|
127
128
|
}, {
|
128
129
|
uuid: string;
|
129
|
-
username: string;
|
130
|
-
email: string | null;
|
131
130
|
createdAt: string;
|
132
131
|
updatedAt: string;
|
132
|
+
username: string;
|
133
133
|
subscriptionUuid: string;
|
134
134
|
shortUuid: string;
|
135
135
|
usedTrafficBytes: number;
|
@@ -145,10 +145,11 @@ export declare namespace GetUserByUsernameCommand {
|
|
145
145
|
vlessUuid: string;
|
146
146
|
ssPassword: string;
|
147
147
|
telegramId: number | null;
|
148
|
+
email: string | null;
|
148
149
|
hwidDeviceLimit: number | null;
|
149
150
|
activeUserInbounds: {
|
150
|
-
uuid: string;
|
151
151
|
type: string;
|
152
|
+
uuid: string;
|
152
153
|
tag: string;
|
153
154
|
network: string | null;
|
154
155
|
security: string | null;
|
@@ -169,10 +170,9 @@ export declare namespace GetUserByUsernameCommand {
|
|
169
170
|
response: {
|
170
171
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
171
172
|
uuid: string;
|
172
|
-
username: string;
|
173
|
-
email: string | null;
|
174
173
|
createdAt: Date;
|
175
174
|
updatedAt: Date;
|
175
|
+
username: string;
|
176
176
|
subscriptionUuid: string;
|
177
177
|
shortUuid: string;
|
178
178
|
usedTrafficBytes: number;
|
@@ -190,10 +190,11 @@ export declare namespace GetUserByUsernameCommand {
|
|
190
190
|
vlessUuid: string;
|
191
191
|
ssPassword: string;
|
192
192
|
telegramId: number | null;
|
193
|
+
email: string | null;
|
193
194
|
hwidDeviceLimit: number | null;
|
194
195
|
activeUserInbounds: {
|
195
|
-
uuid: string;
|
196
196
|
type: string;
|
197
|
+
uuid: string;
|
197
198
|
tag: string;
|
198
199
|
network: string | null;
|
199
200
|
security: string | null;
|
@@ -210,10 +211,9 @@ export declare namespace GetUserByUsernameCommand {
|
|
210
211
|
}, {
|
211
212
|
response: {
|
212
213
|
uuid: string;
|
213
|
-
username: string;
|
214
|
-
email: string | null;
|
215
214
|
createdAt: string;
|
216
215
|
updatedAt: string;
|
216
|
+
username: string;
|
217
217
|
subscriptionUuid: string;
|
218
218
|
shortUuid: string;
|
219
219
|
usedTrafficBytes: number;
|
@@ -229,10 +229,11 @@ export declare namespace GetUserByUsernameCommand {
|
|
229
229
|
vlessUuid: string;
|
230
230
|
ssPassword: string;
|
231
231
|
telegramId: number | null;
|
232
|
+
email: string | null;
|
232
233
|
hwidDeviceLimit: number | null;
|
233
234
|
activeUserInbounds: {
|
234
|
-
uuid: string;
|
235
235
|
type: string;
|
236
|
+
uuid: string;
|
236
237
|
tag: string;
|
237
238
|
network: string | null;
|
238
239
|
security: string | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-user-by-username.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-user-by-username.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,2CAI3B,CAAC;IAEK,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"}
|
@@ -2,12 +2,14 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetUserByUsernameCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
+
const constants_1 = require("../../constants");
|
5
6
|
const models_1 = require("../../models");
|
6
7
|
const api_1 = require("../../api");
|
7
8
|
var GetUserByUsernameCommand;
|
8
9
|
(function (GetUserByUsernameCommand) {
|
9
|
-
GetUserByUsernameCommand.url = api_1.REST_API.USERS.
|
10
|
+
GetUserByUsernameCommand.url = api_1.REST_API.USERS.GET_BY.USERNAME;
|
10
11
|
GetUserByUsernameCommand.TSQ_url = GetUserByUsernameCommand.url(':username');
|
12
|
+
GetUserByUsernameCommand.baseApiEndpoint = (0, constants_1.getBaseApiEndpoint)(api_1.USERS_ROUTES.GET_BY.USERNAME(':username'), 'get', 'Get user by username');
|
11
13
|
GetUserByUsernameCommand.RequestSchema = zod_1.z.object({
|
12
14
|
username: zod_1.z.string(),
|
13
15
|
});
|