@remnawave/backend-contract 2.3.4 → 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 +66 -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 +48 -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 +48 -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 +48 -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 +48 -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 +58 -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 +66 -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 +48 -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 +48 -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 +48 -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 +48 -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 +48 -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 +48 -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 +52 -71
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/models/extended-users.schema.d.ts +30 -43
- package/build/backend/models/extended-users.schema.d.ts.map +1 -1
- package/build/backend/models/extended-users.schema.js +4 -15
- 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 -15
- 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,16 +67,6 @@ 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;
|
|
@@ -104,27 +97,24 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
104
97
|
trafficLimitBytes: number;
|
|
105
98
|
description: string | null;
|
|
106
99
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
107
|
-
subLastUserAgent: string | null;
|
|
108
|
-
subLastOpenedAt: Date | null;
|
|
109
100
|
expireAt: Date;
|
|
110
|
-
subRevokedAt: Date | null;
|
|
111
|
-
lastTrafficResetAt: Date | null;
|
|
112
|
-
trojanPassword: string;
|
|
113
|
-
vlessUuid: string;
|
|
114
|
-
ssPassword: string;
|
|
115
101
|
telegramId: number | null;
|
|
116
102
|
email: string | null;
|
|
117
103
|
hwidDeviceLimit: number | null;
|
|
104
|
+
externalSquadUuid: string | null;
|
|
105
|
+
trojanPassword: string;
|
|
106
|
+
vlessUuid: string;
|
|
107
|
+
ssPassword: string;
|
|
118
108
|
lastTriggeredThreshold: number;
|
|
109
|
+
subRevokedAt: Date | null;
|
|
110
|
+
subLastUserAgent: string | null;
|
|
111
|
+
subLastOpenedAt: Date | null;
|
|
112
|
+
lastTrafficResetAt: Date | null;
|
|
113
|
+
subscriptionUrl: string;
|
|
119
114
|
activeInternalSquads: {
|
|
120
115
|
uuid: string;
|
|
121
116
|
name: string;
|
|
122
117
|
}[];
|
|
123
|
-
externalSquadUuid: string | null;
|
|
124
|
-
subscriptionUrl: string;
|
|
125
|
-
happ: {
|
|
126
|
-
cryptoLink: string;
|
|
127
|
-
};
|
|
128
118
|
userTraffic: {
|
|
129
119
|
usedTrafficBytes: number;
|
|
130
120
|
lifetimeUsedTrafficBytes: number;
|
|
@@ -140,26 +130,23 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
140
130
|
tag: string | null;
|
|
141
131
|
shortUuid: string;
|
|
142
132
|
description: string | null;
|
|
143
|
-
subLastUserAgent: string | null;
|
|
144
|
-
subLastOpenedAt: string | null;
|
|
145
133
|
expireAt: string;
|
|
146
|
-
subRevokedAt: string | null;
|
|
147
|
-
lastTrafficResetAt: string | null;
|
|
148
|
-
trojanPassword: string;
|
|
149
|
-
vlessUuid: string;
|
|
150
|
-
ssPassword: string;
|
|
151
134
|
telegramId: number | null;
|
|
152
135
|
email: string | null;
|
|
153
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;
|
|
154
146
|
activeInternalSquads: {
|
|
155
147
|
uuid: string;
|
|
156
148
|
name: string;
|
|
157
149
|
}[];
|
|
158
|
-
externalSquadUuid: string | null;
|
|
159
|
-
subscriptionUrl: string;
|
|
160
|
-
happ: {
|
|
161
|
-
cryptoLink: string;
|
|
162
|
-
};
|
|
163
150
|
userTraffic: {
|
|
164
151
|
usedTrafficBytes: number;
|
|
165
152
|
lifetimeUsedTrafficBytes: number;
|
|
@@ -415,27 +402,24 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
415
402
|
trafficLimitBytes: number;
|
|
416
403
|
description: string | null;
|
|
417
404
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
418
|
-
subLastUserAgent: string | null;
|
|
419
|
-
subLastOpenedAt: Date | null;
|
|
420
405
|
expireAt: Date;
|
|
421
|
-
subRevokedAt: Date | null;
|
|
422
|
-
lastTrafficResetAt: Date | null;
|
|
423
|
-
trojanPassword: string;
|
|
424
|
-
vlessUuid: string;
|
|
425
|
-
ssPassword: string;
|
|
426
406
|
telegramId: number | null;
|
|
427
407
|
email: string | null;
|
|
428
408
|
hwidDeviceLimit: number | null;
|
|
409
|
+
externalSquadUuid: string | null;
|
|
410
|
+
trojanPassword: string;
|
|
411
|
+
vlessUuid: string;
|
|
412
|
+
ssPassword: string;
|
|
429
413
|
lastTriggeredThreshold: number;
|
|
414
|
+
subRevokedAt: Date | null;
|
|
415
|
+
subLastUserAgent: string | null;
|
|
416
|
+
subLastOpenedAt: Date | null;
|
|
417
|
+
lastTrafficResetAt: Date | null;
|
|
418
|
+
subscriptionUrl: string;
|
|
430
419
|
activeInternalSquads: {
|
|
431
420
|
uuid: string;
|
|
432
421
|
name: string;
|
|
433
422
|
}[];
|
|
434
|
-
externalSquadUuid: string | null;
|
|
435
|
-
subscriptionUrl: string;
|
|
436
|
-
happ: {
|
|
437
|
-
cryptoLink: string;
|
|
438
|
-
};
|
|
439
423
|
userTraffic: {
|
|
440
424
|
usedTrafficBytes: number;
|
|
441
425
|
lifetimeUsedTrafficBytes: number;
|
|
@@ -515,26 +499,23 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
515
499
|
tag: string | null;
|
|
516
500
|
shortUuid: string;
|
|
517
501
|
description: string | null;
|
|
518
|
-
subLastUserAgent: string | null;
|
|
519
|
-
subLastOpenedAt: string | null;
|
|
520
502
|
expireAt: string;
|
|
521
|
-
subRevokedAt: string | null;
|
|
522
|
-
lastTrafficResetAt: string | null;
|
|
523
|
-
trojanPassword: string;
|
|
524
|
-
vlessUuid: string;
|
|
525
|
-
ssPassword: string;
|
|
526
503
|
telegramId: number | null;
|
|
527
504
|
email: string | null;
|
|
528
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;
|
|
529
515
|
activeInternalSquads: {
|
|
530
516
|
uuid: string;
|
|
531
517
|
name: string;
|
|
532
518
|
}[];
|
|
533
|
-
externalSquadUuid: string | null;
|
|
534
|
-
subscriptionUrl: string;
|
|
535
|
-
happ: {
|
|
536
|
-
cryptoLink: string;
|
|
537
|
-
};
|
|
538
519
|
userTraffic: {
|
|
539
520
|
usedTrafficBytes: number;
|
|
540
521
|
lifetimeUsedTrafficBytes: number;
|
|
@@ -623,27 +604,24 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
623
604
|
trafficLimitBytes: number;
|
|
624
605
|
description: string | null;
|
|
625
606
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
626
|
-
subLastUserAgent: string | null;
|
|
627
|
-
subLastOpenedAt: Date | null;
|
|
628
607
|
expireAt: Date;
|
|
629
|
-
subRevokedAt: Date | null;
|
|
630
|
-
lastTrafficResetAt: Date | null;
|
|
631
|
-
trojanPassword: string;
|
|
632
|
-
vlessUuid: string;
|
|
633
|
-
ssPassword: string;
|
|
634
608
|
telegramId: number | null;
|
|
635
609
|
email: string | null;
|
|
636
610
|
hwidDeviceLimit: number | null;
|
|
611
|
+
externalSquadUuid: string | null;
|
|
612
|
+
trojanPassword: string;
|
|
613
|
+
vlessUuid: string;
|
|
614
|
+
ssPassword: string;
|
|
637
615
|
lastTriggeredThreshold: number;
|
|
616
|
+
subRevokedAt: Date | null;
|
|
617
|
+
subLastUserAgent: string | null;
|
|
618
|
+
subLastOpenedAt: Date | null;
|
|
619
|
+
lastTrafficResetAt: Date | null;
|
|
620
|
+
subscriptionUrl: string;
|
|
638
621
|
activeInternalSquads: {
|
|
639
622
|
uuid: string;
|
|
640
623
|
name: string;
|
|
641
624
|
}[];
|
|
642
|
-
externalSquadUuid: string | null;
|
|
643
|
-
subscriptionUrl: string;
|
|
644
|
-
happ: {
|
|
645
|
-
cryptoLink: string;
|
|
646
|
-
};
|
|
647
625
|
userTraffic: {
|
|
648
626
|
usedTrafficBytes: number;
|
|
649
627
|
lifetimeUsedTrafficBytes: number;
|
|
@@ -725,26 +703,23 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
725
703
|
tag: string | null;
|
|
726
704
|
shortUuid: string;
|
|
727
705
|
description: string | null;
|
|
728
|
-
subLastUserAgent: string | null;
|
|
729
|
-
subLastOpenedAt: string | null;
|
|
730
706
|
expireAt: string;
|
|
731
|
-
subRevokedAt: string | null;
|
|
732
|
-
lastTrafficResetAt: string | null;
|
|
733
|
-
trojanPassword: string;
|
|
734
|
-
vlessUuid: string;
|
|
735
|
-
ssPassword: string;
|
|
736
707
|
telegramId: number | null;
|
|
737
708
|
email: string | null;
|
|
738
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;
|
|
739
719
|
activeInternalSquads: {
|
|
740
720
|
uuid: string;
|
|
741
721
|
name: string;
|
|
742
722
|
}[];
|
|
743
|
-
externalSquadUuid: string | null;
|
|
744
|
-
subscriptionUrl: string;
|
|
745
|
-
happ: {
|
|
746
|
-
cryptoLink: string;
|
|
747
|
-
};
|
|
748
723
|
userTraffic: {
|
|
749
724
|
usedTrafficBytes: number;
|
|
750
725
|
lifetimeUsedTrafficBytes: number;
|
|
@@ -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"}
|