@remnawave/backend-contract 2.0.0-alpha.27 → 2.0.0-alpha.3
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/index.d.ts +0 -1
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +0 -1
- package/build/backend/api/controllers/internal-squads.d.ts +0 -4
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/internal-squads.js +0 -5
- package/build/backend/api/controllers/users.d.ts +0 -1
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +0 -1
- package/build/backend/api/routes.d.ts +0 -19
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +0 -19
- package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +10 -26
- 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 +10 -26
- 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 +10 -26
- 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 +10 -26
- 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 +10 -26
- 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 +19 -47
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +13 -13
- package/build/backend/commands/hosts/get-all.command.d.ts +10 -26
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +10 -26
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +2 -10
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +21 -57
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +11 -10
- package/build/backend/commands/index.d.ts +0 -1
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +0 -1
- package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
- 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 +1 -2
- package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.js +1 -2
- package/build/backend/commands/nodes/actions/disable.command.d.ts +64 -157
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +64 -157
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +88 -230
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +70 -178
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +4 -7
- package/build/backend/commands/nodes/get-all.command.d.ts +64 -157
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +64 -157
- 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 +94 -251
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +4 -9
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/users/index.d.ts +0 -1
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +0 -1
- package/build/backend/constants/errors/errors.d.ts +0 -95
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +0 -95
- package/build/backend/constants/events/events.d.ts +0 -11
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +0 -10
- 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 +0 -1
- package/build/backend/models/{extended-users.schema.d.ts → extented-users.schema.d.ts} +1 -1
- package/build/backend/models/{extended-users.schema.d.ts.map → extented-users.schema.d.ts.map} +1 -1
- package/build/backend/models/hosts.schema.d.ts +6 -18
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +2 -4
- package/build/backend/models/index.d.ts +1 -5
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -5
- package/build/backend/models/nodes.schema.d.ts +44 -115
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +2 -7
- package/build/frontend/api/controllers/index.js +0 -1
- package/build/frontend/api/controllers/internal-squads.js +0 -5
- package/build/frontend/api/controllers/users.js +0 -1
- package/build/frontend/api/routes.js +0 -19
- package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/frontend/commands/hosts/create.command.js +13 -13
- package/build/frontend/commands/hosts/update.command.js +11 -10
- package/build/frontend/commands/index.js +0 -1
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/frontend/commands/internal-squads/index.js +1 -2
- package/build/frontend/commands/nodes/create.command.js +4 -7
- package/build/frontend/commands/nodes/update.command.js +4 -9
- package/build/frontend/commands/users/index.js +0 -1
- package/build/frontend/constants/errors/errors.js +0 -95
- package/build/frontend/constants/events/events.js +0 -10
- package/build/frontend/constants/templates/template-keys.js +0 -1
- package/build/frontend/models/hosts.schema.js +2 -4
- package/build/frontend/models/index.js +1 -5
- package/build/frontend/models/nodes.schema.js +2 -7
- package/package.json +1 -1
- package/build/backend/api/controllers/infra-billing.d.ts +0 -16
- package/build/backend/api/controllers/infra-billing.d.ts.map +0 -1
- package/build/backend/api/controllers/infra-billing.js +0 -18
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +0 -125
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/create-bill-record.command.js +0 -30
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +0 -465
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.js +0 -38
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +0 -123
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +0 -24
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +0 -119
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +0 -459
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +0 -33
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +0 -122
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/get-bill-records.command.js +0 -31
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +0 -451
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/get-billing-nodes.command.js +0 -26
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +0 -117
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +0 -156
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/get-infra-providers.command.js +0 -19
- package/build/backend/commands/infra-billing/index.d.ts +0 -13
- package/build/backend/commands/infra-billing/index.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/index.js +0 -28
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +0 -462
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.js +0 -35
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +0 -126
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +0 -26
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +0 -33
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +0 -1
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +0 -20
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +0 -33
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +0 -1
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +0 -20
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +0 -3
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +0 -1
- package/build/backend/commands/internal-squads/bulk-actions/index.js +0 -18
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +0 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +0 -114
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +0 -31
- package/build/backend/models/infra-billing-available-node.schema.d.ts +0 -116
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +0 -1
- package/build/backend/models/infra-billing-available-node.schema.js +0 -9
- package/build/backend/models/infra-billing-history-record.schema.d.ts +0 -44
- package/build/backend/models/infra-billing-history-record.schema.d.ts.map +0 -1
- package/build/backend/models/infra-billing-history-record.schema.js +0 -19
- package/build/backend/models/infra-billing-node.schema.d.ts +0 -179
- package/build/backend/models/infra-billing-node.schema.d.ts.map +0 -1
- package/build/backend/models/infra-billing-node.schema.js +0 -34
- package/build/backend/models/infra-provider.schema.d.ts +0 -87
- package/build/backend/models/infra-provider.schema.d.ts.map +0 -1
- package/build/backend/models/infra-provider.schema.js +0 -41
- package/build/frontend/api/controllers/infra-billing.js +0 -18
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +0 -30
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +0 -38
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +0 -24
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
- package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +0 -31
- package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +0 -26
- package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
- package/build/frontend/commands/infra-billing/get-infra-providers.command.js +0 -19
- package/build/frontend/commands/infra-billing/index.js +0 -28
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +0 -35
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +0 -26
- package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +0 -20
- package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +0 -20
- package/build/frontend/commands/internal-squads/bulk-actions/index.js +0 -18
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +0 -31
- package/build/frontend/models/infra-billing-available-node.schema.js +0 -9
- package/build/frontend/models/infra-billing-history-record.schema.js +0 -19
- package/build/frontend/models/infra-billing-node.schema.js +0 -34
- package/build/frontend/models/infra-provider.schema.js +0 -41
- /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid.js → get-internal-squad-by-uuid..js} +0 -0
- /package/build/backend/models/{extended-users.schema.js → extented-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/{extended-users.schema.js → extented-users.schema.js} +0 -0
package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare namespace AddUsersToInternalSquadCommand {
|
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=add-users-to-internal-squad.command.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"add-users-to-internal-squad.command.d.ts","sourceRoot":"","sources":["../../../../../commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,0BAAkD,CAAC;IAC5D,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"}
|
package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AddUsersToInternalSquadCommand = void 0;
|
4
|
-
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../../api");
|
6
|
-
const constants_1 = require("../../../constants");
|
7
|
-
var AddUsersToInternalSquadCommand;
|
8
|
-
(function (AddUsersToInternalSquadCommand) {
|
9
|
-
AddUsersToInternalSquadCommand.url = api_1.REST_API.INTERNAL_SQUADS.BULK_ACTIONS.ADD_USERS;
|
10
|
-
AddUsersToInternalSquadCommand.TSQ_url = AddUsersToInternalSquadCommand.url(':uuid');
|
11
|
-
AddUsersToInternalSquadCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.BULK_ACTIONS.ADD_USERS(':uuid'), 'post', 'Add all users to internal squad');
|
12
|
-
AddUsersToInternalSquadCommand.RequestSchema = zod_1.z.object({
|
13
|
-
uuid: zod_1.z.string().uuid(),
|
14
|
-
});
|
15
|
-
AddUsersToInternalSquadCommand.ResponseSchema = zod_1.z.object({
|
16
|
-
response: zod_1.z.object({
|
17
|
-
eventSent: zod_1.z.boolean(),
|
18
|
-
}),
|
19
|
-
});
|
20
|
-
})(AddUsersToInternalSquadCommand || (exports.AddUsersToInternalSquadCommand = AddUsersToInternalSquadCommand = {}));
|
@@ -1,33 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1,20 +0,0 @@
|
|
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 = {}));
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1,18 +0,0 @@
|
|
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);
|
@@ -1 +0,0 @@
|
|
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,114 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare namespace GetUserAccessibleNodesCommand {
|
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
|
-
userUuid: z.ZodString;
|
17
|
-
activeNodes: z.ZodArray<z.ZodObject<{
|
18
|
-
uuid: z.ZodString;
|
19
|
-
nodeName: z.ZodString;
|
20
|
-
countryCode: z.ZodString;
|
21
|
-
configProfileUuid: z.ZodString;
|
22
|
-
configProfileName: z.ZodString;
|
23
|
-
activeSquads: z.ZodArray<z.ZodObject<{
|
24
|
-
squadName: z.ZodString;
|
25
|
-
activeInbounds: z.ZodArray<z.ZodString, "many">;
|
26
|
-
}, "strip", z.ZodTypeAny, {
|
27
|
-
activeInbounds: string[];
|
28
|
-
squadName: string;
|
29
|
-
}, {
|
30
|
-
activeInbounds: string[];
|
31
|
-
squadName: string;
|
32
|
-
}>, "many">;
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
34
|
-
uuid: string;
|
35
|
-
countryCode: string;
|
36
|
-
nodeName: string;
|
37
|
-
configProfileUuid: string;
|
38
|
-
configProfileName: string;
|
39
|
-
activeSquads: {
|
40
|
-
activeInbounds: string[];
|
41
|
-
squadName: string;
|
42
|
-
}[];
|
43
|
-
}, {
|
44
|
-
uuid: string;
|
45
|
-
countryCode: string;
|
46
|
-
nodeName: string;
|
47
|
-
configProfileUuid: string;
|
48
|
-
configProfileName: string;
|
49
|
-
activeSquads: {
|
50
|
-
activeInbounds: string[];
|
51
|
-
squadName: string;
|
52
|
-
}[];
|
53
|
-
}>, "many">;
|
54
|
-
}, "strip", z.ZodTypeAny, {
|
55
|
-
userUuid: string;
|
56
|
-
activeNodes: {
|
57
|
-
uuid: string;
|
58
|
-
countryCode: string;
|
59
|
-
nodeName: string;
|
60
|
-
configProfileUuid: string;
|
61
|
-
configProfileName: string;
|
62
|
-
activeSquads: {
|
63
|
-
activeInbounds: string[];
|
64
|
-
squadName: string;
|
65
|
-
}[];
|
66
|
-
}[];
|
67
|
-
}, {
|
68
|
-
userUuid: string;
|
69
|
-
activeNodes: {
|
70
|
-
uuid: string;
|
71
|
-
countryCode: string;
|
72
|
-
nodeName: string;
|
73
|
-
configProfileUuid: string;
|
74
|
-
configProfileName: string;
|
75
|
-
activeSquads: {
|
76
|
-
activeInbounds: string[];
|
77
|
-
squadName: string;
|
78
|
-
}[];
|
79
|
-
}[];
|
80
|
-
}>;
|
81
|
-
}, "strip", z.ZodTypeAny, {
|
82
|
-
response: {
|
83
|
-
userUuid: string;
|
84
|
-
activeNodes: {
|
85
|
-
uuid: string;
|
86
|
-
countryCode: string;
|
87
|
-
nodeName: string;
|
88
|
-
configProfileUuid: string;
|
89
|
-
configProfileName: string;
|
90
|
-
activeSquads: {
|
91
|
-
activeInbounds: string[];
|
92
|
-
squadName: string;
|
93
|
-
}[];
|
94
|
-
}[];
|
95
|
-
};
|
96
|
-
}, {
|
97
|
-
response: {
|
98
|
-
userUuid: string;
|
99
|
-
activeNodes: {
|
100
|
-
uuid: string;
|
101
|
-
countryCode: string;
|
102
|
-
nodeName: string;
|
103
|
-
configProfileUuid: string;
|
104
|
-
configProfileName: string;
|
105
|
-
activeSquads: {
|
106
|
-
activeInbounds: string[];
|
107
|
-
squadName: string;
|
108
|
-
}[];
|
109
|
-
}[];
|
110
|
-
};
|
111
|
-
}>;
|
112
|
-
type Response = z.infer<typeof ResponseSchema>;
|
113
|
-
}
|
114
|
-
//# sourceMappingURL=get-user-accessible-nodes.command.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-user-accessible-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-accessible-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAkC,CAAC;IAC5C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GetUserAccessibleNodesCommand = void 0;
|
4
|
-
const zod_1 = require("zod");
|
5
|
-
const constants_1 = require("../../constants");
|
6
|
-
const api_1 = require("../../api");
|
7
|
-
var GetUserAccessibleNodesCommand;
|
8
|
-
(function (GetUserAccessibleNodesCommand) {
|
9
|
-
GetUserAccessibleNodesCommand.url = api_1.REST_API.USERS.ACCESSIBLE_NODES;
|
10
|
-
GetUserAccessibleNodesCommand.TSQ_url = GetUserAccessibleNodesCommand.url(':uuid');
|
11
|
-
GetUserAccessibleNodesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACCESSIBLE_NODES(':uuid'), 'get', 'Get user accessible nodes');
|
12
|
-
GetUserAccessibleNodesCommand.RequestSchema = zod_1.z.object({
|
13
|
-
uuid: zod_1.z.string().uuid(),
|
14
|
-
});
|
15
|
-
GetUserAccessibleNodesCommand.ResponseSchema = zod_1.z.object({
|
16
|
-
response: zod_1.z.object({
|
17
|
-
userUuid: zod_1.z.string().uuid(),
|
18
|
-
activeNodes: zod_1.z.array(zod_1.z.object({
|
19
|
-
uuid: zod_1.z.string().uuid(),
|
20
|
-
nodeName: zod_1.z.string(),
|
21
|
-
countryCode: zod_1.z.string(),
|
22
|
-
configProfileUuid: zod_1.z.string().uuid(),
|
23
|
-
configProfileName: zod_1.z.string(),
|
24
|
-
activeSquads: zod_1.z.array(zod_1.z.object({
|
25
|
-
squadName: zod_1.z.string(),
|
26
|
-
activeInbounds: zod_1.z.array(zod_1.z.string()),
|
27
|
-
})),
|
28
|
-
})),
|
29
|
-
}),
|
30
|
-
});
|
31
|
-
})(GetUserAccessibleNodesCommand || (exports.GetUserAccessibleNodesCommand = GetUserAccessibleNodesCommand = {}));
|
@@ -1,116 +0,0 @@
|
|
1
|
-
export declare const InfraBillingAvailableNodeSchema: import("zod").ZodObject<Pick<{
|
2
|
-
uuid: import("zod").ZodString;
|
3
|
-
name: import("zod").ZodString;
|
4
|
-
address: import("zod").ZodString;
|
5
|
-
port: import("zod").ZodNullable<import("zod").ZodNumber>;
|
6
|
-
isConnected: import("zod").ZodBoolean;
|
7
|
-
isDisabled: import("zod").ZodBoolean;
|
8
|
-
isConnecting: import("zod").ZodBoolean;
|
9
|
-
isNodeOnline: import("zod").ZodBoolean;
|
10
|
-
isXrayRunning: import("zod").ZodBoolean;
|
11
|
-
lastStatusChange: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, Date, string>>;
|
12
|
-
lastStatusMessage: import("zod").ZodNullable<import("zod").ZodString>;
|
13
|
-
xrayVersion: import("zod").ZodNullable<import("zod").ZodString>;
|
14
|
-
xrayUptime: import("zod").ZodString;
|
15
|
-
isTrafficTrackingActive: import("zod").ZodBoolean;
|
16
|
-
trafficResetDay: import("zod").ZodNullable<import("zod").ZodNumber>;
|
17
|
-
trafficLimitBytes: import("zod").ZodNullable<import("zod").ZodNumber>;
|
18
|
-
trafficUsedBytes: import("zod").ZodNullable<import("zod").ZodNumber>;
|
19
|
-
notifyPercent: import("zod").ZodNullable<import("zod").ZodNumber>;
|
20
|
-
usersOnline: import("zod").ZodNullable<import("zod").ZodNumber>;
|
21
|
-
viewPosition: import("zod").ZodNumber;
|
22
|
-
countryCode: import("zod").ZodString;
|
23
|
-
consumptionMultiplier: import("zod").ZodNumber;
|
24
|
-
cpuCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
25
|
-
cpuModel: import("zod").ZodNullable<import("zod").ZodString>;
|
26
|
-
totalRam: import("zod").ZodNullable<import("zod").ZodString>;
|
27
|
-
createdAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
|
28
|
-
updatedAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
|
29
|
-
configProfile: import("zod").ZodObject<{
|
30
|
-
activeConfigProfileUuid: import("zod").ZodNullable<import("zod").ZodString>;
|
31
|
-
activeInbounds: import("zod").ZodArray<import("zod").ZodObject<{
|
32
|
-
uuid: import("zod").ZodString;
|
33
|
-
profileUuid: import("zod").ZodString;
|
34
|
-
tag: import("zod").ZodString;
|
35
|
-
type: import("zod").ZodString;
|
36
|
-
network: import("zod").ZodNullable<import("zod").ZodString>;
|
37
|
-
security: import("zod").ZodNullable<import("zod").ZodString>;
|
38
|
-
port: import("zod").ZodNullable<import("zod").ZodNumber>;
|
39
|
-
rawInbound: import("zod").ZodNullable<import("zod").ZodUnknown>;
|
40
|
-
}, "strip", import("zod").ZodTypeAny, {
|
41
|
-
type: string;
|
42
|
-
uuid: string;
|
43
|
-
profileUuid: string;
|
44
|
-
tag: string;
|
45
|
-
network: string | null;
|
46
|
-
security: string | null;
|
47
|
-
port: number | null;
|
48
|
-
rawInbound?: unknown;
|
49
|
-
}, {
|
50
|
-
type: string;
|
51
|
-
uuid: string;
|
52
|
-
profileUuid: string;
|
53
|
-
tag: string;
|
54
|
-
network: string | null;
|
55
|
-
security: string | null;
|
56
|
-
port: number | null;
|
57
|
-
rawInbound?: unknown;
|
58
|
-
}>, "many">;
|
59
|
-
}, "strip", import("zod").ZodTypeAny, {
|
60
|
-
activeConfigProfileUuid: string | null;
|
61
|
-
activeInbounds: {
|
62
|
-
type: string;
|
63
|
-
uuid: string;
|
64
|
-
profileUuid: string;
|
65
|
-
tag: string;
|
66
|
-
network: string | null;
|
67
|
-
security: string | null;
|
68
|
-
port: number | null;
|
69
|
-
rawInbound?: unknown;
|
70
|
-
}[];
|
71
|
-
}, {
|
72
|
-
activeConfigProfileUuid: string | null;
|
73
|
-
activeInbounds: {
|
74
|
-
type: string;
|
75
|
-
uuid: string;
|
76
|
-
profileUuid: string;
|
77
|
-
tag: string;
|
78
|
-
network: string | null;
|
79
|
-
security: string | null;
|
80
|
-
port: number | null;
|
81
|
-
rawInbound?: unknown;
|
82
|
-
}[];
|
83
|
-
}>;
|
84
|
-
providerUuid: import("zod").ZodNullable<import("zod").ZodString>;
|
85
|
-
provider: import("zod").ZodNullable<import("zod").ZodObject<{
|
86
|
-
uuid: import("zod").ZodString;
|
87
|
-
name: import("zod").ZodString;
|
88
|
-
faviconLink: import("zod").ZodNullable<import("zod").ZodString>;
|
89
|
-
loginUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
90
|
-
createdAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
|
91
|
-
updatedAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
|
92
|
-
}, "strip", import("zod").ZodTypeAny, {
|
93
|
-
uuid: string;
|
94
|
-
createdAt: Date;
|
95
|
-
updatedAt: Date;
|
96
|
-
name: string;
|
97
|
-
faviconLink: string | null;
|
98
|
-
loginUrl: string | null;
|
99
|
-
}, {
|
100
|
-
uuid: string;
|
101
|
-
createdAt: string;
|
102
|
-
updatedAt: string;
|
103
|
-
name: string;
|
104
|
-
faviconLink: string | null;
|
105
|
-
loginUrl: string | null;
|
106
|
-
}>>;
|
107
|
-
}, "uuid" | "name" | "countryCode">, "strip", import("zod").ZodTypeAny, {
|
108
|
-
uuid: string;
|
109
|
-
name: string;
|
110
|
-
countryCode: string;
|
111
|
-
}, {
|
112
|
-
uuid: string;
|
113
|
-
name: string;
|
114
|
-
countryCode: string;
|
115
|
-
}>;
|
116
|
-
//# sourceMappingURL=infra-billing-available-node.schema.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.InfraBillingAvailableNodeSchema = void 0;
|
4
|
-
const nodes_schema_1 = require("./nodes.schema");
|
5
|
-
exports.InfraBillingAvailableNodeSchema = nodes_schema_1.NodesSchema.pick({
|
6
|
-
uuid: true,
|
7
|
-
name: true,
|
8
|
-
countryCode: true,
|
9
|
-
});
|
@@ -1,44 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare const InfraBillingHistoryRecordSchema: z.ZodObject<{
|
3
|
-
uuid: z.ZodString;
|
4
|
-
providerUuid: z.ZodString;
|
5
|
-
amount: z.ZodNumber;
|
6
|
-
billedAt: z.ZodEffects<z.ZodString, Date, string>;
|
7
|
-
provider: z.ZodObject<Omit<{
|
8
|
-
uuid: z.ZodString;
|
9
|
-
name: z.ZodString;
|
10
|
-
faviconLink: z.ZodNullable<z.ZodString>;
|
11
|
-
loginUrl: z.ZodNullable<z.ZodString>;
|
12
|
-
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
13
|
-
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
14
|
-
}, "createdAt" | "updatedAt" | "loginUrl">, "strip", z.ZodTypeAny, {
|
15
|
-
uuid: string;
|
16
|
-
name: string;
|
17
|
-
faviconLink: string | null;
|
18
|
-
}, {
|
19
|
-
uuid: string;
|
20
|
-
name: string;
|
21
|
-
faviconLink: string | null;
|
22
|
-
}>;
|
23
|
-
}, "strip", z.ZodTypeAny, {
|
24
|
-
uuid: string;
|
25
|
-
providerUuid: string;
|
26
|
-
provider: {
|
27
|
-
uuid: string;
|
28
|
-
name: string;
|
29
|
-
faviconLink: string | null;
|
30
|
-
};
|
31
|
-
amount: number;
|
32
|
-
billedAt: Date;
|
33
|
-
}, {
|
34
|
-
uuid: string;
|
35
|
-
providerUuid: string;
|
36
|
-
provider: {
|
37
|
-
uuid: string;
|
38
|
-
name: string;
|
39
|
-
faviconLink: string | null;
|
40
|
-
};
|
41
|
-
amount: number;
|
42
|
-
billedAt: string;
|
43
|
-
}>;
|
44
|
-
//# sourceMappingURL=infra-billing-history-record.schema.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"infra-billing-history-record.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-history-record.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa1C,CAAC"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.InfraBillingHistoryRecordSchema = void 0;
|
4
|
-
const zod_1 = require("zod");
|
5
|
-
const infra_provider_schema_1 = require("./infra-provider.schema");
|
6
|
-
exports.InfraBillingHistoryRecordSchema = zod_1.z.object({
|
7
|
-
uuid: zod_1.z.string().uuid(),
|
8
|
-
providerUuid: zod_1.z.string().uuid(),
|
9
|
-
amount: zod_1.z.number(),
|
10
|
-
billedAt: zod_1.z
|
11
|
-
.string()
|
12
|
-
.datetime()
|
13
|
-
.transform((str) => new Date(str)),
|
14
|
-
provider: infra_provider_schema_1.PartialInfraProviderSchema.omit({
|
15
|
-
createdAt: true,
|
16
|
-
updatedAt: true,
|
17
|
-
loginUrl: true,
|
18
|
-
}),
|
19
|
-
});
|