@remnawave/backend-contract 0.0.60 → 0.0.62
Sign up to get free protection for your applications and to get access to all the features.
- package/build/backend/api/controllers/users.d.ts +1 -0
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +1 -0
- package/build/backend/api/routes.d.ts +1 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +1 -0
- package/build/backend/commands/users/create-user.command.d.ts +13 -8
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/disable-user.command.ts.d.ts +12 -7
- package/build/backend/commands/users/disable-user.command.ts.d.ts.map +1 -1
- package/build/backend/commands/users/enable-user.command.d.ts +12 -7
- 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 +17 -10
- package/build/backend/commands/users/get-all-users-v2.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-all-users.command.d.ts +21 -14
- package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts +12 -7
- 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 +12 -7
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-username.command.d.ts +160 -0
- package/build/backend/commands/users/get-user-by-username.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-user-by-username.command.js +17 -0
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +12 -7
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/index.d.ts +1 -0
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +1 -0
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts +12 -7
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.d.ts +14 -8
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/models/users.schema.d.ts +7 -4
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.js +2 -1
- package/build/frontend/api/controllers/users.js +1 -0
- package/build/frontend/api/routes.js +1 -0
- package/build/frontend/commands/users/get-user-by-username.command.js +17 -0
- package/build/frontend/commands/users/index.js +1 -0
- package/build/frontend/models/users.schema.js +2 -1
- package/package.json +1 -1
@@ -3,6 +3,7 @@ export declare const USERS_ROUTES: {
|
|
3
3
|
readonly CREATE: "";
|
4
4
|
readonly GET_BY_UUID: "uuid";
|
5
5
|
readonly GET_BY_SHORT_UUID: "short-uuid";
|
6
|
+
readonly GET_BY_USERNAME: "username";
|
6
7
|
readonly GET_BY_SUBSCRIPTION_UUID: "sub-uuid";
|
7
8
|
readonly GET_ALL: "";
|
8
9
|
readonly GET_ALL_V2: "v2";
|
@@ -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;;;;;;;;;;;;;CAaf,CAAC"}
|
@@ -33,6 +33,7 @@ export declare const REST_API: {
|
|
33
33
|
readonly CREATE: "/api/users/";
|
34
34
|
readonly GET_BY_UUID: (uuid: string) => string;
|
35
35
|
readonly GET_BY_SHORT_UUID: (shortUuid: string) => string;
|
36
|
+
readonly GET_BY_USERNAME: (username: string) => string;
|
36
37
|
readonly GET_BY_SUBSCRIPTION_UUID: (subscriptionUuid: string) => string;
|
37
38
|
readonly GET_ALL: "/api/users/";
|
38
39
|
readonly REVOKE_SUBSCRIPTION: (uuid: 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;AAEpC,eAAO,MAAM,QAAQ;;;;;;gCAME,MAAM;;;;;;;;gCASN,MAAM;;;iCAIL,MAAM;iCAEN,MAAM;iCAEN,MAAM;gCAEP,MAAM;;;;;;;;;;;;qCAaD,MAAM;gDAEK,MAAM;
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;gCAME,MAAM;;;;;;;;gCASN,MAAM;;;iCAIL,MAAM;iCAEN,MAAM;iCAEN,MAAM;gCAEP,MAAM;;;;;;;;;;;;qCAaD,MAAM;gDAEK,MAAM;6CAET,MAAM;8DAEW,MAAM;;6CAGvB,MAAM;sCAEb,MAAM;qCAEP,MAAM;qCAEN,MAAM;;;;;kCAMT,MAAM;uCAED,MAAM;;;;;;;;gCASb,MAAM;;;;;;;CAQnB,CAAC"}
|
@@ -70,6 +70,7 @@ exports.REST_API = {
|
|
70
70
|
CREATE: `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.CREATE}`,
|
71
71
|
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET_BY_UUID}/${uuid}`,
|
72
72
|
GET_BY_SHORT_UUID: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET_BY_SHORT_UUID}/${shortUuid}`,
|
73
|
+
GET_BY_USERNAME: (username) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET_BY_USERNAME}/${username}`,
|
73
74
|
GET_BY_SUBSCRIPTION_UUID: (subscriptionUuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET_BY_SUBSCRIPTION_UUID}/${subscriptionUuid}`,
|
74
75
|
GET_ALL: `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET_ALL}`,
|
75
76
|
REVOKE_SUBSCRIPTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.REVOKE_SUBSCRIPTION}/${uuid}`,
|
@@ -17,8 +17,8 @@ export declare namespace CreateUserCommand {
|
|
17
17
|
createdAt: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, Date>>;
|
18
18
|
lastTrafficResetAt: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, Date>>;
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
20
|
-
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
21
20
|
username: string;
|
21
|
+
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
22
22
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
23
23
|
expireAt: Date;
|
24
24
|
createdAt?: Date | undefined;
|
@@ -53,7 +53,8 @@ export declare namespace CreateUserCommand {
|
|
53
53
|
shortUuid: z.ZodString;
|
54
54
|
username: z.ZodString;
|
55
55
|
status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
|
56
|
-
usedTrafficBytes: z.
|
56
|
+
usedTrafficBytes: z.ZodNumber;
|
57
|
+
lifetimeUsedTrafficBytes: z.ZodNumber;
|
57
58
|
trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
|
58
59
|
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
|
59
60
|
subLastUserAgent: z.ZodNullable<z.ZodString>;
|
@@ -82,14 +83,15 @@ export declare namespace CreateUserCommand {
|
|
82
83
|
}>, "many">;
|
83
84
|
}, "strip", z.ZodTypeAny, {
|
84
85
|
uuid: string;
|
86
|
+
username: string;
|
85
87
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
86
88
|
createdAt: Date;
|
87
89
|
updatedAt: Date;
|
88
|
-
username: string;
|
89
90
|
trafficLimitBytes: number;
|
90
91
|
subscriptionUuid: string;
|
91
92
|
shortUuid: string;
|
92
93
|
usedTrafficBytes: number;
|
94
|
+
lifetimeUsedTrafficBytes: number;
|
93
95
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
94
96
|
subLastUserAgent: string | null;
|
95
97
|
subLastOpenedAt: Date | null;
|
@@ -107,11 +109,13 @@ export declare namespace CreateUserCommand {
|
|
107
109
|
}[];
|
108
110
|
}, {
|
109
111
|
uuid: string;
|
112
|
+
username: string;
|
110
113
|
createdAt: string;
|
111
114
|
updatedAt: string;
|
112
|
-
username: string;
|
113
115
|
subscriptionUuid: string;
|
114
116
|
shortUuid: string;
|
117
|
+
usedTrafficBytes: number;
|
118
|
+
lifetimeUsedTrafficBytes: number;
|
115
119
|
subLastUserAgent: string | null;
|
116
120
|
subLastOpenedAt: string | null;
|
117
121
|
expireAt: string | null;
|
@@ -128,20 +132,20 @@ export declare namespace CreateUserCommand {
|
|
128
132
|
}[];
|
129
133
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
130
134
|
trafficLimitBytes?: number | undefined;
|
131
|
-
usedTrafficBytes?: number | undefined;
|
132
135
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
133
136
|
}>;
|
134
137
|
}, "strip", z.ZodTypeAny, {
|
135
138
|
response: {
|
136
139
|
uuid: string;
|
140
|
+
username: string;
|
137
141
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
138
142
|
createdAt: Date;
|
139
143
|
updatedAt: Date;
|
140
|
-
username: string;
|
141
144
|
trafficLimitBytes: number;
|
142
145
|
subscriptionUuid: string;
|
143
146
|
shortUuid: string;
|
144
147
|
usedTrafficBytes: number;
|
148
|
+
lifetimeUsedTrafficBytes: number;
|
145
149
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
146
150
|
subLastUserAgent: string | null;
|
147
151
|
subLastOpenedAt: Date | null;
|
@@ -161,11 +165,13 @@ export declare namespace CreateUserCommand {
|
|
161
165
|
}, {
|
162
166
|
response: {
|
163
167
|
uuid: string;
|
168
|
+
username: string;
|
164
169
|
createdAt: string;
|
165
170
|
updatedAt: string;
|
166
|
-
username: string;
|
167
171
|
subscriptionUuid: string;
|
168
172
|
shortUuid: string;
|
173
|
+
usedTrafficBytes: number;
|
174
|
+
lifetimeUsedTrafficBytes: number;
|
169
175
|
subLastUserAgent: string | null;
|
170
176
|
subLastOpenedAt: string | null;
|
171
177
|
expireAt: string | null;
|
@@ -182,7 +188,6 @@ export declare namespace CreateUserCommand {
|
|
182
188
|
}[];
|
183
189
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
184
190
|
trafficLimitBytes?: number | undefined;
|
185
|
-
usedTrafficBytes?: number | undefined;
|
186
191
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
187
192
|
};
|
188
193
|
}>;
|
@@ -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;AAKxB,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
|
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;AAKxB,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"}
|
@@ -17,7 +17,8 @@ export declare namespace DisableUserCommand {
|
|
17
17
|
shortUuid: z.ZodString;
|
18
18
|
username: z.ZodString;
|
19
19
|
status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
|
20
|
-
usedTrafficBytes: z.
|
20
|
+
usedTrafficBytes: z.ZodNumber;
|
21
|
+
lifetimeUsedTrafficBytes: z.ZodNumber;
|
21
22
|
trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
|
22
23
|
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
|
23
24
|
subLastUserAgent: z.ZodNullable<z.ZodString>;
|
@@ -46,14 +47,15 @@ export declare namespace DisableUserCommand {
|
|
46
47
|
}>, "many">;
|
47
48
|
}, "strip", z.ZodTypeAny, {
|
48
49
|
uuid: string;
|
50
|
+
username: string;
|
49
51
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
50
52
|
createdAt: Date;
|
51
53
|
updatedAt: Date;
|
52
|
-
username: string;
|
53
54
|
trafficLimitBytes: number;
|
54
55
|
subscriptionUuid: string;
|
55
56
|
shortUuid: string;
|
56
57
|
usedTrafficBytes: number;
|
58
|
+
lifetimeUsedTrafficBytes: number;
|
57
59
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
58
60
|
subLastUserAgent: string | null;
|
59
61
|
subLastOpenedAt: Date | null;
|
@@ -71,11 +73,13 @@ export declare namespace DisableUserCommand {
|
|
71
73
|
}[];
|
72
74
|
}, {
|
73
75
|
uuid: string;
|
76
|
+
username: string;
|
74
77
|
createdAt: string;
|
75
78
|
updatedAt: string;
|
76
|
-
username: string;
|
77
79
|
subscriptionUuid: string;
|
78
80
|
shortUuid: string;
|
81
|
+
usedTrafficBytes: number;
|
82
|
+
lifetimeUsedTrafficBytes: number;
|
79
83
|
subLastUserAgent: string | null;
|
80
84
|
subLastOpenedAt: string | null;
|
81
85
|
expireAt: string | null;
|
@@ -92,20 +96,20 @@ export declare namespace DisableUserCommand {
|
|
92
96
|
}[];
|
93
97
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
94
98
|
trafficLimitBytes?: number | undefined;
|
95
|
-
usedTrafficBytes?: number | undefined;
|
96
99
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
97
100
|
}>;
|
98
101
|
}, "strip", z.ZodTypeAny, {
|
99
102
|
response: {
|
100
103
|
uuid: string;
|
104
|
+
username: string;
|
101
105
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
102
106
|
createdAt: Date;
|
103
107
|
updatedAt: Date;
|
104
|
-
username: string;
|
105
108
|
trafficLimitBytes: number;
|
106
109
|
subscriptionUuid: string;
|
107
110
|
shortUuid: string;
|
108
111
|
usedTrafficBytes: number;
|
112
|
+
lifetimeUsedTrafficBytes: number;
|
109
113
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
110
114
|
subLastUserAgent: string | null;
|
111
115
|
subLastOpenedAt: Date | null;
|
@@ -125,11 +129,13 @@ export declare namespace DisableUserCommand {
|
|
125
129
|
}, {
|
126
130
|
response: {
|
127
131
|
uuid: string;
|
132
|
+
username: string;
|
128
133
|
createdAt: string;
|
129
134
|
updatedAt: string;
|
130
|
-
username: string;
|
131
135
|
subscriptionUuid: string;
|
132
136
|
shortUuid: string;
|
137
|
+
usedTrafficBytes: number;
|
138
|
+
lifetimeUsedTrafficBytes: number;
|
133
139
|
subLastUserAgent: string | null;
|
134
140
|
subLastOpenedAt: string | null;
|
135
141
|
expireAt: string | null;
|
@@ -146,7 +152,6 @@ export declare namespace DisableUserCommand {
|
|
146
152
|
}[];
|
147
153
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
148
154
|
trafficLimitBytes?: number | undefined;
|
149
|
-
usedTrafficBytes?: number | undefined;
|
150
155
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
151
156
|
};
|
152
157
|
}>;
|
@@ -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;AAGxB,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;AAGxB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -17,7 +17,8 @@ export declare namespace EnableUserCommand {
|
|
17
17
|
shortUuid: z.ZodString;
|
18
18
|
username: z.ZodString;
|
19
19
|
status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
|
20
|
-
usedTrafficBytes: z.
|
20
|
+
usedTrafficBytes: z.ZodNumber;
|
21
|
+
lifetimeUsedTrafficBytes: z.ZodNumber;
|
21
22
|
trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
|
22
23
|
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
|
23
24
|
subLastUserAgent: z.ZodNullable<z.ZodString>;
|
@@ -46,14 +47,15 @@ export declare namespace EnableUserCommand {
|
|
46
47
|
}>, "many">;
|
47
48
|
}, "strip", z.ZodTypeAny, {
|
48
49
|
uuid: string;
|
50
|
+
username: string;
|
49
51
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
50
52
|
createdAt: Date;
|
51
53
|
updatedAt: Date;
|
52
|
-
username: string;
|
53
54
|
trafficLimitBytes: number;
|
54
55
|
subscriptionUuid: string;
|
55
56
|
shortUuid: string;
|
56
57
|
usedTrafficBytes: number;
|
58
|
+
lifetimeUsedTrafficBytes: number;
|
57
59
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
58
60
|
subLastUserAgent: string | null;
|
59
61
|
subLastOpenedAt: Date | null;
|
@@ -71,11 +73,13 @@ export declare namespace EnableUserCommand {
|
|
71
73
|
}[];
|
72
74
|
}, {
|
73
75
|
uuid: string;
|
76
|
+
username: string;
|
74
77
|
createdAt: string;
|
75
78
|
updatedAt: string;
|
76
|
-
username: string;
|
77
79
|
subscriptionUuid: string;
|
78
80
|
shortUuid: string;
|
81
|
+
usedTrafficBytes: number;
|
82
|
+
lifetimeUsedTrafficBytes: number;
|
79
83
|
subLastUserAgent: string | null;
|
80
84
|
subLastOpenedAt: string | null;
|
81
85
|
expireAt: string | null;
|
@@ -92,20 +96,20 @@ export declare namespace EnableUserCommand {
|
|
92
96
|
}[];
|
93
97
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
94
98
|
trafficLimitBytes?: number | undefined;
|
95
|
-
usedTrafficBytes?: number | undefined;
|
96
99
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
97
100
|
}>;
|
98
101
|
}, "strip", z.ZodTypeAny, {
|
99
102
|
response: {
|
100
103
|
uuid: string;
|
104
|
+
username: string;
|
101
105
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
102
106
|
createdAt: Date;
|
103
107
|
updatedAt: Date;
|
104
|
-
username: string;
|
105
108
|
trafficLimitBytes: number;
|
106
109
|
subscriptionUuid: string;
|
107
110
|
shortUuid: string;
|
108
111
|
usedTrafficBytes: number;
|
112
|
+
lifetimeUsedTrafficBytes: number;
|
109
113
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
110
114
|
subLastUserAgent: string | null;
|
111
115
|
subLastOpenedAt: Date | null;
|
@@ -125,11 +129,13 @@ export declare namespace EnableUserCommand {
|
|
125
129
|
}, {
|
126
130
|
response: {
|
127
131
|
uuid: string;
|
132
|
+
username: string;
|
128
133
|
createdAt: string;
|
129
134
|
updatedAt: string;
|
130
|
-
username: string;
|
131
135
|
subscriptionUuid: string;
|
132
136
|
shortUuid: string;
|
137
|
+
usedTrafficBytes: number;
|
138
|
+
lifetimeUsedTrafficBytes: number;
|
133
139
|
subLastUserAgent: string | null;
|
134
140
|
subLastOpenedAt: string | null;
|
135
141
|
expireAt: string | null;
|
@@ -146,7 +152,6 @@ export declare namespace EnableUserCommand {
|
|
146
152
|
}[];
|
147
153
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
148
154
|
trafficLimitBytes?: number | undefined;
|
149
|
-
usedTrafficBytes?: number | undefined;
|
150
155
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
151
156
|
};
|
152
157
|
}>;
|
@@ -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;AAIxB,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;AAIxB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -63,7 +63,8 @@ export declare namespace GetAllUsersV2Command {
|
|
63
63
|
shortUuid: z.ZodString;
|
64
64
|
username: z.ZodString;
|
65
65
|
status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
|
66
|
-
usedTrafficBytes: z.
|
66
|
+
usedTrafficBytes: z.ZodNumber;
|
67
|
+
lifetimeUsedTrafficBytes: z.ZodNumber;
|
67
68
|
trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
|
68
69
|
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
|
69
70
|
subLastUserAgent: z.ZodNullable<z.ZodString>;
|
@@ -94,14 +95,15 @@ export declare namespace GetAllUsersV2Command {
|
|
94
95
|
totalUsedBytes: z.ZodString;
|
95
96
|
}>, "strip", z.ZodTypeAny, {
|
96
97
|
uuid: string;
|
98
|
+
username: string;
|
97
99
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
98
100
|
createdAt: Date;
|
99
101
|
updatedAt: Date;
|
100
|
-
username: string;
|
101
102
|
trafficLimitBytes: number;
|
102
103
|
subscriptionUuid: string;
|
103
104
|
shortUuid: string;
|
104
105
|
usedTrafficBytes: number;
|
106
|
+
lifetimeUsedTrafficBytes: number;
|
105
107
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
106
108
|
subLastUserAgent: string | null;
|
107
109
|
subLastOpenedAt: Date | null;
|
@@ -120,11 +122,13 @@ export declare namespace GetAllUsersV2Command {
|
|
120
122
|
totalUsedBytes: string;
|
121
123
|
}, {
|
122
124
|
uuid: string;
|
125
|
+
username: string;
|
123
126
|
createdAt: string;
|
124
127
|
updatedAt: string;
|
125
|
-
username: string;
|
126
128
|
subscriptionUuid: string;
|
127
129
|
shortUuid: string;
|
130
|
+
usedTrafficBytes: number;
|
131
|
+
lifetimeUsedTrafficBytes: number;
|
128
132
|
subLastUserAgent: string | null;
|
129
133
|
subLastOpenedAt: string | null;
|
130
134
|
expireAt: string | null;
|
@@ -142,21 +146,21 @@ export declare namespace GetAllUsersV2Command {
|
|
142
146
|
totalUsedBytes: string;
|
143
147
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
144
148
|
trafficLimitBytes?: number | undefined;
|
145
|
-
usedTrafficBytes?: number | undefined;
|
146
149
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
147
150
|
}>, "many">;
|
148
151
|
total: z.ZodNumber;
|
149
152
|
}, "strip", z.ZodTypeAny, {
|
150
153
|
users: {
|
151
154
|
uuid: string;
|
155
|
+
username: string;
|
152
156
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
153
157
|
createdAt: Date;
|
154
158
|
updatedAt: Date;
|
155
|
-
username: string;
|
156
159
|
trafficLimitBytes: number;
|
157
160
|
subscriptionUuid: string;
|
158
161
|
shortUuid: string;
|
159
162
|
usedTrafficBytes: number;
|
163
|
+
lifetimeUsedTrafficBytes: number;
|
160
164
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
161
165
|
subLastUserAgent: string | null;
|
162
166
|
subLastOpenedAt: Date | null;
|
@@ -178,11 +182,13 @@ export declare namespace GetAllUsersV2Command {
|
|
178
182
|
}, {
|
179
183
|
users: {
|
180
184
|
uuid: string;
|
185
|
+
username: string;
|
181
186
|
createdAt: string;
|
182
187
|
updatedAt: string;
|
183
|
-
username: string;
|
184
188
|
subscriptionUuid: string;
|
185
189
|
shortUuid: string;
|
190
|
+
usedTrafficBytes: number;
|
191
|
+
lifetimeUsedTrafficBytes: number;
|
186
192
|
subLastUserAgent: string | null;
|
187
193
|
subLastOpenedAt: string | null;
|
188
194
|
expireAt: string | null;
|
@@ -200,7 +206,6 @@ export declare namespace GetAllUsersV2Command {
|
|
200
206
|
totalUsedBytes: string;
|
201
207
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
202
208
|
trafficLimitBytes?: number | undefined;
|
203
|
-
usedTrafficBytes?: number | undefined;
|
204
209
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
205
210
|
}[];
|
206
211
|
total: number;
|
@@ -209,14 +214,15 @@ export declare namespace GetAllUsersV2Command {
|
|
209
214
|
response: {
|
210
215
|
users: {
|
211
216
|
uuid: string;
|
217
|
+
username: string;
|
212
218
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
213
219
|
createdAt: Date;
|
214
220
|
updatedAt: Date;
|
215
|
-
username: string;
|
216
221
|
trafficLimitBytes: number;
|
217
222
|
subscriptionUuid: string;
|
218
223
|
shortUuid: string;
|
219
224
|
usedTrafficBytes: number;
|
225
|
+
lifetimeUsedTrafficBytes: number;
|
220
226
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
221
227
|
subLastUserAgent: string | null;
|
222
228
|
subLastOpenedAt: Date | null;
|
@@ -240,11 +246,13 @@ export declare namespace GetAllUsersV2Command {
|
|
240
246
|
response: {
|
241
247
|
users: {
|
242
248
|
uuid: string;
|
249
|
+
username: string;
|
243
250
|
createdAt: string;
|
244
251
|
updatedAt: string;
|
245
|
-
username: string;
|
246
252
|
subscriptionUuid: string;
|
247
253
|
shortUuid: string;
|
254
|
+
usedTrafficBytes: number;
|
255
|
+
lifetimeUsedTrafficBytes: number;
|
248
256
|
subLastUserAgent: string | null;
|
249
257
|
subLastOpenedAt: string | null;
|
250
258
|
expireAt: string | null;
|
@@ -262,7 +270,6 @@ export declare namespace GetAllUsersV2Command {
|
|
262
270
|
totalUsedBytes: string;
|
263
271
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
264
272
|
trafficLimitBytes?: number | undefined;
|
265
|
-
usedTrafficBytes?: number | undefined;
|
266
273
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
267
274
|
}[];
|
268
275
|
total: number;
|
@@ -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;AAIxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,iBAA4B,CAAC;IACtC,MAAM,OAAO,iBAAM,CAAC;IAapB,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;AAIxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,iBAA4B,CAAC;IACtC,MAAM,OAAO,iBAAM,CAAC;IAapB,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyB7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -16,17 +16,17 @@ export declare namespace GetAllUsersCommand {
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
17
17
|
limit: number;
|
18
18
|
offset: number;
|
19
|
-
orderBy: "
|
19
|
+
orderBy: "username" | "status" | "createdAt" | "trafficLimitBytes" | "usedTrafficBytes" | "expireAt" | "onlineAt";
|
20
20
|
orderDir: "desc" | "asc";
|
21
|
-
searchBy: "uuid" | "
|
21
|
+
searchBy: "uuid" | "username" | "status" | "subscriptionUuid" | "shortUuid";
|
22
22
|
search?: string | undefined;
|
23
23
|
}, {
|
24
24
|
limit?: string | undefined;
|
25
25
|
offset?: string | undefined;
|
26
|
-
orderBy?: "
|
26
|
+
orderBy?: "username" | "status" | "createdAt" | "trafficLimitBytes" | "usedTrafficBytes" | "expireAt" | "onlineAt" | undefined;
|
27
27
|
orderDir?: "desc" | "asc" | undefined;
|
28
28
|
search?: string | undefined;
|
29
|
-
searchBy?: "uuid" | "
|
29
|
+
searchBy?: "uuid" | "username" | "status" | "subscriptionUuid" | "shortUuid" | undefined;
|
30
30
|
}>;
|
31
31
|
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
32
32
|
const ResponseSchema: z.ZodObject<{
|
@@ -37,7 +37,8 @@ export declare namespace GetAllUsersCommand {
|
|
37
37
|
shortUuid: z.ZodString;
|
38
38
|
username: z.ZodString;
|
39
39
|
status: z.ZodDefault<z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>>;
|
40
|
-
usedTrafficBytes: z.
|
40
|
+
usedTrafficBytes: z.ZodNumber;
|
41
|
+
lifetimeUsedTrafficBytes: z.ZodNumber;
|
41
42
|
trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
|
42
43
|
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
|
43
44
|
subLastUserAgent: z.ZodNullable<z.ZodString>;
|
@@ -68,14 +69,15 @@ export declare namespace GetAllUsersCommand {
|
|
68
69
|
totalUsedBytes: z.ZodString;
|
69
70
|
}>, "strip", z.ZodTypeAny, {
|
70
71
|
uuid: string;
|
72
|
+
username: string;
|
71
73
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
72
74
|
createdAt: Date;
|
73
75
|
updatedAt: Date;
|
74
|
-
username: string;
|
75
76
|
trafficLimitBytes: number;
|
76
77
|
subscriptionUuid: string;
|
77
78
|
shortUuid: string;
|
78
79
|
usedTrafficBytes: number;
|
80
|
+
lifetimeUsedTrafficBytes: number;
|
79
81
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
80
82
|
subLastUserAgent: string | null;
|
81
83
|
subLastOpenedAt: Date | null;
|
@@ -94,11 +96,13 @@ export declare namespace GetAllUsersCommand {
|
|
94
96
|
totalUsedBytes: string;
|
95
97
|
}, {
|
96
98
|
uuid: string;
|
99
|
+
username: string;
|
97
100
|
createdAt: string;
|
98
101
|
updatedAt: string;
|
99
|
-
username: string;
|
100
102
|
subscriptionUuid: string;
|
101
103
|
shortUuid: string;
|
104
|
+
usedTrafficBytes: number;
|
105
|
+
lifetimeUsedTrafficBytes: number;
|
102
106
|
subLastUserAgent: string | null;
|
103
107
|
subLastOpenedAt: string | null;
|
104
108
|
expireAt: string | null;
|
@@ -116,21 +120,21 @@ export declare namespace GetAllUsersCommand {
|
|
116
120
|
totalUsedBytes: string;
|
117
121
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
118
122
|
trafficLimitBytes?: number | undefined;
|
119
|
-
usedTrafficBytes?: number | undefined;
|
120
123
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
121
124
|
}>, "many">;
|
122
125
|
total: z.ZodNumber;
|
123
126
|
}, "strip", z.ZodTypeAny, {
|
124
127
|
users: {
|
125
128
|
uuid: string;
|
129
|
+
username: string;
|
126
130
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
127
131
|
createdAt: Date;
|
128
132
|
updatedAt: Date;
|
129
|
-
username: string;
|
130
133
|
trafficLimitBytes: number;
|
131
134
|
subscriptionUuid: string;
|
132
135
|
shortUuid: string;
|
133
136
|
usedTrafficBytes: number;
|
137
|
+
lifetimeUsedTrafficBytes: number;
|
134
138
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
135
139
|
subLastUserAgent: string | null;
|
136
140
|
subLastOpenedAt: Date | null;
|
@@ -152,11 +156,13 @@ export declare namespace GetAllUsersCommand {
|
|
152
156
|
}, {
|
153
157
|
users: {
|
154
158
|
uuid: string;
|
159
|
+
username: string;
|
155
160
|
createdAt: string;
|
156
161
|
updatedAt: string;
|
157
|
-
username: string;
|
158
162
|
subscriptionUuid: string;
|
159
163
|
shortUuid: string;
|
164
|
+
usedTrafficBytes: number;
|
165
|
+
lifetimeUsedTrafficBytes: number;
|
160
166
|
subLastUserAgent: string | null;
|
161
167
|
subLastOpenedAt: string | null;
|
162
168
|
expireAt: string | null;
|
@@ -174,7 +180,6 @@ export declare namespace GetAllUsersCommand {
|
|
174
180
|
totalUsedBytes: string;
|
175
181
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
176
182
|
trafficLimitBytes?: number | undefined;
|
177
|
-
usedTrafficBytes?: number | undefined;
|
178
183
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
179
184
|
}[];
|
180
185
|
total: number;
|
@@ -183,14 +188,15 @@ export declare namespace GetAllUsersCommand {
|
|
183
188
|
response: {
|
184
189
|
users: {
|
185
190
|
uuid: string;
|
191
|
+
username: string;
|
186
192
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
187
193
|
createdAt: Date;
|
188
194
|
updatedAt: Date;
|
189
|
-
username: string;
|
190
195
|
trafficLimitBytes: number;
|
191
196
|
subscriptionUuid: string;
|
192
197
|
shortUuid: string;
|
193
198
|
usedTrafficBytes: number;
|
199
|
+
lifetimeUsedTrafficBytes: number;
|
194
200
|
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
|
195
201
|
subLastUserAgent: string | null;
|
196
202
|
subLastOpenedAt: Date | null;
|
@@ -214,11 +220,13 @@ export declare namespace GetAllUsersCommand {
|
|
214
220
|
response: {
|
215
221
|
users: {
|
216
222
|
uuid: string;
|
223
|
+
username: string;
|
217
224
|
createdAt: string;
|
218
225
|
updatedAt: string;
|
219
|
-
username: string;
|
220
226
|
subscriptionUuid: string;
|
221
227
|
shortUuid: string;
|
228
|
+
usedTrafficBytes: number;
|
229
|
+
lifetimeUsedTrafficBytes: number;
|
222
230
|
subLastUserAgent: string | null;
|
223
231
|
subLastOpenedAt: string | null;
|
224
232
|
expireAt: string | null;
|
@@ -236,7 +244,6 @@ export declare namespace GetAllUsersCommand {
|
|
236
244
|
totalUsedBytes: string;
|
237
245
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
238
246
|
trafficLimitBytes?: number | undefined;
|
239
|
-
usedTrafficBytes?: number | undefined;
|
240
247
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
241
248
|
}[];
|
242
249
|
total: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-all-users.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAyB,CAAC;IACnC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,cAAc,+GAQjB,CAAC;IAEJ,MAAM,gBAAgB,0EAMnB,CAAC;IAEX,KAAY,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5D,KAAY,eAAe,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;IAEzD,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;MAa7B,CAAC;IAIH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc
|
1
|
+
{"version":3,"file":"get-all-users.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAyB,CAAC;IACnC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,cAAc,+GAQjB,CAAC;IAEJ,MAAM,gBAAgB,0EAMnB,CAAC;IAEX,KAAY,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5D,KAAY,eAAe,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;IAEzD,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;MAa7B,CAAC;IAIH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|