@remnawave/backend-contract 2.0.0-alpha.1 → 2.0.0-alpha.10
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 +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/infra-billing.d.ts +16 -0
- package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
- package/build/backend/api/controllers/infra-billing.js +22 -0
- package/build/backend/api/controllers/users.d.ts +1 -0
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +1 -0
- package/build/backend/api/routes.d.ts +15 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +15 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +9 -0
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +6 -6
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +4 -2
- 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/infra-billing/create-infra-provider.command.d.ts +123 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +117 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +156 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/backend/commands/infra-billing/index.d.ts +6 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/index.js +21 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +126 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +7 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -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 +7 -0
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +1 -1
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +9 -0
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +7 -0
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +143 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +143 -0
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +210 -0
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +146 -0
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +1 -0
- package/build/backend/commands/nodes/get-all.command.d.ts +143 -0
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +143 -0
- 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 +213 -0
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +1 -0
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +114 -0
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +31 -0
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/users/index.d.ts +1 -0
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +1 -0
- package/build/backend/constants/errors/errors.d.ts +35 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +35 -0
- package/build/backend/models/config-profile-inbounds.schema.d.ts +3 -0
- package/build/backend/models/config-profile-inbounds.schema.d.ts.map +1 -1
- package/build/backend/models/config-profile-inbounds.schema.js +1 -0
- package/build/backend/models/config-profile.schema.d.ts +5 -0
- package/build/backend/models/config-profile.schema.d.ts.map +1 -1
- 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/infra-provider.schema.d.ts +65 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
- package/build/backend/models/infra-provider.schema.js +27 -0
- package/build/backend/models/internal-squad.schema.d.ts +5 -0
- package/build/backend/models/internal-squad.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.d.ts +105 -0
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +3 -0
- package/build/frontend/api/controllers/index.js +1 -0
- package/build/frontend/api/controllers/infra-billing.js +22 -0
- package/build/frontend/api/controllers/users.js +1 -0
- package/build/frontend/api/routes.js +15 -0
- package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/frontend/commands/hosts/create.command.js +4 -2
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/frontend/commands/infra-billing/index.js +21 -0
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/frontend/commands/nodes/create.command.js +1 -0
- package/build/frontend/commands/nodes/update.command.js +1 -0
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +31 -0
- package/build/frontend/commands/users/index.js +1 -0
- package/build/frontend/constants/errors/errors.js +35 -0
- package/build/frontend/models/config-profile-inbounds.schema.js +1 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/infra-provider.schema.js +27 -0
- package/build/frontend/models/nodes.schema.js +3 -0
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
@@ -19,6 +19,7 @@ __exportStar(require("./auth"), exports);
|
|
19
19
|
__exportStar(require("./config-profiles"), exports);
|
20
20
|
__exportStar(require("./hosts"), exports);
|
21
21
|
__exportStar(require("./hwid"), exports);
|
22
|
+
__exportStar(require("./infra-billing"), exports);
|
22
23
|
__exportStar(require("./internal-squads"), exports);
|
23
24
|
__exportStar(require("./keygen"), exports);
|
24
25
|
__exportStar(require("./nodes"), exports);
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export declare const INFRA_BILLING_CONTROLLER: "infra-billing";
|
2
|
+
export declare const INFRA_BILLING_ROUTES: {
|
3
|
+
readonly GET_PROVIDERS: "providers";
|
4
|
+
readonly CREATE_PROVIDER: "providers";
|
5
|
+
readonly UPDATE_PROVIDER: "providers";
|
6
|
+
readonly DELETE_PROVIDER: (uuid: string) => string;
|
7
|
+
readonly GET_PROVIDER_BY_UUID: (uuid: string) => string;
|
8
|
+
readonly GET_BILLING_NODES: "nodes";
|
9
|
+
readonly CREATE_BILLING_NODE: "nodes";
|
10
|
+
readonly UPDATE_BILLING_NODE: (uuid: string) => string;
|
11
|
+
readonly DELETE_BILLING_NODE: (uuid: string) => string;
|
12
|
+
readonly GET_BILLING_HISTORY: "history";
|
13
|
+
readonly CREATE_BILLING_HISTORY: "history";
|
14
|
+
readonly DELETE_BILLING_HISTORY: (uuid: string) => string;
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=infra-billing.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"infra-billing.d.ts","sourceRoot":"","sources":["../../../../api/controllers/infra-billing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,eAAwB,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;;qCAIL,MAAM;0CACD,MAAM;;;yCAIP,MAAM;yCACN,MAAM;;;4CAIH,MAAM;CAM/B,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.INFRA_BILLING_ROUTES = exports.INFRA_BILLING_CONTROLLER = void 0;
|
4
|
+
exports.INFRA_BILLING_CONTROLLER = 'infra-billing';
|
5
|
+
exports.INFRA_BILLING_ROUTES = {
|
6
|
+
GET_PROVIDERS: 'providers', // Get list of all providers // get
|
7
|
+
CREATE_PROVIDER: 'providers', // Create new provider // post
|
8
|
+
UPDATE_PROVIDER: 'providers', // Update provider by uuid // patch
|
9
|
+
DELETE_PROVIDER: (uuid) => `providers/${uuid}`, // Delete provider by uuid // delete
|
10
|
+
GET_PROVIDER_BY_UUID: (uuid) => `providers/${uuid}`, // Get provider by uuid // get
|
11
|
+
GET_BILLING_NODES: 'nodes', // Get list of all nodes billing // get
|
12
|
+
CREATE_BILLING_NODE: 'nodes', // Create new node billing // post
|
13
|
+
UPDATE_BILLING_NODE: (uuid) => `nodes/${uuid}`, // Update node billing by uuid // patch
|
14
|
+
DELETE_BILLING_NODE: (uuid) => `nodes/${uuid}`, // Delete node billing by uuid // delete
|
15
|
+
GET_BILLING_HISTORY: 'history', // Get list of all nodes billing history // get
|
16
|
+
CREATE_BILLING_HISTORY: 'history', // Create new node billing history // post
|
17
|
+
DELETE_BILLING_HISTORY: (uuid) => `history/${uuid}`, // Delete node billing history by uuid // delete
|
18
|
+
// GET_BILLING_HISTORY_BY_NODE_UUID: (nodeUuid: string) => `history/${nodeUuid}`, // Get list of all nodes billing history by node uuid // get
|
19
|
+
// GET_BILLING_HISTORY_BY_PROVIDER_UUID: (providerUuid: string) => `history/${providerUuid}`, // Get list of all nodes billing history by provider uuid // get
|
20
|
+
// GET_BILLING_HISTORY_BY_NODE_UUID_AND_PROVIDER_UUID: (nodeUuid: string, providerUuid: string) =>
|
21
|
+
// `history/${nodeUuid}/${providerUuid}`, // Get list of all nodes billing history by node uuid and provider uuid // get
|
22
|
+
};
|
@@ -6,6 +6,7 @@ export declare const USERS_ROUTES: {
|
|
6
6
|
readonly GET: "";
|
7
7
|
readonly DELETE: (uuid: string) => string;
|
8
8
|
readonly GET_BY_UUID: (uuid: string) => string;
|
9
|
+
readonly ACCESSIBLE_NODES: (uuid: string) => string;
|
9
10
|
readonly ACTIONS: {
|
10
11
|
readonly ENABLE: (uuid: string) => string;
|
11
12
|
readonly DISABLE: (uuid: string) => string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../api/controllers/users.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAG,SAAkB,CAAC;AAEtD,eAAO,MAAM,YAAY;;;;4BAIN,MAAM;iCACD,MAAM;;
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../api/controllers/users.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAG,SAAkB,CAAC;AAEtD,eAAO,MAAM,YAAY;;;;4BAIN,MAAM;iCACD,MAAM;sCACD,MAAM;;gCAEZ,MAAM;iCACL,MAAM;uCACA,MAAM;6CACA,MAAM;;;yCAGV,MAAM;sCACT,MAAM;uDACW,MAAM;2CAClB,MAAM;gCACjB,MAAM;4BACV,MAAM;;;;;;;;;;;;;;;4CAiBU,MAAM;;;;;CAM/B,CAAC"}
|
@@ -9,6 +9,7 @@ exports.USERS_ROUTES = {
|
|
9
9
|
GET: '',
|
10
10
|
DELETE: (uuid) => `${uuid}`,
|
11
11
|
GET_BY_UUID: (uuid) => `${uuid}`,
|
12
|
+
ACCESSIBLE_NODES: (uuid) => `${uuid}/accessible-nodes`,
|
12
13
|
ACTIONS: {
|
13
14
|
ENABLE: (uuid) => `${uuid}/${exports.USERS_ACTIONS_ROUTE}/enable`,
|
14
15
|
DISABLE: (uuid) => `${uuid}/${exports.USERS_ACTIONS_ROUTE}/disable`,
|
@@ -43,6 +43,7 @@ export declare const REST_API: {
|
|
43
43
|
readonly GET: "/api/users/";
|
44
44
|
readonly DELETE: (uuid: string) => string;
|
45
45
|
readonly GET_BY_UUID: (uuid: string) => string;
|
46
|
+
readonly ACCESSIBLE_NODES: (uuid: string) => string;
|
46
47
|
readonly ACTIONS: {
|
47
48
|
readonly DISABLE: (uuid: string) => string;
|
48
49
|
readonly ENABLE: (uuid: string) => string;
|
@@ -141,5 +142,19 @@ export declare const REST_API: {
|
|
141
142
|
readonly GET_BY_UUID: (uuid: string) => string;
|
142
143
|
readonly DELETE: (uuid: string) => string;
|
143
144
|
};
|
145
|
+
readonly INFRA_BILLING: {
|
146
|
+
readonly GET_PROVIDERS: "/api/infra-billing/providers";
|
147
|
+
readonly CREATE_PROVIDER: "/api/infra-billing/providers";
|
148
|
+
readonly UPDATE_PROVIDER: "/api/infra-billing/providers";
|
149
|
+
readonly DELETE_PROVIDER: (uuid: string) => string;
|
150
|
+
readonly GET_PROVIDER_BY_UUID: (uuid: string) => string;
|
151
|
+
readonly GET_BILLING_NODES: "/api/infra-billing/nodes";
|
152
|
+
readonly CREATE_BILLING_NODE: "/api/infra-billing/nodes";
|
153
|
+
readonly UPDATE_BILLING_NODE: (uuid: string) => string;
|
154
|
+
readonly DELETE_BILLING_NODE: (uuid: string) => string;
|
155
|
+
readonly GET_BILLING_HISTORY: "/api/infra-billing/history";
|
156
|
+
readonly CREATE_BILLING_HISTORY: "/api/infra-billing/history";
|
157
|
+
readonly DELETE_BILLING_HISTORY: (uuid: string) => string;
|
158
|
+
};
|
144
159
|
};
|
145
160
|
//# sourceMappingURL=routes.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;gCAYE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;;
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;gCAYE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;;qCAIX,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;qCAuBD,MAAM;;;;;;;;;mDAYQ,MAAM;;;;;;0CASf,MAAM;;;;;;;qCAUX,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;;;;;;yCAUG,MAAM;8CAED,MAAM;;;6CAKP,MAAM;6CAEN,MAAM;;;gDAKH,MAAM;;CAGnC,CAAC"}
|
@@ -80,6 +80,7 @@ exports.REST_API = {
|
|
80
80
|
GET: `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET}`,
|
81
81
|
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.DELETE(uuid)}`,
|
82
82
|
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET_BY_UUID(uuid)}`,
|
83
|
+
ACCESSIBLE_NODES: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.ACCESSIBLE_NODES(uuid)}`,
|
83
84
|
ACTIONS: {
|
84
85
|
DISABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.ACTIONS.DISABLE(uuid)}`,
|
85
86
|
ENABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.ACTIONS.ENABLE(uuid)}`,
|
@@ -178,4 +179,18 @@ exports.REST_API = {
|
|
178
179
|
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.GET_BY_UUID(uuid)}`,
|
179
180
|
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.DELETE(uuid)}`,
|
180
181
|
},
|
182
|
+
INFRA_BILLING: {
|
183
|
+
GET_PROVIDERS: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_PROVIDERS}`,
|
184
|
+
CREATE_PROVIDER: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_PROVIDER}`,
|
185
|
+
UPDATE_PROVIDER: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.UPDATE_PROVIDER}`,
|
186
|
+
DELETE_PROVIDER: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_PROVIDER(uuid)}`,
|
187
|
+
GET_PROVIDER_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_PROVIDER_BY_UUID(uuid)}`,
|
188
|
+
GET_BILLING_NODES: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_BILLING_NODES}`,
|
189
|
+
CREATE_BILLING_NODE: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_BILLING_NODE}`,
|
190
|
+
UPDATE_BILLING_NODE: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.UPDATE_BILLING_NODE(uuid)}`,
|
191
|
+
DELETE_BILLING_NODE: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_BILLING_NODE(uuid)}`,
|
192
|
+
GET_BILLING_HISTORY: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_BILLING_HISTORY}`,
|
193
|
+
CREATE_BILLING_HISTORY: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_BILLING_HISTORY}`,
|
194
|
+
DELETE_BILLING_HISTORY: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_BILLING_HISTORY(uuid)}`,
|
195
|
+
},
|
181
196
|
};
|
@@ -31,6 +31,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
31
31
|
network: z.ZodNullable<z.ZodString>;
|
32
32
|
security: z.ZodNullable<z.ZodString>;
|
33
33
|
port: z.ZodNullable<z.ZodNumber>;
|
34
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
34
35
|
}, "strip", z.ZodTypeAny, {
|
35
36
|
type: string;
|
36
37
|
uuid: string;
|
@@ -39,6 +40,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
39
40
|
network: string | null;
|
40
41
|
security: string | null;
|
41
42
|
port: number | null;
|
43
|
+
rawInbound?: unknown;
|
42
44
|
}, {
|
43
45
|
type: string;
|
44
46
|
uuid: string;
|
@@ -47,6 +49,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
47
49
|
network: string | null;
|
48
50
|
security: string | null;
|
49
51
|
port: number | null;
|
52
|
+
rawInbound?: unknown;
|
50
53
|
}>, "many">;
|
51
54
|
nodes: z.ZodArray<z.ZodObject<{
|
52
55
|
uuid: z.ZodString;
|
@@ -72,6 +75,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
72
75
|
network: string | null;
|
73
76
|
security: string | null;
|
74
77
|
port: number | null;
|
78
|
+
rawInbound?: unknown;
|
75
79
|
}[];
|
76
80
|
nodes: {
|
77
81
|
uuid: string;
|
@@ -92,6 +96,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
92
96
|
network: string | null;
|
93
97
|
security: string | null;
|
94
98
|
port: number | null;
|
99
|
+
rawInbound?: unknown;
|
95
100
|
}[];
|
96
101
|
nodes: {
|
97
102
|
uuid: string;
|
@@ -114,6 +119,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
114
119
|
network: string | null;
|
115
120
|
security: string | null;
|
116
121
|
port: number | null;
|
122
|
+
rawInbound?: unknown;
|
117
123
|
}[];
|
118
124
|
nodes: {
|
119
125
|
uuid: string;
|
@@ -136,6 +142,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
136
142
|
network: string | null;
|
137
143
|
security: string | null;
|
138
144
|
port: number | null;
|
145
|
+
rawInbound?: unknown;
|
139
146
|
}[];
|
140
147
|
nodes: {
|
141
148
|
uuid: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-config-profile.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/create-config-profile.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;MAUxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"create-config-profile.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/create-config-profile.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;MAUxB,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"}
|
@@ -13,8 +13,8 @@ var CreateConfigProfileCommand;
|
|
13
13
|
CreateConfigProfileCommand.RequestSchema = zod_1.z.object({
|
14
14
|
name: zod_1.z
|
15
15
|
.string()
|
16
|
-
.min(
|
17
|
-
.max(
|
16
|
+
.min(2, 'Name must be at least 2 characters')
|
17
|
+
.max(20, 'Name must be less than 20 characters')
|
18
18
|
.regex(/^[A-Za-z0-9_-]+$/, 'Name can only contain letters, numbers, underscores and dashes'),
|
19
19
|
config: zod_1.z.object({}).passthrough(),
|
20
20
|
});
|
@@ -14,6 +14,7 @@ export declare namespace GetAllInboundsCommand {
|
|
14
14
|
network: z.ZodNullable<z.ZodString>;
|
15
15
|
security: z.ZodNullable<z.ZodString>;
|
16
16
|
port: z.ZodNullable<z.ZodNumber>;
|
17
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
17
18
|
}, "strip", z.ZodTypeAny, {
|
18
19
|
type: string;
|
19
20
|
uuid: string;
|
@@ -22,6 +23,7 @@ export declare namespace GetAllInboundsCommand {
|
|
22
23
|
network: string | null;
|
23
24
|
security: string | null;
|
24
25
|
port: number | null;
|
26
|
+
rawInbound?: unknown;
|
25
27
|
}, {
|
26
28
|
type: string;
|
27
29
|
uuid: string;
|
@@ -30,6 +32,7 @@ export declare namespace GetAllInboundsCommand {
|
|
30
32
|
network: string | null;
|
31
33
|
security: string | null;
|
32
34
|
port: number | null;
|
35
|
+
rawInbound?: unknown;
|
33
36
|
}>, "many">;
|
34
37
|
}, "strip", z.ZodTypeAny, {
|
35
38
|
inbounds: {
|
@@ -40,6 +43,7 @@ export declare namespace GetAllInboundsCommand {
|
|
40
43
|
network: string | null;
|
41
44
|
security: string | null;
|
42
45
|
port: number | null;
|
46
|
+
rawInbound?: unknown;
|
43
47
|
}[];
|
44
48
|
total: number;
|
45
49
|
}, {
|
@@ -51,6 +55,7 @@ export declare namespace GetAllInboundsCommand {
|
|
51
55
|
network: string | null;
|
52
56
|
security: string | null;
|
53
57
|
port: number | null;
|
58
|
+
rawInbound?: unknown;
|
54
59
|
}[];
|
55
60
|
total: number;
|
56
61
|
}>;
|
@@ -64,6 +69,7 @@ export declare namespace GetAllInboundsCommand {
|
|
64
69
|
network: string | null;
|
65
70
|
security: string | null;
|
66
71
|
port: number | null;
|
72
|
+
rawInbound?: unknown;
|
67
73
|
}[];
|
68
74
|
total: number;
|
69
75
|
};
|
@@ -77,6 +83,7 @@ export declare namespace GetAllInboundsCommand {
|
|
77
83
|
network: string | null;
|
78
84
|
security: string | null;
|
79
85
|
port: number | null;
|
86
|
+
rawInbound?: unknown;
|
80
87
|
}[];
|
81
88
|
total: number;
|
82
89
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-all-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-all-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,iCAA4C,CAAC;IACtD,MAAM,OAAO,iCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
1
|
+
{"version":3,"file":"get-all-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-all-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,iCAA4C,CAAC;IACtD,MAAM,OAAO,iCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -24,6 +24,7 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
24
24
|
network: z.ZodNullable<z.ZodString>;
|
25
25
|
security: z.ZodNullable<z.ZodString>;
|
26
26
|
port: z.ZodNullable<z.ZodNumber>;
|
27
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
27
28
|
}, "strip", z.ZodTypeAny, {
|
28
29
|
type: string;
|
29
30
|
uuid: string;
|
@@ -32,6 +33,7 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
32
33
|
network: string | null;
|
33
34
|
security: string | null;
|
34
35
|
port: number | null;
|
36
|
+
rawInbound?: unknown;
|
35
37
|
}, {
|
36
38
|
type: string;
|
37
39
|
uuid: string;
|
@@ -40,6 +42,7 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
40
42
|
network: string | null;
|
41
43
|
security: string | null;
|
42
44
|
port: number | null;
|
45
|
+
rawInbound?: unknown;
|
43
46
|
}>, "many">;
|
44
47
|
nodes: z.ZodArray<z.ZodObject<{
|
45
48
|
uuid: z.ZodString;
|
@@ -65,6 +68,7 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
65
68
|
network: string | null;
|
66
69
|
security: string | null;
|
67
70
|
port: number | null;
|
71
|
+
rawInbound?: unknown;
|
68
72
|
}[];
|
69
73
|
nodes: {
|
70
74
|
uuid: string;
|
@@ -85,6 +89,7 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
85
89
|
network: string | null;
|
86
90
|
security: string | null;
|
87
91
|
port: number | null;
|
92
|
+
rawInbound?: unknown;
|
88
93
|
}[];
|
89
94
|
nodes: {
|
90
95
|
uuid: string;
|
@@ -107,6 +112,7 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
107
112
|
network: string | null;
|
108
113
|
security: string | null;
|
109
114
|
port: number | null;
|
115
|
+
rawInbound?: unknown;
|
110
116
|
}[];
|
111
117
|
nodes: {
|
112
118
|
uuid: string;
|
@@ -129,6 +135,7 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
129
135
|
network: string | null;
|
130
136
|
security: string | null;
|
131
137
|
port: number | null;
|
138
|
+
rawInbound?: unknown;
|
132
139
|
}[];
|
133
140
|
nodes: {
|
134
141
|
uuid: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-config-profile-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-config-profile-by-uuid.command.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
|
1
|
+
{"version":3,"file":"get-config-profile-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-config-profile-by-uuid.command.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"}
|
@@ -18,6 +18,7 @@ export declare namespace GetConfigProfilesCommand {
|
|
18
18
|
network: z.ZodNullable<z.ZodString>;
|
19
19
|
security: z.ZodNullable<z.ZodString>;
|
20
20
|
port: z.ZodNullable<z.ZodNumber>;
|
21
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
21
22
|
}, "strip", z.ZodTypeAny, {
|
22
23
|
type: string;
|
23
24
|
uuid: string;
|
@@ -26,6 +27,7 @@ export declare namespace GetConfigProfilesCommand {
|
|
26
27
|
network: string | null;
|
27
28
|
security: string | null;
|
28
29
|
port: number | null;
|
30
|
+
rawInbound?: unknown;
|
29
31
|
}, {
|
30
32
|
type: string;
|
31
33
|
uuid: string;
|
@@ -34,6 +36,7 @@ export declare namespace GetConfigProfilesCommand {
|
|
34
36
|
network: string | null;
|
35
37
|
security: string | null;
|
36
38
|
port: number | null;
|
39
|
+
rawInbound?: unknown;
|
37
40
|
}>, "many">;
|
38
41
|
nodes: z.ZodArray<z.ZodObject<{
|
39
42
|
uuid: z.ZodString;
|
@@ -59,6 +62,7 @@ export declare namespace GetConfigProfilesCommand {
|
|
59
62
|
network: string | null;
|
60
63
|
security: string | null;
|
61
64
|
port: number | null;
|
65
|
+
rawInbound?: unknown;
|
62
66
|
}[];
|
63
67
|
nodes: {
|
64
68
|
uuid: string;
|
@@ -79,6 +83,7 @@ export declare namespace GetConfigProfilesCommand {
|
|
79
83
|
network: string | null;
|
80
84
|
security: string | null;
|
81
85
|
port: number | null;
|
86
|
+
rawInbound?: unknown;
|
82
87
|
}[];
|
83
88
|
nodes: {
|
84
89
|
uuid: string;
|
@@ -102,6 +107,7 @@ export declare namespace GetConfigProfilesCommand {
|
|
102
107
|
network: string | null;
|
103
108
|
security: string | null;
|
104
109
|
port: number | null;
|
110
|
+
rawInbound?: unknown;
|
105
111
|
}[];
|
106
112
|
nodes: {
|
107
113
|
uuid: string;
|
@@ -125,6 +131,7 @@ export declare namespace GetConfigProfilesCommand {
|
|
125
131
|
network: string | null;
|
126
132
|
security: string | null;
|
127
133
|
port: number | null;
|
134
|
+
rawInbound?: unknown;
|
128
135
|
}[];
|
129
136
|
nodes: {
|
130
137
|
uuid: string;
|
@@ -150,6 +157,7 @@ export declare namespace GetConfigProfilesCommand {
|
|
150
157
|
network: string | null;
|
151
158
|
security: string | null;
|
152
159
|
port: number | null;
|
160
|
+
rawInbound?: unknown;
|
153
161
|
}[];
|
154
162
|
nodes: {
|
155
163
|
uuid: string;
|
@@ -175,6 +183,7 @@ export declare namespace GetConfigProfilesCommand {
|
|
175
183
|
network: string | null;
|
176
184
|
security: string | null;
|
177
185
|
port: number | null;
|
186
|
+
rawInbound?: unknown;
|
178
187
|
}[];
|
179
188
|
nodes: {
|
180
189
|
uuid: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-config-profiles.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-config-profiles.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
1
|
+
{"version":3,"file":"get-config-profiles.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-config-profiles.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -22,6 +22,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
|
|
22
22
|
network: z.ZodNullable<z.ZodString>;
|
23
23
|
security: z.ZodNullable<z.ZodString>;
|
24
24
|
port: z.ZodNullable<z.ZodNumber>;
|
25
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
25
26
|
}, "strip", z.ZodTypeAny, {
|
26
27
|
type: string;
|
27
28
|
uuid: string;
|
@@ -30,6 +31,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
|
|
30
31
|
network: string | null;
|
31
32
|
security: string | null;
|
32
33
|
port: number | null;
|
34
|
+
rawInbound?: unknown;
|
33
35
|
}, {
|
34
36
|
type: string;
|
35
37
|
uuid: string;
|
@@ -38,6 +40,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
|
|
38
40
|
network: string | null;
|
39
41
|
security: string | null;
|
40
42
|
port: number | null;
|
43
|
+
rawInbound?: unknown;
|
41
44
|
}>, "many">;
|
42
45
|
}, "strip", z.ZodTypeAny, {
|
43
46
|
inbounds: {
|
@@ -48,6 +51,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
|
|
48
51
|
network: string | null;
|
49
52
|
security: string | null;
|
50
53
|
port: number | null;
|
54
|
+
rawInbound?: unknown;
|
51
55
|
}[];
|
52
56
|
total: number;
|
53
57
|
}, {
|
@@ -59,6 +63,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
|
|
59
63
|
network: string | null;
|
60
64
|
security: string | null;
|
61
65
|
port: number | null;
|
66
|
+
rawInbound?: unknown;
|
62
67
|
}[];
|
63
68
|
total: number;
|
64
69
|
}>;
|
@@ -72,6 +77,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
|
|
72
77
|
network: string | null;
|
73
78
|
security: string | null;
|
74
79
|
port: number | null;
|
80
|
+
rawInbound?: unknown;
|
75
81
|
}[];
|
76
82
|
total: number;
|
77
83
|
};
|
@@ -85,6 +91,7 @@ export declare namespace GetInboundsByProfileUuidCommand {
|
|
85
91
|
network: string | null;
|
86
92
|
security: string | null;
|
87
93
|
port: number | null;
|
94
|
+
rawInbound?: unknown;
|
88
95
|
}[];
|
89
96
|
total: number;
|
90
97
|
};
|
package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-inbounds-by-profile-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-inbounds-by-profile-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,0BAAwD,CAAC;IAClE,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
|
1
|
+
{"version":3,"file":"get-inbounds-by-profile-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-inbounds-by-profile-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,0BAAwD,CAAC;IAClE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -31,6 +31,7 @@ export declare namespace UpdateConfigProfileCommand {
|
|
31
31
|
network: z.ZodNullable<z.ZodString>;
|
32
32
|
security: z.ZodNullable<z.ZodString>;
|
33
33
|
port: z.ZodNullable<z.ZodNumber>;
|
34
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
34
35
|
}, "strip", z.ZodTypeAny, {
|
35
36
|
type: string;
|
36
37
|
uuid: string;
|
@@ -39,6 +40,7 @@ export declare namespace UpdateConfigProfileCommand {
|
|
39
40
|
network: string | null;
|
40
41
|
security: string | null;
|
41
42
|
port: number | null;
|
43
|
+
rawInbound?: unknown;
|
42
44
|
}, {
|
43
45
|
type: string;
|
44
46
|
uuid: string;
|
@@ -47,6 +49,7 @@ export declare namespace UpdateConfigProfileCommand {
|
|
47
49
|
network: string | null;
|
48
50
|
security: string | null;
|
49
51
|
port: number | null;
|
52
|
+
rawInbound?: unknown;
|
50
53
|
}>, "many">;
|
51
54
|
nodes: z.ZodArray<z.ZodObject<{
|
52
55
|
uuid: z.ZodString;
|
@@ -72,6 +75,7 @@ export declare namespace UpdateConfigProfileCommand {
|
|
72
75
|
network: string | null;
|
73
76
|
security: string | null;
|
74
77
|
port: number | null;
|
78
|
+
rawInbound?: unknown;
|
75
79
|
}[];
|
76
80
|
nodes: {
|
77
81
|
uuid: string;
|
@@ -92,6 +96,7 @@ export declare namespace UpdateConfigProfileCommand {
|
|
92
96
|
network: string | null;
|
93
97
|
security: string | null;
|
94
98
|
port: number | null;
|
99
|
+
rawInbound?: unknown;
|
95
100
|
}[];
|
96
101
|
nodes: {
|
97
102
|
uuid: string;
|
@@ -114,6 +119,7 @@ export declare namespace UpdateConfigProfileCommand {
|
|
114
119
|
network: string | null;
|
115
120
|
security: string | null;
|
116
121
|
port: number | null;
|
122
|
+
rawInbound?: unknown;
|
117
123
|
}[];
|
118
124
|
nodes: {
|
119
125
|
uuid: string;
|
@@ -136,6 +142,7 @@ export declare namespace UpdateConfigProfileCommand {
|
|
136
142
|
network: string | null;
|
137
143
|
security: string | null;
|
138
144
|
port: number | null;
|
145
|
+
rawInbound?: unknown;
|
139
146
|
}[];
|
140
147
|
nodes: {
|
141
148
|
uuid: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-config-profile.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/update-config-profile.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"update-config-profile.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/update-config-profile.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;MAGxB,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"}
|
@@ -4,8 +4,8 @@ export declare namespace CreateHostCommand {
|
|
4
4
|
const TSQ_url: "/api/hosts/";
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
6
6
|
const RequestSchema: z.ZodObject<{
|
7
|
-
configProfileUuid: z.ZodString
|
8
|
-
configProfileInboundUuid: z.ZodString
|
7
|
+
configProfileUuid: z.ZodOptional<z.ZodString>;
|
8
|
+
configProfileInboundUuid: z.ZodOptional<z.ZodString>;
|
9
9
|
remark: z.ZodString;
|
10
10
|
address: z.ZodString;
|
11
11
|
port: z.ZodNumber;
|
@@ -43,8 +43,6 @@ export declare namespace CreateHostCommand {
|
|
43
43
|
port: number;
|
44
44
|
remark: string;
|
45
45
|
address: string;
|
46
|
-
configProfileUuid: string;
|
47
|
-
configProfileInboundUuid: string;
|
48
46
|
path?: string | undefined;
|
49
47
|
sni?: string | undefined;
|
50
48
|
host?: string | undefined;
|
@@ -53,13 +51,13 @@ export declare namespace CreateHostCommand {
|
|
53
51
|
isDisabled?: boolean | undefined;
|
54
52
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
55
53
|
xHttpExtraParams?: unknown;
|
54
|
+
configProfileUuid?: string | undefined;
|
55
|
+
configProfileInboundUuid?: string | undefined;
|
56
56
|
allowInsecure?: boolean | undefined;
|
57
57
|
}, {
|
58
58
|
port: number;
|
59
59
|
remark: string;
|
60
60
|
address: string;
|
61
|
-
configProfileUuid: string;
|
62
|
-
configProfileInboundUuid: string;
|
63
61
|
path?: string | undefined;
|
64
62
|
sni?: string | undefined;
|
65
63
|
host?: string | undefined;
|
@@ -68,6 +66,8 @@ export declare namespace CreateHostCommand {
|
|
68
66
|
isDisabled?: boolean | undefined;
|
69
67
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
70
68
|
xHttpExtraParams?: unknown;
|
69
|
+
configProfileUuid?: string | undefined;
|
70
|
+
configProfileInboundUuid?: string | undefined;
|
71
71
|
allowInsecure?: boolean | undefined;
|
72
72
|
}>;
|
73
73
|
type Request = z.infer<typeof RequestSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsCxB,CAAC;IACH,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"}
|
@@ -15,12 +15,14 @@ var CreateHostCommand;
|
|
15
15
|
.string({
|
16
16
|
invalid_type_error: 'Config Profile UUID must be a string',
|
17
17
|
})
|
18
|
-
.uuid('Config Profile UUID must be a valid UUID')
|
18
|
+
.uuid('Config Profile UUID must be a valid UUID')
|
19
|
+
.optional(),
|
19
20
|
configProfileInboundUuid: zod_1.z
|
20
21
|
.string({
|
21
22
|
invalid_type_error: 'Inbound UUID must be a string',
|
22
23
|
})
|
23
|
-
.uuid('Inbound UUID must be a valid UUID')
|
24
|
+
.uuid('Inbound UUID must be a valid UUID')
|
25
|
+
.optional(),
|
24
26
|
remark: zod_1.z
|
25
27
|
.string({
|
26
28
|
invalid_type_error: 'Remark must be a string',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|