@remnawave/backend-contract 2.3.3 → 2.3.5
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/subscription/get-subscription-info-by-short-uuid.command.d.ts +0 -19
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +75 -91
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts +0 -19
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +0 -19
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts +0 -19
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/disable-user.command.d.ts +55 -67
- 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 +55 -67
- 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 +55 -67
- 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 +55 -67
- 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 +65 -77
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-all-users.command.d.ts +75 -91
- 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 +55 -67
- 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 +55 -67
- 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 +55 -67
- 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 +55 -67
- 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 +55 -67
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +55 -67
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.d.ts +59 -71
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/models/extended-users.schema.d.ts +35 -43
- package/build/backend/models/extended-users.schema.d.ts.map +1 -1
- package/build/backend/models/extended-users.schema.js +4 -14
- package/build/backend/models/index.d.ts +0 -1
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +0 -1
- package/build/backend/models/subscription-info.schema.d.ts +0 -13
- package/build/backend/models/subscription-info.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-info.schema.js +0 -2
- package/build/backend/models/user-traffic.schema.d.ts +21 -0
- package/build/backend/models/user-traffic.schema.d.ts.map +1 -0
- package/build/backend/models/user-traffic.schema.js +17 -0
- package/build/backend/models/users.schema.d.ts +25 -43
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.js +15 -17
- package/build/frontend/models/extended-users.schema.js +4 -14
- package/build/frontend/models/index.js +0 -1
- package/build/frontend/models/subscription-info.schema.js +0 -2
- package/build/frontend/models/user-traffic.schema.js +17 -0
- package/build/frontend/models/users.schema.js +15 -17
- package/package.json +1 -1
- package/build/backend/models/happ.schema.d.ts +0 -9
- package/build/backend/models/happ.schema.d.ts.map +0 -1
- package/build/backend/models/happ.schema.js +0 -7
- package/build/frontend/models/happ.schema.js +0 -7
package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts
CHANGED
|
@@ -70,18 +70,8 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
|
|
70
70
|
links: z.ZodArray<z.ZodString, "many">;
|
|
71
71
|
ssConfLinks: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72
72
|
subscriptionUrl: z.ZodString;
|
|
73
|
-
happ: z.ZodObject<{
|
|
74
|
-
cryptoLink: z.ZodString;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
cryptoLink: string;
|
|
77
|
-
}, {
|
|
78
|
-
cryptoLink: string;
|
|
79
|
-
}>;
|
|
80
73
|
}, "strip", z.ZodTypeAny, {
|
|
81
74
|
subscriptionUrl: string;
|
|
82
|
-
happ: {
|
|
83
|
-
cryptoLink: string;
|
|
84
|
-
};
|
|
85
75
|
isFound: boolean;
|
|
86
76
|
user: {
|
|
87
77
|
username: string;
|
|
@@ -102,9 +92,6 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
|
|
102
92
|
ssConfLinks: Record<string, string>;
|
|
103
93
|
}, {
|
|
104
94
|
subscriptionUrl: string;
|
|
105
|
-
happ: {
|
|
106
|
-
cryptoLink: string;
|
|
107
|
-
};
|
|
108
95
|
isFound: boolean;
|
|
109
96
|
user: {
|
|
110
97
|
username: string;
|
|
@@ -127,9 +114,6 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
|
|
127
114
|
}, "strip", z.ZodTypeAny, {
|
|
128
115
|
response: {
|
|
129
116
|
subscriptionUrl: string;
|
|
130
|
-
happ: {
|
|
131
|
-
cryptoLink: string;
|
|
132
|
-
};
|
|
133
117
|
isFound: boolean;
|
|
134
118
|
user: {
|
|
135
119
|
username: string;
|
|
@@ -152,9 +136,6 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
|
|
152
136
|
}, {
|
|
153
137
|
response: {
|
|
154
138
|
subscriptionUrl: string;
|
|
155
|
-
happ: {
|
|
156
|
-
cryptoLink: string;
|
|
157
|
-
};
|
|
158
139
|
isFound: boolean;
|
|
159
140
|
user: {
|
|
160
141
|
username: string;
|
package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscription-info-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-subscription-info-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qCAAqC,CAAC;IAC5C,MAAM,GAAG,+BAAiC,CAAC;IAC3C,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
|
|
1
|
+
{"version":3,"file":"get-subscription-info-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-subscription-info-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qCAAqC,CAAC;IAC5C,MAAM,GAAG,+BAAiC,CAAC;IAC3C,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"}
|
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -38,22 +38,25 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
38
38
|
readonly WEEK: "WEEK";
|
|
39
39
|
readonly MONTH: "MONTH";
|
|
40
40
|
}>>;
|
|
41
|
-
subLastUserAgent: z.ZodNullable<z.ZodString>;
|
|
42
|
-
subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
43
41
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
44
|
-
subRevokedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
45
|
-
lastTrafficResetAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
46
|
-
trojanPassword: z.ZodString;
|
|
47
|
-
vlessUuid: z.ZodString;
|
|
48
|
-
ssPassword: z.ZodString;
|
|
49
|
-
description: z.ZodNullable<z.ZodString>;
|
|
50
|
-
tag: z.ZodNullable<z.ZodString>;
|
|
51
42
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
52
43
|
email: z.ZodNullable<z.ZodString>;
|
|
44
|
+
description: z.ZodNullable<z.ZodString>;
|
|
45
|
+
tag: z.ZodNullable<z.ZodString>;
|
|
53
46
|
hwidDeviceLimit: z.ZodNullable<z.ZodNumber>;
|
|
47
|
+
externalSquadUuid: z.ZodNullable<z.ZodString>;
|
|
48
|
+
trojanPassword: z.ZodString;
|
|
49
|
+
vlessUuid: z.ZodString;
|
|
50
|
+
ssPassword: z.ZodString;
|
|
54
51
|
lastTriggeredThreshold: z.ZodDefault<z.ZodNumber>;
|
|
52
|
+
subRevokedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
53
|
+
subLastUserAgent: z.ZodNullable<z.ZodString>;
|
|
54
|
+
subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
55
|
+
lastTrafficResetAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
55
56
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
56
57
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
58
|
+
} & {
|
|
59
|
+
subscriptionUrl: z.ZodString;
|
|
57
60
|
activeInternalSquads: z.ZodArray<z.ZodObject<{
|
|
58
61
|
uuid: z.ZodString;
|
|
59
62
|
name: z.ZodString;
|
|
@@ -64,31 +67,24 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
64
67
|
uuid: string;
|
|
65
68
|
name: string;
|
|
66
69
|
}>, "many">;
|
|
67
|
-
externalSquadUuid: z.ZodNullable<z.ZodString>;
|
|
68
|
-
} & {
|
|
69
|
-
subscriptionUrl: z.ZodString;
|
|
70
|
-
happ: z.ZodObject<{
|
|
71
|
-
cryptoLink: z.ZodString;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
cryptoLink: string;
|
|
74
|
-
}, {
|
|
75
|
-
cryptoLink: string;
|
|
76
|
-
}>;
|
|
77
70
|
userTraffic: z.ZodObject<{
|
|
78
71
|
usedTrafficBytes: z.ZodNumber;
|
|
79
72
|
lifetimeUsedTrafficBytes: z.ZodNumber;
|
|
80
73
|
onlineAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
81
74
|
firstConnectedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
75
|
+
lastConnectedNodeUuid: z.ZodNullable<z.ZodString>;
|
|
82
76
|
}, "strip", z.ZodTypeAny, {
|
|
83
77
|
usedTrafficBytes: number;
|
|
84
78
|
lifetimeUsedTrafficBytes: number;
|
|
85
79
|
onlineAt: Date | null;
|
|
86
80
|
firstConnectedAt: Date | null;
|
|
81
|
+
lastConnectedNodeUuid: string | null;
|
|
87
82
|
}, {
|
|
88
83
|
usedTrafficBytes: number;
|
|
89
84
|
lifetimeUsedTrafficBytes: number;
|
|
90
85
|
onlineAt: string | null;
|
|
91
86
|
firstConnectedAt: string | null;
|
|
87
|
+
lastConnectedNodeUuid: string | null;
|
|
92
88
|
}>;
|
|
93
89
|
}, "strip", z.ZodTypeAny, {
|
|
94
90
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
@@ -101,32 +97,30 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
101
97
|
trafficLimitBytes: number;
|
|
102
98
|
description: string | null;
|
|
103
99
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
104
|
-
subLastUserAgent: string | null;
|
|
105
|
-
subLastOpenedAt: Date | null;
|
|
106
100
|
expireAt: Date;
|
|
107
|
-
subRevokedAt: Date | null;
|
|
108
|
-
lastTrafficResetAt: Date | null;
|
|
109
|
-
trojanPassword: string;
|
|
110
|
-
vlessUuid: string;
|
|
111
|
-
ssPassword: string;
|
|
112
101
|
telegramId: number | null;
|
|
113
102
|
email: string | null;
|
|
114
103
|
hwidDeviceLimit: number | null;
|
|
104
|
+
externalSquadUuid: string | null;
|
|
105
|
+
trojanPassword: string;
|
|
106
|
+
vlessUuid: string;
|
|
107
|
+
ssPassword: string;
|
|
115
108
|
lastTriggeredThreshold: number;
|
|
109
|
+
subRevokedAt: Date | null;
|
|
110
|
+
subLastUserAgent: string | null;
|
|
111
|
+
subLastOpenedAt: Date | null;
|
|
112
|
+
lastTrafficResetAt: Date | null;
|
|
113
|
+
subscriptionUrl: string;
|
|
116
114
|
activeInternalSquads: {
|
|
117
115
|
uuid: string;
|
|
118
116
|
name: string;
|
|
119
117
|
}[];
|
|
120
|
-
externalSquadUuid: string | null;
|
|
121
|
-
subscriptionUrl: string;
|
|
122
|
-
happ: {
|
|
123
|
-
cryptoLink: string;
|
|
124
|
-
};
|
|
125
118
|
userTraffic: {
|
|
126
119
|
usedTrafficBytes: number;
|
|
127
120
|
lifetimeUsedTrafficBytes: number;
|
|
128
121
|
onlineAt: Date | null;
|
|
129
122
|
firstConnectedAt: Date | null;
|
|
123
|
+
lastConnectedNodeUuid: string | null;
|
|
130
124
|
};
|
|
131
125
|
}, {
|
|
132
126
|
uuid: string;
|
|
@@ -136,31 +130,29 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
136
130
|
tag: string | null;
|
|
137
131
|
shortUuid: string;
|
|
138
132
|
description: string | null;
|
|
139
|
-
subLastUserAgent: string | null;
|
|
140
|
-
subLastOpenedAt: string | null;
|
|
141
133
|
expireAt: string;
|
|
142
|
-
subRevokedAt: string | null;
|
|
143
|
-
lastTrafficResetAt: string | null;
|
|
144
|
-
trojanPassword: string;
|
|
145
|
-
vlessUuid: string;
|
|
146
|
-
ssPassword: string;
|
|
147
134
|
telegramId: number | null;
|
|
148
135
|
email: string | null;
|
|
149
136
|
hwidDeviceLimit: number | null;
|
|
137
|
+
externalSquadUuid: string | null;
|
|
138
|
+
trojanPassword: string;
|
|
139
|
+
vlessUuid: string;
|
|
140
|
+
ssPassword: string;
|
|
141
|
+
subRevokedAt: string | null;
|
|
142
|
+
subLastUserAgent: string | null;
|
|
143
|
+
subLastOpenedAt: string | null;
|
|
144
|
+
lastTrafficResetAt: string | null;
|
|
145
|
+
subscriptionUrl: string;
|
|
150
146
|
activeInternalSquads: {
|
|
151
147
|
uuid: string;
|
|
152
148
|
name: string;
|
|
153
149
|
}[];
|
|
154
|
-
externalSquadUuid: string | null;
|
|
155
|
-
subscriptionUrl: string;
|
|
156
|
-
happ: {
|
|
157
|
-
cryptoLink: string;
|
|
158
|
-
};
|
|
159
150
|
userTraffic: {
|
|
160
151
|
usedTrafficBytes: number;
|
|
161
152
|
lifetimeUsedTrafficBytes: number;
|
|
162
153
|
onlineAt: string | null;
|
|
163
154
|
firstConnectedAt: string | null;
|
|
155
|
+
lastConnectedNodeUuid: string | null;
|
|
164
156
|
};
|
|
165
157
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
166
158
|
trafficLimitBytes?: number | undefined;
|
|
@@ -410,32 +402,30 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
410
402
|
trafficLimitBytes: number;
|
|
411
403
|
description: string | null;
|
|
412
404
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
413
|
-
subLastUserAgent: string | null;
|
|
414
|
-
subLastOpenedAt: Date | null;
|
|
415
405
|
expireAt: Date;
|
|
416
|
-
subRevokedAt: Date | null;
|
|
417
|
-
lastTrafficResetAt: Date | null;
|
|
418
|
-
trojanPassword: string;
|
|
419
|
-
vlessUuid: string;
|
|
420
|
-
ssPassword: string;
|
|
421
406
|
telegramId: number | null;
|
|
422
407
|
email: string | null;
|
|
423
408
|
hwidDeviceLimit: number | null;
|
|
409
|
+
externalSquadUuid: string | null;
|
|
410
|
+
trojanPassword: string;
|
|
411
|
+
vlessUuid: string;
|
|
412
|
+
ssPassword: string;
|
|
424
413
|
lastTriggeredThreshold: number;
|
|
414
|
+
subRevokedAt: Date | null;
|
|
415
|
+
subLastUserAgent: string | null;
|
|
416
|
+
subLastOpenedAt: Date | null;
|
|
417
|
+
lastTrafficResetAt: Date | null;
|
|
418
|
+
subscriptionUrl: string;
|
|
425
419
|
activeInternalSquads: {
|
|
426
420
|
uuid: string;
|
|
427
421
|
name: string;
|
|
428
422
|
}[];
|
|
429
|
-
externalSquadUuid: string | null;
|
|
430
|
-
subscriptionUrl: string;
|
|
431
|
-
happ: {
|
|
432
|
-
cryptoLink: string;
|
|
433
|
-
};
|
|
434
423
|
userTraffic: {
|
|
435
424
|
usedTrafficBytes: number;
|
|
436
425
|
lifetimeUsedTrafficBytes: number;
|
|
437
426
|
onlineAt: Date | null;
|
|
438
427
|
firstConnectedAt: Date | null;
|
|
428
|
+
lastConnectedNodeUuid: string | null;
|
|
439
429
|
};
|
|
440
430
|
};
|
|
441
431
|
convertedUserInfo: {
|
|
@@ -509,31 +499,29 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
509
499
|
tag: string | null;
|
|
510
500
|
shortUuid: string;
|
|
511
501
|
description: string | null;
|
|
512
|
-
subLastUserAgent: string | null;
|
|
513
|
-
subLastOpenedAt: string | null;
|
|
514
502
|
expireAt: string;
|
|
515
|
-
subRevokedAt: string | null;
|
|
516
|
-
lastTrafficResetAt: string | null;
|
|
517
|
-
trojanPassword: string;
|
|
518
|
-
vlessUuid: string;
|
|
519
|
-
ssPassword: string;
|
|
520
503
|
telegramId: number | null;
|
|
521
504
|
email: string | null;
|
|
522
505
|
hwidDeviceLimit: number | null;
|
|
506
|
+
externalSquadUuid: string | null;
|
|
507
|
+
trojanPassword: string;
|
|
508
|
+
vlessUuid: string;
|
|
509
|
+
ssPassword: string;
|
|
510
|
+
subRevokedAt: string | null;
|
|
511
|
+
subLastUserAgent: string | null;
|
|
512
|
+
subLastOpenedAt: string | null;
|
|
513
|
+
lastTrafficResetAt: string | null;
|
|
514
|
+
subscriptionUrl: string;
|
|
523
515
|
activeInternalSquads: {
|
|
524
516
|
uuid: string;
|
|
525
517
|
name: string;
|
|
526
518
|
}[];
|
|
527
|
-
externalSquadUuid: string | null;
|
|
528
|
-
subscriptionUrl: string;
|
|
529
|
-
happ: {
|
|
530
|
-
cryptoLink: string;
|
|
531
|
-
};
|
|
532
519
|
userTraffic: {
|
|
533
520
|
usedTrafficBytes: number;
|
|
534
521
|
lifetimeUsedTrafficBytes: number;
|
|
535
522
|
onlineAt: string | null;
|
|
536
523
|
firstConnectedAt: string | null;
|
|
524
|
+
lastConnectedNodeUuid: string | null;
|
|
537
525
|
};
|
|
538
526
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
539
527
|
trafficLimitBytes?: number | undefined;
|
|
@@ -616,32 +604,30 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
616
604
|
trafficLimitBytes: number;
|
|
617
605
|
description: string | null;
|
|
618
606
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
619
|
-
subLastUserAgent: string | null;
|
|
620
|
-
subLastOpenedAt: Date | null;
|
|
621
607
|
expireAt: Date;
|
|
622
|
-
subRevokedAt: Date | null;
|
|
623
|
-
lastTrafficResetAt: Date | null;
|
|
624
|
-
trojanPassword: string;
|
|
625
|
-
vlessUuid: string;
|
|
626
|
-
ssPassword: string;
|
|
627
608
|
telegramId: number | null;
|
|
628
609
|
email: string | null;
|
|
629
610
|
hwidDeviceLimit: number | null;
|
|
611
|
+
externalSquadUuid: string | null;
|
|
612
|
+
trojanPassword: string;
|
|
613
|
+
vlessUuid: string;
|
|
614
|
+
ssPassword: string;
|
|
630
615
|
lastTriggeredThreshold: number;
|
|
616
|
+
subRevokedAt: Date | null;
|
|
617
|
+
subLastUserAgent: string | null;
|
|
618
|
+
subLastOpenedAt: Date | null;
|
|
619
|
+
lastTrafficResetAt: Date | null;
|
|
620
|
+
subscriptionUrl: string;
|
|
631
621
|
activeInternalSquads: {
|
|
632
622
|
uuid: string;
|
|
633
623
|
name: string;
|
|
634
624
|
}[];
|
|
635
|
-
externalSquadUuid: string | null;
|
|
636
|
-
subscriptionUrl: string;
|
|
637
|
-
happ: {
|
|
638
|
-
cryptoLink: string;
|
|
639
|
-
};
|
|
640
625
|
userTraffic: {
|
|
641
626
|
usedTrafficBytes: number;
|
|
642
627
|
lifetimeUsedTrafficBytes: number;
|
|
643
628
|
onlineAt: Date | null;
|
|
644
629
|
firstConnectedAt: Date | null;
|
|
630
|
+
lastConnectedNodeUuid: string | null;
|
|
645
631
|
};
|
|
646
632
|
};
|
|
647
633
|
convertedUserInfo: {
|
|
@@ -717,31 +703,29 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
717
703
|
tag: string | null;
|
|
718
704
|
shortUuid: string;
|
|
719
705
|
description: string | null;
|
|
720
|
-
subLastUserAgent: string | null;
|
|
721
|
-
subLastOpenedAt: string | null;
|
|
722
706
|
expireAt: string;
|
|
723
|
-
subRevokedAt: string | null;
|
|
724
|
-
lastTrafficResetAt: string | null;
|
|
725
|
-
trojanPassword: string;
|
|
726
|
-
vlessUuid: string;
|
|
727
|
-
ssPassword: string;
|
|
728
707
|
telegramId: number | null;
|
|
729
708
|
email: string | null;
|
|
730
709
|
hwidDeviceLimit: number | null;
|
|
710
|
+
externalSquadUuid: string | null;
|
|
711
|
+
trojanPassword: string;
|
|
712
|
+
vlessUuid: string;
|
|
713
|
+
ssPassword: string;
|
|
714
|
+
subRevokedAt: string | null;
|
|
715
|
+
subLastUserAgent: string | null;
|
|
716
|
+
subLastOpenedAt: string | null;
|
|
717
|
+
lastTrafficResetAt: string | null;
|
|
718
|
+
subscriptionUrl: string;
|
|
731
719
|
activeInternalSquads: {
|
|
732
720
|
uuid: string;
|
|
733
721
|
name: string;
|
|
734
722
|
}[];
|
|
735
|
-
externalSquadUuid: string | null;
|
|
736
|
-
subscriptionUrl: string;
|
|
737
|
-
happ: {
|
|
738
|
-
cryptoLink: string;
|
|
739
|
-
};
|
|
740
723
|
userTraffic: {
|
|
741
724
|
usedTrafficBytes: number;
|
|
742
725
|
lifetimeUsedTrafficBytes: number;
|
|
743
726
|
onlineAt: string | null;
|
|
744
727
|
firstConnectedAt: string | null;
|
|
728
|
+
lastConnectedNodeUuid: string | null;
|
|
745
729
|
};
|
|
746
730
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
747
731
|
trafficLimitBytes?: number | 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"}
|
|
@@ -70,18 +70,8 @@ export declare namespace GetSubscriptionByShortUuidProtectedCommand {
|
|
|
70
70
|
links: z.ZodArray<z.ZodString, "many">;
|
|
71
71
|
ssConfLinks: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72
72
|
subscriptionUrl: z.ZodString;
|
|
73
|
-
happ: z.ZodObject<{
|
|
74
|
-
cryptoLink: z.ZodString;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
cryptoLink: string;
|
|
77
|
-
}, {
|
|
78
|
-
cryptoLink: string;
|
|
79
|
-
}>;
|
|
80
73
|
}, "strip", z.ZodTypeAny, {
|
|
81
74
|
subscriptionUrl: string;
|
|
82
|
-
happ: {
|
|
83
|
-
cryptoLink: string;
|
|
84
|
-
};
|
|
85
75
|
isFound: boolean;
|
|
86
76
|
user: {
|
|
87
77
|
username: string;
|
|
@@ -102,9 +92,6 @@ export declare namespace GetSubscriptionByShortUuidProtectedCommand {
|
|
|
102
92
|
ssConfLinks: Record<string, string>;
|
|
103
93
|
}, {
|
|
104
94
|
subscriptionUrl: string;
|
|
105
|
-
happ: {
|
|
106
|
-
cryptoLink: string;
|
|
107
|
-
};
|
|
108
95
|
isFound: boolean;
|
|
109
96
|
user: {
|
|
110
97
|
username: string;
|
|
@@ -127,9 +114,6 @@ export declare namespace GetSubscriptionByShortUuidProtectedCommand {
|
|
|
127
114
|
}, "strip", z.ZodTypeAny, {
|
|
128
115
|
response: {
|
|
129
116
|
subscriptionUrl: string;
|
|
130
|
-
happ: {
|
|
131
|
-
cryptoLink: string;
|
|
132
|
-
};
|
|
133
117
|
isFound: boolean;
|
|
134
118
|
user: {
|
|
135
119
|
username: string;
|
|
@@ -152,9 +136,6 @@ export declare namespace GetSubscriptionByShortUuidProtectedCommand {
|
|
|
152
136
|
}, {
|
|
153
137
|
response: {
|
|
154
138
|
subscriptionUrl: string;
|
|
155
|
-
happ: {
|
|
156
|
-
cryptoLink: string;
|
|
157
|
-
};
|
|
158
139
|
isFound: boolean;
|
|
159
140
|
user: {
|
|
160
141
|
username: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscription-by-short-uuid-protected.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0CAA0C,CAAC;IACjD,MAAM,GAAG,+BAA2C,CAAC;IACrD,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,cAAc
|
|
1
|
+
{"version":3,"file":"get-subscription-by-short-uuid-protected.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0CAA0C,CAAC;IACjD,MAAM,GAAG,+BAA2C,CAAC;IACrD,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,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts
CHANGED
|
@@ -70,18 +70,8 @@ export declare namespace GetSubscriptionByUsernameCommand {
|
|
|
70
70
|
links: z.ZodArray<z.ZodString, "many">;
|
|
71
71
|
ssConfLinks: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72
72
|
subscriptionUrl: z.ZodString;
|
|
73
|
-
happ: z.ZodObject<{
|
|
74
|
-
cryptoLink: z.ZodString;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
cryptoLink: string;
|
|
77
|
-
}, {
|
|
78
|
-
cryptoLink: string;
|
|
79
|
-
}>;
|
|
80
73
|
}, "strip", z.ZodTypeAny, {
|
|
81
74
|
subscriptionUrl: string;
|
|
82
|
-
happ: {
|
|
83
|
-
cryptoLink: string;
|
|
84
|
-
};
|
|
85
75
|
isFound: boolean;
|
|
86
76
|
user: {
|
|
87
77
|
username: string;
|
|
@@ -102,9 +92,6 @@ export declare namespace GetSubscriptionByUsernameCommand {
|
|
|
102
92
|
ssConfLinks: Record<string, string>;
|
|
103
93
|
}, {
|
|
104
94
|
subscriptionUrl: string;
|
|
105
|
-
happ: {
|
|
106
|
-
cryptoLink: string;
|
|
107
|
-
};
|
|
108
95
|
isFound: boolean;
|
|
109
96
|
user: {
|
|
110
97
|
username: string;
|
|
@@ -127,9 +114,6 @@ export declare namespace GetSubscriptionByUsernameCommand {
|
|
|
127
114
|
}, "strip", z.ZodTypeAny, {
|
|
128
115
|
response: {
|
|
129
116
|
subscriptionUrl: string;
|
|
130
|
-
happ: {
|
|
131
|
-
cryptoLink: string;
|
|
132
|
-
};
|
|
133
117
|
isFound: boolean;
|
|
134
118
|
user: {
|
|
135
119
|
username: string;
|
|
@@ -152,9 +136,6 @@ export declare namespace GetSubscriptionByUsernameCommand {
|
|
|
152
136
|
}, {
|
|
153
137
|
response: {
|
|
154
138
|
subscriptionUrl: string;
|
|
155
|
-
happ: {
|
|
156
|
-
cryptoLink: string;
|
|
157
|
-
};
|
|
158
139
|
isFound: boolean;
|
|
159
140
|
user: {
|
|
160
141
|
username: string;
|
package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscription-by-username.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-subscription-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,GAAG,8BAAyC,CAAC;IACnD,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-subscription-by-username.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-subscription-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,GAAG,8BAAyC,CAAC;IACnD,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,8CAI3B,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"}
|
|
@@ -70,18 +70,8 @@ export declare namespace GetSubscriptionByUuidCommand {
|
|
|
70
70
|
links: z.ZodArray<z.ZodString, "many">;
|
|
71
71
|
ssConfLinks: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72
72
|
subscriptionUrl: z.ZodString;
|
|
73
|
-
happ: z.ZodObject<{
|
|
74
|
-
cryptoLink: z.ZodString;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
cryptoLink: string;
|
|
77
|
-
}, {
|
|
78
|
-
cryptoLink: string;
|
|
79
|
-
}>;
|
|
80
73
|
}, "strip", z.ZodTypeAny, {
|
|
81
74
|
subscriptionUrl: string;
|
|
82
|
-
happ: {
|
|
83
|
-
cryptoLink: string;
|
|
84
|
-
};
|
|
85
75
|
isFound: boolean;
|
|
86
76
|
user: {
|
|
87
77
|
username: string;
|
|
@@ -102,9 +92,6 @@ export declare namespace GetSubscriptionByUuidCommand {
|
|
|
102
92
|
ssConfLinks: Record<string, string>;
|
|
103
93
|
}, {
|
|
104
94
|
subscriptionUrl: string;
|
|
105
|
-
happ: {
|
|
106
|
-
cryptoLink: string;
|
|
107
|
-
};
|
|
108
95
|
isFound: boolean;
|
|
109
96
|
user: {
|
|
110
97
|
username: string;
|
|
@@ -127,9 +114,6 @@ export declare namespace GetSubscriptionByUuidCommand {
|
|
|
127
114
|
}, "strip", z.ZodTypeAny, {
|
|
128
115
|
response: {
|
|
129
116
|
subscriptionUrl: string;
|
|
130
|
-
happ: {
|
|
131
|
-
cryptoLink: string;
|
|
132
|
-
};
|
|
133
117
|
isFound: boolean;
|
|
134
118
|
user: {
|
|
135
119
|
username: string;
|
|
@@ -152,9 +136,6 @@ export declare namespace GetSubscriptionByUuidCommand {
|
|
|
152
136
|
}, {
|
|
153
137
|
response: {
|
|
154
138
|
subscriptionUrl: string;
|
|
155
|
-
happ: {
|
|
156
|
-
cryptoLink: string;
|
|
157
|
-
};
|
|
158
139
|
isFound: boolean;
|
|
159
140
|
user: {
|
|
160
141
|
username: string;
|
package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscription-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-subscription-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,0BAAqC,CAAC;IAC/C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-subscription-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-subscription-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,0BAAqC,CAAC;IAC/C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,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"}
|