@remnawave/backend-contract 2.3.8 → 2.3.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/config-profiles.d.ts +3 -0
- package/build/backend/api/controllers/config-profiles.d.ts.map +1 -1
- package/build/backend/api/controllers/config-profiles.js +4 -0
- package/build/backend/api/controllers/external-squads.d.ts +3 -0
- package/build/backend/api/controllers/external-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/external-squads.js +4 -0
- package/build/backend/api/controllers/internal-squads.d.ts +3 -0
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/internal-squads.js +4 -0
- package/build/backend/api/controllers/subscription-template.d.ts +3 -0
- package/build/backend/api/controllers/subscription-template.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription-template.js +4 -0
- package/build/backend/api/routes.d.ts +12 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +12 -0
- package/build/backend/commands/config-profiles/actions/index.d.ts +2 -0
- package/build/backend/commands/config-profiles/actions/index.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/actions/index.js +17 -0
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +278 -0
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/actions/reorder.command.js +25 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +5 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +5 -0
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +5 -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 +7 -0
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/index.d.ts +1 -0
- package/build/backend/commands/config-profiles/index.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/index.js +1 -0
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +5 -0
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/actions/index.d.ts +2 -0
- package/build/backend/commands/external-squads/actions/index.d.ts.map +1 -0
- package/build/backend/commands/external-squads/actions/index.js +17 -0
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts +436 -0
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/external-squads/actions/reorder.command.js +25 -0
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +5 -0
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +5 -0
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts +7 -0
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/index.d.ts +1 -0
- package/build/backend/commands/external-squads/index.d.ts.map +1 -1
- package/build/backend/commands/external-squads/index.js +1 -0
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +5 -0
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/actions/index.d.ts +2 -0
- package/build/backend/commands/internal-squads/actions/index.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/actions/index.js +17 -0
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +258 -0
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/actions/reorder.command.js +25 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +5 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts +5 -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 +7 -0
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.d.ts +1 -0
- package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.js +1 -0
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +5 -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 +4 -4
- package/build/backend/commands/nodes/actions/enable.command.d.ts +4 -4
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +4 -4
- package/build/backend/commands/nodes/create.command.d.ts +4 -4
- package/build/backend/commands/nodes/get-all.command.d.ts +4 -4
- package/build/backend/commands/nodes/get-one.command.d.ts +4 -4
- package/build/backend/commands/nodes/update.command.d.ts +4 -4
- package/build/backend/commands/subscription-template/actions/index.d.ts +2 -0
- package/build/backend/commands/subscription-template/actions/index.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/actions/index.js +17 -0
- package/build/backend/commands/subscription-template/actions/reorder.command.d.ts +120 -0
- package/build/backend/commands/subscription-template/actions/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/actions/reorder.command.js +25 -0
- package/build/backend/commands/subscription-template/create-template.command.d.ts +5 -0
- package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/create-template.command.js +4 -10
- package/build/backend/commands/subscription-template/get-template.command.d.ts +5 -0
- package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/get-template.command.js +3 -9
- package/build/backend/commands/subscription-template/get-templates.command.d.ts +7 -0
- package/build/backend/commands/subscription-template/get-templates.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/get-templates.command.js +3 -9
- package/build/backend/commands/subscription-template/index.d.ts +1 -0
- package/build/backend/commands/subscription-template/index.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/index.js +1 -0
- package/build/backend/commands/subscription-template/update-template.command.d.ts +5 -0
- package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/update-template.command.js +3 -9
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- package/build/backend/models/config-profile.schema.d.ts +3 -0
- package/build/backend/models/config-profile.schema.d.ts.map +1 -1
- package/build/backend/models/config-profile.schema.js +1 -0
- package/build/backend/models/external-squad.schema.d.ts +3 -0
- package/build/backend/models/external-squad.schema.d.ts.map +1 -1
- package/build/backend/models/external-squad.schema.js +1 -0
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/internal-squad.schema.d.ts +3 -0
- package/build/backend/models/internal-squad.schema.d.ts.map +1 -1
- package/build/backend/models/internal-squad.schema.js +1 -0
- package/build/backend/models/nodes.schema.d.ts +2 -2
- package/build/backend/models/subscription-template.schema.d.ts +31 -0
- package/build/backend/models/subscription-template.schema.d.ts.map +1 -0
- package/build/backend/models/subscription-template.schema.js +16 -0
- package/build/frontend/api/controllers/config-profiles.js +4 -0
- package/build/frontend/api/controllers/external-squads.js +4 -0
- package/build/frontend/api/controllers/internal-squads.js +4 -0
- package/build/frontend/api/controllers/subscription-template.js +4 -0
- package/build/frontend/api/routes.js +12 -0
- package/build/frontend/commands/config-profiles/actions/index.js +17 -0
- package/build/frontend/commands/config-profiles/actions/reorder.command.js +25 -0
- package/build/frontend/commands/config-profiles/index.js +1 -0
- package/build/frontend/commands/external-squads/actions/index.js +17 -0
- package/build/frontend/commands/external-squads/actions/reorder.command.js +25 -0
- package/build/frontend/commands/external-squads/index.js +1 -0
- package/build/frontend/commands/internal-squads/actions/index.js +17 -0
- package/build/frontend/commands/internal-squads/actions/reorder.command.js +25 -0
- package/build/frontend/commands/internal-squads/index.js +1 -0
- package/build/frontend/commands/subscription-template/actions/index.js +17 -0
- package/build/frontend/commands/subscription-template/actions/reorder.command.js +25 -0
- package/build/frontend/commands/subscription-template/create-template.command.js +4 -10
- package/build/frontend/commands/subscription-template/get-template.command.js +3 -9
- package/build/frontend/commands/subscription-template/get-templates.command.js +3 -9
- package/build/frontend/commands/subscription-template/index.js +1 -0
- package/build/frontend/commands/subscription-template/update-template.command.js +3 -9
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/models/config-profile.schema.js +1 -0
- package/build/frontend/models/external-squad.schema.js +1 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/internal-squad.schema.js +1 -0
- package/build/frontend/models/subscription-template.schema.js +16 -0
- package/package.json +1 -1
|
@@ -8,5 +8,8 @@ export declare const CONFIG_PROFILES_ROUTES: {
|
|
|
8
8
|
readonly GET_INBOUNDS_BY_PROFILE_UUID: (uuid: string) => string;
|
|
9
9
|
readonly GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid: string) => string;
|
|
10
10
|
readonly GET_ALL_INBOUNDS: "inbounds";
|
|
11
|
+
readonly ACTIONS: {
|
|
12
|
+
readonly REORDER: "actions/reorder";
|
|
13
|
+
};
|
|
11
14
|
};
|
|
12
15
|
//# sourceMappingURL=config-profiles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-profiles.d.ts","sourceRoot":"","sources":["../../../../api/controllers/config-profiles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"config-profiles.d.ts","sourceRoot":"","sources":["../../../../api/controllers/config-profiles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AAIrE,eAAO,MAAM,sBAAsB;;;;iCAIX,MAAM;4BACX,MAAM;kDACgB,MAAM;yDACC,MAAM;;;;;CAM5C,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CONFIG_PROFILES_ROUTES = exports.CONFIG_PROFILES_CONTROLLER = void 0;
|
|
4
4
|
exports.CONFIG_PROFILES_CONTROLLER = 'config-profiles';
|
|
5
|
+
const ACTIONS_ROUTE = 'actions';
|
|
5
6
|
exports.CONFIG_PROFILES_ROUTES = {
|
|
6
7
|
GET: '', // Get list of all config profiles // get
|
|
7
8
|
CREATE: '', // Create new config profile // post
|
|
@@ -11,4 +12,7 @@ exports.CONFIG_PROFILES_ROUTES = {
|
|
|
11
12
|
GET_INBOUNDS_BY_PROFILE_UUID: (uuid) => `${uuid}/inbounds`, // Get list of all inbounds by config profile uuid // get
|
|
12
13
|
GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid) => `${uuid}/computed-config`, // Get computed config by config profile uuid // get
|
|
13
14
|
GET_ALL_INBOUNDS: 'inbounds', // Get list of all inbounds // get
|
|
15
|
+
ACTIONS: {
|
|
16
|
+
REORDER: `${ACTIONS_ROUTE}/reorder`,
|
|
17
|
+
},
|
|
14
18
|
};
|
|
@@ -9,5 +9,8 @@ export declare const EXTERNAL_SQUADS_ROUTES: {
|
|
|
9
9
|
readonly ADD_USERS: (uuid: string) => string;
|
|
10
10
|
readonly REMOVE_USERS: (uuid: string) => string;
|
|
11
11
|
};
|
|
12
|
+
readonly ACTIONS: {
|
|
13
|
+
readonly REORDER: "actions/reorder";
|
|
14
|
+
};
|
|
12
15
|
};
|
|
13
16
|
//# sourceMappingURL=external-squads.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-squads.d.ts","sourceRoot":"","sources":["../../../../api/controllers/external-squads.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"external-squads.d.ts","sourceRoot":"","sources":["../../../../api/controllers/external-squads.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AAKrE,eAAO,MAAM,sBAAsB;;;;iCAIX,MAAM;4BACX,MAAM;;mCAGC,MAAM;sCACH,MAAM;;;;;CAMzB,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.EXTERNAL_SQUADS_ROUTES = exports.EXTERNAL_SQUADS_CONTROLLER = void 0;
|
|
4
4
|
exports.EXTERNAL_SQUADS_CONTROLLER = 'external-squads';
|
|
5
5
|
const BULK_ACTIONS_ROUTE = 'bulk-actions';
|
|
6
|
+
const ACTIONS_ROUTE = 'actions';
|
|
6
7
|
exports.EXTERNAL_SQUADS_ROUTES = {
|
|
7
8
|
GET: '', // Get list of all external squads // get
|
|
8
9
|
CREATE: '', // Create new external squad // post
|
|
@@ -13,4 +14,7 @@ exports.EXTERNAL_SQUADS_ROUTES = {
|
|
|
13
14
|
ADD_USERS: (uuid) => `${uuid}/${BULK_ACTIONS_ROUTE}/add-users`, // Add users to external squad // post
|
|
14
15
|
REMOVE_USERS: (uuid) => `${uuid}/${BULK_ACTIONS_ROUTE}/remove-users`, // Remove users from external squad // delete
|
|
15
16
|
},
|
|
17
|
+
ACTIONS: {
|
|
18
|
+
REORDER: `${ACTIONS_ROUTE}/reorder`,
|
|
19
|
+
},
|
|
16
20
|
};
|
|
@@ -10,5 +10,8 @@ export declare const INTERNAL_SQUADS_ROUTES: {
|
|
|
10
10
|
readonly ADD_USERS: (uuid: string) => string;
|
|
11
11
|
readonly REMOVE_USERS: (uuid: string) => string;
|
|
12
12
|
};
|
|
13
|
+
readonly ACTIONS: {
|
|
14
|
+
readonly REORDER: "actions/reorder";
|
|
15
|
+
};
|
|
13
16
|
};
|
|
14
17
|
//# sourceMappingURL=internal-squads.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-squads.d.ts","sourceRoot":"","sources":["../../../../api/controllers/internal-squads.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"internal-squads.d.ts","sourceRoot":"","sources":["../../../../api/controllers/internal-squads.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AAKrE,eAAO,MAAM,sBAAsB;;;;iCAIX,MAAM;4BACX,MAAM;sCACI,MAAM;;mCAGT,MAAM;sCACH,MAAM;;;;;CAKzB,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.INTERNAL_SQUADS_ROUTES = exports.INTERNAL_SQUADS_CONTROLLER = void 0;
|
|
4
4
|
exports.INTERNAL_SQUADS_CONTROLLER = 'internal-squads';
|
|
5
5
|
const BULK_ACTIONS_ROUTE = 'bulk-actions';
|
|
6
|
+
const ACTIONS_ROUTE = 'actions';
|
|
6
7
|
exports.INTERNAL_SQUADS_ROUTES = {
|
|
7
8
|
GET: '', // Get list of all internal squads // get
|
|
8
9
|
CREATE: '', // Create new internal squad // post
|
|
@@ -14,4 +15,7 @@ exports.INTERNAL_SQUADS_ROUTES = {
|
|
|
14
15
|
ADD_USERS: (uuid) => `${uuid}/${BULK_ACTIONS_ROUTE}/add-users`, // Add users to internal squad // post
|
|
15
16
|
REMOVE_USERS: (uuid) => `${uuid}/${BULK_ACTIONS_ROUTE}/remove-users`, // Remove users from internal squad // delete
|
|
16
17
|
},
|
|
18
|
+
ACTIONS: {
|
|
19
|
+
REORDER: `${ACTIONS_ROUTE}/reorder`,
|
|
20
|
+
},
|
|
17
21
|
};
|
|
@@ -5,5 +5,8 @@ export declare const SUBSCRIPTION_TEMPLATE_ROUTES: {
|
|
|
5
5
|
readonly UPDATE: "";
|
|
6
6
|
readonly DELETE: (uuid: string) => string;
|
|
7
7
|
readonly CREATE: "";
|
|
8
|
+
readonly ACTIONS: {
|
|
9
|
+
readonly REORDER: "actions/reorder";
|
|
10
|
+
};
|
|
8
11
|
};
|
|
9
12
|
//# sourceMappingURL=subscription-template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-template.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription-template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,EAAG,wBAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"subscription-template.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription-template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,EAAG,wBAAiC,CAAC;AAIlF,eAAO,MAAM,4BAA4B;;yBAEzB,MAAM;;4BAEH,MAAM;;;;;CAMf,CAAC"}
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SUBSCRIPTION_TEMPLATE_ROUTES = exports.SUBSCRIPTION_TEMPLATE_CONTROLLER = void 0;
|
|
4
4
|
exports.SUBSCRIPTION_TEMPLATE_CONTROLLER = 'subscription-templates';
|
|
5
|
+
const ACTIONS_ROUTE = 'actions';
|
|
5
6
|
exports.SUBSCRIPTION_TEMPLATE_ROUTES = {
|
|
6
7
|
GET_ALL: '', // get
|
|
7
8
|
GET: (uuid) => `${uuid}`, // get
|
|
8
9
|
UPDATE: '', // patch
|
|
9
10
|
DELETE: (uuid) => `${uuid}`, // delete
|
|
10
11
|
CREATE: '', // post
|
|
12
|
+
ACTIONS: {
|
|
13
|
+
REORDER: `${ACTIONS_ROUTE}/reorder`,
|
|
14
|
+
},
|
|
11
15
|
};
|
|
@@ -140,6 +140,9 @@ export declare const REST_API: {
|
|
|
140
140
|
readonly DELETE: (uuid: string) => string;
|
|
141
141
|
readonly GET_ALL: "/api/subscription-templates/";
|
|
142
142
|
readonly CREATE: "/api/subscription-templates/";
|
|
143
|
+
readonly ACTIONS: {
|
|
144
|
+
readonly REORDER: "/api/subscription-templates/actions/reorder";
|
|
145
|
+
};
|
|
143
146
|
};
|
|
144
147
|
readonly SUBSCRIPTION_SETTINGS: {
|
|
145
148
|
readonly GET: "/api/subscription-settings/";
|
|
@@ -171,6 +174,9 @@ export declare const REST_API: {
|
|
|
171
174
|
readonly GET_INBOUNDS_BY_PROFILE_UUID: (uuid: string) => string;
|
|
172
175
|
readonly GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid: string) => string;
|
|
173
176
|
readonly GET_ALL_INBOUNDS: "/api/config-profiles/inbounds";
|
|
177
|
+
readonly ACTIONS: {
|
|
178
|
+
readonly REORDER: "/api/config-profiles/actions/reorder";
|
|
179
|
+
};
|
|
174
180
|
};
|
|
175
181
|
readonly INTERNAL_SQUADS: {
|
|
176
182
|
readonly GET: "/api/internal-squads/";
|
|
@@ -183,6 +189,9 @@ export declare const REST_API: {
|
|
|
183
189
|
readonly ADD_USERS: (uuid: string) => string;
|
|
184
190
|
readonly REMOVE_USERS: (uuid: string) => string;
|
|
185
191
|
};
|
|
192
|
+
readonly ACTIONS: {
|
|
193
|
+
readonly REORDER: "/api/internal-squads/actions/reorder";
|
|
194
|
+
};
|
|
186
195
|
};
|
|
187
196
|
readonly INFRA_BILLING: {
|
|
188
197
|
readonly GET_PROVIDERS: "/api/infra-billing/providers";
|
|
@@ -218,6 +227,9 @@ export declare const REST_API: {
|
|
|
218
227
|
readonly ADD_USERS: (uuid: string) => string;
|
|
219
228
|
readonly REMOVE_USERS: (uuid: string) => string;
|
|
220
229
|
};
|
|
230
|
+
readonly ACTIONS: {
|
|
231
|
+
readonly REORDER: "/api/external-squads/actions/reorder";
|
|
232
|
+
};
|
|
221
233
|
};
|
|
222
234
|
readonly REMNAAWAVE_SETTINGS: {
|
|
223
235
|
readonly GET: "/api/remnawave-settings/";
|
|
@@ -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,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;iDASA,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAmCT,MAAM;;gCAKH,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,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;iDASA,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAmCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;mDAiBa,MAAM;;;;;;;;0CAWf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;;;;;qCAUlB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;;;;yCAYP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;CAW7B,CAAC"}
|
|
@@ -177,6 +177,9 @@ exports.REST_API = {
|
|
|
177
177
|
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_ROUTES.DELETE(uuid)}`,
|
|
178
178
|
GET_ALL: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_ROUTES.GET_ALL}`,
|
|
179
179
|
CREATE: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_ROUTES.CREATE}`,
|
|
180
|
+
ACTIONS: {
|
|
181
|
+
REORDER: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_ROUTES.ACTIONS.REORDER}`,
|
|
182
|
+
},
|
|
180
183
|
},
|
|
181
184
|
SUBSCRIPTION_SETTINGS: {
|
|
182
185
|
GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_ROUTES.GET}`,
|
|
@@ -208,6 +211,9 @@ exports.REST_API = {
|
|
|
208
211
|
GET_INBOUNDS_BY_PROFILE_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_INBOUNDS_BY_PROFILE_UUID(uuid)}`,
|
|
209
212
|
GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_COMPUTED_CONFIG_BY_PROFILE_UUID(uuid)}`,
|
|
210
213
|
GET_ALL_INBOUNDS: `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_ALL_INBOUNDS}`,
|
|
214
|
+
ACTIONS: {
|
|
215
|
+
REORDER: `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.ACTIONS.REORDER}`,
|
|
216
|
+
},
|
|
211
217
|
},
|
|
212
218
|
INTERNAL_SQUADS: {
|
|
213
219
|
GET: `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.GET}`,
|
|
@@ -220,6 +226,9 @@ exports.REST_API = {
|
|
|
220
226
|
ADD_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.BULK_ACTIONS.ADD_USERS(uuid)}`,
|
|
221
227
|
REMOVE_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.BULK_ACTIONS.REMOVE_USERS(uuid)}`,
|
|
222
228
|
},
|
|
229
|
+
ACTIONS: {
|
|
230
|
+
REORDER: `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.ACTIONS.REORDER}`,
|
|
231
|
+
},
|
|
223
232
|
},
|
|
224
233
|
INFRA_BILLING: {
|
|
225
234
|
GET_PROVIDERS: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_PROVIDERS}`,
|
|
@@ -255,6 +264,9 @@ exports.REST_API = {
|
|
|
255
264
|
ADD_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.EXTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.EXTERNAL_SQUADS_ROUTES.BULK_ACTIONS.ADD_USERS(uuid)}`,
|
|
256
265
|
REMOVE_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.EXTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.EXTERNAL_SQUADS_ROUTES.BULK_ACTIONS.REMOVE_USERS(uuid)}`,
|
|
257
266
|
},
|
|
267
|
+
ACTIONS: {
|
|
268
|
+
REORDER: `${exports.ROOT}/${CONTROLLERS.EXTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.EXTERNAL_SQUADS_ROUTES.ACTIONS.REORDER}`,
|
|
269
|
+
},
|
|
258
270
|
},
|
|
259
271
|
REMNAAWAVE_SETTINGS: {
|
|
260
272
|
GET: `${exports.ROOT}/${CONTROLLERS.REMNAAWAVE_SETTINGS_CONTROLLER}/${CONTROLLERS.REMNAAWAVE_SETTINGS_ROUTES.GET}`,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/config-profiles/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./reorder.command"), exports);
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace ReorderConfigProfileCommand {
|
|
3
|
+
const url: "/api/config-profiles/actions/reorder";
|
|
4
|
+
const TSQ_url: "/api/config-profiles/actions/reorder";
|
|
5
|
+
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
+
const RequestSchema: z.ZodObject<{
|
|
7
|
+
items: z.ZodArray<z.ZodObject<Pick<{
|
|
8
|
+
uuid: z.ZodString;
|
|
9
|
+
viewPosition: z.ZodNumber;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
config: z.ZodUnknown;
|
|
12
|
+
inbounds: z.ZodArray<z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
profileUuid: z.ZodString;
|
|
15
|
+
tag: z.ZodString;
|
|
16
|
+
type: z.ZodString;
|
|
17
|
+
network: z.ZodNullable<z.ZodString>;
|
|
18
|
+
security: z.ZodNullable<z.ZodString>;
|
|
19
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
type: string;
|
|
23
|
+
uuid: string;
|
|
24
|
+
profileUuid: string;
|
|
25
|
+
tag: string;
|
|
26
|
+
network: string | null;
|
|
27
|
+
security: string | null;
|
|
28
|
+
port: number | null;
|
|
29
|
+
rawInbound?: unknown;
|
|
30
|
+
}, {
|
|
31
|
+
type: string;
|
|
32
|
+
uuid: string;
|
|
33
|
+
profileUuid: string;
|
|
34
|
+
tag: string;
|
|
35
|
+
network: string | null;
|
|
36
|
+
security: string | null;
|
|
37
|
+
port: number | null;
|
|
38
|
+
rawInbound?: unknown;
|
|
39
|
+
}>, "many">;
|
|
40
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
41
|
+
uuid: z.ZodString;
|
|
42
|
+
name: z.ZodString;
|
|
43
|
+
countryCode: z.ZodString;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
uuid: string;
|
|
46
|
+
name: string;
|
|
47
|
+
countryCode: string;
|
|
48
|
+
}, {
|
|
49
|
+
uuid: string;
|
|
50
|
+
name: string;
|
|
51
|
+
countryCode: string;
|
|
52
|
+
}>, "many">;
|
|
53
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
54
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
55
|
+
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
|
56
|
+
uuid: string;
|
|
57
|
+
viewPosition: number;
|
|
58
|
+
}, {
|
|
59
|
+
uuid: string;
|
|
60
|
+
viewPosition: number;
|
|
61
|
+
}>, "many">;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
items: {
|
|
64
|
+
uuid: string;
|
|
65
|
+
viewPosition: number;
|
|
66
|
+
}[];
|
|
67
|
+
}, {
|
|
68
|
+
items: {
|
|
69
|
+
uuid: string;
|
|
70
|
+
viewPosition: number;
|
|
71
|
+
}[];
|
|
72
|
+
}>;
|
|
73
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
74
|
+
const ResponseSchema: z.ZodObject<{
|
|
75
|
+
response: z.ZodObject<{
|
|
76
|
+
total: z.ZodNumber;
|
|
77
|
+
configProfiles: z.ZodArray<z.ZodObject<{
|
|
78
|
+
uuid: z.ZodString;
|
|
79
|
+
viewPosition: z.ZodNumber;
|
|
80
|
+
name: z.ZodString;
|
|
81
|
+
config: z.ZodUnknown;
|
|
82
|
+
inbounds: z.ZodArray<z.ZodObject<{
|
|
83
|
+
uuid: z.ZodString;
|
|
84
|
+
profileUuid: z.ZodString;
|
|
85
|
+
tag: z.ZodString;
|
|
86
|
+
type: z.ZodString;
|
|
87
|
+
network: z.ZodNullable<z.ZodString>;
|
|
88
|
+
security: z.ZodNullable<z.ZodString>;
|
|
89
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
90
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
type: string;
|
|
93
|
+
uuid: string;
|
|
94
|
+
profileUuid: string;
|
|
95
|
+
tag: string;
|
|
96
|
+
network: string | null;
|
|
97
|
+
security: string | null;
|
|
98
|
+
port: number | null;
|
|
99
|
+
rawInbound?: unknown;
|
|
100
|
+
}, {
|
|
101
|
+
type: string;
|
|
102
|
+
uuid: string;
|
|
103
|
+
profileUuid: string;
|
|
104
|
+
tag: string;
|
|
105
|
+
network: string | null;
|
|
106
|
+
security: string | null;
|
|
107
|
+
port: number | null;
|
|
108
|
+
rawInbound?: unknown;
|
|
109
|
+
}>, "many">;
|
|
110
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
111
|
+
uuid: z.ZodString;
|
|
112
|
+
name: z.ZodString;
|
|
113
|
+
countryCode: z.ZodString;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
uuid: string;
|
|
116
|
+
name: string;
|
|
117
|
+
countryCode: string;
|
|
118
|
+
}, {
|
|
119
|
+
uuid: string;
|
|
120
|
+
name: string;
|
|
121
|
+
countryCode: string;
|
|
122
|
+
}>, "many">;
|
|
123
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
124
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
inbounds: {
|
|
127
|
+
type: string;
|
|
128
|
+
uuid: string;
|
|
129
|
+
profileUuid: string;
|
|
130
|
+
tag: string;
|
|
131
|
+
network: string | null;
|
|
132
|
+
security: string | null;
|
|
133
|
+
port: number | null;
|
|
134
|
+
rawInbound?: unknown;
|
|
135
|
+
}[];
|
|
136
|
+
nodes: {
|
|
137
|
+
uuid: string;
|
|
138
|
+
name: string;
|
|
139
|
+
countryCode: string;
|
|
140
|
+
}[];
|
|
141
|
+
uuid: string;
|
|
142
|
+
createdAt: Date;
|
|
143
|
+
updatedAt: Date;
|
|
144
|
+
name: string;
|
|
145
|
+
viewPosition: number;
|
|
146
|
+
config?: unknown;
|
|
147
|
+
}, {
|
|
148
|
+
inbounds: {
|
|
149
|
+
type: string;
|
|
150
|
+
uuid: string;
|
|
151
|
+
profileUuid: string;
|
|
152
|
+
tag: string;
|
|
153
|
+
network: string | null;
|
|
154
|
+
security: string | null;
|
|
155
|
+
port: number | null;
|
|
156
|
+
rawInbound?: unknown;
|
|
157
|
+
}[];
|
|
158
|
+
nodes: {
|
|
159
|
+
uuid: string;
|
|
160
|
+
name: string;
|
|
161
|
+
countryCode: string;
|
|
162
|
+
}[];
|
|
163
|
+
uuid: string;
|
|
164
|
+
createdAt: string;
|
|
165
|
+
updatedAt: string;
|
|
166
|
+
name: string;
|
|
167
|
+
viewPosition: number;
|
|
168
|
+
config?: unknown;
|
|
169
|
+
}>, "many">;
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
171
|
+
total: number;
|
|
172
|
+
configProfiles: {
|
|
173
|
+
inbounds: {
|
|
174
|
+
type: string;
|
|
175
|
+
uuid: string;
|
|
176
|
+
profileUuid: string;
|
|
177
|
+
tag: string;
|
|
178
|
+
network: string | null;
|
|
179
|
+
security: string | null;
|
|
180
|
+
port: number | null;
|
|
181
|
+
rawInbound?: unknown;
|
|
182
|
+
}[];
|
|
183
|
+
nodes: {
|
|
184
|
+
uuid: string;
|
|
185
|
+
name: string;
|
|
186
|
+
countryCode: string;
|
|
187
|
+
}[];
|
|
188
|
+
uuid: string;
|
|
189
|
+
createdAt: Date;
|
|
190
|
+
updatedAt: Date;
|
|
191
|
+
name: string;
|
|
192
|
+
viewPosition: number;
|
|
193
|
+
config?: unknown;
|
|
194
|
+
}[];
|
|
195
|
+
}, {
|
|
196
|
+
total: number;
|
|
197
|
+
configProfiles: {
|
|
198
|
+
inbounds: {
|
|
199
|
+
type: string;
|
|
200
|
+
uuid: string;
|
|
201
|
+
profileUuid: string;
|
|
202
|
+
tag: string;
|
|
203
|
+
network: string | null;
|
|
204
|
+
security: string | null;
|
|
205
|
+
port: number | null;
|
|
206
|
+
rawInbound?: unknown;
|
|
207
|
+
}[];
|
|
208
|
+
nodes: {
|
|
209
|
+
uuid: string;
|
|
210
|
+
name: string;
|
|
211
|
+
countryCode: string;
|
|
212
|
+
}[];
|
|
213
|
+
uuid: string;
|
|
214
|
+
createdAt: string;
|
|
215
|
+
updatedAt: string;
|
|
216
|
+
name: string;
|
|
217
|
+
viewPosition: number;
|
|
218
|
+
config?: unknown;
|
|
219
|
+
}[];
|
|
220
|
+
}>;
|
|
221
|
+
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
response: {
|
|
223
|
+
total: number;
|
|
224
|
+
configProfiles: {
|
|
225
|
+
inbounds: {
|
|
226
|
+
type: string;
|
|
227
|
+
uuid: string;
|
|
228
|
+
profileUuid: string;
|
|
229
|
+
tag: string;
|
|
230
|
+
network: string | null;
|
|
231
|
+
security: string | null;
|
|
232
|
+
port: number | null;
|
|
233
|
+
rawInbound?: unknown;
|
|
234
|
+
}[];
|
|
235
|
+
nodes: {
|
|
236
|
+
uuid: string;
|
|
237
|
+
name: string;
|
|
238
|
+
countryCode: string;
|
|
239
|
+
}[];
|
|
240
|
+
uuid: string;
|
|
241
|
+
createdAt: Date;
|
|
242
|
+
updatedAt: Date;
|
|
243
|
+
name: string;
|
|
244
|
+
viewPosition: number;
|
|
245
|
+
config?: unknown;
|
|
246
|
+
}[];
|
|
247
|
+
};
|
|
248
|
+
}, {
|
|
249
|
+
response: {
|
|
250
|
+
total: number;
|
|
251
|
+
configProfiles: {
|
|
252
|
+
inbounds: {
|
|
253
|
+
type: string;
|
|
254
|
+
uuid: string;
|
|
255
|
+
profileUuid: string;
|
|
256
|
+
tag: string;
|
|
257
|
+
network: string | null;
|
|
258
|
+
security: string | null;
|
|
259
|
+
port: number | null;
|
|
260
|
+
rawInbound?: unknown;
|
|
261
|
+
}[];
|
|
262
|
+
nodes: {
|
|
263
|
+
uuid: string;
|
|
264
|
+
name: string;
|
|
265
|
+
countryCode: string;
|
|
266
|
+
}[];
|
|
267
|
+
uuid: string;
|
|
268
|
+
createdAt: string;
|
|
269
|
+
updatedAt: string;
|
|
270
|
+
name: string;
|
|
271
|
+
viewPosition: number;
|
|
272
|
+
config?: unknown;
|
|
273
|
+
}[];
|
|
274
|
+
};
|
|
275
|
+
}>;
|
|
276
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
277
|
+
}
|
|
278
|
+
//# sourceMappingURL=reorder.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/config-profiles/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,wCAA2C,CAAC;IACrD,MAAM,OAAO,wCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,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"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReorderConfigProfileCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
|
+
var ReorderConfigProfileCommand;
|
|
9
|
+
(function (ReorderConfigProfileCommand) {
|
|
10
|
+
ReorderConfigProfileCommand.url = api_1.REST_API.CONFIG_PROFILES.ACTIONS.REORDER;
|
|
11
|
+
ReorderConfigProfileCommand.TSQ_url = ReorderConfigProfileCommand.url;
|
|
12
|
+
ReorderConfigProfileCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONFIG_PROFILES_ROUTES.ACTIONS.REORDER, 'post', 'Reorder config profiles');
|
|
13
|
+
ReorderConfigProfileCommand.RequestSchema = zod_1.z.object({
|
|
14
|
+
items: zod_1.z.array(models_1.ConfigProfileSchema.pick({
|
|
15
|
+
viewPosition: true,
|
|
16
|
+
uuid: true,
|
|
17
|
+
})),
|
|
18
|
+
});
|
|
19
|
+
ReorderConfigProfileCommand.ResponseSchema = zod_1.z.object({
|
|
20
|
+
response: zod_1.z.object({
|
|
21
|
+
total: zod_1.z.number(),
|
|
22
|
+
configProfiles: zod_1.z.array(models_1.ConfigProfileSchema),
|
|
23
|
+
}),
|
|
24
|
+
});
|
|
25
|
+
})(ReorderConfigProfileCommand || (exports.ReorderConfigProfileCommand = ReorderConfigProfileCommand = {}));
|
|
@@ -21,6 +21,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
21
21
|
const ResponseSchema: z.ZodObject<{
|
|
22
22
|
response: z.ZodObject<{
|
|
23
23
|
uuid: z.ZodString;
|
|
24
|
+
viewPosition: z.ZodNumber;
|
|
24
25
|
name: z.ZodString;
|
|
25
26
|
config: z.ZodUnknown;
|
|
26
27
|
inbounds: z.ZodArray<z.ZodObject<{
|
|
@@ -86,6 +87,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
86
87
|
createdAt: Date;
|
|
87
88
|
updatedAt: Date;
|
|
88
89
|
name: string;
|
|
90
|
+
viewPosition: number;
|
|
89
91
|
config?: unknown;
|
|
90
92
|
}, {
|
|
91
93
|
inbounds: {
|
|
@@ -107,6 +109,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
107
109
|
createdAt: string;
|
|
108
110
|
updatedAt: string;
|
|
109
111
|
name: string;
|
|
112
|
+
viewPosition: number;
|
|
110
113
|
config?: unknown;
|
|
111
114
|
}>;
|
|
112
115
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -130,6 +133,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
130
133
|
createdAt: Date;
|
|
131
134
|
updatedAt: Date;
|
|
132
135
|
name: string;
|
|
136
|
+
viewPosition: number;
|
|
133
137
|
config?: unknown;
|
|
134
138
|
};
|
|
135
139
|
}, {
|
|
@@ -153,6 +157,7 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
153
157
|
createdAt: string;
|
|
154
158
|
updatedAt: string;
|
|
155
159
|
name: string;
|
|
160
|
+
viewPosition: number;
|
|
156
161
|
config?: unknown;
|
|
157
162
|
};
|
|
158
163
|
}>;
|
|
@@ -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"}
|
package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
14
14
|
const ResponseSchema: z.ZodObject<{
|
|
15
15
|
response: z.ZodObject<{
|
|
16
16
|
uuid: z.ZodString;
|
|
17
|
+
viewPosition: z.ZodNumber;
|
|
17
18
|
name: z.ZodString;
|
|
18
19
|
config: z.ZodUnknown;
|
|
19
20
|
inbounds: z.ZodArray<z.ZodObject<{
|
|
@@ -79,6 +80,7 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
79
80
|
createdAt: Date;
|
|
80
81
|
updatedAt: Date;
|
|
81
82
|
name: string;
|
|
83
|
+
viewPosition: number;
|
|
82
84
|
config?: unknown;
|
|
83
85
|
}, {
|
|
84
86
|
inbounds: {
|
|
@@ -100,6 +102,7 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
100
102
|
createdAt: string;
|
|
101
103
|
updatedAt: string;
|
|
102
104
|
name: string;
|
|
105
|
+
viewPosition: number;
|
|
103
106
|
config?: unknown;
|
|
104
107
|
}>;
|
|
105
108
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -123,6 +126,7 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
123
126
|
createdAt: Date;
|
|
124
127
|
updatedAt: Date;
|
|
125
128
|
name: string;
|
|
129
|
+
viewPosition: number;
|
|
126
130
|
config?: unknown;
|
|
127
131
|
};
|
|
128
132
|
}, {
|
|
@@ -146,6 +150,7 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
146
150
|
createdAt: string;
|
|
147
151
|
updatedAt: string;
|
|
148
152
|
name: string;
|
|
153
|
+
viewPosition: number;
|
|
149
154
|
config?: unknown;
|
|
150
155
|
};
|
|
151
156
|
}>;
|
package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-computed-config-profile-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-computed-config-profile-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qCAAqC,CAAC;IAC5C,MAAM,GAAG,0BAA+D,CAAC;IACzE,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-computed-config-profile-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-computed-config-profile-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qCAAqC,CAAC;IAC5C,MAAM,GAAG,0BAA+D,CAAC;IACzE,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"}
|