@remnawave/backend-contract 2.8.29 → 2.8.31
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/api-tokens/create.command.d.ts +22 -13
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/create.command.js +5 -2
- package/build/backend/commands/api-tokens/find.command.d.ts +26 -26
- package/build/backend/commands/api-tokens/find.command.js +2 -2
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts +12 -12
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts +12 -12
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +16 -16
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +10 -10
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +10 -10
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +10 -10
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +14 -14
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +10 -10
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts +6 -6
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +4 -4
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +4 -4
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts +6 -6
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +4 -4
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +28 -28
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +4 -4
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +26 -26
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +26 -26
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +4 -4
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +6 -6
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +26 -26
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +4 -4
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +6 -6
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +4 -4
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts +4 -4
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +6 -6
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +4 -4
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts +6 -6
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +11 -11
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +11 -11
- package/build/backend/commands/nodes/actions/disable.command.d.ts +10 -10
- package/build/backend/commands/nodes/actions/enable.command.d.ts +10 -10
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +12 -12
- package/build/backend/commands/nodes/create.command.d.ts +11 -11
- package/build/backend/commands/nodes/get-all.command.d.ts +10 -10
- package/build/backend/commands/nodes/get-one.command.d.ts +10 -10
- package/build/backend/commands/nodes/update.command.d.ts +14 -14
- package/build/backend/commands/passkeys/delete-passkeys.command.d.ts +6 -6
- package/build/backend/commands/passkeys/get-active-passkeys.command.d.ts +6 -6
- package/build/backend/commands/passkeys/update-passkey.command.d.ts +6 -6
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +8 -8
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +14 -14
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +6 -6
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +12 -12
- package/build/backend/commands/users/actions/disable-user.command.d.ts +4 -4
- package/build/backend/commands/users/actions/enable-user.command.d.ts +4 -4
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +4 -4
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +4 -4
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +4 -4
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +2 -2
- package/build/backend/commands/users/create-user.command.d.ts +6 -6
- package/build/backend/commands/users/get-all-users.command.d.ts +6 -6
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +4 -4
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +4 -4
- package/build/backend/commands/users/get-users-stream.command.d.ts +6 -6
- package/build/backend/commands/users/update-user.command.d.ts +8 -8
- package/build/backend/constants/events/events.d.ts +2 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +2 -0
- package/build/backend/models/api-tokens.schema.d.ts +6 -6
- package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
- package/build/backend/models/api-tokens.schema.js +5 -2
- package/build/backend/models/config-profile.schema.d.ts +6 -6
- package/build/backend/models/extended-users.schema.d.ts +2 -2
- package/build/backend/models/external-squad.schema.d.ts +2 -2
- package/build/backend/models/infra-billing-available-node.schema.d.ts +5 -5
- package/build/backend/models/infra-billing-node.schema.d.ts +9 -9
- package/build/backend/models/infra-provider.schema.d.ts +4 -4
- package/build/backend/models/internal-squad.schema.d.ts +2 -2
- package/build/backend/models/nodes.schema.d.ts +6 -6
- package/build/backend/models/response-rules/response-rule.schema.d.ts +4 -4
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +4 -4
- package/build/backend/models/subscription-settings.schema.d.ts +6 -6
- package/build/backend/models/torrent-blocker-report.schema.d.ts +7 -7
- package/build/backend/models/users.schema.d.ts +2 -2
- package/build/backend/models/webhook/webhook.schema.d.ts +166 -86
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/backend/models/webhook/webhook.schema.js +11 -0
- package/build/frontend/commands/api-tokens/create.command.js +5 -2
- package/build/frontend/commands/api-tokens/find.command.js +2 -2
- package/build/frontend/constants/events/events.js +2 -0
- package/build/frontend/models/api-tokens.schema.js +5 -2
- package/build/frontend/models/webhook/webhook.schema.js +11 -0
- package/package.json +1 -1
|
@@ -71,6 +71,7 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
|
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
72
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
73
73
|
uuid: string;
|
|
74
|
+
expireAt: Date;
|
|
74
75
|
createdAt: Date;
|
|
75
76
|
updatedAt: Date;
|
|
76
77
|
description: string | null;
|
|
@@ -80,7 +81,6 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
|
|
|
80
81
|
shortUuid: string;
|
|
81
82
|
trafficLimitBytes: number;
|
|
82
83
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
83
|
-
expireAt: Date;
|
|
84
84
|
telegramId: number | null;
|
|
85
85
|
email: string | null;
|
|
86
86
|
hwidDeviceLimit: number | null;
|
|
@@ -105,6 +105,7 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
|
|
|
105
105
|
};
|
|
106
106
|
}, {
|
|
107
107
|
uuid: string;
|
|
108
|
+
expireAt: string;
|
|
108
109
|
createdAt: string;
|
|
109
110
|
updatedAt: string;
|
|
110
111
|
description: string | null;
|
|
@@ -112,7 +113,6 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
|
|
|
112
113
|
tag: string | null;
|
|
113
114
|
id: number;
|
|
114
115
|
shortUuid: string;
|
|
115
|
-
expireAt: string;
|
|
116
116
|
telegramId: number | null;
|
|
117
117
|
email: string | null;
|
|
118
118
|
hwidDeviceLimit: number | null;
|
|
@@ -153,6 +153,7 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
|
|
|
153
153
|
data: {
|
|
154
154
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
155
155
|
uuid: string;
|
|
156
|
+
expireAt: Date;
|
|
156
157
|
createdAt: Date;
|
|
157
158
|
updatedAt: Date;
|
|
158
159
|
description: string | null;
|
|
@@ -162,7 +163,6 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
|
|
|
162
163
|
shortUuid: string;
|
|
163
164
|
trafficLimitBytes: number;
|
|
164
165
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
165
|
-
expireAt: Date;
|
|
166
166
|
telegramId: number | null;
|
|
167
167
|
email: string | null;
|
|
168
168
|
hwidDeviceLimit: number | null;
|
|
@@ -196,6 +196,7 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
|
|
|
196
196
|
}, {
|
|
197
197
|
data: {
|
|
198
198
|
uuid: string;
|
|
199
|
+
expireAt: string;
|
|
199
200
|
createdAt: string;
|
|
200
201
|
updatedAt: string;
|
|
201
202
|
description: string | null;
|
|
@@ -203,7 +204,6 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
|
|
|
203
204
|
tag: string | null;
|
|
204
205
|
id: number;
|
|
205
206
|
shortUuid: string;
|
|
206
|
-
expireAt: string;
|
|
207
207
|
telegramId: number | null;
|
|
208
208
|
email: string | null;
|
|
209
209
|
hwidDeviceLimit: number | null;
|
|
@@ -311,6 +311,7 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
313
313
|
uuid: string;
|
|
314
|
+
expireAt: Date;
|
|
314
315
|
createdAt: Date;
|
|
315
316
|
updatedAt: Date;
|
|
316
317
|
description: string | null;
|
|
@@ -320,7 +321,6 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
320
321
|
shortUuid: string;
|
|
321
322
|
trafficLimitBytes: number;
|
|
322
323
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
323
|
-
expireAt: Date;
|
|
324
324
|
telegramId: number | null;
|
|
325
325
|
email: string | null;
|
|
326
326
|
hwidDeviceLimit: number | null;
|
|
@@ -345,6 +345,7 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
345
345
|
};
|
|
346
346
|
}, {
|
|
347
347
|
uuid: string;
|
|
348
|
+
expireAt: string;
|
|
348
349
|
createdAt: string;
|
|
349
350
|
updatedAt: string;
|
|
350
351
|
description: string | null;
|
|
@@ -352,7 +353,6 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
352
353
|
tag: string | null;
|
|
353
354
|
id: number;
|
|
354
355
|
shortUuid: string;
|
|
355
|
-
expireAt: string;
|
|
356
356
|
telegramId: number | null;
|
|
357
357
|
email: string | null;
|
|
358
358
|
hwidDeviceLimit: number | null;
|
|
@@ -414,6 +414,7 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
414
414
|
user: {
|
|
415
415
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
416
416
|
uuid: string;
|
|
417
|
+
expireAt: Date;
|
|
417
418
|
createdAt: Date;
|
|
418
419
|
updatedAt: Date;
|
|
419
420
|
description: string | null;
|
|
@@ -423,7 +424,6 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
423
424
|
shortUuid: string;
|
|
424
425
|
trafficLimitBytes: number;
|
|
425
426
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
426
|
-
expireAt: Date;
|
|
427
427
|
telegramId: number | null;
|
|
428
428
|
email: string | null;
|
|
429
429
|
hwidDeviceLimit: number | null;
|
|
@@ -461,6 +461,7 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
461
461
|
}, {
|
|
462
462
|
user: {
|
|
463
463
|
uuid: string;
|
|
464
|
+
expireAt: string;
|
|
464
465
|
createdAt: string;
|
|
465
466
|
updatedAt: string;
|
|
466
467
|
description: string | null;
|
|
@@ -468,7 +469,6 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
468
469
|
tag: string | null;
|
|
469
470
|
id: number;
|
|
470
471
|
shortUuid: string;
|
|
471
|
-
expireAt: string;
|
|
472
472
|
telegramId: number | null;
|
|
473
473
|
email: string | null;
|
|
474
474
|
hwidDeviceLimit: number | null;
|
|
@@ -512,6 +512,7 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
512
512
|
user: {
|
|
513
513
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
514
514
|
uuid: string;
|
|
515
|
+
expireAt: Date;
|
|
515
516
|
createdAt: Date;
|
|
516
517
|
updatedAt: Date;
|
|
517
518
|
description: string | null;
|
|
@@ -521,7 +522,6 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
521
522
|
shortUuid: string;
|
|
522
523
|
trafficLimitBytes: number;
|
|
523
524
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
524
|
-
expireAt: Date;
|
|
525
525
|
telegramId: number | null;
|
|
526
526
|
email: string | null;
|
|
527
527
|
hwidDeviceLimit: number | null;
|
|
@@ -564,6 +564,7 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
564
564
|
data: {
|
|
565
565
|
user: {
|
|
566
566
|
uuid: string;
|
|
567
|
+
expireAt: string;
|
|
567
568
|
createdAt: string;
|
|
568
569
|
updatedAt: string;
|
|
569
570
|
description: string | null;
|
|
@@ -571,7 +572,6 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
571
572
|
tag: string | null;
|
|
572
573
|
id: number;
|
|
573
574
|
shortUuid: string;
|
|
574
|
-
expireAt: string;
|
|
575
575
|
telegramId: number | null;
|
|
576
576
|
email: string | null;
|
|
577
577
|
hwidDeviceLimit: number | null;
|
|
@@ -706,16 +706,16 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
|
|
|
706
706
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
707
707
|
}, "strip", z.ZodTypeAny, {
|
|
708
708
|
uuid: string;
|
|
709
|
+
name: string;
|
|
709
710
|
createdAt: Date;
|
|
710
711
|
updatedAt: Date;
|
|
711
|
-
name: string;
|
|
712
712
|
faviconLink: string | null;
|
|
713
713
|
loginUrl: string | null;
|
|
714
714
|
}, {
|
|
715
715
|
uuid: string;
|
|
716
|
+
name: string;
|
|
716
717
|
createdAt: string;
|
|
717
718
|
updatedAt: string;
|
|
718
|
-
name: string;
|
|
719
719
|
faviconLink: string | null;
|
|
720
720
|
loginUrl: string | null;
|
|
721
721
|
}>>;
|
|
@@ -900,18 +900,18 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
|
|
|
900
900
|
};
|
|
901
901
|
} | null;
|
|
902
902
|
uuid: string;
|
|
903
|
+
name: string;
|
|
903
904
|
createdAt: Date;
|
|
904
905
|
updatedAt: Date;
|
|
905
906
|
provider: {
|
|
906
907
|
uuid: string;
|
|
908
|
+
name: string;
|
|
907
909
|
createdAt: Date;
|
|
908
910
|
updatedAt: Date;
|
|
909
|
-
name: string;
|
|
910
911
|
faviconLink: string | null;
|
|
911
912
|
loginUrl: string | null;
|
|
912
913
|
} | null;
|
|
913
914
|
countryCode: string;
|
|
914
|
-
name: string;
|
|
915
915
|
port: number | null;
|
|
916
916
|
viewPosition: number;
|
|
917
917
|
trafficLimitBytes: number | null;
|
|
@@ -980,18 +980,18 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
|
|
|
980
980
|
};
|
|
981
981
|
} | null;
|
|
982
982
|
uuid: string;
|
|
983
|
+
name: string;
|
|
983
984
|
createdAt: string;
|
|
984
985
|
updatedAt: string;
|
|
985
986
|
provider: {
|
|
986
987
|
uuid: string;
|
|
988
|
+
name: string;
|
|
987
989
|
createdAt: string;
|
|
988
990
|
updatedAt: string;
|
|
989
|
-
name: string;
|
|
990
991
|
faviconLink: string | null;
|
|
991
992
|
loginUrl: string | null;
|
|
992
993
|
} | null;
|
|
993
994
|
countryCode: string;
|
|
994
|
-
name: string;
|
|
995
995
|
port: number | null;
|
|
996
996
|
viewPosition: number;
|
|
997
997
|
trafficLimitBytes: number | null;
|
|
@@ -1062,18 +1062,18 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
|
|
|
1062
1062
|
};
|
|
1063
1063
|
} | null;
|
|
1064
1064
|
uuid: string;
|
|
1065
|
+
name: string;
|
|
1065
1066
|
createdAt: Date;
|
|
1066
1067
|
updatedAt: Date;
|
|
1067
1068
|
provider: {
|
|
1068
1069
|
uuid: string;
|
|
1070
|
+
name: string;
|
|
1069
1071
|
createdAt: Date;
|
|
1070
1072
|
updatedAt: Date;
|
|
1071
|
-
name: string;
|
|
1072
1073
|
faviconLink: string | null;
|
|
1073
1074
|
loginUrl: string | null;
|
|
1074
1075
|
} | null;
|
|
1075
1076
|
countryCode: string;
|
|
1076
|
-
name: string;
|
|
1077
1077
|
port: number | null;
|
|
1078
1078
|
viewPosition: number;
|
|
1079
1079
|
trafficLimitBytes: number | null;
|
|
@@ -1147,18 +1147,18 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
|
|
|
1147
1147
|
};
|
|
1148
1148
|
} | null;
|
|
1149
1149
|
uuid: string;
|
|
1150
|
+
name: string;
|
|
1150
1151
|
createdAt: string;
|
|
1151
1152
|
updatedAt: string;
|
|
1152
1153
|
provider: {
|
|
1153
1154
|
uuid: string;
|
|
1155
|
+
name: string;
|
|
1154
1156
|
createdAt: string;
|
|
1155
1157
|
updatedAt: string;
|
|
1156
|
-
name: string;
|
|
1157
1158
|
faviconLink: string | null;
|
|
1158
1159
|
loginUrl: string | null;
|
|
1159
1160
|
} | null;
|
|
1160
1161
|
countryCode: string;
|
|
1161
|
-
name: string;
|
|
1162
1162
|
port: number | null;
|
|
1163
1163
|
viewPosition: number;
|
|
1164
1164
|
trafficLimitBytes: number | null;
|
|
@@ -1204,7 +1204,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
|
|
|
1204
1204
|
}>;
|
|
1205
1205
|
export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
1206
1206
|
scope: z.ZodLiteral<"service">;
|
|
1207
|
-
event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed")[]]>;
|
|
1207
|
+
event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted")[]]>;
|
|
1208
1208
|
timestamp: z.ZodEffects<z.ZodString, Date, string>;
|
|
1209
1209
|
data: z.ZodObject<{
|
|
1210
1210
|
loginAttempt: z.ZodOptional<z.ZodObject<{
|
|
@@ -1237,6 +1237,22 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
1237
1237
|
uuid: string;
|
|
1238
1238
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
1239
1239
|
}>>;
|
|
1240
|
+
apiToken: z.ZodOptional<z.ZodObject<{
|
|
1241
|
+
name: z.ZodString;
|
|
1242
|
+
uuid: z.ZodString;
|
|
1243
|
+
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
1244
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
1245
|
+
}, "strip", z.ZodTypeAny, {
|
|
1246
|
+
scopes: string[];
|
|
1247
|
+
uuid: string;
|
|
1248
|
+
name: string;
|
|
1249
|
+
expireAt: Date;
|
|
1250
|
+
}, {
|
|
1251
|
+
scopes: string[];
|
|
1252
|
+
uuid: string;
|
|
1253
|
+
name: string;
|
|
1254
|
+
expireAt: string;
|
|
1255
|
+
}>>;
|
|
1240
1256
|
}, "strip", z.ZodTypeAny, {
|
|
1241
1257
|
loginAttempt?: {
|
|
1242
1258
|
username: string;
|
|
@@ -1250,6 +1266,12 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
1250
1266
|
uuid: string;
|
|
1251
1267
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
1252
1268
|
} | undefined;
|
|
1269
|
+
apiToken?: {
|
|
1270
|
+
scopes: string[];
|
|
1271
|
+
uuid: string;
|
|
1272
|
+
name: string;
|
|
1273
|
+
expireAt: Date;
|
|
1274
|
+
} | undefined;
|
|
1253
1275
|
}, {
|
|
1254
1276
|
loginAttempt?: {
|
|
1255
1277
|
username: string;
|
|
@@ -1263,6 +1285,12 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
1263
1285
|
uuid: string;
|
|
1264
1286
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
1265
1287
|
} | undefined;
|
|
1288
|
+
apiToken?: {
|
|
1289
|
+
scopes: string[];
|
|
1290
|
+
uuid: string;
|
|
1291
|
+
name: string;
|
|
1292
|
+
expireAt: string;
|
|
1293
|
+
} | undefined;
|
|
1266
1294
|
}>;
|
|
1267
1295
|
}, "strip", z.ZodTypeAny, {
|
|
1268
1296
|
data: {
|
|
@@ -1278,9 +1306,15 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
1278
1306
|
uuid: string;
|
|
1279
1307
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
1280
1308
|
} | undefined;
|
|
1309
|
+
apiToken?: {
|
|
1310
|
+
scopes: string[];
|
|
1311
|
+
uuid: string;
|
|
1312
|
+
name: string;
|
|
1313
|
+
expireAt: Date;
|
|
1314
|
+
} | undefined;
|
|
1281
1315
|
};
|
|
1282
1316
|
scope: "service";
|
|
1283
|
-
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed";
|
|
1317
|
+
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted";
|
|
1284
1318
|
timestamp: Date;
|
|
1285
1319
|
}, {
|
|
1286
1320
|
data: {
|
|
@@ -1296,9 +1330,15 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
1296
1330
|
uuid: string;
|
|
1297
1331
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
1298
1332
|
} | undefined;
|
|
1333
|
+
apiToken?: {
|
|
1334
|
+
scopes: string[];
|
|
1335
|
+
uuid: string;
|
|
1336
|
+
name: string;
|
|
1337
|
+
expireAt: string;
|
|
1338
|
+
} | undefined;
|
|
1299
1339
|
};
|
|
1300
1340
|
scope: "service";
|
|
1301
|
-
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed";
|
|
1341
|
+
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted";
|
|
1302
1342
|
timestamp: string;
|
|
1303
1343
|
}>;
|
|
1304
1344
|
export declare const RemnawaveWebhookErrorsEvents: z.ZodObject<{
|
|
@@ -1461,16 +1501,16 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
1461
1501
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
1462
1502
|
}, "strip", z.ZodTypeAny, {
|
|
1463
1503
|
uuid: string;
|
|
1504
|
+
name: string;
|
|
1464
1505
|
createdAt: Date;
|
|
1465
1506
|
updatedAt: Date;
|
|
1466
|
-
name: string;
|
|
1467
1507
|
faviconLink: string | null;
|
|
1468
1508
|
loginUrl: string | null;
|
|
1469
1509
|
}, {
|
|
1470
1510
|
uuid: string;
|
|
1511
|
+
name: string;
|
|
1471
1512
|
createdAt: string;
|
|
1472
1513
|
updatedAt: string;
|
|
1473
|
-
name: string;
|
|
1474
1514
|
faviconLink: string | null;
|
|
1475
1515
|
loginUrl: string | null;
|
|
1476
1516
|
}>>;
|
|
@@ -1655,18 +1695,18 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
1655
1695
|
};
|
|
1656
1696
|
} | null;
|
|
1657
1697
|
uuid: string;
|
|
1698
|
+
name: string;
|
|
1658
1699
|
createdAt: Date;
|
|
1659
1700
|
updatedAt: Date;
|
|
1660
1701
|
provider: {
|
|
1661
1702
|
uuid: string;
|
|
1703
|
+
name: string;
|
|
1662
1704
|
createdAt: Date;
|
|
1663
1705
|
updatedAt: Date;
|
|
1664
|
-
name: string;
|
|
1665
1706
|
faviconLink: string | null;
|
|
1666
1707
|
loginUrl: string | null;
|
|
1667
1708
|
} | null;
|
|
1668
1709
|
countryCode: string;
|
|
1669
|
-
name: string;
|
|
1670
1710
|
port: number | null;
|
|
1671
1711
|
viewPosition: number;
|
|
1672
1712
|
trafficLimitBytes: number | null;
|
|
@@ -1735,18 +1775,18 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
1735
1775
|
};
|
|
1736
1776
|
} | null;
|
|
1737
1777
|
uuid: string;
|
|
1778
|
+
name: string;
|
|
1738
1779
|
createdAt: string;
|
|
1739
1780
|
updatedAt: string;
|
|
1740
1781
|
provider: {
|
|
1741
1782
|
uuid: string;
|
|
1783
|
+
name: string;
|
|
1742
1784
|
createdAt: string;
|
|
1743
1785
|
updatedAt: string;
|
|
1744
|
-
name: string;
|
|
1745
1786
|
faviconLink: string | null;
|
|
1746
1787
|
loginUrl: string | null;
|
|
1747
1788
|
} | null;
|
|
1748
1789
|
countryCode: string;
|
|
1749
|
-
name: string;
|
|
1750
1790
|
port: number | null;
|
|
1751
1791
|
viewPosition: number;
|
|
1752
1792
|
trafficLimitBytes: number | null;
|
|
@@ -1854,6 +1894,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
1854
1894
|
}, "strip", z.ZodTypeAny, {
|
|
1855
1895
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
1856
1896
|
uuid: string;
|
|
1897
|
+
expireAt: Date;
|
|
1857
1898
|
createdAt: Date;
|
|
1858
1899
|
updatedAt: Date;
|
|
1859
1900
|
description: string | null;
|
|
@@ -1863,7 +1904,6 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
1863
1904
|
shortUuid: string;
|
|
1864
1905
|
trafficLimitBytes: number;
|
|
1865
1906
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
1866
|
-
expireAt: Date;
|
|
1867
1907
|
telegramId: number | null;
|
|
1868
1908
|
email: string | null;
|
|
1869
1909
|
hwidDeviceLimit: number | null;
|
|
@@ -1888,6 +1928,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
1888
1928
|
};
|
|
1889
1929
|
}, {
|
|
1890
1930
|
uuid: string;
|
|
1931
|
+
expireAt: string;
|
|
1891
1932
|
createdAt: string;
|
|
1892
1933
|
updatedAt: string;
|
|
1893
1934
|
description: string | null;
|
|
@@ -1895,7 +1936,6 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
1895
1936
|
tag: string | null;
|
|
1896
1937
|
id: number;
|
|
1897
1938
|
shortUuid: string;
|
|
1898
|
-
expireAt: string;
|
|
1899
1939
|
telegramId: number | null;
|
|
1900
1940
|
email: string | null;
|
|
1901
1941
|
hwidDeviceLimit: number | null;
|
|
@@ -2041,6 +2081,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2041
2081
|
user: {
|
|
2042
2082
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
2043
2083
|
uuid: string;
|
|
2084
|
+
expireAt: Date;
|
|
2044
2085
|
createdAt: Date;
|
|
2045
2086
|
updatedAt: Date;
|
|
2046
2087
|
description: string | null;
|
|
@@ -2050,7 +2091,6 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2050
2091
|
shortUuid: string;
|
|
2051
2092
|
trafficLimitBytes: number;
|
|
2052
2093
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
2053
|
-
expireAt: Date;
|
|
2054
2094
|
telegramId: number | null;
|
|
2055
2095
|
email: string | null;
|
|
2056
2096
|
hwidDeviceLimit: number | null;
|
|
@@ -2104,18 +2144,18 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2104
2144
|
};
|
|
2105
2145
|
} | null;
|
|
2106
2146
|
uuid: string;
|
|
2147
|
+
name: string;
|
|
2107
2148
|
createdAt: Date;
|
|
2108
2149
|
updatedAt: Date;
|
|
2109
2150
|
provider: {
|
|
2110
2151
|
uuid: string;
|
|
2152
|
+
name: string;
|
|
2111
2153
|
createdAt: Date;
|
|
2112
2154
|
updatedAt: Date;
|
|
2113
|
-
name: string;
|
|
2114
2155
|
faviconLink: string | null;
|
|
2115
2156
|
loginUrl: string | null;
|
|
2116
2157
|
} | null;
|
|
2117
2158
|
countryCode: string;
|
|
2118
|
-
name: string;
|
|
2119
2159
|
port: number | null;
|
|
2120
2160
|
viewPosition: number;
|
|
2121
2161
|
trafficLimitBytes: number | null;
|
|
@@ -2183,6 +2223,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2183
2223
|
}, {
|
|
2184
2224
|
user: {
|
|
2185
2225
|
uuid: string;
|
|
2226
|
+
expireAt: string;
|
|
2186
2227
|
createdAt: string;
|
|
2187
2228
|
updatedAt: string;
|
|
2188
2229
|
description: string | null;
|
|
@@ -2190,7 +2231,6 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2190
2231
|
tag: string | null;
|
|
2191
2232
|
id: number;
|
|
2192
2233
|
shortUuid: string;
|
|
2193
|
-
expireAt: string;
|
|
2194
2234
|
telegramId: number | null;
|
|
2195
2235
|
email: string | null;
|
|
2196
2236
|
hwidDeviceLimit: number | null;
|
|
@@ -2247,18 +2287,18 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2247
2287
|
};
|
|
2248
2288
|
} | null;
|
|
2249
2289
|
uuid: string;
|
|
2290
|
+
name: string;
|
|
2250
2291
|
createdAt: string;
|
|
2251
2292
|
updatedAt: string;
|
|
2252
2293
|
provider: {
|
|
2253
2294
|
uuid: string;
|
|
2295
|
+
name: string;
|
|
2254
2296
|
createdAt: string;
|
|
2255
2297
|
updatedAt: string;
|
|
2256
|
-
name: string;
|
|
2257
2298
|
faviconLink: string | null;
|
|
2258
2299
|
loginUrl: string | null;
|
|
2259
2300
|
} | null;
|
|
2260
2301
|
countryCode: string;
|
|
2261
|
-
name: string;
|
|
2262
2302
|
port: number | null;
|
|
2263
2303
|
viewPosition: number;
|
|
2264
2304
|
trafficLimitBytes: number | null;
|
|
@@ -2329,6 +2369,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2329
2369
|
user: {
|
|
2330
2370
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
2331
2371
|
uuid: string;
|
|
2372
|
+
expireAt: Date;
|
|
2332
2373
|
createdAt: Date;
|
|
2333
2374
|
updatedAt: Date;
|
|
2334
2375
|
description: string | null;
|
|
@@ -2338,7 +2379,6 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2338
2379
|
shortUuid: string;
|
|
2339
2380
|
trafficLimitBytes: number;
|
|
2340
2381
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
2341
|
-
expireAt: Date;
|
|
2342
2382
|
telegramId: number | null;
|
|
2343
2383
|
email: string | null;
|
|
2344
2384
|
hwidDeviceLimit: number | null;
|
|
@@ -2392,18 +2432,18 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2392
2432
|
};
|
|
2393
2433
|
} | null;
|
|
2394
2434
|
uuid: string;
|
|
2435
|
+
name: string;
|
|
2395
2436
|
createdAt: Date;
|
|
2396
2437
|
updatedAt: Date;
|
|
2397
2438
|
provider: {
|
|
2398
2439
|
uuid: string;
|
|
2440
|
+
name: string;
|
|
2399
2441
|
createdAt: Date;
|
|
2400
2442
|
updatedAt: Date;
|
|
2401
|
-
name: string;
|
|
2402
2443
|
faviconLink: string | null;
|
|
2403
2444
|
loginUrl: string | null;
|
|
2404
2445
|
} | null;
|
|
2405
2446
|
countryCode: string;
|
|
2406
|
-
name: string;
|
|
2407
2447
|
port: number | null;
|
|
2408
2448
|
viewPosition: number;
|
|
2409
2449
|
trafficLimitBytes: number | null;
|
|
@@ -2476,6 +2516,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2476
2516
|
data: {
|
|
2477
2517
|
user: {
|
|
2478
2518
|
uuid: string;
|
|
2519
|
+
expireAt: string;
|
|
2479
2520
|
createdAt: string;
|
|
2480
2521
|
updatedAt: string;
|
|
2481
2522
|
description: string | null;
|
|
@@ -2483,7 +2524,6 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2483
2524
|
tag: string | null;
|
|
2484
2525
|
id: number;
|
|
2485
2526
|
shortUuid: string;
|
|
2486
|
-
expireAt: string;
|
|
2487
2527
|
telegramId: number | null;
|
|
2488
2528
|
email: string | null;
|
|
2489
2529
|
hwidDeviceLimit: number | null;
|
|
@@ -2540,18 +2580,18 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
2540
2580
|
};
|
|
2541
2581
|
} | null;
|
|
2542
2582
|
uuid: string;
|
|
2583
|
+
name: string;
|
|
2543
2584
|
createdAt: string;
|
|
2544
2585
|
updatedAt: string;
|
|
2545
2586
|
provider: {
|
|
2546
2587
|
uuid: string;
|
|
2588
|
+
name: string;
|
|
2547
2589
|
createdAt: string;
|
|
2548
2590
|
updatedAt: string;
|
|
2549
|
-
name: string;
|
|
2550
2591
|
faviconLink: string | null;
|
|
2551
2592
|
loginUrl: string | null;
|
|
2552
2593
|
} | null;
|
|
2553
2594
|
countryCode: string;
|
|
2554
|
-
name: string;
|
|
2555
2595
|
port: number | null;
|
|
2556
2596
|
viewPosition: number;
|
|
2557
2597
|
trafficLimitBytes: number | null;
|
|
@@ -2693,6 +2733,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2693
2733
|
}, "strip", z.ZodTypeAny, {
|
|
2694
2734
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
2695
2735
|
uuid: string;
|
|
2736
|
+
expireAt: Date;
|
|
2696
2737
|
createdAt: Date;
|
|
2697
2738
|
updatedAt: Date;
|
|
2698
2739
|
description: string | null;
|
|
@@ -2702,7 +2743,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2702
2743
|
shortUuid: string;
|
|
2703
2744
|
trafficLimitBytes: number;
|
|
2704
2745
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
2705
|
-
expireAt: Date;
|
|
2706
2746
|
telegramId: number | null;
|
|
2707
2747
|
email: string | null;
|
|
2708
2748
|
hwidDeviceLimit: number | null;
|
|
@@ -2727,6 +2767,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2727
2767
|
};
|
|
2728
2768
|
}, {
|
|
2729
2769
|
uuid: string;
|
|
2770
|
+
expireAt: string;
|
|
2730
2771
|
createdAt: string;
|
|
2731
2772
|
updatedAt: string;
|
|
2732
2773
|
description: string | null;
|
|
@@ -2734,7 +2775,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2734
2775
|
tag: string | null;
|
|
2735
2776
|
id: number;
|
|
2736
2777
|
shortUuid: string;
|
|
2737
|
-
expireAt: string;
|
|
2738
2778
|
telegramId: number | null;
|
|
2739
2779
|
email: string | null;
|
|
2740
2780
|
hwidDeviceLimit: number | null;
|
|
@@ -2775,6 +2815,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2775
2815
|
data: {
|
|
2776
2816
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
2777
2817
|
uuid: string;
|
|
2818
|
+
expireAt: Date;
|
|
2778
2819
|
createdAt: Date;
|
|
2779
2820
|
updatedAt: Date;
|
|
2780
2821
|
description: string | null;
|
|
@@ -2784,7 +2825,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2784
2825
|
shortUuid: string;
|
|
2785
2826
|
trafficLimitBytes: number;
|
|
2786
2827
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
2787
|
-
expireAt: Date;
|
|
2788
2828
|
telegramId: number | null;
|
|
2789
2829
|
email: string | null;
|
|
2790
2830
|
hwidDeviceLimit: number | null;
|
|
@@ -2818,6 +2858,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2818
2858
|
}, {
|
|
2819
2859
|
data: {
|
|
2820
2860
|
uuid: string;
|
|
2861
|
+
expireAt: string;
|
|
2821
2862
|
createdAt: string;
|
|
2822
2863
|
updatedAt: string;
|
|
2823
2864
|
description: string | null;
|
|
@@ -2825,7 +2866,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2825
2866
|
tag: string | null;
|
|
2826
2867
|
id: number;
|
|
2827
2868
|
shortUuid: string;
|
|
2828
|
-
expireAt: string;
|
|
2829
2869
|
telegramId: number | null;
|
|
2830
2870
|
email: string | null;
|
|
2831
2871
|
hwidDeviceLimit: number | null;
|
|
@@ -2932,6 +2972,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2932
2972
|
}, "strip", z.ZodTypeAny, {
|
|
2933
2973
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
2934
2974
|
uuid: string;
|
|
2975
|
+
expireAt: Date;
|
|
2935
2976
|
createdAt: Date;
|
|
2936
2977
|
updatedAt: Date;
|
|
2937
2978
|
description: string | null;
|
|
@@ -2941,7 +2982,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2941
2982
|
shortUuid: string;
|
|
2942
2983
|
trafficLimitBytes: number;
|
|
2943
2984
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
2944
|
-
expireAt: Date;
|
|
2945
2985
|
telegramId: number | null;
|
|
2946
2986
|
email: string | null;
|
|
2947
2987
|
hwidDeviceLimit: number | null;
|
|
@@ -2966,6 +3006,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2966
3006
|
};
|
|
2967
3007
|
}, {
|
|
2968
3008
|
uuid: string;
|
|
3009
|
+
expireAt: string;
|
|
2969
3010
|
createdAt: string;
|
|
2970
3011
|
updatedAt: string;
|
|
2971
3012
|
description: string | null;
|
|
@@ -2973,7 +3014,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2973
3014
|
tag: string | null;
|
|
2974
3015
|
id: number;
|
|
2975
3016
|
shortUuid: string;
|
|
2976
|
-
expireAt: string;
|
|
2977
3017
|
telegramId: number | null;
|
|
2978
3018
|
email: string | null;
|
|
2979
3019
|
hwidDeviceLimit: number | null;
|
|
@@ -3035,6 +3075,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3035
3075
|
user: {
|
|
3036
3076
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
3037
3077
|
uuid: string;
|
|
3078
|
+
expireAt: Date;
|
|
3038
3079
|
createdAt: Date;
|
|
3039
3080
|
updatedAt: Date;
|
|
3040
3081
|
description: string | null;
|
|
@@ -3044,7 +3085,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3044
3085
|
shortUuid: string;
|
|
3045
3086
|
trafficLimitBytes: number;
|
|
3046
3087
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
3047
|
-
expireAt: Date;
|
|
3048
3088
|
telegramId: number | null;
|
|
3049
3089
|
email: string | null;
|
|
3050
3090
|
hwidDeviceLimit: number | null;
|
|
@@ -3082,6 +3122,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3082
3122
|
}, {
|
|
3083
3123
|
user: {
|
|
3084
3124
|
uuid: string;
|
|
3125
|
+
expireAt: string;
|
|
3085
3126
|
createdAt: string;
|
|
3086
3127
|
updatedAt: string;
|
|
3087
3128
|
description: string | null;
|
|
@@ -3089,7 +3130,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3089
3130
|
tag: string | null;
|
|
3090
3131
|
id: number;
|
|
3091
3132
|
shortUuid: string;
|
|
3092
|
-
expireAt: string;
|
|
3093
3133
|
telegramId: number | null;
|
|
3094
3134
|
email: string | null;
|
|
3095
3135
|
hwidDeviceLimit: number | null;
|
|
@@ -3133,6 +3173,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3133
3173
|
user: {
|
|
3134
3174
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
3135
3175
|
uuid: string;
|
|
3176
|
+
expireAt: Date;
|
|
3136
3177
|
createdAt: Date;
|
|
3137
3178
|
updatedAt: Date;
|
|
3138
3179
|
description: string | null;
|
|
@@ -3142,7 +3183,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3142
3183
|
shortUuid: string;
|
|
3143
3184
|
trafficLimitBytes: number;
|
|
3144
3185
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
3145
|
-
expireAt: Date;
|
|
3146
3186
|
telegramId: number | null;
|
|
3147
3187
|
email: string | null;
|
|
3148
3188
|
hwidDeviceLimit: number | null;
|
|
@@ -3185,6 +3225,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3185
3225
|
data: {
|
|
3186
3226
|
user: {
|
|
3187
3227
|
uuid: string;
|
|
3228
|
+
expireAt: string;
|
|
3188
3229
|
createdAt: string;
|
|
3189
3230
|
updatedAt: string;
|
|
3190
3231
|
description: string | null;
|
|
@@ -3192,7 +3233,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3192
3233
|
tag: string | null;
|
|
3193
3234
|
id: number;
|
|
3194
3235
|
shortUuid: string;
|
|
3195
|
-
expireAt: string;
|
|
3196
3236
|
telegramId: number | null;
|
|
3197
3237
|
email: string | null;
|
|
3198
3238
|
hwidDeviceLimit: number | null;
|
|
@@ -3326,16 +3366,16 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3326
3366
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
3327
3367
|
}, "strip", z.ZodTypeAny, {
|
|
3328
3368
|
uuid: string;
|
|
3369
|
+
name: string;
|
|
3329
3370
|
createdAt: Date;
|
|
3330
3371
|
updatedAt: Date;
|
|
3331
|
-
name: string;
|
|
3332
3372
|
faviconLink: string | null;
|
|
3333
3373
|
loginUrl: string | null;
|
|
3334
3374
|
}, {
|
|
3335
3375
|
uuid: string;
|
|
3376
|
+
name: string;
|
|
3336
3377
|
createdAt: string;
|
|
3337
3378
|
updatedAt: string;
|
|
3338
|
-
name: string;
|
|
3339
3379
|
faviconLink: string | null;
|
|
3340
3380
|
loginUrl: string | null;
|
|
3341
3381
|
}>>;
|
|
@@ -3520,18 +3560,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3520
3560
|
};
|
|
3521
3561
|
} | null;
|
|
3522
3562
|
uuid: string;
|
|
3563
|
+
name: string;
|
|
3523
3564
|
createdAt: Date;
|
|
3524
3565
|
updatedAt: Date;
|
|
3525
3566
|
provider: {
|
|
3526
3567
|
uuid: string;
|
|
3568
|
+
name: string;
|
|
3527
3569
|
createdAt: Date;
|
|
3528
3570
|
updatedAt: Date;
|
|
3529
|
-
name: string;
|
|
3530
3571
|
faviconLink: string | null;
|
|
3531
3572
|
loginUrl: string | null;
|
|
3532
3573
|
} | null;
|
|
3533
3574
|
countryCode: string;
|
|
3534
|
-
name: string;
|
|
3535
3575
|
port: number | null;
|
|
3536
3576
|
viewPosition: number;
|
|
3537
3577
|
trafficLimitBytes: number | null;
|
|
@@ -3600,18 +3640,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3600
3640
|
};
|
|
3601
3641
|
} | null;
|
|
3602
3642
|
uuid: string;
|
|
3643
|
+
name: string;
|
|
3603
3644
|
createdAt: string;
|
|
3604
3645
|
updatedAt: string;
|
|
3605
3646
|
provider: {
|
|
3606
3647
|
uuid: string;
|
|
3648
|
+
name: string;
|
|
3607
3649
|
createdAt: string;
|
|
3608
3650
|
updatedAt: string;
|
|
3609
|
-
name: string;
|
|
3610
3651
|
faviconLink: string | null;
|
|
3611
3652
|
loginUrl: string | null;
|
|
3612
3653
|
} | null;
|
|
3613
3654
|
countryCode: string;
|
|
3614
|
-
name: string;
|
|
3615
3655
|
port: number | null;
|
|
3616
3656
|
viewPosition: number;
|
|
3617
3657
|
trafficLimitBytes: number | null;
|
|
@@ -3682,18 +3722,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3682
3722
|
};
|
|
3683
3723
|
} | null;
|
|
3684
3724
|
uuid: string;
|
|
3725
|
+
name: string;
|
|
3685
3726
|
createdAt: Date;
|
|
3686
3727
|
updatedAt: Date;
|
|
3687
3728
|
provider: {
|
|
3688
3729
|
uuid: string;
|
|
3730
|
+
name: string;
|
|
3689
3731
|
createdAt: Date;
|
|
3690
3732
|
updatedAt: Date;
|
|
3691
|
-
name: string;
|
|
3692
3733
|
faviconLink: string | null;
|
|
3693
3734
|
loginUrl: string | null;
|
|
3694
3735
|
} | null;
|
|
3695
3736
|
countryCode: string;
|
|
3696
|
-
name: string;
|
|
3697
3737
|
port: number | null;
|
|
3698
3738
|
viewPosition: number;
|
|
3699
3739
|
trafficLimitBytes: number | null;
|
|
@@ -3767,18 +3807,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3767
3807
|
};
|
|
3768
3808
|
} | null;
|
|
3769
3809
|
uuid: string;
|
|
3810
|
+
name: string;
|
|
3770
3811
|
createdAt: string;
|
|
3771
3812
|
updatedAt: string;
|
|
3772
3813
|
provider: {
|
|
3773
3814
|
uuid: string;
|
|
3815
|
+
name: string;
|
|
3774
3816
|
createdAt: string;
|
|
3775
3817
|
updatedAt: string;
|
|
3776
|
-
name: string;
|
|
3777
3818
|
faviconLink: string | null;
|
|
3778
3819
|
loginUrl: string | null;
|
|
3779
3820
|
} | null;
|
|
3780
3821
|
countryCode: string;
|
|
3781
|
-
name: string;
|
|
3782
3822
|
port: number | null;
|
|
3783
3823
|
viewPosition: number;
|
|
3784
3824
|
trafficLimitBytes: number | null;
|
|
@@ -3823,7 +3863,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3823
3863
|
timestamp: string;
|
|
3824
3864
|
}>, z.ZodObject<{
|
|
3825
3865
|
scope: z.ZodLiteral<"service">;
|
|
3826
|
-
event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed")[]]>;
|
|
3866
|
+
event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted")[]]>;
|
|
3827
3867
|
timestamp: z.ZodEffects<z.ZodString, Date, string>;
|
|
3828
3868
|
data: z.ZodObject<{
|
|
3829
3869
|
loginAttempt: z.ZodOptional<z.ZodObject<{
|
|
@@ -3856,6 +3896,22 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3856
3896
|
uuid: string;
|
|
3857
3897
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
3858
3898
|
}>>;
|
|
3899
|
+
apiToken: z.ZodOptional<z.ZodObject<{
|
|
3900
|
+
name: z.ZodString;
|
|
3901
|
+
uuid: z.ZodString;
|
|
3902
|
+
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
3903
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
3904
|
+
}, "strip", z.ZodTypeAny, {
|
|
3905
|
+
scopes: string[];
|
|
3906
|
+
uuid: string;
|
|
3907
|
+
name: string;
|
|
3908
|
+
expireAt: Date;
|
|
3909
|
+
}, {
|
|
3910
|
+
scopes: string[];
|
|
3911
|
+
uuid: string;
|
|
3912
|
+
name: string;
|
|
3913
|
+
expireAt: string;
|
|
3914
|
+
}>>;
|
|
3859
3915
|
}, "strip", z.ZodTypeAny, {
|
|
3860
3916
|
loginAttempt?: {
|
|
3861
3917
|
username: string;
|
|
@@ -3869,6 +3925,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3869
3925
|
uuid: string;
|
|
3870
3926
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
3871
3927
|
} | undefined;
|
|
3928
|
+
apiToken?: {
|
|
3929
|
+
scopes: string[];
|
|
3930
|
+
uuid: string;
|
|
3931
|
+
name: string;
|
|
3932
|
+
expireAt: Date;
|
|
3933
|
+
} | undefined;
|
|
3872
3934
|
}, {
|
|
3873
3935
|
loginAttempt?: {
|
|
3874
3936
|
username: string;
|
|
@@ -3882,6 +3944,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3882
3944
|
uuid: string;
|
|
3883
3945
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
3884
3946
|
} | undefined;
|
|
3947
|
+
apiToken?: {
|
|
3948
|
+
scopes: string[];
|
|
3949
|
+
uuid: string;
|
|
3950
|
+
name: string;
|
|
3951
|
+
expireAt: string;
|
|
3952
|
+
} | undefined;
|
|
3885
3953
|
}>;
|
|
3886
3954
|
}, "strip", z.ZodTypeAny, {
|
|
3887
3955
|
data: {
|
|
@@ -3897,9 +3965,15 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3897
3965
|
uuid: string;
|
|
3898
3966
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
3899
3967
|
} | undefined;
|
|
3968
|
+
apiToken?: {
|
|
3969
|
+
scopes: string[];
|
|
3970
|
+
uuid: string;
|
|
3971
|
+
name: string;
|
|
3972
|
+
expireAt: Date;
|
|
3973
|
+
} | undefined;
|
|
3900
3974
|
};
|
|
3901
3975
|
scope: "service";
|
|
3902
|
-
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed";
|
|
3976
|
+
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted";
|
|
3903
3977
|
timestamp: Date;
|
|
3904
3978
|
}, {
|
|
3905
3979
|
data: {
|
|
@@ -3915,9 +3989,15 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3915
3989
|
uuid: string;
|
|
3916
3990
|
action: "CREATED" | "UPDATED" | "DELETED";
|
|
3917
3991
|
} | undefined;
|
|
3992
|
+
apiToken?: {
|
|
3993
|
+
scopes: string[];
|
|
3994
|
+
uuid: string;
|
|
3995
|
+
name: string;
|
|
3996
|
+
expireAt: string;
|
|
3997
|
+
} | undefined;
|
|
3918
3998
|
};
|
|
3919
3999
|
scope: "service";
|
|
3920
|
-
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed";
|
|
4000
|
+
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted";
|
|
3921
4001
|
timestamp: string;
|
|
3922
4002
|
}>, z.ZodObject<{
|
|
3923
4003
|
scope: z.ZodLiteral<"errors">;
|
|
@@ -4077,16 +4157,16 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4077
4157
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
4078
4158
|
}, "strip", z.ZodTypeAny, {
|
|
4079
4159
|
uuid: string;
|
|
4160
|
+
name: string;
|
|
4080
4161
|
createdAt: Date;
|
|
4081
4162
|
updatedAt: Date;
|
|
4082
|
-
name: string;
|
|
4083
4163
|
faviconLink: string | null;
|
|
4084
4164
|
loginUrl: string | null;
|
|
4085
4165
|
}, {
|
|
4086
4166
|
uuid: string;
|
|
4167
|
+
name: string;
|
|
4087
4168
|
createdAt: string;
|
|
4088
4169
|
updatedAt: string;
|
|
4089
|
-
name: string;
|
|
4090
4170
|
faviconLink: string | null;
|
|
4091
4171
|
loginUrl: string | null;
|
|
4092
4172
|
}>>;
|
|
@@ -4271,18 +4351,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4271
4351
|
};
|
|
4272
4352
|
} | null;
|
|
4273
4353
|
uuid: string;
|
|
4354
|
+
name: string;
|
|
4274
4355
|
createdAt: Date;
|
|
4275
4356
|
updatedAt: Date;
|
|
4276
4357
|
provider: {
|
|
4277
4358
|
uuid: string;
|
|
4359
|
+
name: string;
|
|
4278
4360
|
createdAt: Date;
|
|
4279
4361
|
updatedAt: Date;
|
|
4280
|
-
name: string;
|
|
4281
4362
|
faviconLink: string | null;
|
|
4282
4363
|
loginUrl: string | null;
|
|
4283
4364
|
} | null;
|
|
4284
4365
|
countryCode: string;
|
|
4285
|
-
name: string;
|
|
4286
4366
|
port: number | null;
|
|
4287
4367
|
viewPosition: number;
|
|
4288
4368
|
trafficLimitBytes: number | null;
|
|
@@ -4351,18 +4431,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4351
4431
|
};
|
|
4352
4432
|
} | null;
|
|
4353
4433
|
uuid: string;
|
|
4434
|
+
name: string;
|
|
4354
4435
|
createdAt: string;
|
|
4355
4436
|
updatedAt: string;
|
|
4356
4437
|
provider: {
|
|
4357
4438
|
uuid: string;
|
|
4439
|
+
name: string;
|
|
4358
4440
|
createdAt: string;
|
|
4359
4441
|
updatedAt: string;
|
|
4360
|
-
name: string;
|
|
4361
4442
|
faviconLink: string | null;
|
|
4362
4443
|
loginUrl: string | null;
|
|
4363
4444
|
} | null;
|
|
4364
4445
|
countryCode: string;
|
|
4365
|
-
name: string;
|
|
4366
4446
|
port: number | null;
|
|
4367
4447
|
viewPosition: number;
|
|
4368
4448
|
trafficLimitBytes: number | null;
|
|
@@ -4470,6 +4550,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4470
4550
|
}, "strip", z.ZodTypeAny, {
|
|
4471
4551
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
4472
4552
|
uuid: string;
|
|
4553
|
+
expireAt: Date;
|
|
4473
4554
|
createdAt: Date;
|
|
4474
4555
|
updatedAt: Date;
|
|
4475
4556
|
description: string | null;
|
|
@@ -4479,7 +4560,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4479
4560
|
shortUuid: string;
|
|
4480
4561
|
trafficLimitBytes: number;
|
|
4481
4562
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
4482
|
-
expireAt: Date;
|
|
4483
4563
|
telegramId: number | null;
|
|
4484
4564
|
email: string | null;
|
|
4485
4565
|
hwidDeviceLimit: number | null;
|
|
@@ -4504,6 +4584,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4504
4584
|
};
|
|
4505
4585
|
}, {
|
|
4506
4586
|
uuid: string;
|
|
4587
|
+
expireAt: string;
|
|
4507
4588
|
createdAt: string;
|
|
4508
4589
|
updatedAt: string;
|
|
4509
4590
|
description: string | null;
|
|
@@ -4511,7 +4592,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4511
4592
|
tag: string | null;
|
|
4512
4593
|
id: number;
|
|
4513
4594
|
shortUuid: string;
|
|
4514
|
-
expireAt: string;
|
|
4515
4595
|
telegramId: number | null;
|
|
4516
4596
|
email: string | null;
|
|
4517
4597
|
hwidDeviceLimit: number | null;
|
|
@@ -4657,6 +4737,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4657
4737
|
user: {
|
|
4658
4738
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
4659
4739
|
uuid: string;
|
|
4740
|
+
expireAt: Date;
|
|
4660
4741
|
createdAt: Date;
|
|
4661
4742
|
updatedAt: Date;
|
|
4662
4743
|
description: string | null;
|
|
@@ -4666,7 +4747,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4666
4747
|
shortUuid: string;
|
|
4667
4748
|
trafficLimitBytes: number;
|
|
4668
4749
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
4669
|
-
expireAt: Date;
|
|
4670
4750
|
telegramId: number | null;
|
|
4671
4751
|
email: string | null;
|
|
4672
4752
|
hwidDeviceLimit: number | null;
|
|
@@ -4720,18 +4800,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4720
4800
|
};
|
|
4721
4801
|
} | null;
|
|
4722
4802
|
uuid: string;
|
|
4803
|
+
name: string;
|
|
4723
4804
|
createdAt: Date;
|
|
4724
4805
|
updatedAt: Date;
|
|
4725
4806
|
provider: {
|
|
4726
4807
|
uuid: string;
|
|
4808
|
+
name: string;
|
|
4727
4809
|
createdAt: Date;
|
|
4728
4810
|
updatedAt: Date;
|
|
4729
|
-
name: string;
|
|
4730
4811
|
faviconLink: string | null;
|
|
4731
4812
|
loginUrl: string | null;
|
|
4732
4813
|
} | null;
|
|
4733
4814
|
countryCode: string;
|
|
4734
|
-
name: string;
|
|
4735
4815
|
port: number | null;
|
|
4736
4816
|
viewPosition: number;
|
|
4737
4817
|
trafficLimitBytes: number | null;
|
|
@@ -4799,6 +4879,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4799
4879
|
}, {
|
|
4800
4880
|
user: {
|
|
4801
4881
|
uuid: string;
|
|
4882
|
+
expireAt: string;
|
|
4802
4883
|
createdAt: string;
|
|
4803
4884
|
updatedAt: string;
|
|
4804
4885
|
description: string | null;
|
|
@@ -4806,7 +4887,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4806
4887
|
tag: string | null;
|
|
4807
4888
|
id: number;
|
|
4808
4889
|
shortUuid: string;
|
|
4809
|
-
expireAt: string;
|
|
4810
4890
|
telegramId: number | null;
|
|
4811
4891
|
email: string | null;
|
|
4812
4892
|
hwidDeviceLimit: number | null;
|
|
@@ -4863,18 +4943,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4863
4943
|
};
|
|
4864
4944
|
} | null;
|
|
4865
4945
|
uuid: string;
|
|
4946
|
+
name: string;
|
|
4866
4947
|
createdAt: string;
|
|
4867
4948
|
updatedAt: string;
|
|
4868
4949
|
provider: {
|
|
4869
4950
|
uuid: string;
|
|
4951
|
+
name: string;
|
|
4870
4952
|
createdAt: string;
|
|
4871
4953
|
updatedAt: string;
|
|
4872
|
-
name: string;
|
|
4873
4954
|
faviconLink: string | null;
|
|
4874
4955
|
loginUrl: string | null;
|
|
4875
4956
|
} | null;
|
|
4876
4957
|
countryCode: string;
|
|
4877
|
-
name: string;
|
|
4878
4958
|
port: number | null;
|
|
4879
4959
|
viewPosition: number;
|
|
4880
4960
|
trafficLimitBytes: number | null;
|
|
@@ -4945,6 +5025,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4945
5025
|
user: {
|
|
4946
5026
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
4947
5027
|
uuid: string;
|
|
5028
|
+
expireAt: Date;
|
|
4948
5029
|
createdAt: Date;
|
|
4949
5030
|
updatedAt: Date;
|
|
4950
5031
|
description: string | null;
|
|
@@ -4954,7 +5035,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
4954
5035
|
shortUuid: string;
|
|
4955
5036
|
trafficLimitBytes: number;
|
|
4956
5037
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
4957
|
-
expireAt: Date;
|
|
4958
5038
|
telegramId: number | null;
|
|
4959
5039
|
email: string | null;
|
|
4960
5040
|
hwidDeviceLimit: number | null;
|
|
@@ -5008,18 +5088,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
5008
5088
|
};
|
|
5009
5089
|
} | null;
|
|
5010
5090
|
uuid: string;
|
|
5091
|
+
name: string;
|
|
5011
5092
|
createdAt: Date;
|
|
5012
5093
|
updatedAt: Date;
|
|
5013
5094
|
provider: {
|
|
5014
5095
|
uuid: string;
|
|
5096
|
+
name: string;
|
|
5015
5097
|
createdAt: Date;
|
|
5016
5098
|
updatedAt: Date;
|
|
5017
|
-
name: string;
|
|
5018
5099
|
faviconLink: string | null;
|
|
5019
5100
|
loginUrl: string | null;
|
|
5020
5101
|
} | null;
|
|
5021
5102
|
countryCode: string;
|
|
5022
|
-
name: string;
|
|
5023
5103
|
port: number | null;
|
|
5024
5104
|
viewPosition: number;
|
|
5025
5105
|
trafficLimitBytes: number | null;
|
|
@@ -5092,6 +5172,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
5092
5172
|
data: {
|
|
5093
5173
|
user: {
|
|
5094
5174
|
uuid: string;
|
|
5175
|
+
expireAt: string;
|
|
5095
5176
|
createdAt: string;
|
|
5096
5177
|
updatedAt: string;
|
|
5097
5178
|
description: string | null;
|
|
@@ -5099,7 +5180,6 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
5099
5180
|
tag: string | null;
|
|
5100
5181
|
id: number;
|
|
5101
5182
|
shortUuid: string;
|
|
5102
|
-
expireAt: string;
|
|
5103
5183
|
telegramId: number | null;
|
|
5104
5184
|
email: string | null;
|
|
5105
5185
|
hwidDeviceLimit: number | null;
|
|
@@ -5156,18 +5236,18 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
5156
5236
|
};
|
|
5157
5237
|
} | null;
|
|
5158
5238
|
uuid: string;
|
|
5239
|
+
name: string;
|
|
5159
5240
|
createdAt: string;
|
|
5160
5241
|
updatedAt: string;
|
|
5161
5242
|
provider: {
|
|
5162
5243
|
uuid: string;
|
|
5244
|
+
name: string;
|
|
5163
5245
|
createdAt: string;
|
|
5164
5246
|
updatedAt: string;
|
|
5165
|
-
name: string;
|
|
5166
5247
|
faviconLink: string | null;
|
|
5167
5248
|
loginUrl: string | null;
|
|
5168
5249
|
} | null;
|
|
5169
5250
|
countryCode: string;
|
|
5170
|
-
name: string;
|
|
5171
5251
|
port: number | null;
|
|
5172
5252
|
viewPosition: number;
|
|
5173
5253
|
trafficLimitBytes: number | null;
|