@remnawave/backend-contract 2.8.29 → 2.8.30
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 +86 -86
- 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/package.json +1 -1
|
@@ -22,27 +22,27 @@ export declare namespace UpdatePasskeyCommand {
|
|
|
22
22
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
23
23
|
lastUsedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
createdAt: Date;
|
|
26
25
|
name: string;
|
|
26
|
+
createdAt: Date;
|
|
27
27
|
id: string;
|
|
28
28
|
lastUsedAt: Date;
|
|
29
29
|
}, {
|
|
30
|
-
createdAt: string;
|
|
31
30
|
name: string;
|
|
31
|
+
createdAt: string;
|
|
32
32
|
id: string;
|
|
33
33
|
lastUsedAt: string;
|
|
34
34
|
}>, "many">;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
passkeys: {
|
|
37
|
-
createdAt: Date;
|
|
38
37
|
name: string;
|
|
38
|
+
createdAt: Date;
|
|
39
39
|
id: string;
|
|
40
40
|
lastUsedAt: Date;
|
|
41
41
|
}[];
|
|
42
42
|
}, {
|
|
43
43
|
passkeys: {
|
|
44
|
-
createdAt: string;
|
|
45
44
|
name: string;
|
|
45
|
+
createdAt: string;
|
|
46
46
|
id: string;
|
|
47
47
|
lastUsedAt: string;
|
|
48
48
|
}[];
|
|
@@ -50,8 +50,8 @@ export declare namespace UpdatePasskeyCommand {
|
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
response: {
|
|
52
52
|
passkeys: {
|
|
53
|
-
createdAt: Date;
|
|
54
53
|
name: string;
|
|
54
|
+
createdAt: Date;
|
|
55
55
|
id: string;
|
|
56
56
|
lastUsedAt: Date;
|
|
57
57
|
}[];
|
|
@@ -59,8 +59,8 @@ export declare namespace UpdatePasskeyCommand {
|
|
|
59
59
|
}, {
|
|
60
60
|
response: {
|
|
61
61
|
passkeys: {
|
|
62
|
-
createdAt: string;
|
|
63
62
|
name: string;
|
|
63
|
+
createdAt: string;
|
|
64
64
|
id: string;
|
|
65
65
|
lastUsedAt: string;
|
|
66
66
|
}[];
|
|
@@ -156,8 +156,8 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
156
156
|
} | undefined;
|
|
157
157
|
}>>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
enabled: boolean;
|
|
160
159
|
name: string;
|
|
160
|
+
enabled: boolean;
|
|
161
161
|
operator: "AND" | "OR";
|
|
162
162
|
conditions: {
|
|
163
163
|
value: string;
|
|
@@ -184,8 +184,8 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
184
184
|
} | undefined;
|
|
185
185
|
} | undefined;
|
|
186
186
|
}, {
|
|
187
|
-
enabled: boolean;
|
|
188
187
|
name: string;
|
|
188
|
+
enabled: boolean;
|
|
189
189
|
operator: "AND" | "OR";
|
|
190
190
|
conditions: {
|
|
191
191
|
value: string;
|
|
@@ -215,8 +215,8 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
215
215
|
}, "strip", z.ZodTypeAny, {
|
|
216
216
|
version: "1";
|
|
217
217
|
rules: {
|
|
218
|
-
enabled: boolean;
|
|
219
218
|
name: string;
|
|
219
|
+
enabled: boolean;
|
|
220
220
|
operator: "AND" | "OR";
|
|
221
221
|
conditions: {
|
|
222
222
|
value: string;
|
|
@@ -249,8 +249,8 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
249
249
|
}, {
|
|
250
250
|
version: "1";
|
|
251
251
|
rules: {
|
|
252
|
-
enabled: boolean;
|
|
253
252
|
name: string;
|
|
253
|
+
enabled: boolean;
|
|
254
254
|
operator: "AND" | "OR";
|
|
255
255
|
conditions: {
|
|
256
256
|
value: string;
|
|
@@ -321,8 +321,8 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
321
321
|
responseRules: {
|
|
322
322
|
version: "1";
|
|
323
323
|
rules: {
|
|
324
|
-
enabled: boolean;
|
|
325
324
|
name: string;
|
|
325
|
+
enabled: boolean;
|
|
326
326
|
operator: "AND" | "OR";
|
|
327
327
|
conditions: {
|
|
328
328
|
value: string;
|
|
@@ -383,8 +383,8 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
383
383
|
responseRules: {
|
|
384
384
|
version: "1";
|
|
385
385
|
rules: {
|
|
386
|
-
enabled: boolean;
|
|
387
386
|
name: string;
|
|
387
|
+
enabled: boolean;
|
|
388
388
|
operator: "AND" | "OR";
|
|
389
389
|
conditions: {
|
|
390
390
|
value: string;
|
|
@@ -447,8 +447,8 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
447
447
|
responseRules: {
|
|
448
448
|
version: "1";
|
|
449
449
|
rules: {
|
|
450
|
-
enabled: boolean;
|
|
451
450
|
name: string;
|
|
451
|
+
enabled: boolean;
|
|
452
452
|
operator: "AND" | "OR";
|
|
453
453
|
conditions: {
|
|
454
454
|
value: string;
|
|
@@ -511,8 +511,8 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
511
511
|
responseRules: {
|
|
512
512
|
version: "1";
|
|
513
513
|
rules: {
|
|
514
|
-
enabled: boolean;
|
|
515
514
|
name: string;
|
|
515
|
+
enabled: boolean;
|
|
516
516
|
operator: "AND" | "OR";
|
|
517
517
|
conditions: {
|
|
518
518
|
value: string;
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts
CHANGED
|
@@ -155,8 +155,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
155
155
|
} | undefined;
|
|
156
156
|
}>>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
enabled: boolean;
|
|
159
158
|
name: string;
|
|
159
|
+
enabled: boolean;
|
|
160
160
|
operator: "AND" | "OR";
|
|
161
161
|
conditions: {
|
|
162
162
|
value: string;
|
|
@@ -183,8 +183,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
183
183
|
} | undefined;
|
|
184
184
|
} | undefined;
|
|
185
185
|
}, {
|
|
186
|
-
enabled: boolean;
|
|
187
186
|
name: string;
|
|
187
|
+
enabled: boolean;
|
|
188
188
|
operator: "AND" | "OR";
|
|
189
189
|
conditions: {
|
|
190
190
|
value: string;
|
|
@@ -214,8 +214,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
version: "1";
|
|
216
216
|
rules: {
|
|
217
|
-
enabled: boolean;
|
|
218
217
|
name: string;
|
|
218
|
+
enabled: boolean;
|
|
219
219
|
operator: "AND" | "OR";
|
|
220
220
|
conditions: {
|
|
221
221
|
value: string;
|
|
@@ -248,8 +248,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
248
248
|
}, {
|
|
249
249
|
version: "1";
|
|
250
250
|
rules: {
|
|
251
|
-
enabled: boolean;
|
|
252
251
|
name: string;
|
|
252
|
+
enabled: boolean;
|
|
253
253
|
operator: "AND" | "OR";
|
|
254
254
|
conditions: {
|
|
255
255
|
value: string;
|
|
@@ -316,8 +316,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
316
316
|
responseRules?: {
|
|
317
317
|
version: "1";
|
|
318
318
|
rules: {
|
|
319
|
-
enabled: boolean;
|
|
320
319
|
name: string;
|
|
320
|
+
enabled: boolean;
|
|
321
321
|
operator: "AND" | "OR";
|
|
322
322
|
conditions: {
|
|
323
323
|
value: string;
|
|
@@ -376,8 +376,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
376
376
|
responseRules?: {
|
|
377
377
|
version: "1";
|
|
378
378
|
rules: {
|
|
379
|
-
enabled: boolean;
|
|
380
379
|
name: string;
|
|
380
|
+
enabled: boolean;
|
|
381
381
|
operator: "AND" | "OR";
|
|
382
382
|
conditions: {
|
|
383
383
|
value: string;
|
|
@@ -568,8 +568,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
568
568
|
} | undefined;
|
|
569
569
|
}>>;
|
|
570
570
|
}, "strip", z.ZodTypeAny, {
|
|
571
|
-
enabled: boolean;
|
|
572
571
|
name: string;
|
|
572
|
+
enabled: boolean;
|
|
573
573
|
operator: "AND" | "OR";
|
|
574
574
|
conditions: {
|
|
575
575
|
value: string;
|
|
@@ -596,8 +596,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
596
596
|
} | undefined;
|
|
597
597
|
} | undefined;
|
|
598
598
|
}, {
|
|
599
|
-
enabled: boolean;
|
|
600
599
|
name: string;
|
|
600
|
+
enabled: boolean;
|
|
601
601
|
operator: "AND" | "OR";
|
|
602
602
|
conditions: {
|
|
603
603
|
value: string;
|
|
@@ -627,8 +627,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
627
627
|
}, "strip", z.ZodTypeAny, {
|
|
628
628
|
version: "1";
|
|
629
629
|
rules: {
|
|
630
|
-
enabled: boolean;
|
|
631
630
|
name: string;
|
|
631
|
+
enabled: boolean;
|
|
632
632
|
operator: "AND" | "OR";
|
|
633
633
|
conditions: {
|
|
634
634
|
value: string;
|
|
@@ -661,8 +661,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
661
661
|
}, {
|
|
662
662
|
version: "1";
|
|
663
663
|
rules: {
|
|
664
|
-
enabled: boolean;
|
|
665
664
|
name: string;
|
|
665
|
+
enabled: boolean;
|
|
666
666
|
operator: "AND" | "OR";
|
|
667
667
|
conditions: {
|
|
668
668
|
value: string;
|
|
@@ -733,8 +733,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
733
733
|
responseRules: {
|
|
734
734
|
version: "1";
|
|
735
735
|
rules: {
|
|
736
|
-
enabled: boolean;
|
|
737
736
|
name: string;
|
|
737
|
+
enabled: boolean;
|
|
738
738
|
operator: "AND" | "OR";
|
|
739
739
|
conditions: {
|
|
740
740
|
value: string;
|
|
@@ -795,8 +795,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
795
795
|
responseRules: {
|
|
796
796
|
version: "1";
|
|
797
797
|
rules: {
|
|
798
|
-
enabled: boolean;
|
|
799
798
|
name: string;
|
|
799
|
+
enabled: boolean;
|
|
800
800
|
operator: "AND" | "OR";
|
|
801
801
|
conditions: {
|
|
802
802
|
value: string;
|
|
@@ -859,8 +859,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
859
859
|
responseRules: {
|
|
860
860
|
version: "1";
|
|
861
861
|
rules: {
|
|
862
|
-
enabled: boolean;
|
|
863
862
|
name: string;
|
|
863
|
+
enabled: boolean;
|
|
864
864
|
operator: "AND" | "OR";
|
|
865
865
|
conditions: {
|
|
866
866
|
value: string;
|
|
@@ -923,8 +923,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
923
923
|
responseRules: {
|
|
924
924
|
version: "1";
|
|
925
925
|
rules: {
|
|
926
|
-
enabled: boolean;
|
|
927
926
|
name: string;
|
|
927
|
+
enabled: boolean;
|
|
928
928
|
operator: "AND" | "OR";
|
|
929
929
|
conditions: {
|
|
930
930
|
value: string;
|
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
91
91
|
uuid: string;
|
|
92
|
+
expireAt: Date;
|
|
92
93
|
createdAt: Date;
|
|
93
94
|
updatedAt: Date;
|
|
94
95
|
description: string | null;
|
|
@@ -98,7 +99,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
98
99
|
shortUuid: string;
|
|
99
100
|
trafficLimitBytes: number;
|
|
100
101
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
101
|
-
expireAt: Date;
|
|
102
102
|
telegramId: number | null;
|
|
103
103
|
email: string | null;
|
|
104
104
|
hwidDeviceLimit: number | null;
|
|
@@ -123,6 +123,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
123
123
|
};
|
|
124
124
|
}, {
|
|
125
125
|
uuid: string;
|
|
126
|
+
expireAt: string;
|
|
126
127
|
createdAt: string;
|
|
127
128
|
updatedAt: string;
|
|
128
129
|
description: string | null;
|
|
@@ -130,7 +131,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
130
131
|
tag: string | null;
|
|
131
132
|
id: number;
|
|
132
133
|
shortUuid: string;
|
|
133
|
-
expireAt: string;
|
|
134
134
|
telegramId: number | null;
|
|
135
135
|
email: string | null;
|
|
136
136
|
hwidDeviceLimit: number | null;
|
|
@@ -784,6 +784,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
784
784
|
user: {
|
|
785
785
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
786
786
|
uuid: string;
|
|
787
|
+
expireAt: Date;
|
|
787
788
|
createdAt: Date;
|
|
788
789
|
updatedAt: Date;
|
|
789
790
|
description: string | null;
|
|
@@ -793,7 +794,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
793
794
|
shortUuid: string;
|
|
794
795
|
trafficLimitBytes: number;
|
|
795
796
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
796
|
-
expireAt: Date;
|
|
797
797
|
telegramId: number | null;
|
|
798
798
|
email: string | null;
|
|
799
799
|
hwidDeviceLimit: number | null;
|
|
@@ -942,6 +942,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
942
942
|
}, {
|
|
943
943
|
user: {
|
|
944
944
|
uuid: string;
|
|
945
|
+
expireAt: string;
|
|
945
946
|
createdAt: string;
|
|
946
947
|
updatedAt: string;
|
|
947
948
|
description: string | null;
|
|
@@ -949,7 +950,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
949
950
|
tag: string | null;
|
|
950
951
|
id: number;
|
|
951
952
|
shortUuid: string;
|
|
952
|
-
expireAt: string;
|
|
953
953
|
telegramId: number | null;
|
|
954
954
|
email: string | null;
|
|
955
955
|
hwidDeviceLimit: number | null;
|
|
@@ -1104,6 +1104,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1104
1104
|
user: {
|
|
1105
1105
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
1106
1106
|
uuid: string;
|
|
1107
|
+
expireAt: Date;
|
|
1107
1108
|
createdAt: Date;
|
|
1108
1109
|
updatedAt: Date;
|
|
1109
1110
|
description: string | null;
|
|
@@ -1113,7 +1114,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1113
1114
|
shortUuid: string;
|
|
1114
1115
|
trafficLimitBytes: number;
|
|
1115
1116
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
1116
|
-
expireAt: Date;
|
|
1117
1117
|
telegramId: number | null;
|
|
1118
1118
|
email: string | null;
|
|
1119
1119
|
hwidDeviceLimit: number | null;
|
|
@@ -1264,6 +1264,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1264
1264
|
response: {
|
|
1265
1265
|
user: {
|
|
1266
1266
|
uuid: string;
|
|
1267
|
+
expireAt: string;
|
|
1267
1268
|
createdAt: string;
|
|
1268
1269
|
updatedAt: string;
|
|
1269
1270
|
description: string | null;
|
|
@@ -1271,7 +1272,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1271
1272
|
tag: string | null;
|
|
1272
1273
|
id: number;
|
|
1273
1274
|
shortUuid: string;
|
|
1274
|
-
expireAt: string;
|
|
1275
1275
|
telegramId: number | null;
|
|
1276
1276
|
email: string | null;
|
|
1277
1277
|
hwidDeviceLimit: number | null;
|
|
@@ -122,8 +122,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
122
122
|
} | undefined;
|
|
123
123
|
}>>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
enabled: boolean;
|
|
126
125
|
name: string;
|
|
126
|
+
enabled: boolean;
|
|
127
127
|
operator: "AND" | "OR";
|
|
128
128
|
conditions: {
|
|
129
129
|
value: string;
|
|
@@ -150,8 +150,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
150
150
|
} | undefined;
|
|
151
151
|
} | undefined;
|
|
152
152
|
}, {
|
|
153
|
-
enabled: boolean;
|
|
154
153
|
name: string;
|
|
154
|
+
enabled: boolean;
|
|
155
155
|
operator: "AND" | "OR";
|
|
156
156
|
conditions: {
|
|
157
157
|
value: string;
|
|
@@ -181,8 +181,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
182
|
version: "1";
|
|
183
183
|
rules: {
|
|
184
|
-
enabled: boolean;
|
|
185
184
|
name: string;
|
|
185
|
+
enabled: boolean;
|
|
186
186
|
operator: "AND" | "OR";
|
|
187
187
|
conditions: {
|
|
188
188
|
value: string;
|
|
@@ -215,8 +215,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
215
215
|
}, {
|
|
216
216
|
version: "1";
|
|
217
217
|
rules: {
|
|
218
|
-
enabled: boolean;
|
|
219
218
|
name: string;
|
|
219
|
+
enabled: boolean;
|
|
220
220
|
operator: "AND" | "OR";
|
|
221
221
|
conditions: {
|
|
222
222
|
value: string;
|
|
@@ -251,8 +251,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
251
251
|
responseRules: {
|
|
252
252
|
version: "1";
|
|
253
253
|
rules: {
|
|
254
|
-
enabled: boolean;
|
|
255
254
|
name: string;
|
|
255
|
+
enabled: boolean;
|
|
256
256
|
operator: "AND" | "OR";
|
|
257
257
|
conditions: {
|
|
258
258
|
value: string;
|
|
@@ -287,8 +287,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
287
287
|
responseRules: {
|
|
288
288
|
version: "1";
|
|
289
289
|
rules: {
|
|
290
|
-
enabled: boolean;
|
|
291
290
|
name: string;
|
|
291
|
+
enabled: boolean;
|
|
292
292
|
operator: "AND" | "OR";
|
|
293
293
|
conditions: {
|
|
294
294
|
value: string;
|
|
@@ -444,8 +444,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
444
444
|
} | undefined;
|
|
445
445
|
}>>;
|
|
446
446
|
}, "strip", z.ZodTypeAny, {
|
|
447
|
-
enabled: boolean;
|
|
448
447
|
name: string;
|
|
448
|
+
enabled: boolean;
|
|
449
449
|
operator: "AND" | "OR";
|
|
450
450
|
conditions: {
|
|
451
451
|
value: string;
|
|
@@ -472,8 +472,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
472
472
|
} | undefined;
|
|
473
473
|
} | undefined;
|
|
474
474
|
}, {
|
|
475
|
-
enabled: boolean;
|
|
476
475
|
name: string;
|
|
476
|
+
enabled: boolean;
|
|
477
477
|
operator: "AND" | "OR";
|
|
478
478
|
conditions: {
|
|
479
479
|
value: string;
|
|
@@ -506,8 +506,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
506
506
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
507
507
|
matched: boolean;
|
|
508
508
|
matchedRule: {
|
|
509
|
-
enabled: boolean;
|
|
510
509
|
name: string;
|
|
510
|
+
enabled: boolean;
|
|
511
511
|
operator: "AND" | "OR";
|
|
512
512
|
conditions: {
|
|
513
513
|
value: string;
|
|
@@ -540,8 +540,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
540
540
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
541
541
|
matched: boolean;
|
|
542
542
|
matchedRule: {
|
|
543
|
-
enabled: boolean;
|
|
544
543
|
name: string;
|
|
544
|
+
enabled: boolean;
|
|
545
545
|
operator: "AND" | "OR";
|
|
546
546
|
conditions: {
|
|
547
547
|
value: string;
|
|
@@ -576,8 +576,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
576
576
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
577
577
|
matched: boolean;
|
|
578
578
|
matchedRule: {
|
|
579
|
-
enabled: boolean;
|
|
580
579
|
name: string;
|
|
580
|
+
enabled: boolean;
|
|
581
581
|
operator: "AND" | "OR";
|
|
582
582
|
conditions: {
|
|
583
583
|
value: string;
|
|
@@ -612,8 +612,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
612
612
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
613
613
|
matched: boolean;
|
|
614
614
|
matchedRule: {
|
|
615
|
-
enabled: boolean;
|
|
616
615
|
name: string;
|
|
616
|
+
enabled: boolean;
|
|
617
617
|
operator: "AND" | "OR";
|
|
618
618
|
conditions: {
|
|
619
619
|
value: string;
|
|
@@ -80,6 +80,7 @@ export declare namespace DisableUserCommand {
|
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
82
82
|
uuid: string;
|
|
83
|
+
expireAt: Date;
|
|
83
84
|
createdAt: Date;
|
|
84
85
|
updatedAt: Date;
|
|
85
86
|
description: string | null;
|
|
@@ -89,7 +90,6 @@ export declare namespace DisableUserCommand {
|
|
|
89
90
|
shortUuid: string;
|
|
90
91
|
trafficLimitBytes: number;
|
|
91
92
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
92
|
-
expireAt: Date;
|
|
93
93
|
telegramId: number | null;
|
|
94
94
|
email: string | null;
|
|
95
95
|
hwidDeviceLimit: number | null;
|
|
@@ -114,6 +114,7 @@ export declare namespace DisableUserCommand {
|
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
116
116
|
uuid: string;
|
|
117
|
+
expireAt: string;
|
|
117
118
|
createdAt: string;
|
|
118
119
|
updatedAt: string;
|
|
119
120
|
description: string | null;
|
|
@@ -121,7 +122,6 @@ export declare namespace DisableUserCommand {
|
|
|
121
122
|
tag: string | null;
|
|
122
123
|
id: number;
|
|
123
124
|
shortUuid: string;
|
|
124
|
-
expireAt: string;
|
|
125
125
|
telegramId: number | null;
|
|
126
126
|
email: string | null;
|
|
127
127
|
hwidDeviceLimit: number | null;
|
|
@@ -152,6 +152,7 @@ export declare namespace DisableUserCommand {
|
|
|
152
152
|
response: {
|
|
153
153
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
154
154
|
uuid: string;
|
|
155
|
+
expireAt: Date;
|
|
155
156
|
createdAt: Date;
|
|
156
157
|
updatedAt: Date;
|
|
157
158
|
description: string | null;
|
|
@@ -161,7 +162,6 @@ export declare namespace DisableUserCommand {
|
|
|
161
162
|
shortUuid: string;
|
|
162
163
|
trafficLimitBytes: number;
|
|
163
164
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
164
|
-
expireAt: Date;
|
|
165
165
|
telegramId: number | null;
|
|
166
166
|
email: string | null;
|
|
167
167
|
hwidDeviceLimit: number | null;
|
|
@@ -188,6 +188,7 @@ export declare namespace DisableUserCommand {
|
|
|
188
188
|
}, {
|
|
189
189
|
response: {
|
|
190
190
|
uuid: string;
|
|
191
|
+
expireAt: string;
|
|
191
192
|
createdAt: string;
|
|
192
193
|
updatedAt: string;
|
|
193
194
|
description: string | null;
|
|
@@ -195,7 +196,6 @@ export declare namespace DisableUserCommand {
|
|
|
195
196
|
tag: string | null;
|
|
196
197
|
id: number;
|
|
197
198
|
shortUuid: string;
|
|
198
|
-
expireAt: string;
|
|
199
199
|
telegramId: number | null;
|
|
200
200
|
email: string | null;
|
|
201
201
|
hwidDeviceLimit: number | null;
|
|
@@ -80,6 +80,7 @@ export declare namespace EnableUserCommand {
|
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
82
82
|
uuid: string;
|
|
83
|
+
expireAt: Date;
|
|
83
84
|
createdAt: Date;
|
|
84
85
|
updatedAt: Date;
|
|
85
86
|
description: string | null;
|
|
@@ -89,7 +90,6 @@ export declare namespace EnableUserCommand {
|
|
|
89
90
|
shortUuid: string;
|
|
90
91
|
trafficLimitBytes: number;
|
|
91
92
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
92
|
-
expireAt: Date;
|
|
93
93
|
telegramId: number | null;
|
|
94
94
|
email: string | null;
|
|
95
95
|
hwidDeviceLimit: number | null;
|
|
@@ -114,6 +114,7 @@ export declare namespace EnableUserCommand {
|
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
116
116
|
uuid: string;
|
|
117
|
+
expireAt: string;
|
|
117
118
|
createdAt: string;
|
|
118
119
|
updatedAt: string;
|
|
119
120
|
description: string | null;
|
|
@@ -121,7 +122,6 @@ export declare namespace EnableUserCommand {
|
|
|
121
122
|
tag: string | null;
|
|
122
123
|
id: number;
|
|
123
124
|
shortUuid: string;
|
|
124
|
-
expireAt: string;
|
|
125
125
|
telegramId: number | null;
|
|
126
126
|
email: string | null;
|
|
127
127
|
hwidDeviceLimit: number | null;
|
|
@@ -152,6 +152,7 @@ export declare namespace EnableUserCommand {
|
|
|
152
152
|
response: {
|
|
153
153
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
154
154
|
uuid: string;
|
|
155
|
+
expireAt: Date;
|
|
155
156
|
createdAt: Date;
|
|
156
157
|
updatedAt: Date;
|
|
157
158
|
description: string | null;
|
|
@@ -161,7 +162,6 @@ export declare namespace EnableUserCommand {
|
|
|
161
162
|
shortUuid: string;
|
|
162
163
|
trafficLimitBytes: number;
|
|
163
164
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
164
|
-
expireAt: Date;
|
|
165
165
|
telegramId: number | null;
|
|
166
166
|
email: string | null;
|
|
167
167
|
hwidDeviceLimit: number | null;
|
|
@@ -188,6 +188,7 @@ export declare namespace EnableUserCommand {
|
|
|
188
188
|
}, {
|
|
189
189
|
response: {
|
|
190
190
|
uuid: string;
|
|
191
|
+
expireAt: string;
|
|
191
192
|
createdAt: string;
|
|
192
193
|
updatedAt: string;
|
|
193
194
|
description: string | null;
|
|
@@ -195,7 +196,6 @@ export declare namespace EnableUserCommand {
|
|
|
195
196
|
tag: string | null;
|
|
196
197
|
id: number;
|
|
197
198
|
shortUuid: string;
|
|
198
|
-
expireAt: string;
|
|
199
199
|
telegramId: number | null;
|
|
200
200
|
email: string | null;
|
|
201
201
|
hwidDeviceLimit: number | null;
|
|
@@ -80,6 +80,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
82
82
|
uuid: string;
|
|
83
|
+
expireAt: Date;
|
|
83
84
|
createdAt: Date;
|
|
84
85
|
updatedAt: Date;
|
|
85
86
|
description: string | null;
|
|
@@ -89,7 +90,6 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
89
90
|
shortUuid: string;
|
|
90
91
|
trafficLimitBytes: number;
|
|
91
92
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
92
|
-
expireAt: Date;
|
|
93
93
|
telegramId: number | null;
|
|
94
94
|
email: string | null;
|
|
95
95
|
hwidDeviceLimit: number | null;
|
|
@@ -114,6 +114,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
116
116
|
uuid: string;
|
|
117
|
+
expireAt: string;
|
|
117
118
|
createdAt: string;
|
|
118
119
|
updatedAt: string;
|
|
119
120
|
description: string | null;
|
|
@@ -121,7 +122,6 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
121
122
|
tag: string | null;
|
|
122
123
|
id: number;
|
|
123
124
|
shortUuid: string;
|
|
124
|
-
expireAt: string;
|
|
125
125
|
telegramId: number | null;
|
|
126
126
|
email: string | null;
|
|
127
127
|
hwidDeviceLimit: number | null;
|
|
@@ -152,6 +152,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
152
152
|
response: {
|
|
153
153
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
154
154
|
uuid: string;
|
|
155
|
+
expireAt: Date;
|
|
155
156
|
createdAt: Date;
|
|
156
157
|
updatedAt: Date;
|
|
157
158
|
description: string | null;
|
|
@@ -161,7 +162,6 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
161
162
|
shortUuid: string;
|
|
162
163
|
trafficLimitBytes: number;
|
|
163
164
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
164
|
-
expireAt: Date;
|
|
165
165
|
telegramId: number | null;
|
|
166
166
|
email: string | null;
|
|
167
167
|
hwidDeviceLimit: number | null;
|
|
@@ -188,6 +188,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
188
188
|
}, {
|
|
189
189
|
response: {
|
|
190
190
|
uuid: string;
|
|
191
|
+
expireAt: string;
|
|
191
192
|
createdAt: string;
|
|
192
193
|
updatedAt: string;
|
|
193
194
|
description: string | null;
|
|
@@ -195,7 +196,6 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
195
196
|
tag: string | null;
|
|
196
197
|
id: number;
|
|
197
198
|
shortUuid: string;
|
|
198
|
-
expireAt: string;
|
|
199
199
|
telegramId: number | null;
|
|
200
200
|
email: string | null;
|
|
201
201
|
hwidDeviceLimit: number | null;
|