@remnawave/backend-contract 2.6.48 → 2.6.50
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/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +1 -0
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +1 -0
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts.map +1 -1
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +7 -6
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts +9 -8
- package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +7 -6
- 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 +7 -6
- 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 +7 -6
- 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 +7 -6
- 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 +5 -4
- 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 +5 -4
- 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 +5 -4
- 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 +5 -4
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +5 -4
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +3 -2
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.d.ts +9 -7
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-all-users.command.d.ts +7 -6
- 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 +5 -4
- 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-id.command.d.ts +5 -4
- package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +5 -4
- 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 +5 -4
- 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 +5 -4
- 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 +5 -4
- 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 +5 -4
- 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 +11 -9
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/constants/users/reset-periods/reset-periods.constant.d.ts +2 -1
- package/build/backend/constants/users/reset-periods/reset-periods.constant.d.ts.map +1 -1
- package/build/backend/constants/users/reset-periods/reset-periods.constant.js +1 -0
- package/build/backend/models/extended-users.schema.d.ts +3 -2
- package/build/backend/models/extended-users.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-info.schema.d.ts +5 -4
- package/build/backend/models/subscription-info.schema.d.ts.map +1 -1
- package/build/backend/models/torrent-blocker-report.schema.d.ts +1 -0
- package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.d.ts +3 -2
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/backend/models/webhook/webhook.schema.d.ts +38 -32
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/frontend/constants/users/reset-periods/reset-periods.constant.js +1 -0
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
43
43
|
readonly DAY: "DAY";
|
|
44
44
|
readonly WEEK: "WEEK";
|
|
45
45
|
readonly MONTH: "MONTH";
|
|
46
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
46
47
|
}>>;
|
|
47
48
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
48
49
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -101,7 +102,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
101
102
|
shortUuid: string;
|
|
102
103
|
trafficLimitBytes: number;
|
|
103
104
|
description: string | null;
|
|
104
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
105
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
105
106
|
expireAt: Date;
|
|
106
107
|
telegramId: number | null;
|
|
107
108
|
email: string | null;
|
|
@@ -158,7 +159,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
158
159
|
};
|
|
159
160
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
160
161
|
trafficLimitBytes?: number | undefined;
|
|
161
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
162
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
162
163
|
lastTriggeredThreshold?: number | undefined;
|
|
163
164
|
}>;
|
|
164
165
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -173,7 +174,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
173
174
|
shortUuid: string;
|
|
174
175
|
trafficLimitBytes: number;
|
|
175
176
|
description: string | null;
|
|
176
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
177
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
177
178
|
expireAt: Date;
|
|
178
179
|
telegramId: number | null;
|
|
179
180
|
email: string | null;
|
|
@@ -232,7 +233,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
232
233
|
};
|
|
233
234
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
234
235
|
trafficLimitBytes?: number | undefined;
|
|
235
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
236
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
236
237
|
lastTriggeredThreshold?: number | undefined;
|
|
237
238
|
};
|
|
238
239
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA6C,CAAC;IACvD,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,iBAAiB;;;;;;;;;;;;eAsB7B,CAAC;IAEF,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA6C,CAAC;IACvD,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,iBAAiB;;;;;;;;;;;;eAsB7B,CAAC;IAEF,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -18,6 +18,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
18
18
|
readonly DAY: "DAY";
|
|
19
19
|
readonly WEEK: "WEEK";
|
|
20
20
|
readonly MONTH: "MONTH";
|
|
21
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
21
22
|
}>>;
|
|
22
23
|
expireAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, Date, string>, Date, string>>;
|
|
23
24
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -31,7 +32,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
31
32
|
tag?: string | null | undefined;
|
|
32
33
|
trafficLimitBytes?: number | undefined;
|
|
33
34
|
description?: string | null | undefined;
|
|
34
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
35
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
35
36
|
expireAt?: Date | undefined;
|
|
36
37
|
telegramId?: number | null | undefined;
|
|
37
38
|
email?: string | null | undefined;
|
|
@@ -42,7 +43,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
42
43
|
tag?: string | null | undefined;
|
|
43
44
|
trafficLimitBytes?: number | undefined;
|
|
44
45
|
description?: string | null | undefined;
|
|
45
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
46
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
46
47
|
expireAt?: string | undefined;
|
|
47
48
|
telegramId?: number | null | undefined;
|
|
48
49
|
email?: string | null | undefined;
|
|
@@ -56,7 +57,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
56
57
|
tag?: string | null | undefined;
|
|
57
58
|
trafficLimitBytes?: number | undefined;
|
|
58
59
|
description?: string | null | undefined;
|
|
59
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
60
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
60
61
|
expireAt?: Date | undefined;
|
|
61
62
|
telegramId?: number | null | undefined;
|
|
62
63
|
email?: string | null | undefined;
|
|
@@ -70,7 +71,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
70
71
|
tag?: string | null | undefined;
|
|
71
72
|
trafficLimitBytes?: number | undefined;
|
|
72
73
|
description?: string | null | undefined;
|
|
73
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
74
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
74
75
|
expireAt?: string | undefined;
|
|
75
76
|
telegramId?: number | null | undefined;
|
|
76
77
|
email?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk/bulk-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"bulk-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk/bulk-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqDxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -16,6 +16,7 @@ export declare namespace BulkAllUpdateUsersCommand {
|
|
|
16
16
|
readonly DAY: "DAY";
|
|
17
17
|
readonly WEEK: "WEEK";
|
|
18
18
|
readonly MONTH: "MONTH";
|
|
19
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
19
20
|
}>>;
|
|
20
21
|
expireAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, Date, string>, Date, string>>;
|
|
21
22
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -28,7 +29,7 @@ export declare namespace BulkAllUpdateUsersCommand {
|
|
|
28
29
|
tag?: string | null | undefined;
|
|
29
30
|
trafficLimitBytes?: number | undefined;
|
|
30
31
|
description?: string | null | undefined;
|
|
31
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
32
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
32
33
|
expireAt?: Date | undefined;
|
|
33
34
|
telegramId?: number | null | undefined;
|
|
34
35
|
email?: string | null | undefined;
|
|
@@ -38,7 +39,7 @@ export declare namespace BulkAllUpdateUsersCommand {
|
|
|
38
39
|
tag?: string | null | undefined;
|
|
39
40
|
trafficLimitBytes?: number | undefined;
|
|
40
41
|
description?: string | null | undefined;
|
|
41
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
42
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
42
43
|
expireAt?: string | undefined;
|
|
43
44
|
telegramId?: number | null | undefined;
|
|
44
45
|
email?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-all-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk-all/bulk-all-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"bulk-all-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk-all/bulk-all-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4CxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -21,7 +21,8 @@ export declare namespace CreateUserCommand {
|
|
|
21
21
|
readonly DAY: "DAY";
|
|
22
22
|
readonly WEEK: "WEEK";
|
|
23
23
|
readonly MONTH: "MONTH";
|
|
24
|
-
|
|
24
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
25
|
+
}>>>, "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING", "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined>>;
|
|
25
26
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
26
27
|
createdAt: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
|
|
27
28
|
lastTrafficResetAt: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
|
|
@@ -43,7 +44,7 @@ export declare namespace CreateUserCommand {
|
|
|
43
44
|
shortUuid?: string | undefined;
|
|
44
45
|
trafficLimitBytes?: number | undefined;
|
|
45
46
|
description?: string | undefined;
|
|
46
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
47
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
47
48
|
telegramId?: number | null | undefined;
|
|
48
49
|
email?: string | null | undefined;
|
|
49
50
|
hwidDeviceLimit?: number | undefined;
|
|
@@ -63,7 +64,7 @@ export declare namespace CreateUserCommand {
|
|
|
63
64
|
shortUuid?: string | undefined;
|
|
64
65
|
trafficLimitBytes?: number | undefined;
|
|
65
66
|
description?: string | undefined;
|
|
66
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
67
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
67
68
|
telegramId?: number | null | undefined;
|
|
68
69
|
email?: string | null | undefined;
|
|
69
70
|
hwidDeviceLimit?: number | undefined;
|
|
@@ -93,6 +94,7 @@ export declare namespace CreateUserCommand {
|
|
|
93
94
|
readonly DAY: "DAY";
|
|
94
95
|
readonly WEEK: "WEEK";
|
|
95
96
|
readonly MONTH: "MONTH";
|
|
97
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
96
98
|
}>>;
|
|
97
99
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
98
100
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -151,7 +153,7 @@ export declare namespace CreateUserCommand {
|
|
|
151
153
|
shortUuid: string;
|
|
152
154
|
trafficLimitBytes: number;
|
|
153
155
|
description: string | null;
|
|
154
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
156
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
155
157
|
expireAt: Date;
|
|
156
158
|
telegramId: number | null;
|
|
157
159
|
email: string | null;
|
|
@@ -208,7 +210,7 @@ export declare namespace CreateUserCommand {
|
|
|
208
210
|
};
|
|
209
211
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
210
212
|
trafficLimitBytes?: number | undefined;
|
|
211
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
213
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
212
214
|
lastTriggeredThreshold?: number | undefined;
|
|
213
215
|
}>;
|
|
214
216
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -223,7 +225,7 @@ export declare namespace CreateUserCommand {
|
|
|
223
225
|
shortUuid: string;
|
|
224
226
|
trafficLimitBytes: number;
|
|
225
227
|
description: string | null;
|
|
226
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
228
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
227
229
|
expireAt: Date;
|
|
228
230
|
telegramId: number | null;
|
|
229
231
|
email: string | null;
|
|
@@ -282,7 +284,7 @@ export declare namespace CreateUserCommand {
|
|
|
282
284
|
};
|
|
283
285
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
284
286
|
trafficLimitBytes?: number | undefined;
|
|
285
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
287
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
286
288
|
lastTriggeredThreshold?: number | undefined;
|
|
287
289
|
};
|
|
288
290
|
}>;
|
|
@@ -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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmJxB,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"}
|
|
@@ -75,6 +75,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
75
75
|
readonly DAY: "DAY";
|
|
76
76
|
readonly WEEK: "WEEK";
|
|
77
77
|
readonly MONTH: "MONTH";
|
|
78
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
78
79
|
}>>;
|
|
79
80
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
80
81
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -133,7 +134,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
133
134
|
shortUuid: string;
|
|
134
135
|
trafficLimitBytes: number;
|
|
135
136
|
description: string | null;
|
|
136
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
137
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
137
138
|
expireAt: Date;
|
|
138
139
|
telegramId: number | null;
|
|
139
140
|
email: string | null;
|
|
@@ -190,7 +191,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
190
191
|
};
|
|
191
192
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
192
193
|
trafficLimitBytes?: number | undefined;
|
|
193
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
194
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
194
195
|
lastTriggeredThreshold?: number | undefined;
|
|
195
196
|
}>, "many">;
|
|
196
197
|
total: z.ZodNumber;
|
|
@@ -206,7 +207,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
206
207
|
shortUuid: string;
|
|
207
208
|
trafficLimitBytes: number;
|
|
208
209
|
description: string | null;
|
|
209
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
210
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
210
211
|
expireAt: Date;
|
|
211
212
|
telegramId: number | null;
|
|
212
213
|
email: string | null;
|
|
@@ -266,7 +267,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
266
267
|
};
|
|
267
268
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
268
269
|
trafficLimitBytes?: number | undefined;
|
|
269
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
270
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
270
271
|
lastTriggeredThreshold?: number | undefined;
|
|
271
272
|
}[];
|
|
272
273
|
total: number;
|
|
@@ -284,7 +285,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
284
285
|
shortUuid: string;
|
|
285
286
|
trafficLimitBytes: number;
|
|
286
287
|
description: string | null;
|
|
287
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
288
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
288
289
|
expireAt: Date;
|
|
289
290
|
telegramId: number | null;
|
|
290
291
|
email: string | null;
|
|
@@ -346,7 +347,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
346
347
|
};
|
|
347
348
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
348
349
|
trafficLimitBytes?: number | undefined;
|
|
349
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
350
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
350
351
|
lastTriggeredThreshold?: number | undefined;
|
|
351
352
|
}[];
|
|
352
353
|
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;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAkC,CAAC;IAElE,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;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAkC,CAAC;IAElE,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -29,6 +29,7 @@ export declare namespace GetUserByEmailCommand {
|
|
|
29
29
|
readonly DAY: "DAY";
|
|
30
30
|
readonly WEEK: "WEEK";
|
|
31
31
|
readonly MONTH: "MONTH";
|
|
32
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
32
33
|
}>>;
|
|
33
34
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
34
35
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -87,7 +88,7 @@ export declare namespace GetUserByEmailCommand {
|
|
|
87
88
|
shortUuid: string;
|
|
88
89
|
trafficLimitBytes: number;
|
|
89
90
|
description: string | null;
|
|
90
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
91
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
91
92
|
expireAt: Date;
|
|
92
93
|
telegramId: number | null;
|
|
93
94
|
email: string | null;
|
|
@@ -144,7 +145,7 @@ export declare namespace GetUserByEmailCommand {
|
|
|
144
145
|
};
|
|
145
146
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
146
147
|
trafficLimitBytes?: number | undefined;
|
|
147
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
148
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
148
149
|
lastTriggeredThreshold?: number | undefined;
|
|
149
150
|
}>, "many">;
|
|
150
151
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -159,7 +160,7 @@ export declare namespace GetUserByEmailCommand {
|
|
|
159
160
|
shortUuid: string;
|
|
160
161
|
trafficLimitBytes: number;
|
|
161
162
|
description: string | null;
|
|
162
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
163
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
163
164
|
expireAt: Date;
|
|
164
165
|
telegramId: number | null;
|
|
165
166
|
email: string | null;
|
|
@@ -218,7 +219,7 @@ export declare namespace GetUserByEmailCommand {
|
|
|
218
219
|
};
|
|
219
220
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
220
221
|
trafficLimitBytes?: number | undefined;
|
|
221
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
222
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
222
223
|
lastTriggeredThreshold?: number | undefined;
|
|
223
224
|
}[];
|
|
224
225
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-by-email.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-email.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,2BAA8B,CAAC;IACxC,MAAM,OAAO,QAAgB,CAAC;IAE9B,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-user-by-email.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-email.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,2BAA8B,CAAC;IACxC,MAAM,OAAO,QAAgB,CAAC;IAE9B,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"}
|
|
@@ -29,6 +29,7 @@ export declare namespace GetUserByIdCommand {
|
|
|
29
29
|
readonly DAY: "DAY";
|
|
30
30
|
readonly WEEK: "WEEK";
|
|
31
31
|
readonly MONTH: "MONTH";
|
|
32
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
32
33
|
}>>;
|
|
33
34
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
34
35
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -87,7 +88,7 @@ export declare namespace GetUserByIdCommand {
|
|
|
87
88
|
shortUuid: string;
|
|
88
89
|
trafficLimitBytes: number;
|
|
89
90
|
description: string | null;
|
|
90
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
91
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
91
92
|
expireAt: Date;
|
|
92
93
|
telegramId: number | null;
|
|
93
94
|
email: string | null;
|
|
@@ -144,7 +145,7 @@ export declare namespace GetUserByIdCommand {
|
|
|
144
145
|
};
|
|
145
146
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
146
147
|
trafficLimitBytes?: number | undefined;
|
|
147
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
148
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
148
149
|
lastTriggeredThreshold?: number | undefined;
|
|
149
150
|
}>;
|
|
150
151
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -159,7 +160,7 @@ export declare namespace GetUserByIdCommand {
|
|
|
159
160
|
shortUuid: string;
|
|
160
161
|
trafficLimitBytes: number;
|
|
161
162
|
description: string | null;
|
|
162
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
163
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
163
164
|
expireAt: Date;
|
|
164
165
|
telegramId: number | null;
|
|
165
166
|
email: string | null;
|
|
@@ -218,7 +219,7 @@ export declare namespace GetUserByIdCommand {
|
|
|
218
219
|
};
|
|
219
220
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
220
221
|
trafficLimitBytes?: number | undefined;
|
|
221
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
222
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
222
223
|
lastTriggeredThreshold?: number | undefined;
|
|
223
224
|
};
|
|
224
225
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-by-id.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-id.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,wBAA2B,CAAC;IACrC,MAAM,OAAO,QAAa,CAAC;IAE3B,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-user-by-id.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-id.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,wBAA2B,CAAC;IACrC,MAAM,OAAO,QAAa,CAAC;IAE3B,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"}
|
|
@@ -29,6 +29,7 @@ export declare namespace GetUserByShortUuidCommand {
|
|
|
29
29
|
readonly DAY: "DAY";
|
|
30
30
|
readonly WEEK: "WEEK";
|
|
31
31
|
readonly MONTH: "MONTH";
|
|
32
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
32
33
|
}>>;
|
|
33
34
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
34
35
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -87,7 +88,7 @@ export declare namespace GetUserByShortUuidCommand {
|
|
|
87
88
|
shortUuid: string;
|
|
88
89
|
trafficLimitBytes: number;
|
|
89
90
|
description: string | null;
|
|
90
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
91
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
91
92
|
expireAt: Date;
|
|
92
93
|
telegramId: number | null;
|
|
93
94
|
email: string | null;
|
|
@@ -144,7 +145,7 @@ export declare namespace GetUserByShortUuidCommand {
|
|
|
144
145
|
};
|
|
145
146
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
146
147
|
trafficLimitBytes?: number | undefined;
|
|
147
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
148
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
148
149
|
lastTriggeredThreshold?: number | undefined;
|
|
149
150
|
}>;
|
|
150
151
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -159,7 +160,7 @@ export declare namespace GetUserByShortUuidCommand {
|
|
|
159
160
|
shortUuid: string;
|
|
160
161
|
trafficLimitBytes: number;
|
|
161
162
|
description: string | null;
|
|
162
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
163
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
163
164
|
expireAt: Date;
|
|
164
165
|
telegramId: number | null;
|
|
165
166
|
email: string | null;
|
|
@@ -218,7 +219,7 @@ export declare namespace GetUserByShortUuidCommand {
|
|
|
218
219
|
};
|
|
219
220
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
220
221
|
trafficLimitBytes?: number | undefined;
|
|
221
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
222
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
222
223
|
lastTriggeredThreshold?: number | undefined;
|
|
223
224
|
};
|
|
224
225
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,+BAAmC,CAAC;IAC7C,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,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-user-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,+BAAmC,CAAC;IAC7C,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,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"}
|
|
@@ -29,6 +29,7 @@ export declare namespace GetUserByTagCommand {
|
|
|
29
29
|
readonly DAY: "DAY";
|
|
30
30
|
readonly WEEK: "WEEK";
|
|
31
31
|
readonly MONTH: "MONTH";
|
|
32
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
32
33
|
}>>;
|
|
33
34
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
34
35
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -87,7 +88,7 @@ export declare namespace GetUserByTagCommand {
|
|
|
87
88
|
shortUuid: string;
|
|
88
89
|
trafficLimitBytes: number;
|
|
89
90
|
description: string | null;
|
|
90
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
91
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
91
92
|
expireAt: Date;
|
|
92
93
|
telegramId: number | null;
|
|
93
94
|
email: string | null;
|
|
@@ -144,7 +145,7 @@ export declare namespace GetUserByTagCommand {
|
|
|
144
145
|
};
|
|
145
146
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
146
147
|
trafficLimitBytes?: number | undefined;
|
|
147
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
148
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
148
149
|
lastTriggeredThreshold?: number | undefined;
|
|
149
150
|
}>, "many">;
|
|
150
151
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -159,7 +160,7 @@ export declare namespace GetUserByTagCommand {
|
|
|
159
160
|
shortUuid: string;
|
|
160
161
|
trafficLimitBytes: number;
|
|
161
162
|
description: string | null;
|
|
162
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
163
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
163
164
|
expireAt: Date;
|
|
164
165
|
telegramId: number | null;
|
|
165
166
|
email: string | null;
|
|
@@ -218,7 +219,7 @@ export declare namespace GetUserByTagCommand {
|
|
|
218
219
|
};
|
|
219
220
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
220
221
|
trafficLimitBytes?: number | undefined;
|
|
221
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
222
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
222
223
|
lastTriggeredThreshold?: number | undefined;
|
|
223
224
|
}[];
|
|
224
225
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-by-tag.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-tag.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mBAAmB,CAAC;IAC1B,MAAM,GAAG,yBAA4B,CAAC;IACtC,MAAM,OAAO,QAAc,CAAC;IAE5B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAKxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-user-by-tag.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-tag.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mBAAmB,CAAC;IAC1B,MAAM,GAAG,yBAA4B,CAAC;IACtC,MAAM,OAAO,QAAc,CAAC;IAE5B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAKxB,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"}
|
|
@@ -29,6 +29,7 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
|
29
29
|
readonly DAY: "DAY";
|
|
30
30
|
readonly WEEK: "WEEK";
|
|
31
31
|
readonly MONTH: "MONTH";
|
|
32
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
32
33
|
}>>;
|
|
33
34
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
34
35
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -87,7 +88,7 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
|
87
88
|
shortUuid: string;
|
|
88
89
|
trafficLimitBytes: number;
|
|
89
90
|
description: string | null;
|
|
90
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
91
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
91
92
|
expireAt: Date;
|
|
92
93
|
telegramId: number | null;
|
|
93
94
|
email: string | null;
|
|
@@ -144,7 +145,7 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
|
144
145
|
};
|
|
145
146
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
146
147
|
trafficLimitBytes?: number | undefined;
|
|
147
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
148
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
148
149
|
lastTriggeredThreshold?: number | undefined;
|
|
149
150
|
}>, "many">;
|
|
150
151
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -159,7 +160,7 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
|
159
160
|
shortUuid: string;
|
|
160
161
|
trafficLimitBytes: number;
|
|
161
162
|
description: string | null;
|
|
162
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
163
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
163
164
|
expireAt: Date;
|
|
164
165
|
telegramId: number | null;
|
|
165
166
|
email: string | null;
|
|
@@ -218,7 +219,7 @@ export declare namespace GetUserByTelegramIdCommand {
|
|
|
218
219
|
};
|
|
219
220
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
220
221
|
trafficLimitBytes?: number | undefined;
|
|
221
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
222
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
222
223
|
lastTriggeredThreshold?: number | undefined;
|
|
223
224
|
}[];
|
|
224
225
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-by-telegram-id.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-telegram-id.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,gCAAoC,CAAC;IAC9C,MAAM,OAAO,QAAqB,CAAC;IAEnC,MAAM,eAAe,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-user-by-telegram-id.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-telegram-id.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,gCAAoC,CAAC;IAC9C,MAAM,OAAO,QAAqB,CAAC;IAEnC,MAAM,eAAe,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"}
|
|
@@ -29,6 +29,7 @@ export declare namespace GetUserByUsernameCommand {
|
|
|
29
29
|
readonly DAY: "DAY";
|
|
30
30
|
readonly WEEK: "WEEK";
|
|
31
31
|
readonly MONTH: "MONTH";
|
|
32
|
+
readonly MONTH_ROLLING: "MONTH_ROLLING";
|
|
32
33
|
}>>;
|
|
33
34
|
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
34
35
|
telegramId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -87,7 +88,7 @@ export declare namespace GetUserByUsernameCommand {
|
|
|
87
88
|
shortUuid: string;
|
|
88
89
|
trafficLimitBytes: number;
|
|
89
90
|
description: string | null;
|
|
90
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
91
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
91
92
|
expireAt: Date;
|
|
92
93
|
telegramId: number | null;
|
|
93
94
|
email: string | null;
|
|
@@ -144,7 +145,7 @@ export declare namespace GetUserByUsernameCommand {
|
|
|
144
145
|
};
|
|
145
146
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
146
147
|
trafficLimitBytes?: number | undefined;
|
|
147
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
148
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
148
149
|
lastTriggeredThreshold?: number | undefined;
|
|
149
150
|
}>;
|
|
150
151
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -159,7 +160,7 @@ export declare namespace GetUserByUsernameCommand {
|
|
|
159
160
|
shortUuid: string;
|
|
160
161
|
trafficLimitBytes: number;
|
|
161
162
|
description: string | null;
|
|
162
|
-
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
|
|
163
|
+
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
163
164
|
expireAt: Date;
|
|
164
165
|
telegramId: number | null;
|
|
165
166
|
email: string | null;
|
|
@@ -218,7 +219,7 @@ export declare namespace GetUserByUsernameCommand {
|
|
|
218
219
|
};
|
|
219
220
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
220
221
|
trafficLimitBytes?: number | undefined;
|
|
221
|
-
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
|
222
|
+
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
222
223
|
lastTriggeredThreshold?: number | undefined;
|
|
223
224
|
};
|
|
224
225
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-by-username.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,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-user-by-username.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,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"}
|