@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.
Files changed (143) hide show
  1. package/build/backend/api/controllers/config-profiles.d.ts +3 -0
  2. package/build/backend/api/controllers/config-profiles.d.ts.map +1 -1
  3. package/build/backend/api/controllers/config-profiles.js +4 -0
  4. package/build/backend/api/controllers/external-squads.d.ts +3 -0
  5. package/build/backend/api/controllers/external-squads.d.ts.map +1 -1
  6. package/build/backend/api/controllers/external-squads.js +4 -0
  7. package/build/backend/api/controllers/internal-squads.d.ts +3 -0
  8. package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
  9. package/build/backend/api/controllers/internal-squads.js +4 -0
  10. package/build/backend/api/controllers/subscription-template.d.ts +3 -0
  11. package/build/backend/api/controllers/subscription-template.d.ts.map +1 -1
  12. package/build/backend/api/controllers/subscription-template.js +4 -0
  13. package/build/backend/api/routes.d.ts +12 -0
  14. package/build/backend/api/routes.d.ts.map +1 -1
  15. package/build/backend/api/routes.js +12 -0
  16. package/build/backend/commands/config-profiles/actions/index.d.ts +2 -0
  17. package/build/backend/commands/config-profiles/actions/index.d.ts.map +1 -0
  18. package/build/backend/commands/config-profiles/actions/index.js +17 -0
  19. package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +278 -0
  20. package/build/backend/commands/config-profiles/actions/reorder.command.d.ts.map +1 -0
  21. package/build/backend/commands/config-profiles/actions/reorder.command.js +25 -0
  22. package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +5 -0
  23. package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
  24. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +5 -0
  25. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map +1 -1
  26. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +5 -0
  27. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -1
  28. package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +7 -0
  29. package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -1
  30. package/build/backend/commands/config-profiles/index.d.ts +1 -0
  31. package/build/backend/commands/config-profiles/index.d.ts.map +1 -1
  32. package/build/backend/commands/config-profiles/index.js +1 -0
  33. package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +5 -0
  34. package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
  35. package/build/backend/commands/external-squads/actions/index.d.ts +2 -0
  36. package/build/backend/commands/external-squads/actions/index.d.ts.map +1 -0
  37. package/build/backend/commands/external-squads/actions/index.js +17 -0
  38. package/build/backend/commands/external-squads/actions/reorder.command.d.ts +436 -0
  39. package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -0
  40. package/build/backend/commands/external-squads/actions/reorder.command.js +25 -0
  41. package/build/backend/commands/external-squads/create-external-squad.command.d.ts +5 -0
  42. package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
  43. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +5 -0
  44. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
  45. package/build/backend/commands/external-squads/get-external-squads.command.d.ts +7 -0
  46. package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
  47. package/build/backend/commands/external-squads/index.d.ts +1 -0
  48. package/build/backend/commands/external-squads/index.d.ts.map +1 -1
  49. package/build/backend/commands/external-squads/index.js +1 -0
  50. package/build/backend/commands/external-squads/update-external-squad.command.d.ts +5 -0
  51. package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
  52. package/build/backend/commands/internal-squads/actions/index.d.ts +2 -0
  53. package/build/backend/commands/internal-squads/actions/index.d.ts.map +1 -0
  54. package/build/backend/commands/internal-squads/actions/index.js +17 -0
  55. package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +258 -0
  56. package/build/backend/commands/internal-squads/actions/reorder.command.d.ts.map +1 -0
  57. package/build/backend/commands/internal-squads/actions/reorder.command.js +25 -0
  58. package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +5 -0
  59. package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -1
  60. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts +5 -0
  61. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -1
  62. package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +7 -0
  63. package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -1
  64. package/build/backend/commands/internal-squads/index.d.ts +1 -0
  65. package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
  66. package/build/backend/commands/internal-squads/index.js +1 -0
  67. package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +5 -0
  68. package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -1
  69. package/build/backend/commands/nodes/actions/disable.command.d.ts +4 -4
  70. package/build/backend/commands/nodes/actions/enable.command.d.ts +4 -4
  71. package/build/backend/commands/nodes/actions/reorder.command.d.ts +4 -4
  72. package/build/backend/commands/nodes/create.command.d.ts +4 -4
  73. package/build/backend/commands/nodes/get-all.command.d.ts +4 -4
  74. package/build/backend/commands/nodes/get-one.command.d.ts +4 -4
  75. package/build/backend/commands/nodes/update.command.d.ts +4 -4
  76. package/build/backend/commands/subscription-template/actions/index.d.ts +2 -0
  77. package/build/backend/commands/subscription-template/actions/index.d.ts.map +1 -0
  78. package/build/backend/commands/subscription-template/actions/index.js +17 -0
  79. package/build/backend/commands/subscription-template/actions/reorder.command.d.ts +120 -0
  80. package/build/backend/commands/subscription-template/actions/reorder.command.d.ts.map +1 -0
  81. package/build/backend/commands/subscription-template/actions/reorder.command.js +25 -0
  82. package/build/backend/commands/subscription-template/create-template.command.d.ts +5 -0
  83. package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -1
  84. package/build/backend/commands/subscription-template/create-template.command.js +4 -10
  85. package/build/backend/commands/subscription-template/get-template.command.d.ts +5 -0
  86. package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
  87. package/build/backend/commands/subscription-template/get-template.command.js +3 -9
  88. package/build/backend/commands/subscription-template/get-templates.command.d.ts +7 -0
  89. package/build/backend/commands/subscription-template/get-templates.command.d.ts.map +1 -1
  90. package/build/backend/commands/subscription-template/get-templates.command.js +3 -9
  91. package/build/backend/commands/subscription-template/index.d.ts +1 -0
  92. package/build/backend/commands/subscription-template/index.d.ts.map +1 -1
  93. package/build/backend/commands/subscription-template/index.js +1 -0
  94. package/build/backend/commands/subscription-template/update-template.command.d.ts +5 -0
  95. package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
  96. package/build/backend/commands/subscription-template/update-template.command.js +3 -9
  97. package/build/backend/constants/errors/errors.d.ts +5 -0
  98. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  99. package/build/backend/constants/errors/errors.js +5 -0
  100. package/build/backend/models/config-profile.schema.d.ts +3 -0
  101. package/build/backend/models/config-profile.schema.d.ts.map +1 -1
  102. package/build/backend/models/config-profile.schema.js +1 -0
  103. package/build/backend/models/external-squad.schema.d.ts +3 -0
  104. package/build/backend/models/external-squad.schema.d.ts.map +1 -1
  105. package/build/backend/models/external-squad.schema.js +1 -0
  106. package/build/backend/models/index.d.ts +1 -0
  107. package/build/backend/models/index.d.ts.map +1 -1
  108. package/build/backend/models/index.js +1 -0
  109. package/build/backend/models/internal-squad.schema.d.ts +3 -0
  110. package/build/backend/models/internal-squad.schema.d.ts.map +1 -1
  111. package/build/backend/models/internal-squad.schema.js +1 -0
  112. package/build/backend/models/nodes.schema.d.ts +2 -2
  113. package/build/backend/models/subscription-template.schema.d.ts +31 -0
  114. package/build/backend/models/subscription-template.schema.d.ts.map +1 -0
  115. package/build/backend/models/subscription-template.schema.js +16 -0
  116. package/build/frontend/api/controllers/config-profiles.js +4 -0
  117. package/build/frontend/api/controllers/external-squads.js +4 -0
  118. package/build/frontend/api/controllers/internal-squads.js +4 -0
  119. package/build/frontend/api/controllers/subscription-template.js +4 -0
  120. package/build/frontend/api/routes.js +12 -0
  121. package/build/frontend/commands/config-profiles/actions/index.js +17 -0
  122. package/build/frontend/commands/config-profiles/actions/reorder.command.js +25 -0
  123. package/build/frontend/commands/config-profiles/index.js +1 -0
  124. package/build/frontend/commands/external-squads/actions/index.js +17 -0
  125. package/build/frontend/commands/external-squads/actions/reorder.command.js +25 -0
  126. package/build/frontend/commands/external-squads/index.js +1 -0
  127. package/build/frontend/commands/internal-squads/actions/index.js +17 -0
  128. package/build/frontend/commands/internal-squads/actions/reorder.command.js +25 -0
  129. package/build/frontend/commands/internal-squads/index.js +1 -0
  130. package/build/frontend/commands/subscription-template/actions/index.js +17 -0
  131. package/build/frontend/commands/subscription-template/actions/reorder.command.js +25 -0
  132. package/build/frontend/commands/subscription-template/create-template.command.js +4 -10
  133. package/build/frontend/commands/subscription-template/get-template.command.js +3 -9
  134. package/build/frontend/commands/subscription-template/get-templates.command.js +3 -9
  135. package/build/frontend/commands/subscription-template/index.js +1 -0
  136. package/build/frontend/commands/subscription-template/update-template.command.js +3 -9
  137. package/build/frontend/constants/errors/errors.js +5 -0
  138. package/build/frontend/models/config-profile.schema.js +1 -0
  139. package/build/frontend/models/external-squad.schema.js +1 -0
  140. package/build/frontend/models/index.js +1 -0
  141. package/build/frontend/models/internal-squad.schema.js +1 -0
  142. package/build/frontend/models/subscription-template.schema.js +16 -0
  143. package/package.json +1 -1
@@ -14,6 +14,7 @@ export declare namespace GetConfigProfileByUuidCommand {
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 GetConfigProfileByUuidCommand {
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 GetConfigProfileByUuidCommand {
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 GetConfigProfileByUuidCommand {
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 GetConfigProfileByUuidCommand {
146
150
  createdAt: string;
147
151
  updatedAt: string;
148
152
  name: string;
153
+ viewPosition: number;
149
154
  config?: unknown;
150
155
  };
151
156
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-config-profile-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-config-profile-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAuC,CAAC;IACjD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-config-profile-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-config-profile-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAuC,CAAC;IACjD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -8,6 +8,7 @@ export declare namespace GetConfigProfilesCommand {
8
8
  total: z.ZodNumber;
9
9
  configProfiles: z.ZodArray<z.ZodObject<{
10
10
  uuid: z.ZodString;
11
+ viewPosition: z.ZodNumber;
11
12
  name: z.ZodString;
12
13
  config: z.ZodUnknown;
13
14
  inbounds: z.ZodArray<z.ZodObject<{
@@ -73,6 +74,7 @@ export declare namespace GetConfigProfilesCommand {
73
74
  createdAt: Date;
74
75
  updatedAt: Date;
75
76
  name: string;
77
+ viewPosition: number;
76
78
  config?: unknown;
77
79
  }, {
78
80
  inbounds: {
@@ -94,6 +96,7 @@ export declare namespace GetConfigProfilesCommand {
94
96
  createdAt: string;
95
97
  updatedAt: string;
96
98
  name: string;
99
+ viewPosition: number;
97
100
  config?: unknown;
98
101
  }>, "many">;
99
102
  }, "strip", z.ZodTypeAny, {
@@ -118,6 +121,7 @@ export declare namespace GetConfigProfilesCommand {
118
121
  createdAt: Date;
119
122
  updatedAt: Date;
120
123
  name: string;
124
+ viewPosition: number;
121
125
  config?: unknown;
122
126
  }[];
123
127
  }, {
@@ -142,6 +146,7 @@ export declare namespace GetConfigProfilesCommand {
142
146
  createdAt: string;
143
147
  updatedAt: string;
144
148
  name: string;
149
+ viewPosition: number;
145
150
  config?: unknown;
146
151
  }[];
147
152
  }>;
@@ -168,6 +173,7 @@ export declare namespace GetConfigProfilesCommand {
168
173
  createdAt: Date;
169
174
  updatedAt: Date;
170
175
  name: string;
176
+ viewPosition: number;
171
177
  config?: unknown;
172
178
  }[];
173
179
  };
@@ -194,6 +200,7 @@ export declare namespace GetConfigProfilesCommand {
194
200
  createdAt: string;
195
201
  updatedAt: string;
196
202
  name: string;
203
+ viewPosition: number;
197
204
  config?: unknown;
198
205
  }[];
199
206
  };
@@ -1 +1 @@
1
- {"version":3,"file":"get-config-profiles.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-config-profiles.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-config-profiles.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/get-config-profiles.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -1,3 +1,4 @@
1
+ export * from './actions';
1
2
  export * from './create-config-profile.command';
2
3
  export * from './delete-config-profile.command';
3
4
  export * from './get-all-inbounds.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,+CAA+C,CAAC;AAC9D,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,WAAW,CAAC;AAC1B,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"}
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./actions"), exports);
17
18
  __exportStar(require("./create-config-profile.command"), exports);
18
19
  __exportStar(require("./delete-config-profile.command"), exports);
19
20
  __exportStar(require("./get-all-inbounds.command"), exports);
@@ -20,6 +20,7 @@ export declare namespace UpdateConfigProfileCommand {
20
20
  const ResponseSchema: z.ZodObject<{
21
21
  response: z.ZodObject<{
22
22
  uuid: z.ZodString;
23
+ viewPosition: z.ZodNumber;
23
24
  name: z.ZodString;
24
25
  config: z.ZodUnknown;
25
26
  inbounds: z.ZodArray<z.ZodObject<{
@@ -85,6 +86,7 @@ export declare namespace UpdateConfigProfileCommand {
85
86
  createdAt: Date;
86
87
  updatedAt: Date;
87
88
  name: string;
89
+ viewPosition: number;
88
90
  config?: unknown;
89
91
  }, {
90
92
  inbounds: {
@@ -106,6 +108,7 @@ export declare namespace UpdateConfigProfileCommand {
106
108
  createdAt: string;
107
109
  updatedAt: string;
108
110
  name: string;
111
+ viewPosition: number;
109
112
  config?: unknown;
110
113
  }>;
111
114
  }, "strip", z.ZodTypeAny, {
@@ -129,6 +132,7 @@ export declare namespace UpdateConfigProfileCommand {
129
132
  createdAt: Date;
130
133
  updatedAt: Date;
131
134
  name: string;
135
+ viewPosition: number;
132
136
  config?: unknown;
133
137
  };
134
138
  }, {
@@ -152,6 +156,7 @@ export declare namespace UpdateConfigProfileCommand {
152
156
  createdAt: string;
153
157
  updatedAt: string;
154
158
  name: string;
159
+ viewPosition: number;
155
160
  config?: unknown;
156
161
  };
157
162
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"update-config-profile.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/update-config-profile.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAYxB,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-config-profile.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/update-config-profile.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAYxB,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,2 @@
1
+ export * from './reorder.command';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/external-squads/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,436 @@
1
+ import { z } from 'zod';
2
+ export declare namespace ReorderExternalSquadCommand {
3
+ const url: "/api/external-squads/actions/reorder";
4
+ const TSQ_url: "/api/external-squads/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
+ info: z.ZodObject<{
12
+ membersCount: z.ZodNumber;
13
+ }, "strip", z.ZodTypeAny, {
14
+ membersCount: number;
15
+ }, {
16
+ membersCount: number;
17
+ }>;
18
+ templates: z.ZodArray<z.ZodObject<{
19
+ templateUuid: z.ZodString;
20
+ templateType: z.ZodNativeEnum<{
21
+ readonly XRAY_JSON: "XRAY_JSON";
22
+ readonly XRAY_BASE64: "XRAY_BASE64";
23
+ readonly MIHOMO: "MIHOMO";
24
+ readonly STASH: "STASH";
25
+ readonly CLASH: "CLASH";
26
+ readonly SINGBOX: "SINGBOX";
27
+ }>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ templateUuid: string;
30
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
31
+ }, {
32
+ templateUuid: string;
33
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
34
+ }>, "many">;
35
+ subscriptionSettings: z.ZodNullable<z.ZodObject<{
36
+ profileTitle: z.ZodOptional<z.ZodString>;
37
+ supportLink: z.ZodOptional<z.ZodString>;
38
+ profileUpdateInterval: z.ZodOptional<z.ZodNumber>;
39
+ isProfileWebpageUrlEnabled: z.ZodOptional<z.ZodBoolean>;
40
+ serveJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
41
+ addUsernameToBaseSubscription: z.ZodOptional<z.ZodBoolean>;
42
+ isShowCustomRemarks: z.ZodOptional<z.ZodBoolean>;
43
+ happAnnounce: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ happRouting: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ randomizeHosts: z.ZodOptional<z.ZodBoolean>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ profileTitle?: string | undefined;
48
+ supportLink?: string | undefined;
49
+ profileUpdateInterval?: number | undefined;
50
+ isProfileWebpageUrlEnabled?: boolean | undefined;
51
+ serveJsonAtBaseSubscription?: boolean | undefined;
52
+ addUsernameToBaseSubscription?: boolean | undefined;
53
+ isShowCustomRemarks?: boolean | undefined;
54
+ happAnnounce?: string | null | undefined;
55
+ happRouting?: string | null | undefined;
56
+ randomizeHosts?: boolean | undefined;
57
+ }, {
58
+ profileTitle?: string | undefined;
59
+ supportLink?: string | undefined;
60
+ profileUpdateInterval?: number | undefined;
61
+ isProfileWebpageUrlEnabled?: boolean | undefined;
62
+ serveJsonAtBaseSubscription?: boolean | undefined;
63
+ addUsernameToBaseSubscription?: boolean | undefined;
64
+ isShowCustomRemarks?: boolean | undefined;
65
+ happAnnounce?: string | null | undefined;
66
+ happRouting?: string | null | undefined;
67
+ randomizeHosts?: boolean | undefined;
68
+ }>>;
69
+ hostOverrides: z.ZodNullable<z.ZodObject<{
70
+ serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ serverDescription?: string | null | undefined;
74
+ vlessRouteId?: number | null | undefined;
75
+ }, {
76
+ serverDescription?: string | null | undefined;
77
+ vlessRouteId?: number | null | undefined;
78
+ }>>;
79
+ responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
80
+ hwidSettings: z.ZodNullable<z.ZodObject<{
81
+ enabled: z.ZodBoolean;
82
+ fallbackDeviceLimit: z.ZodNumber;
83
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ enabled: boolean;
86
+ fallbackDeviceLimit: number;
87
+ maxDevicesAnnounce: string | null;
88
+ }, {
89
+ enabled: boolean;
90
+ fallbackDeviceLimit: number;
91
+ maxDevicesAnnounce: string | null;
92
+ }>>;
93
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
94
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
95
+ }, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
96
+ uuid: string;
97
+ viewPosition: number;
98
+ }, {
99
+ uuid: string;
100
+ viewPosition: number;
101
+ }>, "many">;
102
+ }, "strip", z.ZodTypeAny, {
103
+ items: {
104
+ uuid: string;
105
+ viewPosition: number;
106
+ }[];
107
+ }, {
108
+ items: {
109
+ uuid: string;
110
+ viewPosition: number;
111
+ }[];
112
+ }>;
113
+ type Request = z.infer<typeof RequestSchema>;
114
+ const ResponseSchema: z.ZodObject<{
115
+ response: z.ZodObject<{
116
+ total: z.ZodNumber;
117
+ externalSquads: z.ZodArray<z.ZodObject<{
118
+ uuid: z.ZodString;
119
+ viewPosition: z.ZodNumber;
120
+ name: z.ZodString;
121
+ info: z.ZodObject<{
122
+ membersCount: z.ZodNumber;
123
+ }, "strip", z.ZodTypeAny, {
124
+ membersCount: number;
125
+ }, {
126
+ membersCount: number;
127
+ }>;
128
+ templates: z.ZodArray<z.ZodObject<{
129
+ templateUuid: z.ZodString;
130
+ templateType: z.ZodNativeEnum<{
131
+ readonly XRAY_JSON: "XRAY_JSON";
132
+ readonly XRAY_BASE64: "XRAY_BASE64";
133
+ readonly MIHOMO: "MIHOMO";
134
+ readonly STASH: "STASH";
135
+ readonly CLASH: "CLASH";
136
+ readonly SINGBOX: "SINGBOX";
137
+ }>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ templateUuid: string;
140
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
141
+ }, {
142
+ templateUuid: string;
143
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
144
+ }>, "many">;
145
+ subscriptionSettings: z.ZodNullable<z.ZodObject<{
146
+ profileTitle: z.ZodOptional<z.ZodString>;
147
+ supportLink: z.ZodOptional<z.ZodString>;
148
+ profileUpdateInterval: z.ZodOptional<z.ZodNumber>;
149
+ isProfileWebpageUrlEnabled: z.ZodOptional<z.ZodBoolean>;
150
+ serveJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
151
+ addUsernameToBaseSubscription: z.ZodOptional<z.ZodBoolean>;
152
+ isShowCustomRemarks: z.ZodOptional<z.ZodBoolean>;
153
+ happAnnounce: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
+ happRouting: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
+ randomizeHosts: z.ZodOptional<z.ZodBoolean>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ profileTitle?: string | undefined;
158
+ supportLink?: string | undefined;
159
+ profileUpdateInterval?: number | undefined;
160
+ isProfileWebpageUrlEnabled?: boolean | undefined;
161
+ serveJsonAtBaseSubscription?: boolean | undefined;
162
+ addUsernameToBaseSubscription?: boolean | undefined;
163
+ isShowCustomRemarks?: boolean | undefined;
164
+ happAnnounce?: string | null | undefined;
165
+ happRouting?: string | null | undefined;
166
+ randomizeHosts?: boolean | undefined;
167
+ }, {
168
+ profileTitle?: string | undefined;
169
+ supportLink?: string | undefined;
170
+ profileUpdateInterval?: number | undefined;
171
+ isProfileWebpageUrlEnabled?: boolean | undefined;
172
+ serveJsonAtBaseSubscription?: boolean | undefined;
173
+ addUsernameToBaseSubscription?: boolean | undefined;
174
+ isShowCustomRemarks?: boolean | undefined;
175
+ happAnnounce?: string | null | undefined;
176
+ happRouting?: string | null | undefined;
177
+ randomizeHosts?: boolean | undefined;
178
+ }>>;
179
+ hostOverrides: z.ZodNullable<z.ZodObject<{
180
+ serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
+ vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ serverDescription?: string | null | undefined;
184
+ vlessRouteId?: number | null | undefined;
185
+ }, {
186
+ serverDescription?: string | null | undefined;
187
+ vlessRouteId?: number | null | undefined;
188
+ }>>;
189
+ responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
190
+ hwidSettings: z.ZodNullable<z.ZodObject<{
191
+ enabled: z.ZodBoolean;
192
+ fallbackDeviceLimit: z.ZodNumber;
193
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ enabled: boolean;
196
+ fallbackDeviceLimit: number;
197
+ maxDevicesAnnounce: string | null;
198
+ }, {
199
+ enabled: boolean;
200
+ fallbackDeviceLimit: number;
201
+ maxDevicesAnnounce: string | null;
202
+ }>>;
203
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
204
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ uuid: string;
207
+ createdAt: Date;
208
+ updatedAt: Date;
209
+ name: string;
210
+ viewPosition: number;
211
+ hwidSettings: {
212
+ enabled: boolean;
213
+ fallbackDeviceLimit: number;
214
+ maxDevicesAnnounce: string | null;
215
+ } | null;
216
+ info: {
217
+ membersCount: number;
218
+ };
219
+ templates: {
220
+ templateUuid: string;
221
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
222
+ }[];
223
+ subscriptionSettings: {
224
+ profileTitle?: string | undefined;
225
+ supportLink?: string | undefined;
226
+ profileUpdateInterval?: number | undefined;
227
+ isProfileWebpageUrlEnabled?: boolean | undefined;
228
+ serveJsonAtBaseSubscription?: boolean | undefined;
229
+ addUsernameToBaseSubscription?: boolean | undefined;
230
+ isShowCustomRemarks?: boolean | undefined;
231
+ happAnnounce?: string | null | undefined;
232
+ happRouting?: string | null | undefined;
233
+ randomizeHosts?: boolean | undefined;
234
+ } | null;
235
+ hostOverrides: {
236
+ serverDescription?: string | null | undefined;
237
+ vlessRouteId?: number | null | undefined;
238
+ } | null;
239
+ responseHeaders: Record<string, string> | null;
240
+ }, {
241
+ uuid: string;
242
+ createdAt: string;
243
+ updatedAt: string;
244
+ name: string;
245
+ viewPosition: number;
246
+ hwidSettings: {
247
+ enabled: boolean;
248
+ fallbackDeviceLimit: number;
249
+ maxDevicesAnnounce: string | null;
250
+ } | null;
251
+ info: {
252
+ membersCount: number;
253
+ };
254
+ templates: {
255
+ templateUuid: string;
256
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
257
+ }[];
258
+ subscriptionSettings: {
259
+ profileTitle?: string | undefined;
260
+ supportLink?: string | undefined;
261
+ profileUpdateInterval?: number | undefined;
262
+ isProfileWebpageUrlEnabled?: boolean | undefined;
263
+ serveJsonAtBaseSubscription?: boolean | undefined;
264
+ addUsernameToBaseSubscription?: boolean | undefined;
265
+ isShowCustomRemarks?: boolean | undefined;
266
+ happAnnounce?: string | null | undefined;
267
+ happRouting?: string | null | undefined;
268
+ randomizeHosts?: boolean | undefined;
269
+ } | null;
270
+ hostOverrides: {
271
+ serverDescription?: string | null | undefined;
272
+ vlessRouteId?: number | null | undefined;
273
+ } | null;
274
+ responseHeaders: Record<string, string> | null;
275
+ }>, "many">;
276
+ }, "strip", z.ZodTypeAny, {
277
+ total: number;
278
+ externalSquads: {
279
+ uuid: string;
280
+ createdAt: Date;
281
+ updatedAt: Date;
282
+ name: string;
283
+ viewPosition: number;
284
+ hwidSettings: {
285
+ enabled: boolean;
286
+ fallbackDeviceLimit: number;
287
+ maxDevicesAnnounce: string | null;
288
+ } | null;
289
+ info: {
290
+ membersCount: number;
291
+ };
292
+ templates: {
293
+ templateUuid: string;
294
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
295
+ }[];
296
+ subscriptionSettings: {
297
+ profileTitle?: string | undefined;
298
+ supportLink?: string | undefined;
299
+ profileUpdateInterval?: number | undefined;
300
+ isProfileWebpageUrlEnabled?: boolean | undefined;
301
+ serveJsonAtBaseSubscription?: boolean | undefined;
302
+ addUsernameToBaseSubscription?: boolean | undefined;
303
+ isShowCustomRemarks?: boolean | undefined;
304
+ happAnnounce?: string | null | undefined;
305
+ happRouting?: string | null | undefined;
306
+ randomizeHosts?: boolean | undefined;
307
+ } | null;
308
+ hostOverrides: {
309
+ serverDescription?: string | null | undefined;
310
+ vlessRouteId?: number | null | undefined;
311
+ } | null;
312
+ responseHeaders: Record<string, string> | null;
313
+ }[];
314
+ }, {
315
+ total: number;
316
+ externalSquads: {
317
+ uuid: string;
318
+ createdAt: string;
319
+ updatedAt: string;
320
+ name: string;
321
+ viewPosition: number;
322
+ hwidSettings: {
323
+ enabled: boolean;
324
+ fallbackDeviceLimit: number;
325
+ maxDevicesAnnounce: string | null;
326
+ } | null;
327
+ info: {
328
+ membersCount: number;
329
+ };
330
+ templates: {
331
+ templateUuid: string;
332
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
333
+ }[];
334
+ subscriptionSettings: {
335
+ profileTitle?: string | undefined;
336
+ supportLink?: string | undefined;
337
+ profileUpdateInterval?: number | undefined;
338
+ isProfileWebpageUrlEnabled?: boolean | undefined;
339
+ serveJsonAtBaseSubscription?: boolean | undefined;
340
+ addUsernameToBaseSubscription?: boolean | undefined;
341
+ isShowCustomRemarks?: boolean | undefined;
342
+ happAnnounce?: string | null | undefined;
343
+ happRouting?: string | null | undefined;
344
+ randomizeHosts?: boolean | undefined;
345
+ } | null;
346
+ hostOverrides: {
347
+ serverDescription?: string | null | undefined;
348
+ vlessRouteId?: number | null | undefined;
349
+ } | null;
350
+ responseHeaders: Record<string, string> | null;
351
+ }[];
352
+ }>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ response: {
355
+ total: number;
356
+ externalSquads: {
357
+ uuid: string;
358
+ createdAt: Date;
359
+ updatedAt: Date;
360
+ name: string;
361
+ viewPosition: number;
362
+ hwidSettings: {
363
+ enabled: boolean;
364
+ fallbackDeviceLimit: number;
365
+ maxDevicesAnnounce: string | null;
366
+ } | null;
367
+ info: {
368
+ membersCount: number;
369
+ };
370
+ templates: {
371
+ templateUuid: string;
372
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
373
+ }[];
374
+ subscriptionSettings: {
375
+ profileTitle?: string | undefined;
376
+ supportLink?: string | undefined;
377
+ profileUpdateInterval?: number | undefined;
378
+ isProfileWebpageUrlEnabled?: boolean | undefined;
379
+ serveJsonAtBaseSubscription?: boolean | undefined;
380
+ addUsernameToBaseSubscription?: boolean | undefined;
381
+ isShowCustomRemarks?: boolean | undefined;
382
+ happAnnounce?: string | null | undefined;
383
+ happRouting?: string | null | undefined;
384
+ randomizeHosts?: boolean | undefined;
385
+ } | null;
386
+ hostOverrides: {
387
+ serverDescription?: string | null | undefined;
388
+ vlessRouteId?: number | null | undefined;
389
+ } | null;
390
+ responseHeaders: Record<string, string> | null;
391
+ }[];
392
+ };
393
+ }, {
394
+ response: {
395
+ total: number;
396
+ externalSquads: {
397
+ uuid: string;
398
+ createdAt: string;
399
+ updatedAt: string;
400
+ name: string;
401
+ viewPosition: number;
402
+ hwidSettings: {
403
+ enabled: boolean;
404
+ fallbackDeviceLimit: number;
405
+ maxDevicesAnnounce: string | null;
406
+ } | null;
407
+ info: {
408
+ membersCount: number;
409
+ };
410
+ templates: {
411
+ templateUuid: string;
412
+ templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
413
+ }[];
414
+ subscriptionSettings: {
415
+ profileTitle?: string | undefined;
416
+ supportLink?: string | undefined;
417
+ profileUpdateInterval?: number | undefined;
418
+ isProfileWebpageUrlEnabled?: boolean | undefined;
419
+ serveJsonAtBaseSubscription?: boolean | undefined;
420
+ addUsernameToBaseSubscription?: boolean | undefined;
421
+ isShowCustomRemarks?: boolean | undefined;
422
+ happAnnounce?: string | null | undefined;
423
+ happRouting?: string | null | undefined;
424
+ randomizeHosts?: boolean | undefined;
425
+ } | null;
426
+ hostOverrides: {
427
+ serverDescription?: string | null | undefined;
428
+ vlessRouteId?: number | null | undefined;
429
+ } | null;
430
+ responseHeaders: Record<string, string> | null;
431
+ }[];
432
+ };
433
+ }>;
434
+ type Response = z.infer<typeof ResponseSchema>;
435
+ }
436
+ //# sourceMappingURL=reorder.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/external-squads/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.ReorderExternalSquadCommand = 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 ReorderExternalSquadCommand;
9
+ (function (ReorderExternalSquadCommand) {
10
+ ReorderExternalSquadCommand.url = api_1.REST_API.EXTERNAL_SQUADS.ACTIONS.REORDER;
11
+ ReorderExternalSquadCommand.TSQ_url = ReorderExternalSquadCommand.url;
12
+ ReorderExternalSquadCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.EXTERNAL_SQUADS_ROUTES.ACTIONS.REORDER, 'post', 'Reorder external squads');
13
+ ReorderExternalSquadCommand.RequestSchema = zod_1.z.object({
14
+ items: zod_1.z.array(models_1.ExternalSquadSchema.pick({
15
+ viewPosition: true,
16
+ uuid: true,
17
+ })),
18
+ });
19
+ ReorderExternalSquadCommand.ResponseSchema = zod_1.z.object({
20
+ response: zod_1.z.object({
21
+ total: zod_1.z.number(),
22
+ externalSquads: zod_1.z.array(models_1.ExternalSquadSchema),
23
+ }),
24
+ });
25
+ })(ReorderExternalSquadCommand || (exports.ReorderExternalSquadCommand = ReorderExternalSquadCommand = {}));