@remnawave/backend-contract 2.2.27 → 2.2.29

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.
Files changed (52) hide show
  1. package/build/backend/api/controllers/config-profiles.d.ts +1 -0
  2. package/build/backend/api/controllers/config-profiles.d.ts.map +1 -1
  3. package/build/backend/api/controllers/config-profiles.js +1 -0
  4. package/build/backend/api/routes.d.ts +1 -0
  5. package/build/backend/api/routes.d.ts.map +1 -1
  6. package/build/backend/api/routes.js +1 -0
  7. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +154 -0
  8. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map +1 -0
  9. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +19 -0
  10. package/build/backend/commands/config-profiles/index.d.ts +1 -0
  11. package/build/backend/commands/config-profiles/index.d.ts.map +1 -1
  12. package/build/backend/commands/config-profiles/index.js +1 -0
  13. package/build/backend/commands/external-squads/create-external-squad.command.d.ts +26 -0
  14. package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
  15. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +26 -0
  16. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
  17. package/build/backend/commands/external-squads/get-external-squads.command.d.ts +34 -0
  18. package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
  19. package/build/backend/commands/external-squads/update-external-squad.command.d.ts +44 -0
  20. package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
  21. package/build/backend/commands/external-squads/update-external-squad.command.js +1 -0
  22. package/build/backend/constants/errors/errors.d.ts +5 -0
  23. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  24. package/build/backend/constants/errors/errors.js +5 -0
  25. package/build/backend/models/external-squad.schema.d.ts +18 -0
  26. package/build/backend/models/external-squad.schema.d.ts.map +1 -1
  27. package/build/backend/models/external-squad.schema.js +3 -2
  28. package/build/backend/models/external-squads/external-squad-host-overrides.schema.d.ts +11 -0
  29. package/build/backend/models/external-squads/external-squad-host-overrides.schema.d.ts.map +1 -0
  30. package/build/backend/models/external-squads/external-squad-host-overrides.schema.js +8 -0
  31. package/build/backend/models/external-squads/external-squad-subscription-settings.schema.d.ts.map +1 -0
  32. package/build/backend/models/{external-squad-subscription-settings.schema.js → external-squads/external-squad-subscription-settings.schema.js} +1 -1
  33. package/build/backend/models/external-squads/index.d.ts +3 -0
  34. package/build/backend/models/external-squads/index.d.ts.map +1 -0
  35. package/build/backend/models/external-squads/index.js +18 -0
  36. package/build/backend/models/index.d.ts +1 -1
  37. package/build/backend/models/index.d.ts.map +1 -1
  38. package/build/backend/models/index.js +1 -1
  39. package/build/frontend/api/controllers/config-profiles.js +1 -0
  40. package/build/frontend/api/routes.js +1 -0
  41. package/build/frontend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +19 -0
  42. package/build/frontend/commands/config-profiles/index.js +1 -0
  43. package/build/frontend/commands/external-squads/update-external-squad.command.js +1 -0
  44. package/build/frontend/constants/errors/errors.js +5 -0
  45. package/build/frontend/models/external-squad.schema.js +3 -2
  46. package/build/frontend/models/external-squads/external-squad-host-overrides.schema.js +8 -0
  47. package/build/frontend/models/{external-squad-subscription-settings.schema.js → external-squads/external-squad-subscription-settings.schema.js} +1 -1
  48. package/build/frontend/models/external-squads/index.js +18 -0
  49. package/build/frontend/models/index.js +1 -1
  50. package/package.json +1 -1
  51. package/build/backend/models/external-squad-subscription-settings.schema.d.ts.map +0 -1
  52. /package/build/backend/models/{external-squad-subscription-settings.schema.d.ts → external-squads/external-squad-subscription-settings.schema.d.ts} +0 -0
@@ -6,6 +6,7 @@ export declare const CONFIG_PROFILES_ROUTES: {
6
6
  readonly GET_BY_UUID: (uuid: string) => string;
7
7
  readonly DELETE: (uuid: string) => string;
8
8
  readonly GET_INBOUNDS_BY_PROFILE_UUID: (uuid: string) => string;
9
+ readonly GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid: string) => string;
9
10
  readonly GET_ALL_INBOUNDS: "inbounds";
10
11
  };
11
12
  //# 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;AAErE,eAAO,MAAM,sBAAsB;;;;iCAIX,MAAM;4BACX,MAAM;kDACgB,MAAM;;CAErC,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;AAErE,eAAO,MAAM,sBAAsB;;;;iCAIX,MAAM;4BACX,MAAM;kDACgB,MAAM;yDACC,MAAM;;CAE5C,CAAC"}
@@ -9,5 +9,6 @@ exports.CONFIG_PROFILES_ROUTES = {
9
9
  GET_BY_UUID: (uuid) => `${uuid}`, // Get config profile by uuid // get
10
10
  DELETE: (uuid) => `${uuid}`, // Delete config profile by uuid // delete
11
11
  GET_INBOUNDS_BY_PROFILE_UUID: (uuid) => `${uuid}/inbounds`, // Get list of all inbounds by config profile uuid // get
12
+ GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid) => `${uuid}/computed-config`, // Get computed config by config profile uuid // get
12
13
  GET_ALL_INBOUNDS: 'inbounds', // Get list of all inbounds // get
13
14
  };
@@ -167,6 +167,7 @@ export declare const REST_API: {
167
167
  readonly GET_BY_UUID: (uuid: string) => string;
168
168
  readonly DELETE: (uuid: string) => string;
169
169
  readonly GET_INBOUNDS_BY_PROFILE_UUID: (uuid: string) => string;
170
+ readonly GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid: string) => string;
170
171
  readonly GET_ALL_INBOUNDS: "/api/config-profiles/inbounds";
171
172
  };
172
173
  readonly INTERNAL_SQUADS: {
@@ -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;;;;;;;;;;;;;;;;;;;;;;;gCAwBE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,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;;;;;;;;;;;mDAca,MAAM;;;;;;;;0CAWf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;;;;;qCAUlB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;yCASP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;CAQ7B,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAE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TES.GET_BY_UUID(uuid)}`,
205
205
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.DELETE(uuid)}`,
206
206
  GET_INBOUNDS_BY_PROFILE_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_INBOUNDS_BY_PROFILE_UUID(uuid)}`,
207
+ GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_COMPUTED_CONFIG_BY_PROFILE_UUID(uuid)}`,
207
208
  GET_ALL_INBOUNDS: `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_ALL_INBOUNDS}`,
208
209
  },
209
210
  INTERNAL_SQUADS: {
@@ -0,0 +1,154 @@
1
+ import { z } from 'zod';
2
+ export declare namespace GetComputedConfigProfileByUuidCommand {
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
+ uuid: z.ZodString;
17
+ name: z.ZodString;
18
+ config: z.ZodUnknown;
19
+ inbounds: z.ZodArray<z.ZodObject<{
20
+ uuid: z.ZodString;
21
+ profileUuid: z.ZodString;
22
+ tag: z.ZodString;
23
+ type: z.ZodString;
24
+ network: z.ZodNullable<z.ZodString>;
25
+ security: z.ZodNullable<z.ZodString>;
26
+ port: z.ZodNullable<z.ZodNumber>;
27
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ type: string;
30
+ uuid: string;
31
+ profileUuid: string;
32
+ tag: string;
33
+ network: string | null;
34
+ security: string | null;
35
+ port: number | null;
36
+ rawInbound?: unknown;
37
+ }, {
38
+ type: string;
39
+ uuid: string;
40
+ profileUuid: string;
41
+ tag: string;
42
+ network: string | null;
43
+ security: string | null;
44
+ port: number | null;
45
+ rawInbound?: unknown;
46
+ }>, "many">;
47
+ nodes: z.ZodArray<z.ZodObject<{
48
+ uuid: z.ZodString;
49
+ name: z.ZodString;
50
+ countryCode: z.ZodString;
51
+ }, "strip", z.ZodTypeAny, {
52
+ uuid: string;
53
+ name: string;
54
+ countryCode: string;
55
+ }, {
56
+ uuid: string;
57
+ name: string;
58
+ countryCode: string;
59
+ }>, "many">;
60
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
61
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ inbounds: {
64
+ type: string;
65
+ uuid: string;
66
+ profileUuid: string;
67
+ tag: string;
68
+ network: string | null;
69
+ security: string | null;
70
+ port: number | null;
71
+ rawInbound?: unknown;
72
+ }[];
73
+ nodes: {
74
+ uuid: string;
75
+ name: string;
76
+ countryCode: string;
77
+ }[];
78
+ uuid: string;
79
+ createdAt: Date;
80
+ updatedAt: Date;
81
+ name: string;
82
+ config?: unknown;
83
+ }, {
84
+ inbounds: {
85
+ type: string;
86
+ uuid: string;
87
+ profileUuid: string;
88
+ tag: string;
89
+ network: string | null;
90
+ security: string | null;
91
+ port: number | null;
92
+ rawInbound?: unknown;
93
+ }[];
94
+ nodes: {
95
+ uuid: string;
96
+ name: string;
97
+ countryCode: string;
98
+ }[];
99
+ uuid: string;
100
+ createdAt: string;
101
+ updatedAt: string;
102
+ name: string;
103
+ config?: unknown;
104
+ }>;
105
+ }, "strip", z.ZodTypeAny, {
106
+ response: {
107
+ inbounds: {
108
+ type: string;
109
+ uuid: string;
110
+ profileUuid: string;
111
+ tag: string;
112
+ network: string | null;
113
+ security: string | null;
114
+ port: number | null;
115
+ rawInbound?: unknown;
116
+ }[];
117
+ nodes: {
118
+ uuid: string;
119
+ name: string;
120
+ countryCode: string;
121
+ }[];
122
+ uuid: string;
123
+ createdAt: Date;
124
+ updatedAt: Date;
125
+ name: string;
126
+ config?: unknown;
127
+ };
128
+ }, {
129
+ response: {
130
+ inbounds: {
131
+ type: string;
132
+ uuid: string;
133
+ profileUuid: string;
134
+ tag: string;
135
+ network: string | null;
136
+ security: string | null;
137
+ port: number | null;
138
+ rawInbound?: unknown;
139
+ }[];
140
+ nodes: {
141
+ uuid: string;
142
+ name: string;
143
+ countryCode: string;
144
+ }[];
145
+ uuid: string;
146
+ createdAt: string;
147
+ updatedAt: string;
148
+ name: string;
149
+ config?: unknown;
150
+ };
151
+ }>;
152
+ type Response = z.infer<typeof ResponseSchema>;
153
+ }
154
+ //# sourceMappingURL=get-computed-config-profile-by-uuid.command.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetComputedConfigProfileByUuidCommand = 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 GetComputedConfigProfileByUuidCommand;
9
+ (function (GetComputedConfigProfileByUuidCommand) {
10
+ GetComputedConfigProfileByUuidCommand.url = api_1.REST_API.CONFIG_PROFILES.GET_COMPUTED_CONFIG_BY_PROFILE_UUID;
11
+ GetComputedConfigProfileByUuidCommand.TSQ_url = GetComputedConfigProfileByUuidCommand.url(':uuid');
12
+ GetComputedConfigProfileByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONFIG_PROFILES_ROUTES.GET_COMPUTED_CONFIG_BY_PROFILE_UUID(':uuid'), 'get', 'Get computed config profile by uuid');
13
+ GetComputedConfigProfileByUuidCommand.RequestSchema = zod_1.z.object({
14
+ uuid: zod_1.z.string().uuid(),
15
+ });
16
+ GetComputedConfigProfileByUuidCommand.ResponseSchema = zod_1.z.object({
17
+ response: models_1.ConfigProfileSchema,
18
+ });
19
+ })(GetComputedConfigProfileByUuidCommand || (exports.GetComputedConfigProfileByUuidCommand = GetComputedConfigProfileByUuidCommand = {}));
@@ -1,6 +1,7 @@
1
1
  export * from './create-config-profile.command';
2
2
  export * from './delete-config-profile.command';
3
3
  export * from './get-all-inbounds.command';
4
+ export * from './get-computed-config-profile-by-uuid.command';
4
5
  export * from './get-config-profile-by-uuid.command';
5
6
  export * from './get-config-profiles.command';
6
7
  export * from './get-inbounds-by-profile-uuid.command';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC"}
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./create-config-profile.command"), exports);
18
18
  __exportStar(require("./delete-config-profile.command"), exports);
19
19
  __exportStar(require("./get-all-inbounds.command"), exports);
20
+ __exportStar(require("./get-computed-config-profile-by-uuid.command"), exports);
20
21
  __exportStar(require("./get-config-profile-by-uuid.command"), exports);
21
22
  __exportStar(require("./get-config-profiles.command"), exports);
22
23
  __exportStar(require("./get-inbounds-by-profile-uuid.command"), exports);
@@ -73,6 +73,16 @@ export declare namespace CreateExternalSquadCommand {
73
73
  happRouting?: string | null | undefined;
74
74
  randomizeHosts?: boolean | undefined;
75
75
  }>>;
76
+ hostOverrides: z.ZodNullable<z.ZodObject<{
77
+ serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ serverDescription?: string | null | undefined;
81
+ vlessRouteId?: number | null | undefined;
82
+ }, {
83
+ serverDescription?: string | null | undefined;
84
+ vlessRouteId?: number | null | undefined;
85
+ }>>;
76
86
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
77
87
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
78
88
  }, "strip", z.ZodTypeAny, {
@@ -99,6 +109,10 @@ export declare namespace CreateExternalSquadCommand {
99
109
  happRouting?: string | null | undefined;
100
110
  randomizeHosts?: boolean | undefined;
101
111
  } | null;
112
+ hostOverrides: {
113
+ serverDescription?: string | null | undefined;
114
+ vlessRouteId?: number | null | undefined;
115
+ } | null;
102
116
  }, {
103
117
  uuid: string;
104
118
  createdAt: string;
@@ -123,6 +137,10 @@ export declare namespace CreateExternalSquadCommand {
123
137
  happRouting?: string | null | undefined;
124
138
  randomizeHosts?: boolean | undefined;
125
139
  } | null;
140
+ hostOverrides: {
141
+ serverDescription?: string | null | undefined;
142
+ vlessRouteId?: number | null | undefined;
143
+ } | null;
126
144
  }>;
127
145
  }, "strip", z.ZodTypeAny, {
128
146
  response: {
@@ -149,6 +167,10 @@ export declare namespace CreateExternalSquadCommand {
149
167
  happRouting?: string | null | undefined;
150
168
  randomizeHosts?: boolean | undefined;
151
169
  } | null;
170
+ hostOverrides: {
171
+ serverDescription?: string | null | undefined;
172
+ vlessRouteId?: number | null | undefined;
173
+ } | null;
152
174
  };
153
175
  }, {
154
176
  response: {
@@ -175,6 +197,10 @@ export declare namespace CreateExternalSquadCommand {
175
197
  happRouting?: string | null | undefined;
176
198
  randomizeHosts?: boolean | undefined;
177
199
  } | null;
200
+ hostOverrides: {
201
+ serverDescription?: string | null | undefined;
202
+ vlessRouteId?: number | null | undefined;
203
+ } | null;
178
204
  };
179
205
  }>;
180
206
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"create-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/create-external-squad.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;;;;;;MASxB,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
+ {"version":3,"file":"create-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/create-external-squad.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;;;;;;MASxB,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"}
@@ -73,6 +73,16 @@ export declare namespace GetExternalSquadByUuidCommand {
73
73
  happRouting?: string | null | undefined;
74
74
  randomizeHosts?: boolean | undefined;
75
75
  }>>;
76
+ hostOverrides: z.ZodNullable<z.ZodObject<{
77
+ serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ serverDescription?: string | null | undefined;
81
+ vlessRouteId?: number | null | undefined;
82
+ }, {
83
+ serverDescription?: string | null | undefined;
84
+ vlessRouteId?: number | null | undefined;
85
+ }>>;
76
86
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
77
87
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
78
88
  }, "strip", z.ZodTypeAny, {
@@ -99,6 +109,10 @@ export declare namespace GetExternalSquadByUuidCommand {
99
109
  happRouting?: string | null | undefined;
100
110
  randomizeHosts?: boolean | undefined;
101
111
  } | null;
112
+ hostOverrides: {
113
+ serverDescription?: string | null | undefined;
114
+ vlessRouteId?: number | null | undefined;
115
+ } | null;
102
116
  }, {
103
117
  uuid: string;
104
118
  createdAt: string;
@@ -123,6 +137,10 @@ export declare namespace GetExternalSquadByUuidCommand {
123
137
  happRouting?: string | null | undefined;
124
138
  randomizeHosts?: boolean | undefined;
125
139
  } | null;
140
+ hostOverrides: {
141
+ serverDescription?: string | null | undefined;
142
+ vlessRouteId?: number | null | undefined;
143
+ } | null;
126
144
  }>;
127
145
  }, "strip", z.ZodTypeAny, {
128
146
  response: {
@@ -149,6 +167,10 @@ export declare namespace GetExternalSquadByUuidCommand {
149
167
  happRouting?: string | null | undefined;
150
168
  randomizeHosts?: boolean | undefined;
151
169
  } | null;
170
+ hostOverrides: {
171
+ serverDescription?: string | null | undefined;
172
+ vlessRouteId?: number | null | undefined;
173
+ } | null;
152
174
  };
153
175
  }, {
154
176
  response: {
@@ -175,6 +197,10 @@ export declare namespace GetExternalSquadByUuidCommand {
175
197
  happRouting?: string | null | undefined;
176
198
  randomizeHosts?: boolean | undefined;
177
199
  } | null;
200
+ hostOverrides: {
201
+ serverDescription?: string | null | undefined;
202
+ vlessRouteId?: number | null | undefined;
203
+ } | null;
178
204
  };
179
205
  }>;
180
206
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-external-squad-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squad-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"}
1
+ {"version":3,"file":"get-external-squad-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squad-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"}
@@ -67,6 +67,16 @@ export declare namespace GetExternalSquadsCommand {
67
67
  happRouting?: string | null | undefined;
68
68
  randomizeHosts?: boolean | undefined;
69
69
  }>>;
70
+ hostOverrides: z.ZodNullable<z.ZodObject<{
71
+ serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ serverDescription?: string | null | undefined;
75
+ vlessRouteId?: number | null | undefined;
76
+ }, {
77
+ serverDescription?: string | null | undefined;
78
+ vlessRouteId?: number | null | undefined;
79
+ }>>;
70
80
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
71
81
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
72
82
  }, "strip", z.ZodTypeAny, {
@@ -93,6 +103,10 @@ export declare namespace GetExternalSquadsCommand {
93
103
  happRouting?: string | null | undefined;
94
104
  randomizeHosts?: boolean | undefined;
95
105
  } | null;
106
+ hostOverrides: {
107
+ serverDescription?: string | null | undefined;
108
+ vlessRouteId?: number | null | undefined;
109
+ } | null;
96
110
  }, {
97
111
  uuid: string;
98
112
  createdAt: string;
@@ -117,6 +131,10 @@ export declare namespace GetExternalSquadsCommand {
117
131
  happRouting?: string | null | undefined;
118
132
  randomizeHosts?: boolean | undefined;
119
133
  } | null;
134
+ hostOverrides: {
135
+ serverDescription?: string | null | undefined;
136
+ vlessRouteId?: number | null | undefined;
137
+ } | null;
120
138
  }>, "many">;
121
139
  }, "strip", z.ZodTypeAny, {
122
140
  total: number;
@@ -144,6 +162,10 @@ export declare namespace GetExternalSquadsCommand {
144
162
  happRouting?: string | null | undefined;
145
163
  randomizeHosts?: boolean | undefined;
146
164
  } | null;
165
+ hostOverrides: {
166
+ serverDescription?: string | null | undefined;
167
+ vlessRouteId?: number | null | undefined;
168
+ } | null;
147
169
  }[];
148
170
  }, {
149
171
  total: number;
@@ -171,6 +193,10 @@ export declare namespace GetExternalSquadsCommand {
171
193
  happRouting?: string | null | undefined;
172
194
  randomizeHosts?: boolean | undefined;
173
195
  } | null;
196
+ hostOverrides: {
197
+ serverDescription?: string | null | undefined;
198
+ vlessRouteId?: number | null | undefined;
199
+ } | null;
174
200
  }[];
175
201
  }>;
176
202
  }, "strip", z.ZodTypeAny, {
@@ -200,6 +226,10 @@ export declare namespace GetExternalSquadsCommand {
200
226
  happRouting?: string | null | undefined;
201
227
  randomizeHosts?: boolean | undefined;
202
228
  } | null;
229
+ hostOverrides: {
230
+ serverDescription?: string | null | undefined;
231
+ vlessRouteId?: number | null | undefined;
232
+ } | null;
203
233
  }[];
204
234
  };
205
235
  }, {
@@ -229,6 +259,10 @@ export declare namespace GetExternalSquadsCommand {
229
259
  happRouting?: string | null | undefined;
230
260
  randomizeHosts?: boolean | undefined;
231
261
  } | null;
262
+ hostOverrides: {
263
+ serverDescription?: string | null | undefined;
264
+ vlessRouteId?: number | null | undefined;
265
+ } | null;
232
266
  }[];
233
267
  };
234
268
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-external-squads.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squads.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"}
1
+ {"version":3,"file":"get-external-squads.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squads.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"}
@@ -57,6 +57,16 @@ export declare namespace UpdateExternalSquadCommand {
57
57
  happRouting?: string | null | undefined;
58
58
  randomizeHosts?: boolean | undefined;
59
59
  }>>;
60
+ hostOverrides: z.ZodOptional<z.ZodObject<{
61
+ serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ serverDescription?: string | null | undefined;
65
+ vlessRouteId?: number | null | undefined;
66
+ }, {
67
+ serverDescription?: string | null | undefined;
68
+ vlessRouteId?: number | null | undefined;
69
+ }>>;
60
70
  }, "strip", z.ZodTypeAny, {
61
71
  uuid: string;
62
72
  name?: string | undefined;
@@ -76,6 +86,10 @@ export declare namespace UpdateExternalSquadCommand {
76
86
  happRouting?: string | null | undefined;
77
87
  randomizeHosts?: boolean | undefined;
78
88
  } | undefined;
89
+ hostOverrides?: {
90
+ serverDescription?: string | null | undefined;
91
+ vlessRouteId?: number | null | undefined;
92
+ } | undefined;
79
93
  }, {
80
94
  uuid: string;
81
95
  name?: string | undefined;
@@ -95,6 +109,10 @@ export declare namespace UpdateExternalSquadCommand {
95
109
  happRouting?: string | null | undefined;
96
110
  randomizeHosts?: boolean | undefined;
97
111
  } | undefined;
112
+ hostOverrides?: {
113
+ serverDescription?: string | null | undefined;
114
+ vlessRouteId?: number | null | undefined;
115
+ } | undefined;
98
116
  }>;
99
117
  type Request = z.infer<typeof RequestSchema>;
100
118
  const ResponseSchema: z.ZodObject<{
@@ -159,6 +177,16 @@ export declare namespace UpdateExternalSquadCommand {
159
177
  happRouting?: string | null | undefined;
160
178
  randomizeHosts?: boolean | undefined;
161
179
  }>>;
180
+ hostOverrides: z.ZodNullable<z.ZodObject<{
181
+ serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
+ vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
183
+ }, "strip", z.ZodTypeAny, {
184
+ serverDescription?: string | null | undefined;
185
+ vlessRouteId?: number | null | undefined;
186
+ }, {
187
+ serverDescription?: string | null | undefined;
188
+ vlessRouteId?: number | null | undefined;
189
+ }>>;
162
190
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
163
191
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
164
192
  }, "strip", z.ZodTypeAny, {
@@ -185,6 +213,10 @@ export declare namespace UpdateExternalSquadCommand {
185
213
  happRouting?: string | null | undefined;
186
214
  randomizeHosts?: boolean | undefined;
187
215
  } | null;
216
+ hostOverrides: {
217
+ serverDescription?: string | null | undefined;
218
+ vlessRouteId?: number | null | undefined;
219
+ } | null;
188
220
  }, {
189
221
  uuid: string;
190
222
  createdAt: string;
@@ -209,6 +241,10 @@ export declare namespace UpdateExternalSquadCommand {
209
241
  happRouting?: string | null | undefined;
210
242
  randomizeHosts?: boolean | undefined;
211
243
  } | null;
244
+ hostOverrides: {
245
+ serverDescription?: string | null | undefined;
246
+ vlessRouteId?: number | null | undefined;
247
+ } | null;
212
248
  }>;
213
249
  }, "strip", z.ZodTypeAny, {
214
250
  response: {
@@ -235,6 +271,10 @@ export declare namespace UpdateExternalSquadCommand {
235
271
  happRouting?: string | null | undefined;
236
272
  randomizeHosts?: boolean | undefined;
237
273
  } | null;
274
+ hostOverrides: {
275
+ serverDescription?: string | null | undefined;
276
+ vlessRouteId?: number | null | undefined;
277
+ } | null;
238
278
  };
239
279
  }, {
240
280
  response: {
@@ -261,6 +301,10 @@ export declare namespace UpdateExternalSquadCommand {
261
301
  happRouting?: string | null | undefined;
262
302
  randomizeHosts?: boolean | undefined;
263
303
  } | null;
304
+ hostOverrides: {
305
+ serverDescription?: string | null | undefined;
306
+ vlessRouteId?: number | null | undefined;
307
+ } | null;
264
308
  };
265
309
  }>;
266
310
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"update-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/update-external-squad.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoBxB,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
+ {"version":3,"file":"update-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/update-external-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqBxB,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"}
@@ -25,6 +25,7 @@ var UpdateExternalSquadCommand;
25
25
  }))
26
26
  .optional(),
27
27
  subscriptionSettings: models_1.ExternalSquadSubscriptionSettingsSchema.optional(),
28
+ hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
28
29
  });
29
30
  UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
30
31
  response: models_1.ExternalSquadSchema,
@@ -1034,5 +1034,10 @@ export declare const ERRORS: {
1034
1034
  httpCode: number;
1035
1035
  };
1036
1036
  };
1037
+ readonly GET_COMPUTED_CONFIG_PROFILE_BY_UUID_ERROR: {
1038
+ readonly code: "A200";
1039
+ readonly message: "Get computed config profile by UUID error";
1040
+ readonly httpCode: 500;
1041
+ };
1037
1042
  };
1038
1043
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;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 500,
1012
+ },
1008
1013
  };
@@ -60,6 +60,16 @@ export declare const ExternalSquadSchema: z.ZodObject<{
60
60
  happRouting?: string | null | undefined;
61
61
  randomizeHosts?: boolean | undefined;
62
62
  }>>;
63
+ hostOverrides: z.ZodNullable<z.ZodObject<{
64
+ serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ serverDescription?: string | null | undefined;
68
+ vlessRouteId?: number | null | undefined;
69
+ }, {
70
+ serverDescription?: string | null | undefined;
71
+ vlessRouteId?: number | null | undefined;
72
+ }>>;
63
73
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
64
74
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
65
75
  }, "strip", z.ZodTypeAny, {
@@ -86,6 +96,10 @@ export declare const ExternalSquadSchema: z.ZodObject<{
86
96
  happRouting?: string | null | undefined;
87
97
  randomizeHosts?: boolean | undefined;
88
98
  } | null;
99
+ hostOverrides: {
100
+ serverDescription?: string | null | undefined;
101
+ vlessRouteId?: number | null | undefined;
102
+ } | null;
89
103
  }, {
90
104
  uuid: string;
91
105
  createdAt: string;
@@ -110,5 +124,9 @@ export declare const ExternalSquadSchema: z.ZodObject<{
110
124
  happRouting?: string | null | undefined;
111
125
  randomizeHosts?: boolean | undefined;
112
126
  } | null;
127
+ hostOverrides: {
128
+ serverDescription?: string | null | undefined;
129
+ vlessRouteId?: number | null | undefined;
130
+ } | null;
113
131
  }>;
114
132
  //# sourceMappingURL=external-squad.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"external-squad.schema.d.ts","sourceRoot":"","sources":["../../../models/external-squad.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB9B,CAAC"}
1
+ {"version":3,"file":"external-squad.schema.d.ts","sourceRoot":"","sources":["../../../models/external-squad.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyB9B,CAAC"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExternalSquadSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- const external_squad_subscription_settings_schema_1 = require("./external-squad-subscription-settings.schema");
5
+ const external_squads_1 = require("./external-squads");
6
6
  const constants_1 = require("../constants");
7
7
  exports.ExternalSquadSchema = zod_1.z.object({
8
8
  uuid: zod_1.z.string().uuid(),
@@ -14,7 +14,8 @@ exports.ExternalSquadSchema = zod_1.z.object({
14
14
  templateUuid: zod_1.z.string().uuid(),
15
15
  templateType: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
16
16
  })),
17
- subscriptionSettings: zod_1.z.nullable(external_squad_subscription_settings_schema_1.ExternalSquadSubscriptionSettingsSchema),
17
+ subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
18
+ hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
18
19
  createdAt: zod_1.z
19
20
  .string()
20
21
  .datetime()
@@ -0,0 +1,11 @@
1
+ export declare const ExternalSquadHostOverridesSchema: import("zod").ZodObject<{
2
+ serverDescription: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
3
+ vlessRouteId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
4
+ }, "strip", import("zod").ZodTypeAny, {
5
+ serverDescription?: string | null | undefined;
6
+ vlessRouteId?: number | null | undefined;
7
+ }, {
8
+ serverDescription?: string | null | undefined;
9
+ vlessRouteId?: number | null | undefined;
10
+ }>;
11
+ //# sourceMappingURL=external-squad-host-overrides.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-squad-host-overrides.schema.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/external-squad-host-overrides.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gCAAgC;;;;;;;;;EAGjC,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExternalSquadHostOverridesSchema = void 0;
4
+ const hosts_schema_1 = require("../hosts.schema");
5
+ exports.ExternalSquadHostOverridesSchema = hosts_schema_1.HostsSchema.pick({
6
+ serverDescription: true,
7
+ vlessRouteId: true,
8
+ }).partial();
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-squad-subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/external-squad-subscription-settings.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWxC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExternalSquadSubscriptionSettingsSchema = void 0;
4
- const subscription_settings_schema_1 = require("./subscription-settings.schema");
4
+ const subscription_settings_schema_1 = require("../subscription-settings.schema");
5
5
  exports.ExternalSquadSubscriptionSettingsSchema = subscription_settings_schema_1.SubscriptionSettingsSchema.pick({
6
6
  profileTitle: true,
7
7
  supportLink: true,
@@ -0,0 +1,3 @@
1
+ export * from './external-squad-host-overrides.schema';
2
+ export * from './external-squad-subscription-settings.schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC;AACvD,cAAc,+CAA+C,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./external-squad-host-overrides.schema"), exports);
18
+ __exportStar(require("./external-squad-subscription-settings.schema"), exports);
@@ -5,8 +5,8 @@ export * from './base-stat.schema';
5
5
  export * from './config-profile-inbounds.schema';
6
6
  export * from './config-profile.schema';
7
7
  export * from './extended-users.schema';
8
- export * from './external-squad-subscription-settings.schema';
9
8
  export * from './external-squad.schema';
9
+ export * from './external-squads';
10
10
  export * from './happ.schema';
11
11
  export * from './hosts.schema';
12
12
  export * from './hwid-user-device.schema';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+CAA+C,CAAC;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c,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
@@ -21,8 +21,8 @@ __exportStar(require("./base-stat.schema"), exports);
21
21
  __exportStar(require("./config-profile-inbounds.schema"), exports);
22
22
  __exportStar(require("./config-profile.schema"), exports);
23
23
  __exportStar(require("./extended-users.schema"), exports);
24
- __exportStar(require("./external-squad-subscription-settings.schema"), exports);
25
24
  __exportStar(require("./external-squad.schema"), exports);
25
+ __exportStar(require("./external-squads"), exports);
26
26
  __exportStar(require("./happ.schema"), exports);
27
27
  __exportStar(require("./hosts.schema"), exports);
28
28
  __exportStar(require("./hwid-user-device.schema"), exports);
@@ -9,5 +9,6 @@ exports.CONFIG_PROFILES_ROUTES = {
9
9
  GET_BY_UUID: (uuid) => `${uuid}`, // Get config profile by uuid // get
10
10
  DELETE: (uuid) => `${uuid}`, // Delete config profile by uuid // delete
11
11
  GET_INBOUNDS_BY_PROFILE_UUID: (uuid) => `${uuid}/inbounds`, // Get list of all inbounds by config profile uuid // get
12
+ GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid) => `${uuid}/computed-config`, // Get computed config by config profile uuid // get
12
13
  GET_ALL_INBOUNDS: 'inbounds', // Get list of all inbounds // get
13
14
  };
@@ -204,6 +204,7 @@ exports.REST_API = {
204
204
  GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_BY_UUID(uuid)}`,
205
205
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.DELETE(uuid)}`,
206
206
  GET_INBOUNDS_BY_PROFILE_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_INBOUNDS_BY_PROFILE_UUID(uuid)}`,
207
+ GET_COMPUTED_CONFIG_BY_PROFILE_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_COMPUTED_CONFIG_BY_PROFILE_UUID(uuid)}`,
207
208
  GET_ALL_INBOUNDS: `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET_ALL_INBOUNDS}`,
208
209
  },
209
210
  INTERNAL_SQUADS: {
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetComputedConfigProfileByUuidCommand = 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 GetComputedConfigProfileByUuidCommand;
9
+ (function (GetComputedConfigProfileByUuidCommand) {
10
+ GetComputedConfigProfileByUuidCommand.url = api_1.REST_API.CONFIG_PROFILES.GET_COMPUTED_CONFIG_BY_PROFILE_UUID;
11
+ GetComputedConfigProfileByUuidCommand.TSQ_url = GetComputedConfigProfileByUuidCommand.url(':uuid');
12
+ GetComputedConfigProfileByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONFIG_PROFILES_ROUTES.GET_COMPUTED_CONFIG_BY_PROFILE_UUID(':uuid'), 'get', 'Get computed config profile by uuid');
13
+ GetComputedConfigProfileByUuidCommand.RequestSchema = zod_1.z.object({
14
+ uuid: zod_1.z.string().uuid(),
15
+ });
16
+ GetComputedConfigProfileByUuidCommand.ResponseSchema = zod_1.z.object({
17
+ response: models_1.ConfigProfileSchema,
18
+ });
19
+ })(GetComputedConfigProfileByUuidCommand || (exports.GetComputedConfigProfileByUuidCommand = GetComputedConfigProfileByUuidCommand = {}));
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./create-config-profile.command"), exports);
18
18
  __exportStar(require("./delete-config-profile.command"), exports);
19
19
  __exportStar(require("./get-all-inbounds.command"), exports);
20
+ __exportStar(require("./get-computed-config-profile-by-uuid.command"), exports);
20
21
  __exportStar(require("./get-config-profile-by-uuid.command"), exports);
21
22
  __exportStar(require("./get-config-profiles.command"), exports);
22
23
  __exportStar(require("./get-inbounds-by-profile-uuid.command"), exports);
@@ -25,6 +25,7 @@ var UpdateExternalSquadCommand;
25
25
  }))
26
26
  .optional(),
27
27
  subscriptionSettings: models_1.ExternalSquadSubscriptionSettingsSchema.optional(),
28
+ hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
28
29
  });
29
30
  UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
30
31
  response: models_1.ExternalSquadSchema,
@@ -1005,4 +1005,9 @@ exports.ERRORS = {
1005
1005
  httpCode: 500,
1006
1006
  }),
1007
1007
  },
1008
+ GET_COMPUTED_CONFIG_PROFILE_BY_UUID_ERROR: {
1009
+ code: 'A200',
1010
+ message: 'Get computed config profile by UUID error',
1011
+ httpCode: 500,
1012
+ },
1008
1013
  };
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExternalSquadSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- const external_squad_subscription_settings_schema_1 = require("./external-squad-subscription-settings.schema");
5
+ const external_squads_1 = require("./external-squads");
6
6
  const constants_1 = require("../constants");
7
7
  exports.ExternalSquadSchema = zod_1.z.object({
8
8
  uuid: zod_1.z.string().uuid(),
@@ -14,7 +14,8 @@ exports.ExternalSquadSchema = zod_1.z.object({
14
14
  templateUuid: zod_1.z.string().uuid(),
15
15
  templateType: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
16
16
  })),
17
- subscriptionSettings: zod_1.z.nullable(external_squad_subscription_settings_schema_1.ExternalSquadSubscriptionSettingsSchema),
17
+ subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
18
+ hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
18
19
  createdAt: zod_1.z
19
20
  .string()
20
21
  .datetime()
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExternalSquadHostOverridesSchema = void 0;
4
+ const hosts_schema_1 = require("../hosts.schema");
5
+ exports.ExternalSquadHostOverridesSchema = hosts_schema_1.HostsSchema.pick({
6
+ serverDescription: true,
7
+ vlessRouteId: true,
8
+ }).partial();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExternalSquadSubscriptionSettingsSchema = void 0;
4
- const subscription_settings_schema_1 = require("./subscription-settings.schema");
4
+ const subscription_settings_schema_1 = require("../subscription-settings.schema");
5
5
  exports.ExternalSquadSubscriptionSettingsSchema = subscription_settings_schema_1.SubscriptionSettingsSchema.pick({
6
6
  profileTitle: true,
7
7
  supportLink: true,
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./external-squad-host-overrides.schema"), exports);
18
+ __exportStar(require("./external-squad-subscription-settings.schema"), exports);
@@ -21,8 +21,8 @@ __exportStar(require("./base-stat.schema"), exports);
21
21
  __exportStar(require("./config-profile-inbounds.schema"), exports);
22
22
  __exportStar(require("./config-profile.schema"), exports);
23
23
  __exportStar(require("./extended-users.schema"), exports);
24
- __exportStar(require("./external-squad-subscription-settings.schema"), exports);
25
24
  __exportStar(require("./external-squad.schema"), exports);
25
+ __exportStar(require("./external-squads"), exports);
26
26
  __exportStar(require("./happ.schema"), exports);
27
27
  __exportStar(require("./hosts.schema"), exports);
28
28
  __exportStar(require("./hwid-user-device.schema"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.2.27",
3
+ "version": "2.2.29",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",
@@ -1 +0,0 @@
1
- {"version":3,"file":"external-squad-subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/external-squad-subscription-settings.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWxC,CAAC"}