@remnawave/backend-contract 2.2.2 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/backend/api/controllers/external-squads.d.ts +13 -0
- package/build/backend/api/controllers/external-squads.d.ts.map +1 -0
- package/build/backend/api/controllers/external-squads.js +16 -0
- package/build/backend/api/controllers/index.d.ts +1 -0
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +1 -0
- package/build/backend/api/controllers/subscription-template.d.ts +4 -1
- package/build/backend/api/controllers/subscription-template.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription-template.js +5 -2
- package/build/backend/api/controllers-info.d.ts +4 -0
- package/build/backend/api/controllers-info.d.ts.map +1 -1
- package/build/backend/api/controllers-info.js +4 -0
- package/build/backend/api/routes.d.ts +15 -1
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +15 -1
- package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts +33 -0
- package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts.map +1 -0
- package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +20 -0
- package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts +33 -0
- package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts.map +1 -0
- package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +20 -0
- package/build/backend/commands/external-squads/bulk-actions/index.d.ts +3 -0
- package/build/backend/commands/external-squads/bulk-actions/index.d.ts.map +1 -0
- package/build/backend/commands/external-squads/bulk-actions/index.js +18 -0
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +100 -0
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -0
- package/build/backend/commands/external-squads/create-external-squad.command.js +23 -0
- package/build/backend/commands/external-squads/delete-external-squad.command.d.ts +33 -0
- package/build/backend/commands/external-squads/delete-external-squad.command.d.ts.map +1 -0
- package/build/backend/commands/external-squads/delete-external-squad.command.js +20 -0
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.d.ts +100 -0
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.d.ts.map +1 -0
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.js +19 -0
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts +131 -0
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -0
- package/build/backend/commands/external-squads/get-external-squads.command.js +19 -0
- package/build/backend/commands/external-squads/index.d.ts +7 -0
- package/build/backend/commands/external-squads/index.d.ts.map +1 -0
- package/build/backend/commands/external-squads/index.js +22 -0
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +128 -0
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -0
- package/build/backend/commands/external-squads/update-external-squad.command.js +31 -0
- package/build/backend/commands/index.d.ts +1 -0
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +1 -0
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +33 -22
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +60 -40
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/create-template.command.d.ts +70 -0
- package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/create-template.command.js +30 -0
- package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts +33 -0
- package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/delete-subscription-template.command.js +20 -0
- package/build/backend/commands/subscription-template/get-template.command.d.ts +9 -11
- package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/get-template.command.js +4 -3
- package/build/backend/commands/subscription-template/get-templates.command.d.ts +79 -0
- package/build/backend/commands/subscription-template/get-templates.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/get-templates.command.js +25 -0
- package/build/backend/commands/subscription-template/index.d.ts +3 -0
- package/build/backend/commands/subscription-template/index.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/index.js +3 -0
- package/build/backend/commands/subscription-template/update-template.command.d.ts +11 -10
- package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/update-template.command.js +8 -2
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +7 -0
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +54 -36
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/disable-user.command.d.ts +5 -0
- package/build/backend/commands/users/actions/disable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/enable-user.command.d.ts +5 -0
- package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +5 -0
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +5 -0
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +5 -0
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.js +3 -0
- package/build/backend/commands/users/create-user.command.d.ts +8 -0
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +3 -0
- package/build/backend/commands/users/get-all-users.command.d.ts +7 -0
- package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts +5 -0
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +5 -0
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts +5 -0
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts +5 -0
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +5 -0
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +5 -0
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.d.ts +10 -0
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.js +3 -0
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts +2 -0
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts.map +1 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.js +1 -0
- package/build/backend/constants/errors/errors.d.ts +115 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +115 -0
- package/build/backend/models/extended-users.schema.d.ts +3 -0
- package/build/backend/models/extended-users.schema.d.ts.map +1 -1
- package/build/backend/models/external-squad.schema.d.ts +56 -0
- package/build/backend/models/external-squad.schema.d.ts.map +1 -0
- package/build/backend/models/external-squad.schema.js +24 -0
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +9 -6
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.js +8 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts +30 -20
- package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +21 -14
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.d.ts +27 -18
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.d.ts +3 -0
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.js +1 -0
- package/build/frontend/api/controllers/external-squads.js +16 -0
- package/build/frontend/api/controllers/index.js +1 -0
- package/build/frontend/api/controllers/subscription-template.js +5 -2
- package/build/frontend/api/controllers-info.js +4 -0
- package/build/frontend/api/routes.js +15 -1
- package/build/frontend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +20 -0
- package/build/frontend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +20 -0
- package/build/frontend/commands/external-squads/bulk-actions/index.js +18 -0
- package/build/frontend/commands/external-squads/create-external-squad.command.js +23 -0
- package/build/frontend/commands/external-squads/delete-external-squad.command.js +20 -0
- package/build/frontend/commands/external-squads/get-external-squad-by-uuid.js +19 -0
- package/build/frontend/commands/external-squads/get-external-squads.command.js +19 -0
- package/build/frontend/commands/external-squads/index.js +22 -0
- package/build/frontend/commands/external-squads/update-external-squad.command.js +31 -0
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/subscription-template/create-template.command.js +30 -0
- package/build/frontend/commands/subscription-template/delete-subscription-template.command.js +20 -0
- package/build/frontend/commands/subscription-template/get-template.command.js +4 -3
- package/build/frontend/commands/subscription-template/get-templates.command.js +25 -0
- package/build/frontend/commands/subscription-template/index.js +3 -0
- package/build/frontend/commands/subscription-template/update-template.command.js +8 -2
- package/build/frontend/commands/users/bulk/bulk-update-users.command.js +3 -0
- package/build/frontend/commands/users/create-user.command.js +3 -0
- package/build/frontend/commands/users/update-user.command.js +3 -0
- package/build/frontend/constants/cache-keys/cache-keys.constants.js +1 -0
- package/build/frontend/constants/errors/errors.js +115 -0
- package/build/frontend/models/external-squad.schema.js +24 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/response-rules/response-rule-modifications.schema.js +8 -0
- package/build/frontend/models/users.schema.js +1 -0
- package/package.json +1 -1
|
@@ -14,5 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./create-template.command"), exports);
|
|
18
|
+
__exportStar(require("./delete-subscription-template.command"), exports);
|
|
17
19
|
__exportStar(require("./get-template.command"), exports);
|
|
20
|
+
__exportStar(require("./get-templates.command"), exports);
|
|
18
21
|
__exportStar(require("./update-template.command"), exports);
|
|
@@ -4,22 +4,18 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
4
4
|
const TSQ_url: "/api/subscription-templates/";
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestSchema: z.ZodObject<{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
10
|
-
readonly MIHOMO: "MIHOMO";
|
|
11
|
-
readonly STASH: "STASH";
|
|
12
|
-
readonly CLASH: "CLASH";
|
|
13
|
-
readonly SINGBOX: "SINGBOX";
|
|
14
|
-
}>;
|
|
7
|
+
uuid: z.ZodString;
|
|
8
|
+
name: z.ZodString;
|
|
15
9
|
templateJson: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
16
10
|
encodedTemplateYaml: z.ZodOptional<z.ZodString>;
|
|
17
11
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
|
|
12
|
+
uuid: string;
|
|
13
|
+
name: string;
|
|
19
14
|
templateJson?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
20
15
|
encodedTemplateYaml?: string | undefined;
|
|
21
16
|
}, {
|
|
22
|
-
|
|
17
|
+
uuid: string;
|
|
18
|
+
name: string;
|
|
23
19
|
templateJson?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
24
20
|
encodedTemplateYaml?: string | undefined;
|
|
25
21
|
}>;
|
|
@@ -27,6 +23,7 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
27
23
|
const ResponseSchema: z.ZodObject<{
|
|
28
24
|
response: z.ZodObject<{
|
|
29
25
|
uuid: z.ZodString;
|
|
26
|
+
name: z.ZodString;
|
|
30
27
|
templateType: z.ZodNativeEnum<{
|
|
31
28
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
32
29
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
@@ -39,11 +36,13 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
39
36
|
encodedTemplateYaml: z.ZodNullable<z.ZodString>;
|
|
40
37
|
}, "strip", z.ZodTypeAny, {
|
|
41
38
|
uuid: string;
|
|
39
|
+
name: string;
|
|
42
40
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
43
41
|
encodedTemplateYaml: string | null;
|
|
44
42
|
templateJson?: unknown;
|
|
45
43
|
}, {
|
|
46
44
|
uuid: string;
|
|
45
|
+
name: string;
|
|
47
46
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
48
47
|
encodedTemplateYaml: string | null;
|
|
49
48
|
templateJson?: unknown;
|
|
@@ -51,6 +50,7 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
51
50
|
}, "strip", z.ZodTypeAny, {
|
|
52
51
|
response: {
|
|
53
52
|
uuid: string;
|
|
53
|
+
name: string;
|
|
54
54
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
55
55
|
encodedTemplateYaml: string | null;
|
|
56
56
|
templateJson?: unknown;
|
|
@@ -58,6 +58,7 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
58
58
|
}, {
|
|
59
59
|
response: {
|
|
60
60
|
uuid: string;
|
|
61
|
+
name: string;
|
|
61
62
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
62
63
|
encodedTemplateYaml: string | null;
|
|
63
64
|
templateJson?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/update-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,gCAAwC,CAAC;IAClD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"update-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/update-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,gCAAwC,CAAC;IAClD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;MAYxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -9,15 +9,21 @@ var UpdateSubscriptionTemplateCommand;
|
|
|
9
9
|
(function (UpdateSubscriptionTemplateCommand) {
|
|
10
10
|
UpdateSubscriptionTemplateCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.UPDATE;
|
|
11
11
|
UpdateSubscriptionTemplateCommand.TSQ_url = UpdateSubscriptionTemplateCommand.url;
|
|
12
|
-
UpdateSubscriptionTemplateCommand.endpointDetails = (0, constants_2.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.UPDATE, '
|
|
12
|
+
UpdateSubscriptionTemplateCommand.endpointDetails = (0, constants_2.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.UPDATE, 'patch', 'Update subscription template');
|
|
13
13
|
UpdateSubscriptionTemplateCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
|
|
14
|
+
uuid: zod_1.z.string().uuid(),
|
|
15
|
+
name: zod_1.z
|
|
16
|
+
.string()
|
|
17
|
+
.min(2, 'Name must be at least 2 characters')
|
|
18
|
+
.max(255, 'Name must be less than 255 characters')
|
|
19
|
+
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
|
|
15
20
|
templateJson: zod_1.z.optional(zod_1.z.object({}).passthrough()),
|
|
16
21
|
encodedTemplateYaml: zod_1.z.optional(zod_1.z.string()),
|
|
17
22
|
});
|
|
18
23
|
UpdateSubscriptionTemplateCommand.ResponseSchema = zod_1.z.object({
|
|
19
24
|
response: zod_1.z.object({
|
|
20
25
|
uuid: zod_1.z.string().uuid(),
|
|
26
|
+
name: zod_1.z.string(),
|
|
21
27
|
templateType: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
|
|
22
28
|
templateJson: zod_1.z.nullable(zod_1.z.unknown()),
|
|
23
29
|
encodedTemplateYaml: zod_1.z.nullable(zod_1.z.string()),
|
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
68
68
|
uuid: string;
|
|
69
69
|
name: string;
|
|
70
70
|
}>, "many">;
|
|
71
|
+
externalSquadUuid: z.ZodNullable<z.ZodString>;
|
|
71
72
|
} & {
|
|
72
73
|
subscriptionUrl: z.ZodString;
|
|
73
74
|
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
|
@@ -121,6 +122,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
121
122
|
uuid: string;
|
|
122
123
|
name: string;
|
|
123
124
|
}[];
|
|
125
|
+
externalSquadUuid: string | null;
|
|
124
126
|
subscriptionUrl: string;
|
|
125
127
|
lastConnectedNode: {
|
|
126
128
|
countryCode: string;
|
|
@@ -157,6 +159,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
157
159
|
uuid: string;
|
|
158
160
|
name: string;
|
|
159
161
|
}[];
|
|
162
|
+
externalSquadUuid: string | null;
|
|
160
163
|
subscriptionUrl: string;
|
|
161
164
|
lastConnectedNode: {
|
|
162
165
|
countryCode: string;
|
|
@@ -434,6 +437,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
434
437
|
uuid: string;
|
|
435
438
|
name: string;
|
|
436
439
|
}[];
|
|
440
|
+
externalSquadUuid: string | null;
|
|
437
441
|
subscriptionUrl: string;
|
|
438
442
|
lastConnectedNode: {
|
|
439
443
|
countryCode: string;
|
|
@@ -534,6 +538,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
534
538
|
uuid: string;
|
|
535
539
|
name: string;
|
|
536
540
|
}[];
|
|
541
|
+
externalSquadUuid: string | null;
|
|
537
542
|
subscriptionUrl: string;
|
|
538
543
|
lastConnectedNode: {
|
|
539
544
|
countryCode: string;
|
|
@@ -644,6 +649,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
644
649
|
uuid: string;
|
|
645
650
|
name: string;
|
|
646
651
|
}[];
|
|
652
|
+
externalSquadUuid: string | null;
|
|
647
653
|
subscriptionUrl: string;
|
|
648
654
|
lastConnectedNode: {
|
|
649
655
|
countryCode: string;
|
|
@@ -746,6 +752,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
746
752
|
uuid: string;
|
|
747
753
|
name: string;
|
|
748
754
|
}[];
|
|
755
|
+
externalSquadUuid: string | null;
|
|
749
756
|
subscriptionUrl: string;
|
|
750
757
|
lastConnectedNode: {
|
|
751
758
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAM7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAM7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkFzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -57,7 +57,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
57
57
|
readonly SINGBOX: "SINGBOX";
|
|
58
58
|
}>;
|
|
59
59
|
responseModifications: z.ZodOptional<z.ZodObject<{
|
|
60
|
-
headers: z.ZodArray<z.ZodObject<{
|
|
60
|
+
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
61
|
key: z.ZodString;
|
|
62
62
|
value: z.ZodString;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -66,17 +66,20 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
66
66
|
}, {
|
|
67
67
|
value: string;
|
|
68
68
|
key: string;
|
|
69
|
-
}>, "many"
|
|
69
|
+
}>, "many">>;
|
|
70
|
+
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
70
71
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
headers
|
|
72
|
+
headers?: {
|
|
72
73
|
value: string;
|
|
73
74
|
key: string;
|
|
74
|
-
}[];
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
subscriptionTemplate?: string | undefined;
|
|
75
77
|
}, {
|
|
76
|
-
headers
|
|
78
|
+
headers?: {
|
|
77
79
|
value: string;
|
|
78
80
|
key: string;
|
|
79
|
-
}[];
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
subscriptionTemplate?: string | undefined;
|
|
80
83
|
}>>;
|
|
81
84
|
}, "strip", z.ZodTypeAny, {
|
|
82
85
|
name: string;
|
|
@@ -91,10 +94,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
91
94
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
92
95
|
description?: string | undefined;
|
|
93
96
|
responseModifications?: {
|
|
94
|
-
headers
|
|
97
|
+
headers?: {
|
|
95
98
|
value: string;
|
|
96
99
|
key: string;
|
|
97
|
-
}[];
|
|
100
|
+
}[] | undefined;
|
|
101
|
+
subscriptionTemplate?: string | undefined;
|
|
98
102
|
} | undefined;
|
|
99
103
|
}, {
|
|
100
104
|
name: string;
|
|
@@ -109,10 +113,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
109
113
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
110
114
|
description?: string | undefined;
|
|
111
115
|
responseModifications?: {
|
|
112
|
-
headers
|
|
116
|
+
headers?: {
|
|
113
117
|
value: string;
|
|
114
118
|
key: string;
|
|
115
|
-
}[];
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
subscriptionTemplate?: string | undefined;
|
|
116
121
|
} | undefined;
|
|
117
122
|
}>, "many">;
|
|
118
123
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -130,10 +135,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
130
135
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
131
136
|
description?: string | undefined;
|
|
132
137
|
responseModifications?: {
|
|
133
|
-
headers
|
|
138
|
+
headers?: {
|
|
134
139
|
value: string;
|
|
135
140
|
key: string;
|
|
136
|
-
}[];
|
|
141
|
+
}[] | undefined;
|
|
142
|
+
subscriptionTemplate?: string | undefined;
|
|
137
143
|
} | undefined;
|
|
138
144
|
}[];
|
|
139
145
|
}, {
|
|
@@ -151,10 +157,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
151
157
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
152
158
|
description?: string | undefined;
|
|
153
159
|
responseModifications?: {
|
|
154
|
-
headers
|
|
160
|
+
headers?: {
|
|
155
161
|
value: string;
|
|
156
162
|
key: string;
|
|
157
|
-
}[];
|
|
163
|
+
}[] | undefined;
|
|
164
|
+
subscriptionTemplate?: string | undefined;
|
|
158
165
|
} | undefined;
|
|
159
166
|
}[];
|
|
160
167
|
}>;
|
|
@@ -174,10 +181,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
174
181
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
175
182
|
description?: string | undefined;
|
|
176
183
|
responseModifications?: {
|
|
177
|
-
headers
|
|
184
|
+
headers?: {
|
|
178
185
|
value: string;
|
|
179
186
|
key: string;
|
|
180
|
-
}[];
|
|
187
|
+
}[] | undefined;
|
|
188
|
+
subscriptionTemplate?: string | undefined;
|
|
181
189
|
} | undefined;
|
|
182
190
|
}[];
|
|
183
191
|
};
|
|
@@ -197,10 +205,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
197
205
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
198
206
|
description?: string | undefined;
|
|
199
207
|
responseModifications?: {
|
|
200
|
-
headers
|
|
208
|
+
headers?: {
|
|
201
209
|
value: string;
|
|
202
210
|
key: string;
|
|
203
|
-
}[];
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
subscriptionTemplate?: string | undefined;
|
|
204
213
|
} | undefined;
|
|
205
214
|
}[];
|
|
206
215
|
};
|
|
@@ -271,7 +280,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
271
280
|
readonly SINGBOX: "SINGBOX";
|
|
272
281
|
}>;
|
|
273
282
|
responseModifications: z.ZodOptional<z.ZodObject<{
|
|
274
|
-
headers: z.ZodArray<z.ZodObject<{
|
|
283
|
+
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
275
284
|
key: z.ZodString;
|
|
276
285
|
value: z.ZodString;
|
|
277
286
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -280,17 +289,20 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
280
289
|
}, {
|
|
281
290
|
value: string;
|
|
282
291
|
key: string;
|
|
283
|
-
}>, "many"
|
|
292
|
+
}>, "many">>;
|
|
293
|
+
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
284
294
|
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
headers
|
|
295
|
+
headers?: {
|
|
286
296
|
value: string;
|
|
287
297
|
key: string;
|
|
288
|
-
}[];
|
|
298
|
+
}[] | undefined;
|
|
299
|
+
subscriptionTemplate?: string | undefined;
|
|
289
300
|
}, {
|
|
290
|
-
headers
|
|
301
|
+
headers?: {
|
|
291
302
|
value: string;
|
|
292
303
|
key: string;
|
|
293
|
-
}[];
|
|
304
|
+
}[] | undefined;
|
|
305
|
+
subscriptionTemplate?: string | undefined;
|
|
294
306
|
}>>;
|
|
295
307
|
}, "strip", z.ZodTypeAny, {
|
|
296
308
|
name: string;
|
|
@@ -305,10 +317,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
305
317
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
306
318
|
description?: string | undefined;
|
|
307
319
|
responseModifications?: {
|
|
308
|
-
headers
|
|
320
|
+
headers?: {
|
|
309
321
|
value: string;
|
|
310
322
|
key: string;
|
|
311
|
-
}[];
|
|
323
|
+
}[] | undefined;
|
|
324
|
+
subscriptionTemplate?: string | undefined;
|
|
312
325
|
} | undefined;
|
|
313
326
|
}, {
|
|
314
327
|
name: string;
|
|
@@ -323,10 +336,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
323
336
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
324
337
|
description?: string | undefined;
|
|
325
338
|
responseModifications?: {
|
|
326
|
-
headers
|
|
339
|
+
headers?: {
|
|
327
340
|
value: string;
|
|
328
341
|
key: string;
|
|
329
|
-
}[];
|
|
342
|
+
}[] | undefined;
|
|
343
|
+
subscriptionTemplate?: string | undefined;
|
|
330
344
|
} | undefined;
|
|
331
345
|
}>>;
|
|
332
346
|
inputHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -347,10 +361,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
347
361
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
348
362
|
description?: string | undefined;
|
|
349
363
|
responseModifications?: {
|
|
350
|
-
headers
|
|
364
|
+
headers?: {
|
|
351
365
|
value: string;
|
|
352
366
|
key: string;
|
|
353
|
-
}[];
|
|
367
|
+
}[] | undefined;
|
|
368
|
+
subscriptionTemplate?: string | undefined;
|
|
354
369
|
} | undefined;
|
|
355
370
|
} | null;
|
|
356
371
|
inputHeaders: Record<string, string>;
|
|
@@ -371,10 +386,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
371
386
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
372
387
|
description?: string | undefined;
|
|
373
388
|
responseModifications?: {
|
|
374
|
-
headers
|
|
389
|
+
headers?: {
|
|
375
390
|
value: string;
|
|
376
391
|
key: string;
|
|
377
|
-
}[];
|
|
392
|
+
}[] | undefined;
|
|
393
|
+
subscriptionTemplate?: string | undefined;
|
|
378
394
|
} | undefined;
|
|
379
395
|
} | null;
|
|
380
396
|
inputHeaders: Record<string, string>;
|
|
@@ -397,10 +413,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
397
413
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
398
414
|
description?: string | undefined;
|
|
399
415
|
responseModifications?: {
|
|
400
|
-
headers
|
|
416
|
+
headers?: {
|
|
401
417
|
value: string;
|
|
402
418
|
key: string;
|
|
403
|
-
}[];
|
|
419
|
+
}[] | undefined;
|
|
420
|
+
subscriptionTemplate?: string | undefined;
|
|
404
421
|
} | undefined;
|
|
405
422
|
} | null;
|
|
406
423
|
inputHeaders: Record<string, string>;
|
|
@@ -423,10 +440,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
423
440
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
424
441
|
description?: string | undefined;
|
|
425
442
|
responseModifications?: {
|
|
426
|
-
headers
|
|
443
|
+
headers?: {
|
|
427
444
|
value: string;
|
|
428
445
|
key: string;
|
|
429
|
-
}[];
|
|
446
|
+
}[] | undefined;
|
|
447
|
+
subscriptionTemplate?: string | undefined;
|
|
430
448
|
} | undefined;
|
|
431
449
|
} | null;
|
|
432
450
|
inputHeaders: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IACK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IACK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -59,6 +59,7 @@ export declare namespace DisableUserCommand {
|
|
|
59
59
|
uuid: string;
|
|
60
60
|
name: string;
|
|
61
61
|
}>, "many">;
|
|
62
|
+
externalSquadUuid: z.ZodNullable<z.ZodString>;
|
|
62
63
|
} & {
|
|
63
64
|
subscriptionUrl: z.ZodString;
|
|
64
65
|
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
|
@@ -112,6 +113,7 @@ export declare namespace DisableUserCommand {
|
|
|
112
113
|
uuid: string;
|
|
113
114
|
name: string;
|
|
114
115
|
}[];
|
|
116
|
+
externalSquadUuid: string | null;
|
|
115
117
|
subscriptionUrl: string;
|
|
116
118
|
lastConnectedNode: {
|
|
117
119
|
countryCode: string;
|
|
@@ -148,6 +150,7 @@ export declare namespace DisableUserCommand {
|
|
|
148
150
|
uuid: string;
|
|
149
151
|
name: string;
|
|
150
152
|
}[];
|
|
153
|
+
externalSquadUuid: string | null;
|
|
151
154
|
subscriptionUrl: string;
|
|
152
155
|
lastConnectedNode: {
|
|
153
156
|
countryCode: string;
|
|
@@ -194,6 +197,7 @@ export declare namespace DisableUserCommand {
|
|
|
194
197
|
uuid: string;
|
|
195
198
|
name: string;
|
|
196
199
|
}[];
|
|
200
|
+
externalSquadUuid: string | null;
|
|
197
201
|
subscriptionUrl: string;
|
|
198
202
|
lastConnectedNode: {
|
|
199
203
|
countryCode: string;
|
|
@@ -232,6 +236,7 @@ export declare namespace DisableUserCommand {
|
|
|
232
236
|
uuid: string;
|
|
233
237
|
name: string;
|
|
234
238
|
}[];
|
|
239
|
+
externalSquadUuid: string | null;
|
|
235
240
|
subscriptionUrl: string;
|
|
236
241
|
lastConnectedNode: {
|
|
237
242
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/disable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"disable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/disable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -59,6 +59,7 @@ export declare namespace EnableUserCommand {
|
|
|
59
59
|
uuid: string;
|
|
60
60
|
name: string;
|
|
61
61
|
}>, "many">;
|
|
62
|
+
externalSquadUuid: z.ZodNullable<z.ZodString>;
|
|
62
63
|
} & {
|
|
63
64
|
subscriptionUrl: z.ZodString;
|
|
64
65
|
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
|
@@ -112,6 +113,7 @@ export declare namespace EnableUserCommand {
|
|
|
112
113
|
uuid: string;
|
|
113
114
|
name: string;
|
|
114
115
|
}[];
|
|
116
|
+
externalSquadUuid: string | null;
|
|
115
117
|
subscriptionUrl: string;
|
|
116
118
|
lastConnectedNode: {
|
|
117
119
|
countryCode: string;
|
|
@@ -148,6 +150,7 @@ export declare namespace EnableUserCommand {
|
|
|
148
150
|
uuid: string;
|
|
149
151
|
name: string;
|
|
150
152
|
}[];
|
|
153
|
+
externalSquadUuid: string | null;
|
|
151
154
|
subscriptionUrl: string;
|
|
152
155
|
lastConnectedNode: {
|
|
153
156
|
countryCode: string;
|
|
@@ -194,6 +197,7 @@ export declare namespace EnableUserCommand {
|
|
|
194
197
|
uuid: string;
|
|
195
198
|
name: string;
|
|
196
199
|
}[];
|
|
200
|
+
externalSquadUuid: string | null;
|
|
197
201
|
subscriptionUrl: string;
|
|
198
202
|
lastConnectedNode: {
|
|
199
203
|
countryCode: string;
|
|
@@ -232,6 +236,7 @@ export declare namespace EnableUserCommand {
|
|
|
232
236
|
uuid: string;
|
|
233
237
|
name: string;
|
|
234
238
|
}[];
|
|
239
|
+
externalSquadUuid: string | null;
|
|
235
240
|
subscriptionUrl: string;
|
|
236
241
|
lastConnectedNode: {
|
|
237
242
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/enable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"enable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/enable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -59,6 +59,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
59
59
|
uuid: string;
|
|
60
60
|
name: string;
|
|
61
61
|
}>, "many">;
|
|
62
|
+
externalSquadUuid: z.ZodNullable<z.ZodString>;
|
|
62
63
|
} & {
|
|
63
64
|
subscriptionUrl: z.ZodString;
|
|
64
65
|
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
|
@@ -112,6 +113,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
112
113
|
uuid: string;
|
|
113
114
|
name: string;
|
|
114
115
|
}[];
|
|
116
|
+
externalSquadUuid: string | null;
|
|
115
117
|
subscriptionUrl: string;
|
|
116
118
|
lastConnectedNode: {
|
|
117
119
|
countryCode: string;
|
|
@@ -148,6 +150,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
148
150
|
uuid: string;
|
|
149
151
|
name: string;
|
|
150
152
|
}[];
|
|
153
|
+
externalSquadUuid: string | null;
|
|
151
154
|
subscriptionUrl: string;
|
|
152
155
|
lastConnectedNode: {
|
|
153
156
|
countryCode: string;
|
|
@@ -194,6 +197,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
194
197
|
uuid: string;
|
|
195
198
|
name: string;
|
|
196
199
|
}[];
|
|
200
|
+
externalSquadUuid: string | null;
|
|
197
201
|
subscriptionUrl: string;
|
|
198
202
|
lastConnectedNode: {
|
|
199
203
|
countryCode: string;
|
|
@@ -232,6 +236,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
232
236
|
uuid: string;
|
|
233
237
|
name: string;
|
|
234
238
|
}[];
|
|
239
|
+
externalSquadUuid: string | null;
|
|
235
240
|
subscriptionUrl: string;
|
|
236
241
|
lastConnectedNode: {
|
|
237
242
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-user-traffic.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/reset-user-traffic.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,0BAAuC,CAAC;IACjD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"reset-user-traffic.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/reset-user-traffic.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,0BAAuC,CAAC;IACjD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -69,6 +69,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
69
69
|
uuid: string;
|
|
70
70
|
name: string;
|
|
71
71
|
}>, "many">;
|
|
72
|
+
externalSquadUuid: z.ZodNullable<z.ZodString>;
|
|
72
73
|
} & {
|
|
73
74
|
subscriptionUrl: z.ZodString;
|
|
74
75
|
lastConnectedNode: z.ZodNullable<z.ZodObject<{
|
|
@@ -122,6 +123,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
122
123
|
uuid: string;
|
|
123
124
|
name: string;
|
|
124
125
|
}[];
|
|
126
|
+
externalSquadUuid: string | null;
|
|
125
127
|
subscriptionUrl: string;
|
|
126
128
|
lastConnectedNode: {
|
|
127
129
|
countryCode: string;
|
|
@@ -158,6 +160,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
158
160
|
uuid: string;
|
|
159
161
|
name: string;
|
|
160
162
|
}[];
|
|
163
|
+
externalSquadUuid: string | null;
|
|
161
164
|
subscriptionUrl: string;
|
|
162
165
|
lastConnectedNode: {
|
|
163
166
|
countryCode: string;
|
|
@@ -204,6 +207,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
204
207
|
uuid: string;
|
|
205
208
|
name: string;
|
|
206
209
|
}[];
|
|
210
|
+
externalSquadUuid: string | null;
|
|
207
211
|
subscriptionUrl: string;
|
|
208
212
|
lastConnectedNode: {
|
|
209
213
|
countryCode: string;
|
|
@@ -242,6 +246,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
242
246
|
uuid: string;
|
|
243
247
|
name: string;
|
|
244
248
|
}[];
|
|
249
|
+
externalSquadUuid: string | null;
|
|
245
250
|
subscriptionUrl: string;
|
|
246
251
|
lastConnectedNode: {
|
|
247
252
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,iBAAiB;;;;;;;;eAa7B,CAAC;IAEF,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,iBAAiB;;;;;;;;eAa7B,CAAC;IAEF,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -25,6 +25,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
25
25
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
hwidDeviceLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
externalSquadUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
29
|
}, "strip", z.ZodTypeAny, {
|
|
29
30
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
30
31
|
tag?: string | null | undefined;
|
|
@@ -35,6 +36,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
35
36
|
telegramId?: number | null | undefined;
|
|
36
37
|
email?: string | null | undefined;
|
|
37
38
|
hwidDeviceLimit?: number | null | undefined;
|
|
39
|
+
externalSquadUuid?: string | null | undefined;
|
|
38
40
|
}, {
|
|
39
41
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
40
42
|
tag?: string | null | undefined;
|
|
@@ -45,6 +47,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
45
47
|
telegramId?: number | null | undefined;
|
|
46
48
|
email?: string | null | undefined;
|
|
47
49
|
hwidDeviceLimit?: number | null | undefined;
|
|
50
|
+
externalSquadUuid?: string | null | undefined;
|
|
48
51
|
}>;
|
|
49
52
|
}, "strip", z.ZodTypeAny, {
|
|
50
53
|
uuids: string[];
|
|
@@ -58,6 +61,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
58
61
|
telegramId?: number | null | undefined;
|
|
59
62
|
email?: string | null | undefined;
|
|
60
63
|
hwidDeviceLimit?: number | null | undefined;
|
|
64
|
+
externalSquadUuid?: string | null | undefined;
|
|
61
65
|
};
|
|
62
66
|
}, {
|
|
63
67
|
uuids: string[];
|
|
@@ -71,6 +75,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
71
75
|
telegramId?: number | null | undefined;
|
|
72
76
|
email?: string | null | undefined;
|
|
73
77
|
hwidDeviceLimit?: number | null | undefined;
|
|
78
|
+
externalSquadUuid?: string | null | undefined;
|
|
74
79
|
};
|
|
75
80
|
}>;
|
|
76
81
|
type Request = z.infer<typeof RequestSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk/bulk-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"bulk-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk/bulk-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkDxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|