@remnawave/backend-contract 2.0.0-alpha.9 → 2.0.1
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/auth.d.ts +2 -0
- package/build/backend/api/controllers/auth.d.ts.map +1 -1
- package/build/backend/api/controllers/auth.js +2 -0
- package/build/backend/api/controllers/infra-billing.d.ts +1 -1
- package/build/backend/api/controllers/infra-billing.d.ts.map +1 -1
- package/build/backend/api/controllers/infra-billing.js +1 -5
- package/build/backend/api/controllers/internal-squads.d.ts +4 -0
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/internal-squads.js +5 -0
- package/build/backend/api/controllers/subscription.d.ts +1 -0
- package/build/backend/api/controllers/subscription.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription.js +1 -0
- package/build/backend/api/controllers/system.d.ts +1 -0
- package/build/backend/api/controllers/system.d.ts.map +1 -1
- package/build/backend/api/controllers/system.js +1 -0
- package/build/backend/api/routes.d.ts +9 -1
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +9 -1
- package/build/backend/commands/api-tokens/create.command.d.ts +0 -3
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/create.command.js +0 -1
- package/build/backend/commands/api-tokens/find.command.d.ts +0 -7
- package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -1
- package/build/backend/commands/auth/get-status.command.d.ts +23 -0
- package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
- package/build/backend/commands/auth/get-status.command.js +3 -0
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts +36 -0
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -0
- package/build/backend/commands/auth/oauth2/authorize.command.js +20 -0
- package/build/backend/commands/auth/oauth2/callback.command.d.ts +43 -0
- package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -0
- package/build/backend/commands/auth/oauth2/callback.command.js +22 -0
- package/build/backend/commands/auth/oauth2/index.d.ts +2 -0
- package/build/backend/commands/auth/oauth2/index.d.ts.map +1 -1
- package/build/backend/commands/auth/oauth2/index.js +2 -0
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +60 -19
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +14 -13
- package/build/backend/commands/hosts/get-all.command.d.ts +36 -10
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +36 -10
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +12 -2
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +72 -21
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +11 -11
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +125 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.js +30 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +467 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.js +38 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +59 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +1 -1
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +119 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +461 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +122 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +453 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.js +26 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +59 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +77 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.d.ts +7 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.js +7 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +464 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.js +35 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +59 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +33 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +33 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +3 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.js +18 -0
- package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..d.ts → get-internal-squad-by-uuid.d.ts} +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/index.d.ts +2 -1
- package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.js +2 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +140 -101
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +140 -101
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +194 -128
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +158 -107
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +6 -4
- package/build/backend/commands/nodes/get-all.command.d.ts +140 -101
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +140 -101
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/update.command.d.ts +212 -134
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +8 -4
- package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts +361 -0
- package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +68 -0
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +4 -4
- package/build/backend/commands/subscription/index.d.ts +1 -0
- package/build/backend/commands/subscription/index.d.ts.map +1 -1
- package/build/backend/commands/subscription/index.js +1 -0
- package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts +6 -6
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +4 -4
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts +153 -0
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts.map +1 -0
- package/build/backend/commands/system/get-nodes-metrics.command.js +33 -0
- package/build/backend/commands/system/index.d.ts +1 -0
- package/build/backend/commands/system/index.d.ts.map +1 -1
- package/build/backend/commands/system/index.js +1 -0
- package/build/backend/commands/users/create-user.command.d.ts +6 -6
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +2 -4
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/constants/errors/errors.d.ts +85 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +85 -0
- package/build/backend/constants/events/events.d.ts +11 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +10 -0
- package/build/backend/constants/headers/headers.constants.d.ts +3 -0
- package/build/backend/constants/headers/headers.constants.d.ts.map +1 -0
- package/build/backend/constants/headers/headers.constants.js +5 -0
- package/build/backend/constants/headers/index.d.ts +2 -0
- package/build/backend/constants/headers/index.d.ts.map +1 -0
- package/build/backend/constants/headers/index.js +17 -0
- package/build/backend/constants/index.d.ts +3 -0
- package/build/backend/constants/index.d.ts.map +1 -1
- package/build/backend/constants/index.js +3 -0
- package/build/backend/constants/messaging/index.d.ts +2 -0
- package/build/backend/constants/messaging/index.d.ts.map +1 -0
- package/build/backend/constants/messaging/index.js +17 -0
- package/build/backend/constants/messaging/messaging.constants.d.ts +13 -0
- package/build/backend/constants/messaging/messaging.constants.d.ts.map +1 -0
- package/build/backend/constants/messaging/messaging.constants.js +19 -0
- package/build/backend/constants/metrics/metric-names.constant.d.ts +17 -0
- package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
- package/build/backend/constants/metrics/metric-names.constant.js +17 -0
- package/build/backend/constants/oauth2/index.d.ts +2 -0
- package/build/backend/constants/oauth2/index.d.ts.map +1 -0
- package/build/backend/constants/oauth2/index.js +17 -0
- package/build/backend/constants/oauth2/providers.contants.d.ts +9 -0
- package/build/backend/constants/oauth2/providers.contants.d.ts.map +1 -0
- package/build/backend/constants/oauth2/providers.contants.js +9 -0
- package/build/backend/constants/templates/template-keys.d.ts +1 -1
- package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
- package/build/backend/constants/templates/template-keys.js +1 -0
- package/build/backend/models/api-tokens.schema.d.ts +0 -3
- package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
- package/build/backend/models/api-tokens.schema.js +0 -1
- package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
- package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
- package/build/backend/models/hosts.schema.d.ts +24 -6
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +6 -2
- package/build/backend/models/index.d.ts +4 -1
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +4 -1
- package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-available-node.schema.js +9 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-history-record.schema.js +19 -0
- package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-node.schema.js +34 -0
- package/build/backend/models/infra-provider.schema.d.ts +63 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -1
- package/build/backend/models/infra-provider.schema.js +24 -1
- package/build/backend/models/nodes.schema.d.ts +96 -63
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +6 -3
- package/build/frontend/api/controllers/auth.js +2 -0
- package/build/frontend/api/controllers/infra-billing.js +1 -5
- package/build/frontend/api/controllers/internal-squads.js +5 -0
- package/build/frontend/api/controllers/subscription.js +1 -0
- package/build/frontend/api/controllers/system.js +1 -0
- package/build/frontend/api/routes.js +9 -1
- package/build/frontend/commands/api-tokens/create.command.js +0 -1
- package/build/frontend/commands/auth/get-status.command.js +3 -0
- package/build/frontend/commands/auth/oauth2/authorize.command.js +20 -0
- package/build/frontend/commands/auth/oauth2/callback.command.js +22 -0
- package/build/frontend/commands/auth/oauth2/index.js +2 -0
- package/build/frontend/commands/hosts/create.command.js +14 -13
- package/build/frontend/commands/hosts/update.command.js +11 -11
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +1 -1
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
- package/build/frontend/commands/infra-billing/index.js +7 -0
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +1 -1
- package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
- package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
- package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
- package/build/frontend/commands/internal-squads/index.js +2 -1
- package/build/frontend/commands/nodes/create.command.js +6 -4
- package/build/frontend/commands/nodes/update.command.js +8 -4
- package/build/frontend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +68 -0
- package/build/frontend/commands/subscription/index.js +1 -0
- package/build/frontend/commands/system/get-nodes-metrics.command.js +33 -0
- package/build/frontend/commands/system/index.js +1 -0
- package/build/frontend/commands/users/create-user.command.js +2 -4
- package/build/frontend/constants/errors/errors.js +85 -0
- package/build/frontend/constants/events/events.js +10 -0
- package/build/frontend/constants/headers/headers.constants.js +5 -0
- package/build/frontend/constants/headers/index.js +17 -0
- package/build/frontend/constants/index.js +3 -0
- package/build/frontend/constants/messaging/index.js +17 -0
- package/build/frontend/constants/messaging/messaging.constants.js +19 -0
- package/build/frontend/constants/metrics/metric-names.constant.js +17 -0
- package/build/frontend/constants/oauth2/index.js +17 -0
- package/build/frontend/constants/oauth2/providers.contants.js +9 -0
- package/build/frontend/constants/templates/template-keys.js +1 -0
- package/build/frontend/models/api-tokens.schema.js +0 -1
- package/build/frontend/models/hosts.schema.js +6 -2
- package/build/frontend/models/index.js +4 -1
- package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
- package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
- package/build/frontend/models/infra-billing-node.schema.js +34 -0
- package/build/frontend/models/infra-provider.schema.js +24 -1
- package/build/frontend/models/nodes.schema.js +6 -3
- package/package.json +2 -2
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
- /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
- /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
- /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
- /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace DeleteUsersFromInternalSquadCommand {
|
3
|
+
const url: (uuid: string) => string;
|
4
|
+
const TSQ_url: string;
|
5
|
+
const endpointDetails: import("../../../constants").EndpointDetails;
|
6
|
+
const RequestSchema: z.ZodObject<{
|
7
|
+
uuid: z.ZodString;
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
9
|
+
uuid: string;
|
10
|
+
}, {
|
11
|
+
uuid: string;
|
12
|
+
}>;
|
13
|
+
type Request = z.infer<typeof RequestSchema>;
|
14
|
+
const ResponseSchema: z.ZodObject<{
|
15
|
+
response: z.ZodObject<{
|
16
|
+
eventSent: z.ZodBoolean;
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
18
|
+
eventSent: boolean;
|
19
|
+
}, {
|
20
|
+
eventSent: boolean;
|
21
|
+
}>;
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
23
|
+
response: {
|
24
|
+
eventSent: boolean;
|
25
|
+
};
|
26
|
+
}, {
|
27
|
+
response: {
|
28
|
+
eventSent: boolean;
|
29
|
+
};
|
30
|
+
}>;
|
31
|
+
type Response = z.infer<typeof ResponseSchema>;
|
32
|
+
}
|
33
|
+
//# sourceMappingURL=delete-users-from-internal-squad.command.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"delete-users-from-internal-squad.command.d.ts","sourceRoot":"","sources":["../../../../../commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,0BAAqD,CAAC;IAC/D,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;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeleteUsersFromInternalSquadCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const api_1 = require("../../../api");
|
6
|
+
const constants_1 = require("../../../constants");
|
7
|
+
var DeleteUsersFromInternalSquadCommand;
|
8
|
+
(function (DeleteUsersFromInternalSquadCommand) {
|
9
|
+
DeleteUsersFromInternalSquadCommand.url = api_1.REST_API.INTERNAL_SQUADS.BULK_ACTIONS.REMOVE_USERS;
|
10
|
+
DeleteUsersFromInternalSquadCommand.TSQ_url = DeleteUsersFromInternalSquadCommand.url(':uuid');
|
11
|
+
DeleteUsersFromInternalSquadCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.BULK_ACTIONS.REMOVE_USERS(':uuid'), 'delete', 'Delete users from internal squad');
|
12
|
+
DeleteUsersFromInternalSquadCommand.RequestSchema = zod_1.z.object({
|
13
|
+
uuid: zod_1.z.string().uuid(),
|
14
|
+
});
|
15
|
+
DeleteUsersFromInternalSquadCommand.ResponseSchema = zod_1.z.object({
|
16
|
+
response: zod_1.z.object({
|
17
|
+
eventSent: zod_1.z.boolean(),
|
18
|
+
}),
|
19
|
+
});
|
20
|
+
})(DeleteUsersFromInternalSquadCommand || (exports.DeleteUsersFromInternalSquadCommand = DeleteUsersFromInternalSquadCommand = {}));
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/internal-squads/bulk-actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,4CAA4C,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./add-users-to-internal-squad.command"), exports);
|
18
|
+
__exportStar(require("./delete-users-from-internal-squad.command"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-internal-squad-by-uuid.d.ts","sourceRoot":"","sources":["../../../../commands/internal-squads/get-internal-squad-by-uuid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAuC,CAAC;IACjD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1,6 +1,7 @@
|
|
1
|
+
export * from './bulk-actions';
|
1
2
|
export * from './create-internal-squad.command';
|
2
3
|
export * from './delete-internal-squad.command';
|
3
|
-
export * from './get-internal-squad-by-uuid
|
4
|
+
export * from './get-internal-squad-by-uuid';
|
4
5
|
export * from './get-internal-squads.command';
|
5
6
|
export * from './update-internal-squad.command';
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/internal-squads/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/internal-squads/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC"}
|
@@ -14,8 +14,9 @@ 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("./bulk-actions"), exports);
|
17
18
|
__exportStar(require("./create-internal-squad.command"), exports);
|
18
19
|
__exportStar(require("./delete-internal-squad.command"), exports);
|
19
|
-
__exportStar(require("./get-internal-squad-by-uuid
|
20
|
+
__exportStar(require("./get-internal-squad-by-uuid"), exports);
|
20
21
|
__exportStar(require("./get-internal-squads.command"), exports);
|
21
22
|
__exportStar(require("./update-internal-squad.command"), exports);
|
@@ -25,6 +25,7 @@ export declare namespace DisableNodeCommand {
|
|
25
25
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
26
26
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
27
27
|
xrayVersion: z.ZodNullable<z.ZodString>;
|
28
|
+
nodeVersion: z.ZodNullable<z.ZodString>;
|
28
29
|
xrayUptime: z.ZodString;
|
29
30
|
isTrafficTrackingActive: z.ZodBoolean;
|
30
31
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
@@ -40,35 +41,61 @@ export declare namespace DisableNodeCommand {
|
|
40
41
|
totalRam: z.ZodNullable<z.ZodString>;
|
41
42
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
42
43
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
44
|
+
configProfile: z.ZodObject<{
|
45
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
46
|
+
activeInbounds: z.ZodArray<z.ZodObject<{
|
47
|
+
uuid: z.ZodString;
|
48
|
+
profileUuid: z.ZodString;
|
49
|
+
tag: z.ZodString;
|
50
|
+
type: z.ZodString;
|
51
|
+
network: z.ZodNullable<z.ZodString>;
|
52
|
+
security: z.ZodNullable<z.ZodString>;
|
53
|
+
port: z.ZodNullable<z.ZodNumber>;
|
54
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
56
|
+
type: string;
|
57
|
+
uuid: string;
|
58
|
+
profileUuid: string;
|
59
|
+
tag: string;
|
60
|
+
network: string | null;
|
61
|
+
security: string | null;
|
62
|
+
port: number | null;
|
63
|
+
rawInbound?: unknown;
|
64
|
+
}, {
|
65
|
+
type: string;
|
66
|
+
uuid: string;
|
67
|
+
profileUuid: string;
|
68
|
+
tag: string;
|
69
|
+
network: string | null;
|
70
|
+
security: string | null;
|
71
|
+
port: number | null;
|
72
|
+
rawInbound?: unknown;
|
73
|
+
}>, "many">;
|
53
74
|
}, "strip", z.ZodTypeAny, {
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
75
|
+
activeConfigProfileUuid: string | null;
|
76
|
+
activeInbounds: {
|
77
|
+
type: string;
|
78
|
+
uuid: string;
|
79
|
+
profileUuid: string;
|
80
|
+
tag: string;
|
81
|
+
network: string | null;
|
82
|
+
security: string | null;
|
83
|
+
port: number | null;
|
84
|
+
rawInbound?: unknown;
|
85
|
+
}[];
|
62
86
|
}, {
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
87
|
+
activeConfigProfileUuid: string | null;
|
88
|
+
activeInbounds: {
|
89
|
+
type: string;
|
90
|
+
uuid: string;
|
91
|
+
profileUuid: string;
|
92
|
+
tag: string;
|
93
|
+
network: string | null;
|
94
|
+
security: string | null;
|
95
|
+
port: number | null;
|
96
|
+
rawInbound?: unknown;
|
97
|
+
}[];
|
98
|
+
}>;
|
72
99
|
providerUuid: z.ZodNullable<z.ZodString>;
|
73
100
|
provider: z.ZodNullable<z.ZodObject<{
|
74
101
|
uuid: z.ZodString;
|
@@ -96,6 +123,14 @@ export declare namespace DisableNodeCommand {
|
|
96
123
|
uuid: string;
|
97
124
|
createdAt: Date;
|
98
125
|
updatedAt: Date;
|
126
|
+
provider: {
|
127
|
+
uuid: string;
|
128
|
+
createdAt: Date;
|
129
|
+
updatedAt: Date;
|
130
|
+
name: string;
|
131
|
+
faviconLink: string | null;
|
132
|
+
loginUrl: string | null;
|
133
|
+
} | null;
|
99
134
|
name: string;
|
100
135
|
port: number | null;
|
101
136
|
countryCode: string;
|
@@ -110,6 +145,7 @@ export declare namespace DisableNodeCommand {
|
|
110
145
|
lastStatusChange: Date | null;
|
111
146
|
lastStatusMessage: string | null;
|
112
147
|
xrayVersion: string | null;
|
148
|
+
nodeVersion: string | null;
|
113
149
|
xrayUptime: string;
|
114
150
|
isTrafficTrackingActive: boolean;
|
115
151
|
trafficResetDay: number | null;
|
@@ -120,30 +156,32 @@ export declare namespace DisableNodeCommand {
|
|
120
156
|
cpuCount: number | null;
|
121
157
|
cpuModel: string | null;
|
122
158
|
totalRam: string | null;
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
159
|
+
configProfile: {
|
160
|
+
activeConfigProfileUuid: string | null;
|
161
|
+
activeInbounds: {
|
162
|
+
type: string;
|
163
|
+
uuid: string;
|
164
|
+
profileUuid: string;
|
165
|
+
tag: string;
|
166
|
+
network: string | null;
|
167
|
+
security: string | null;
|
168
|
+
port: number | null;
|
169
|
+
rawInbound?: unknown;
|
170
|
+
}[];
|
171
|
+
};
|
134
172
|
providerUuid: string | null;
|
173
|
+
}, {
|
174
|
+
uuid: string;
|
175
|
+
createdAt: string;
|
176
|
+
updatedAt: string;
|
135
177
|
provider: {
|
136
178
|
uuid: string;
|
137
|
-
createdAt:
|
138
|
-
updatedAt:
|
179
|
+
createdAt: string;
|
180
|
+
updatedAt: string;
|
139
181
|
name: string;
|
140
182
|
faviconLink: string | null;
|
141
183
|
loginUrl: string | null;
|
142
184
|
} | null;
|
143
|
-
}, {
|
144
|
-
uuid: string;
|
145
|
-
createdAt: string;
|
146
|
-
updatedAt: string;
|
147
185
|
name: string;
|
148
186
|
port: number | null;
|
149
187
|
countryCode: string;
|
@@ -158,6 +196,7 @@ export declare namespace DisableNodeCommand {
|
|
158
196
|
lastStatusChange: string | null;
|
159
197
|
lastStatusMessage: string | null;
|
160
198
|
xrayVersion: string | null;
|
199
|
+
nodeVersion: string | null;
|
161
200
|
xrayUptime: string;
|
162
201
|
isTrafficTrackingActive: boolean;
|
163
202
|
trafficResetDay: number | null;
|
@@ -168,32 +207,34 @@ export declare namespace DisableNodeCommand {
|
|
168
207
|
cpuCount: number | null;
|
169
208
|
cpuModel: string | null;
|
170
209
|
totalRam: string | null;
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
210
|
+
configProfile: {
|
211
|
+
activeConfigProfileUuid: string | null;
|
212
|
+
activeInbounds: {
|
213
|
+
type: string;
|
214
|
+
uuid: string;
|
215
|
+
profileUuid: string;
|
216
|
+
tag: string;
|
217
|
+
network: string | null;
|
218
|
+
security: string | null;
|
219
|
+
port: number | null;
|
220
|
+
rawInbound?: unknown;
|
221
|
+
}[];
|
222
|
+
};
|
182
223
|
providerUuid: string | null;
|
183
|
-
provider: {
|
184
|
-
uuid: string;
|
185
|
-
createdAt: string;
|
186
|
-
updatedAt: string;
|
187
|
-
name: string;
|
188
|
-
faviconLink: string | null;
|
189
|
-
loginUrl: string | null;
|
190
|
-
} | null;
|
191
224
|
}>;
|
192
225
|
}, "strip", z.ZodTypeAny, {
|
193
226
|
response: {
|
194
227
|
uuid: string;
|
195
228
|
createdAt: Date;
|
196
229
|
updatedAt: Date;
|
230
|
+
provider: {
|
231
|
+
uuid: string;
|
232
|
+
createdAt: Date;
|
233
|
+
updatedAt: Date;
|
234
|
+
name: string;
|
235
|
+
faviconLink: string | null;
|
236
|
+
loginUrl: string | null;
|
237
|
+
} | null;
|
197
238
|
name: string;
|
198
239
|
port: number | null;
|
199
240
|
countryCode: string;
|
@@ -208,6 +249,7 @@ export declare namespace DisableNodeCommand {
|
|
208
249
|
lastStatusChange: Date | null;
|
209
250
|
lastStatusMessage: string | null;
|
210
251
|
xrayVersion: string | null;
|
252
|
+
nodeVersion: string | null;
|
211
253
|
xrayUptime: string;
|
212
254
|
isTrafficTrackingActive: boolean;
|
213
255
|
trafficResetDay: number | null;
|
@@ -218,32 +260,34 @@ export declare namespace DisableNodeCommand {
|
|
218
260
|
cpuCount: number | null;
|
219
261
|
cpuModel: string | null;
|
220
262
|
totalRam: string | null;
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
263
|
+
configProfile: {
|
264
|
+
activeConfigProfileUuid: string | null;
|
265
|
+
activeInbounds: {
|
266
|
+
type: string;
|
267
|
+
uuid: string;
|
268
|
+
profileUuid: string;
|
269
|
+
tag: string;
|
270
|
+
network: string | null;
|
271
|
+
security: string | null;
|
272
|
+
port: number | null;
|
273
|
+
rawInbound?: unknown;
|
274
|
+
}[];
|
275
|
+
};
|
232
276
|
providerUuid: string | null;
|
233
|
-
provider: {
|
234
|
-
uuid: string;
|
235
|
-
createdAt: Date;
|
236
|
-
updatedAt: Date;
|
237
|
-
name: string;
|
238
|
-
faviconLink: string | null;
|
239
|
-
loginUrl: string | null;
|
240
|
-
} | null;
|
241
277
|
};
|
242
278
|
}, {
|
243
279
|
response: {
|
244
280
|
uuid: string;
|
245
281
|
createdAt: string;
|
246
282
|
updatedAt: string;
|
283
|
+
provider: {
|
284
|
+
uuid: string;
|
285
|
+
createdAt: string;
|
286
|
+
updatedAt: string;
|
287
|
+
name: string;
|
288
|
+
faviconLink: string | null;
|
289
|
+
loginUrl: string | null;
|
290
|
+
} | null;
|
247
291
|
name: string;
|
248
292
|
port: number | null;
|
249
293
|
countryCode: string;
|
@@ -258,6 +302,7 @@ export declare namespace DisableNodeCommand {
|
|
258
302
|
lastStatusChange: string | null;
|
259
303
|
lastStatusMessage: string | null;
|
260
304
|
xrayVersion: string | null;
|
305
|
+
nodeVersion: string | null;
|
261
306
|
xrayUptime: string;
|
262
307
|
isTrafficTrackingActive: boolean;
|
263
308
|
trafficResetDay: number | null;
|
@@ -268,26 +313,20 @@ export declare namespace DisableNodeCommand {
|
|
268
313
|
cpuCount: number | null;
|
269
314
|
cpuModel: string | null;
|
270
315
|
totalRam: string | null;
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
316
|
+
configProfile: {
|
317
|
+
activeConfigProfileUuid: string | null;
|
318
|
+
activeInbounds: {
|
319
|
+
type: string;
|
320
|
+
uuid: string;
|
321
|
+
profileUuid: string;
|
322
|
+
tag: string;
|
323
|
+
network: string | null;
|
324
|
+
security: string | null;
|
325
|
+
port: number | null;
|
326
|
+
rawInbound?: unknown;
|
327
|
+
}[];
|
328
|
+
};
|
282
329
|
providerUuid: string | null;
|
283
|
-
provider: {
|
284
|
-
uuid: string;
|
285
|
-
createdAt: string;
|
286
|
-
updatedAt: string;
|
287
|
-
name: string;
|
288
|
-
faviconLink: string | null;
|
289
|
-
loginUrl: string | null;
|
290
|
-
} | null;
|
291
330
|
};
|
292
331
|
}>;
|
293
332
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/disable.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.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/disable.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"}
|