@remnawave/backend-contract 2.3.2 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts +6 -6
- package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/stats/get-realtime-usage.command.d.ts +4 -4
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +61 -71
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts +6 -6
- package/build/backend/commands/users/actions/disable-user.command.d.ts +47 -53
- package/build/backend/commands/users/actions/disable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/enable-user.command.d.ts +47 -53
- package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +47 -53
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +47 -53
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.d.ts +47 -53
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-all-users.command.d.ts +61 -71
- package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts +47 -53
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +47 -53
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts +47 -53
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts +47 -53
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +47 -53
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +6 -6
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +47 -53
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/users/update-user.command.d.ts +47 -53
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/models/extended-users.schema.d.ts +33 -35
- package/build/backend/models/extended-users.schema.d.ts.map +1 -1
- package/build/backend/models/extended-users.schema.js +13 -2
- package/build/backend/models/users.schema.d.ts +0 -12
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.js +0 -10
- package/build/frontend/models/extended-users.schema.js +13 -2
- package/build/frontend/models/users.schema.js +0 -10
- package/package.json +1 -1
package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts
CHANGED
|
@@ -24,16 +24,16 @@ export declare namespace GetInternalSquadAccessibleNodesCommand {
|
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
uuid: string;
|
|
26
26
|
countryCode: string;
|
|
27
|
-
nodeName: string;
|
|
28
27
|
configProfileUuid: string;
|
|
29
28
|
activeInbounds: string[];
|
|
29
|
+
nodeName: string;
|
|
30
30
|
configProfileName: string;
|
|
31
31
|
}, {
|
|
32
32
|
uuid: string;
|
|
33
33
|
countryCode: string;
|
|
34
|
-
nodeName: string;
|
|
35
34
|
configProfileUuid: string;
|
|
36
35
|
activeInbounds: string[];
|
|
36
|
+
nodeName: string;
|
|
37
37
|
configProfileName: string;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -41,9 +41,9 @@ export declare namespace GetInternalSquadAccessibleNodesCommand {
|
|
|
41
41
|
accessibleNodes: {
|
|
42
42
|
uuid: string;
|
|
43
43
|
countryCode: string;
|
|
44
|
-
nodeName: string;
|
|
45
44
|
configProfileUuid: string;
|
|
46
45
|
activeInbounds: string[];
|
|
46
|
+
nodeName: string;
|
|
47
47
|
configProfileName: string;
|
|
48
48
|
}[];
|
|
49
49
|
}, {
|
|
@@ -51,9 +51,9 @@ export declare namespace GetInternalSquadAccessibleNodesCommand {
|
|
|
51
51
|
accessibleNodes: {
|
|
52
52
|
uuid: string;
|
|
53
53
|
countryCode: string;
|
|
54
|
-
nodeName: string;
|
|
55
54
|
configProfileUuid: string;
|
|
56
55
|
activeInbounds: string[];
|
|
56
|
+
nodeName: string;
|
|
57
57
|
configProfileName: string;
|
|
58
58
|
}[];
|
|
59
59
|
}>;
|
|
@@ -63,9 +63,9 @@ export declare namespace GetInternalSquadAccessibleNodesCommand {
|
|
|
63
63
|
accessibleNodes: {
|
|
64
64
|
uuid: string;
|
|
65
65
|
countryCode: string;
|
|
66
|
-
nodeName: string;
|
|
67
66
|
configProfileUuid: string;
|
|
68
67
|
activeInbounds: string[];
|
|
68
|
+
nodeName: string;
|
|
69
69
|
configProfileName: string;
|
|
70
70
|
}[];
|
|
71
71
|
};
|
|
@@ -75,9 +75,9 @@ export declare namespace GetInternalSquadAccessibleNodesCommand {
|
|
|
75
75
|
accessibleNodes: {
|
|
76
76
|
uuid: string;
|
|
77
77
|
countryCode: string;
|
|
78
|
-
nodeName: string;
|
|
79
78
|
configProfileUuid: string;
|
|
80
79
|
activeInbounds: string[];
|
|
80
|
+
nodeName: string;
|
|
81
81
|
configProfileName: string;
|
|
82
82
|
}[];
|
|
83
83
|
};
|
|
@@ -28,8 +28,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
|
28
28
|
date: z.ZodEffects<z.ZodString, Date, string>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
date: Date;
|
|
31
|
-
nodeName: string;
|
|
32
31
|
nodeUuid: string;
|
|
32
|
+
nodeName: string;
|
|
33
33
|
total: number;
|
|
34
34
|
nodeCountryCode: string;
|
|
35
35
|
totalDownload: number;
|
|
@@ -39,8 +39,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
|
39
39
|
humanReadableTotalUpload: string;
|
|
40
40
|
}, {
|
|
41
41
|
date: string;
|
|
42
|
-
nodeName: string;
|
|
43
42
|
nodeUuid: string;
|
|
43
|
+
nodeName: string;
|
|
44
44
|
total: number;
|
|
45
45
|
nodeCountryCode: string;
|
|
46
46
|
totalDownload: number;
|
|
@@ -52,8 +52,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
response: {
|
|
54
54
|
date: Date;
|
|
55
|
-
nodeName: string;
|
|
56
55
|
nodeUuid: string;
|
|
56
|
+
nodeName: string;
|
|
57
57
|
total: number;
|
|
58
58
|
nodeCountryCode: string;
|
|
59
59
|
totalDownload: number;
|
|
@@ -65,8 +65,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
|
65
65
|
}, {
|
|
66
66
|
response: {
|
|
67
67
|
date: string;
|
|
68
|
-
nodeName: string;
|
|
69
68
|
nodeUuid: string;
|
|
69
|
+
nodeName: string;
|
|
70
70
|
total: number;
|
|
71
71
|
nodeCountryCode: string;
|
|
72
72
|
totalDownload: number;
|
|
@@ -16,8 +16,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
|
16
16
|
totalSpeedBps: z.ZodNumber;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
countryCode: string;
|
|
19
|
-
nodeName: string;
|
|
20
19
|
nodeUuid: string;
|
|
20
|
+
nodeName: string;
|
|
21
21
|
downloadBytes: number;
|
|
22
22
|
uploadBytes: number;
|
|
23
23
|
totalBytes: number;
|
|
@@ -26,8 +26,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
|
26
26
|
totalSpeedBps: number;
|
|
27
27
|
}, {
|
|
28
28
|
countryCode: string;
|
|
29
|
-
nodeName: string;
|
|
30
29
|
nodeUuid: string;
|
|
30
|
+
nodeName: string;
|
|
31
31
|
downloadBytes: number;
|
|
32
32
|
uploadBytes: number;
|
|
33
33
|
totalBytes: number;
|
|
@@ -38,8 +38,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
response: {
|
|
40
40
|
countryCode: string;
|
|
41
|
-
nodeName: string;
|
|
42
41
|
nodeUuid: string;
|
|
42
|
+
nodeName: string;
|
|
43
43
|
downloadBytes: number;
|
|
44
44
|
uploadBytes: number;
|
|
45
45
|
totalBytes: number;
|
|
@@ -50,8 +50,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
|
50
50
|
}, {
|
|
51
51
|
response: {
|
|
52
52
|
countryCode: string;
|
|
53
|
-
nodeName: string;
|
|
54
53
|
nodeUuid: string;
|
|
54
|
+
nodeName: string;
|
|
55
55
|
downloadBytes: number;
|
|
56
56
|
uploadBytes: number;
|
|
57
57
|
totalBytes: number;
|
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -31,8 +31,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
31
31
|
readonly LIMITED: "LIMITED";
|
|
32
32
|
readonly EXPIRED: "EXPIRED";
|
|
33
33
|
}>>;
|
|
34
|
-
usedTrafficBytes: z.ZodNumber;
|
|
35
|
-
lifetimeUsedTrafficBytes: z.ZodNumber;
|
|
36
34
|
trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
|
|
37
35
|
trafficLimitStrategy: z.ZodDefault<z.ZodNativeEnum<{
|
|
38
36
|
readonly NO_RESET: "NO_RESET";
|
|
@@ -43,7 +41,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
43
41
|
subLastUserAgent: z.ZodNullable<z.ZodString>;
|
|
44
42
|
subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
45
43
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
46
|
-
onlineAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
47
44
|
subRevokedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
48
45
|
lastTrafficResetAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
49
46
|
trojanPassword: z.ZodString;
|
|
@@ -54,7 +51,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
54
51
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
55
52
|
email: z.ZodNullable<z.ZodString>;
|
|
56
53
|
hwidDeviceLimit: z.ZodNullable<z.ZodNumber>;
|
|
57
|
-
firstConnectedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
58
54
|
lastTriggeredThreshold: z.ZodDefault<z.ZodNumber>;
|
|
59
55
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
60
56
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
@@ -71,19 +67,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
71
67
|
externalSquadUuid: z.ZodNullable<z.ZodString>;
|
|
72
68
|
} & {
|
|
73
69
|
subscriptionUrl: z.ZodString;
|
|
74
|
-
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
|
75
|
-
connectedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
76
|
-
nodeName: z.ZodString;
|
|
77
|
-
countryCode: z.ZodString;
|
|
78
|
-
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
countryCode: string;
|
|
80
|
-
connectedAt: Date;
|
|
81
|
-
nodeName: string;
|
|
82
|
-
}, {
|
|
83
|
-
countryCode: string;
|
|
84
|
-
connectedAt: string;
|
|
85
|
-
nodeName: string;
|
|
86
|
-
}>>;
|
|
87
70
|
happ: z.ZodObject<{
|
|
88
71
|
cryptoLink: z.ZodString;
|
|
89
72
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -91,6 +74,25 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
91
74
|
}, {
|
|
92
75
|
cryptoLink: string;
|
|
93
76
|
}>;
|
|
77
|
+
userTraffic: z.ZodObject<{
|
|
78
|
+
usedTrafficBytes: z.ZodNumber;
|
|
79
|
+
lifetimeUsedTrafficBytes: z.ZodNumber;
|
|
80
|
+
onlineAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
81
|
+
firstConnectedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
82
|
+
lastConnectedNodeUuid: z.ZodNullable<z.ZodString>;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
usedTrafficBytes: number;
|
|
85
|
+
lifetimeUsedTrafficBytes: number;
|
|
86
|
+
onlineAt: Date | null;
|
|
87
|
+
firstConnectedAt: Date | null;
|
|
88
|
+
lastConnectedNodeUuid: string | null;
|
|
89
|
+
}, {
|
|
90
|
+
usedTrafficBytes: number;
|
|
91
|
+
lifetimeUsedTrafficBytes: number;
|
|
92
|
+
onlineAt: string | null;
|
|
93
|
+
firstConnectedAt: string | null;
|
|
94
|
+
lastConnectedNodeUuid: string | null;
|
|
95
|
+
}>;
|
|
94
96
|
}, "strip", z.ZodTypeAny, {
|
|
95
97
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
96
98
|
uuid: string;
|
|
@@ -99,15 +101,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
99
101
|
username: string;
|
|
100
102
|
tag: string | null;
|
|
101
103
|
shortUuid: string;
|
|
102
|
-
usedTrafficBytes: number;
|
|
103
|
-
lifetimeUsedTrafficBytes: number;
|
|
104
104
|
trafficLimitBytes: number;
|
|
105
105
|
description: string | null;
|
|
106
106
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
107
107
|
subLastUserAgent: string | null;
|
|
108
108
|
subLastOpenedAt: Date | null;
|
|
109
109
|
expireAt: Date;
|
|
110
|
-
onlineAt: Date | null;
|
|
111
110
|
subRevokedAt: Date | null;
|
|
112
111
|
lastTrafficResetAt: Date | null;
|
|
113
112
|
trojanPassword: string;
|
|
@@ -116,7 +115,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
116
115
|
telegramId: number | null;
|
|
117
116
|
email: string | null;
|
|
118
117
|
hwidDeviceLimit: number | null;
|
|
119
|
-
firstConnectedAt: Date | null;
|
|
120
118
|
lastTriggeredThreshold: number;
|
|
121
119
|
activeInternalSquads: {
|
|
122
120
|
uuid: string;
|
|
@@ -124,14 +122,16 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
124
122
|
}[];
|
|
125
123
|
externalSquadUuid: string | null;
|
|
126
124
|
subscriptionUrl: string;
|
|
127
|
-
lastConnectedNode: {
|
|
128
|
-
countryCode: string;
|
|
129
|
-
connectedAt: Date;
|
|
130
|
-
nodeName: string;
|
|
131
|
-
} | null;
|
|
132
125
|
happ: {
|
|
133
126
|
cryptoLink: string;
|
|
134
127
|
};
|
|
128
|
+
userTraffic: {
|
|
129
|
+
usedTrafficBytes: number;
|
|
130
|
+
lifetimeUsedTrafficBytes: number;
|
|
131
|
+
onlineAt: Date | null;
|
|
132
|
+
firstConnectedAt: Date | null;
|
|
133
|
+
lastConnectedNodeUuid: string | null;
|
|
134
|
+
};
|
|
135
135
|
}, {
|
|
136
136
|
uuid: string;
|
|
137
137
|
createdAt: string;
|
|
@@ -139,13 +139,10 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
139
139
|
username: string;
|
|
140
140
|
tag: string | null;
|
|
141
141
|
shortUuid: string;
|
|
142
|
-
usedTrafficBytes: number;
|
|
143
|
-
lifetimeUsedTrafficBytes: number;
|
|
144
142
|
description: string | null;
|
|
145
143
|
subLastUserAgent: string | null;
|
|
146
144
|
subLastOpenedAt: string | null;
|
|
147
145
|
expireAt: string;
|
|
148
|
-
onlineAt: string | null;
|
|
149
146
|
subRevokedAt: string | null;
|
|
150
147
|
lastTrafficResetAt: string | null;
|
|
151
148
|
trojanPassword: string;
|
|
@@ -154,21 +151,22 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
154
151
|
telegramId: number | null;
|
|
155
152
|
email: string | null;
|
|
156
153
|
hwidDeviceLimit: number | null;
|
|
157
|
-
firstConnectedAt: string | null;
|
|
158
154
|
activeInternalSquads: {
|
|
159
155
|
uuid: string;
|
|
160
156
|
name: string;
|
|
161
157
|
}[];
|
|
162
158
|
externalSquadUuid: string | null;
|
|
163
159
|
subscriptionUrl: string;
|
|
164
|
-
lastConnectedNode: {
|
|
165
|
-
countryCode: string;
|
|
166
|
-
connectedAt: string;
|
|
167
|
-
nodeName: string;
|
|
168
|
-
} | null;
|
|
169
160
|
happ: {
|
|
170
161
|
cryptoLink: string;
|
|
171
162
|
};
|
|
163
|
+
userTraffic: {
|
|
164
|
+
usedTrafficBytes: number;
|
|
165
|
+
lifetimeUsedTrafficBytes: number;
|
|
166
|
+
onlineAt: string | null;
|
|
167
|
+
firstConnectedAt: string | null;
|
|
168
|
+
lastConnectedNodeUuid: string | null;
|
|
169
|
+
};
|
|
172
170
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
173
171
|
trafficLimitBytes?: number | undefined;
|
|
174
172
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
@@ -414,15 +412,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
414
412
|
username: string;
|
|
415
413
|
tag: string | null;
|
|
416
414
|
shortUuid: string;
|
|
417
|
-
usedTrafficBytes: number;
|
|
418
|
-
lifetimeUsedTrafficBytes: number;
|
|
419
415
|
trafficLimitBytes: number;
|
|
420
416
|
description: string | null;
|
|
421
417
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
422
418
|
subLastUserAgent: string | null;
|
|
423
419
|
subLastOpenedAt: Date | null;
|
|
424
420
|
expireAt: Date;
|
|
425
|
-
onlineAt: Date | null;
|
|
426
421
|
subRevokedAt: Date | null;
|
|
427
422
|
lastTrafficResetAt: Date | null;
|
|
428
423
|
trojanPassword: string;
|
|
@@ -431,7 +426,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
431
426
|
telegramId: number | null;
|
|
432
427
|
email: string | null;
|
|
433
428
|
hwidDeviceLimit: number | null;
|
|
434
|
-
firstConnectedAt: Date | null;
|
|
435
429
|
lastTriggeredThreshold: number;
|
|
436
430
|
activeInternalSquads: {
|
|
437
431
|
uuid: string;
|
|
@@ -439,14 +433,16 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
439
433
|
}[];
|
|
440
434
|
externalSquadUuid: string | null;
|
|
441
435
|
subscriptionUrl: string;
|
|
442
|
-
lastConnectedNode: {
|
|
443
|
-
countryCode: string;
|
|
444
|
-
connectedAt: Date;
|
|
445
|
-
nodeName: string;
|
|
446
|
-
} | null;
|
|
447
436
|
happ: {
|
|
448
437
|
cryptoLink: string;
|
|
449
438
|
};
|
|
439
|
+
userTraffic: {
|
|
440
|
+
usedTrafficBytes: number;
|
|
441
|
+
lifetimeUsedTrafficBytes: number;
|
|
442
|
+
onlineAt: Date | null;
|
|
443
|
+
firstConnectedAt: Date | null;
|
|
444
|
+
lastConnectedNodeUuid: string | null;
|
|
445
|
+
};
|
|
450
446
|
};
|
|
451
447
|
convertedUserInfo: {
|
|
452
448
|
daysLeft: number;
|
|
@@ -518,13 +514,10 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
518
514
|
username: string;
|
|
519
515
|
tag: string | null;
|
|
520
516
|
shortUuid: string;
|
|
521
|
-
usedTrafficBytes: number;
|
|
522
|
-
lifetimeUsedTrafficBytes: number;
|
|
523
517
|
description: string | null;
|
|
524
518
|
subLastUserAgent: string | null;
|
|
525
519
|
subLastOpenedAt: string | null;
|
|
526
520
|
expireAt: string;
|
|
527
|
-
onlineAt: string | null;
|
|
528
521
|
subRevokedAt: string | null;
|
|
529
522
|
lastTrafficResetAt: string | null;
|
|
530
523
|
trojanPassword: string;
|
|
@@ -533,21 +526,22 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
533
526
|
telegramId: number | null;
|
|
534
527
|
email: string | null;
|
|
535
528
|
hwidDeviceLimit: number | null;
|
|
536
|
-
firstConnectedAt: string | null;
|
|
537
529
|
activeInternalSquads: {
|
|
538
530
|
uuid: string;
|
|
539
531
|
name: string;
|
|
540
532
|
}[];
|
|
541
533
|
externalSquadUuid: string | null;
|
|
542
534
|
subscriptionUrl: string;
|
|
543
|
-
lastConnectedNode: {
|
|
544
|
-
countryCode: string;
|
|
545
|
-
connectedAt: string;
|
|
546
|
-
nodeName: string;
|
|
547
|
-
} | null;
|
|
548
535
|
happ: {
|
|
549
536
|
cryptoLink: string;
|
|
550
537
|
};
|
|
538
|
+
userTraffic: {
|
|
539
|
+
usedTrafficBytes: number;
|
|
540
|
+
lifetimeUsedTrafficBytes: number;
|
|
541
|
+
onlineAt: string | null;
|
|
542
|
+
firstConnectedAt: string | null;
|
|
543
|
+
lastConnectedNodeUuid: string | null;
|
|
544
|
+
};
|
|
551
545
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
552
546
|
trafficLimitBytes?: number | undefined;
|
|
553
547
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
@@ -626,15 +620,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
626
620
|
username: string;
|
|
627
621
|
tag: string | null;
|
|
628
622
|
shortUuid: string;
|
|
629
|
-
usedTrafficBytes: number;
|
|
630
|
-
lifetimeUsedTrafficBytes: number;
|
|
631
623
|
trafficLimitBytes: number;
|
|
632
624
|
description: string | null;
|
|
633
625
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
634
626
|
subLastUserAgent: string | null;
|
|
635
627
|
subLastOpenedAt: Date | null;
|
|
636
628
|
expireAt: Date;
|
|
637
|
-
onlineAt: Date | null;
|
|
638
629
|
subRevokedAt: Date | null;
|
|
639
630
|
lastTrafficResetAt: Date | null;
|
|
640
631
|
trojanPassword: string;
|
|
@@ -643,7 +634,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
643
634
|
telegramId: number | null;
|
|
644
635
|
email: string | null;
|
|
645
636
|
hwidDeviceLimit: number | null;
|
|
646
|
-
firstConnectedAt: Date | null;
|
|
647
637
|
lastTriggeredThreshold: number;
|
|
648
638
|
activeInternalSquads: {
|
|
649
639
|
uuid: string;
|
|
@@ -651,14 +641,16 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
651
641
|
}[];
|
|
652
642
|
externalSquadUuid: string | null;
|
|
653
643
|
subscriptionUrl: string;
|
|
654
|
-
lastConnectedNode: {
|
|
655
|
-
countryCode: string;
|
|
656
|
-
connectedAt: Date;
|
|
657
|
-
nodeName: string;
|
|
658
|
-
} | null;
|
|
659
644
|
happ: {
|
|
660
645
|
cryptoLink: string;
|
|
661
646
|
};
|
|
647
|
+
userTraffic: {
|
|
648
|
+
usedTrafficBytes: number;
|
|
649
|
+
lifetimeUsedTrafficBytes: number;
|
|
650
|
+
onlineAt: Date | null;
|
|
651
|
+
firstConnectedAt: Date | null;
|
|
652
|
+
lastConnectedNodeUuid: string | null;
|
|
653
|
+
};
|
|
662
654
|
};
|
|
663
655
|
convertedUserInfo: {
|
|
664
656
|
daysLeft: number;
|
|
@@ -732,13 +724,10 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
732
724
|
username: string;
|
|
733
725
|
tag: string | null;
|
|
734
726
|
shortUuid: string;
|
|
735
|
-
usedTrafficBytes: number;
|
|
736
|
-
lifetimeUsedTrafficBytes: number;
|
|
737
727
|
description: string | null;
|
|
738
728
|
subLastUserAgent: string | null;
|
|
739
729
|
subLastOpenedAt: string | null;
|
|
740
730
|
expireAt: string;
|
|
741
|
-
onlineAt: string | null;
|
|
742
731
|
subRevokedAt: string | null;
|
|
743
732
|
lastTrafficResetAt: string | null;
|
|
744
733
|
trojanPassword: string;
|
|
@@ -747,21 +736,22 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
747
736
|
telegramId: number | null;
|
|
748
737
|
email: string | null;
|
|
749
738
|
hwidDeviceLimit: number | null;
|
|
750
|
-
firstConnectedAt: string | null;
|
|
751
739
|
activeInternalSquads: {
|
|
752
740
|
uuid: string;
|
|
753
741
|
name: string;
|
|
754
742
|
}[];
|
|
755
743
|
externalSquadUuid: string | null;
|
|
756
744
|
subscriptionUrl: string;
|
|
757
|
-
lastConnectedNode: {
|
|
758
|
-
countryCode: string;
|
|
759
|
-
connectedAt: string;
|
|
760
|
-
nodeName: string;
|
|
761
|
-
} | null;
|
|
762
745
|
happ: {
|
|
763
746
|
cryptoLink: string;
|
|
764
747
|
};
|
|
748
|
+
userTraffic: {
|
|
749
|
+
usedTrafficBytes: number;
|
|
750
|
+
lifetimeUsedTrafficBytes: number;
|
|
751
|
+
onlineAt: string | null;
|
|
752
|
+
firstConnectedAt: string | null;
|
|
753
|
+
lastConnectedNodeUuid: string | null;
|
|
754
|
+
};
|
|
765
755
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
766
756
|
trafficLimitBytes?: number | undefined;
|
|
767
757
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAM7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAM7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkFzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -38,9 +38,9 @@ export declare namespace GetNodesMetricsCommand {
|
|
|
38
38
|
download: string;
|
|
39
39
|
}>, "many">;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
nodeName: string;
|
|
42
41
|
nodeUuid: string;
|
|
43
42
|
usersOnline: number;
|
|
43
|
+
nodeName: string;
|
|
44
44
|
countryEmoji: string;
|
|
45
45
|
providerName: string;
|
|
46
46
|
inboundsStats: {
|
|
@@ -54,9 +54,9 @@ export declare namespace GetNodesMetricsCommand {
|
|
|
54
54
|
download: string;
|
|
55
55
|
}[];
|
|
56
56
|
}, {
|
|
57
|
-
nodeName: string;
|
|
58
57
|
nodeUuid: string;
|
|
59
58
|
usersOnline: number;
|
|
59
|
+
nodeName: string;
|
|
60
60
|
countryEmoji: string;
|
|
61
61
|
providerName: string;
|
|
62
62
|
inboundsStats: {
|
|
@@ -72,9 +72,9 @@ export declare namespace GetNodesMetricsCommand {
|
|
|
72
72
|
}>, "many">;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
nodes: {
|
|
75
|
-
nodeName: string;
|
|
76
75
|
nodeUuid: string;
|
|
77
76
|
usersOnline: number;
|
|
77
|
+
nodeName: string;
|
|
78
78
|
countryEmoji: string;
|
|
79
79
|
providerName: string;
|
|
80
80
|
inboundsStats: {
|
|
@@ -90,9 +90,9 @@ export declare namespace GetNodesMetricsCommand {
|
|
|
90
90
|
}[];
|
|
91
91
|
}, {
|
|
92
92
|
nodes: {
|
|
93
|
-
nodeName: string;
|
|
94
93
|
nodeUuid: string;
|
|
95
94
|
usersOnline: number;
|
|
95
|
+
nodeName: string;
|
|
96
96
|
countryEmoji: string;
|
|
97
97
|
providerName: string;
|
|
98
98
|
inboundsStats: {
|
|
@@ -110,9 +110,9 @@ export declare namespace GetNodesMetricsCommand {
|
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
response: {
|
|
112
112
|
nodes: {
|
|
113
|
-
nodeName: string;
|
|
114
113
|
nodeUuid: string;
|
|
115
114
|
usersOnline: number;
|
|
115
|
+
nodeName: string;
|
|
116
116
|
countryEmoji: string;
|
|
117
117
|
providerName: string;
|
|
118
118
|
inboundsStats: {
|
|
@@ -130,9 +130,9 @@ export declare namespace GetNodesMetricsCommand {
|
|
|
130
130
|
}, {
|
|
131
131
|
response: {
|
|
132
132
|
nodes: {
|
|
133
|
-
nodeName: string;
|
|
134
133
|
nodeUuid: string;
|
|
135
134
|
usersOnline: number;
|
|
135
|
+
nodeName: string;
|
|
136
136
|
countryEmoji: string;
|
|
137
137
|
providerName: string;
|
|
138
138
|
inboundsStats: {
|