@remnawave/backend-contract 2.2.32 → 2.2.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +5 -0
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +5 -0
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts +7 -0
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +8 -0
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/update-external-squad.command.js +1 -0
- package/build/backend/models/external-squad.schema.d.ts +3 -0
- package/build/backend/models/external-squad.schema.d.ts.map +1 -1
- package/build/backend/models/external-squad.schema.js +1 -0
- package/build/backend/models/external-squads/external-squad-response-headers.schema.d.ts +3 -0
- package/build/backend/models/external-squads/external-squad-response-headers.schema.d.ts.map +1 -0
- package/build/backend/models/external-squads/external-squad-response-headers.schema.js +5 -0
- package/build/backend/models/external-squads/index.d.ts +1 -0
- package/build/backend/models/external-squads/index.d.ts.map +1 -1
- package/build/backend/models/external-squads/index.js +1 -0
- package/build/backend/models/remnawave-settings/oauth2-settings.schema.js +1 -1
- package/build/backend/models/remnawave-settings/passkey-settings.schema.js +2 -2
- package/build/frontend/commands/external-squads/update-external-squad.command.js +1 -0
- package/build/frontend/models/external-squad.schema.js +1 -0
- package/build/frontend/models/external-squads/external-squad-response-headers.schema.js +5 -0
- package/build/frontend/models/external-squads/index.js +1 -0
- package/build/frontend/models/remnawave-settings/oauth2-settings.schema.js +1 -1
- package/build/frontend/models/remnawave-settings/passkey-settings.schema.js +2 -2
- package/package.json +1 -1
|
@@ -83,6 +83,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
83
83
|
serverDescription?: string | null | undefined;
|
|
84
84
|
vlessRouteId?: number | null | undefined;
|
|
85
85
|
}>>;
|
|
86
|
+
responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
86
87
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
87
88
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
88
89
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -113,6 +114,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
113
114
|
serverDescription?: string | null | undefined;
|
|
114
115
|
vlessRouteId?: number | null | undefined;
|
|
115
116
|
} | null;
|
|
117
|
+
responseHeaders: Record<string, string> | null;
|
|
116
118
|
}, {
|
|
117
119
|
uuid: string;
|
|
118
120
|
createdAt: string;
|
|
@@ -141,6 +143,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
141
143
|
serverDescription?: string | null | undefined;
|
|
142
144
|
vlessRouteId?: number | null | undefined;
|
|
143
145
|
} | null;
|
|
146
|
+
responseHeaders: Record<string, string> | null;
|
|
144
147
|
}>;
|
|
145
148
|
}, "strip", z.ZodTypeAny, {
|
|
146
149
|
response: {
|
|
@@ -171,6 +174,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
171
174
|
serverDescription?: string | null | undefined;
|
|
172
175
|
vlessRouteId?: number | null | undefined;
|
|
173
176
|
} | null;
|
|
177
|
+
responseHeaders: Record<string, string> | null;
|
|
174
178
|
};
|
|
175
179
|
}, {
|
|
176
180
|
response: {
|
|
@@ -201,6 +205,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
201
205
|
serverDescription?: string | null | undefined;
|
|
202
206
|
vlessRouteId?: number | null | undefined;
|
|
203
207
|
} | null;
|
|
208
|
+
responseHeaders: Record<string, string> | null;
|
|
204
209
|
};
|
|
205
210
|
}>;
|
|
206
211
|
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
|
|
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"}
|
|
@@ -83,6 +83,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
83
83
|
serverDescription?: string | null | undefined;
|
|
84
84
|
vlessRouteId?: number | null | undefined;
|
|
85
85
|
}>>;
|
|
86
|
+
responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
86
87
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
87
88
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
88
89
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -113,6 +114,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
113
114
|
serverDescription?: string | null | undefined;
|
|
114
115
|
vlessRouteId?: number | null | undefined;
|
|
115
116
|
} | null;
|
|
117
|
+
responseHeaders: Record<string, string> | null;
|
|
116
118
|
}, {
|
|
117
119
|
uuid: string;
|
|
118
120
|
createdAt: string;
|
|
@@ -141,6 +143,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
141
143
|
serverDescription?: string | null | undefined;
|
|
142
144
|
vlessRouteId?: number | null | undefined;
|
|
143
145
|
} | null;
|
|
146
|
+
responseHeaders: Record<string, string> | null;
|
|
144
147
|
}>;
|
|
145
148
|
}, "strip", z.ZodTypeAny, {
|
|
146
149
|
response: {
|
|
@@ -171,6 +174,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
171
174
|
serverDescription?: string | null | undefined;
|
|
172
175
|
vlessRouteId?: number | null | undefined;
|
|
173
176
|
} | null;
|
|
177
|
+
responseHeaders: Record<string, string> | null;
|
|
174
178
|
};
|
|
175
179
|
}, {
|
|
176
180
|
response: {
|
|
@@ -201,6 +205,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
201
205
|
serverDescription?: string | null | undefined;
|
|
202
206
|
vlessRouteId?: number | null | undefined;
|
|
203
207
|
} | null;
|
|
208
|
+
responseHeaders: Record<string, string> | null;
|
|
204
209
|
};
|
|
205
210
|
}>;
|
|
206
211
|
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
|
|
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"}
|
|
@@ -77,6 +77,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
77
77
|
serverDescription?: string | null | undefined;
|
|
78
78
|
vlessRouteId?: number | null | undefined;
|
|
79
79
|
}>>;
|
|
80
|
+
responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
80
81
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
81
82
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
82
83
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -107,6 +108,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
107
108
|
serverDescription?: string | null | undefined;
|
|
108
109
|
vlessRouteId?: number | null | undefined;
|
|
109
110
|
} | null;
|
|
111
|
+
responseHeaders: Record<string, string> | null;
|
|
110
112
|
}, {
|
|
111
113
|
uuid: string;
|
|
112
114
|
createdAt: string;
|
|
@@ -135,6 +137,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
135
137
|
serverDescription?: string | null | undefined;
|
|
136
138
|
vlessRouteId?: number | null | undefined;
|
|
137
139
|
} | null;
|
|
140
|
+
responseHeaders: Record<string, string> | null;
|
|
138
141
|
}>, "many">;
|
|
139
142
|
}, "strip", z.ZodTypeAny, {
|
|
140
143
|
total: number;
|
|
@@ -166,6 +169,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
166
169
|
serverDescription?: string | null | undefined;
|
|
167
170
|
vlessRouteId?: number | null | undefined;
|
|
168
171
|
} | null;
|
|
172
|
+
responseHeaders: Record<string, string> | null;
|
|
169
173
|
}[];
|
|
170
174
|
}, {
|
|
171
175
|
total: number;
|
|
@@ -197,6 +201,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
197
201
|
serverDescription?: string | null | undefined;
|
|
198
202
|
vlessRouteId?: number | null | undefined;
|
|
199
203
|
} | null;
|
|
204
|
+
responseHeaders: Record<string, string> | null;
|
|
200
205
|
}[];
|
|
201
206
|
}>;
|
|
202
207
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -230,6 +235,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
230
235
|
serverDescription?: string | null | undefined;
|
|
231
236
|
vlessRouteId?: number | null | undefined;
|
|
232
237
|
} | null;
|
|
238
|
+
responseHeaders: Record<string, string> | null;
|
|
233
239
|
}[];
|
|
234
240
|
};
|
|
235
241
|
}, {
|
|
@@ -263,6 +269,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
263
269
|
serverDescription?: string | null | undefined;
|
|
264
270
|
vlessRouteId?: number | null | undefined;
|
|
265
271
|
} | null;
|
|
272
|
+
responseHeaders: Record<string, string> | null;
|
|
266
273
|
}[];
|
|
267
274
|
};
|
|
268
275
|
}>;
|
|
@@ -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
|
|
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"}
|
|
@@ -67,6 +67,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
67
67
|
serverDescription?: string | null | undefined;
|
|
68
68
|
vlessRouteId?: number | null | undefined;
|
|
69
69
|
}>>;
|
|
70
|
+
responseHeaders: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
70
71
|
}, "strip", z.ZodTypeAny, {
|
|
71
72
|
uuid: string;
|
|
72
73
|
name?: string | undefined;
|
|
@@ -90,6 +91,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
90
91
|
serverDescription?: string | null | undefined;
|
|
91
92
|
vlessRouteId?: number | null | undefined;
|
|
92
93
|
} | undefined;
|
|
94
|
+
responseHeaders?: Record<string, string> | null | undefined;
|
|
93
95
|
}, {
|
|
94
96
|
uuid: string;
|
|
95
97
|
name?: string | undefined;
|
|
@@ -113,6 +115,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
113
115
|
serverDescription?: string | null | undefined;
|
|
114
116
|
vlessRouteId?: number | null | undefined;
|
|
115
117
|
} | undefined;
|
|
118
|
+
responseHeaders?: Record<string, string> | null | undefined;
|
|
116
119
|
}>;
|
|
117
120
|
type Request = z.infer<typeof RequestSchema>;
|
|
118
121
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -187,6 +190,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
187
190
|
serverDescription?: string | null | undefined;
|
|
188
191
|
vlessRouteId?: number | null | undefined;
|
|
189
192
|
}>>;
|
|
193
|
+
responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
190
194
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
191
195
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
192
196
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -217,6 +221,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
217
221
|
serverDescription?: string | null | undefined;
|
|
218
222
|
vlessRouteId?: number | null | undefined;
|
|
219
223
|
} | null;
|
|
224
|
+
responseHeaders: Record<string, string> | null;
|
|
220
225
|
}, {
|
|
221
226
|
uuid: string;
|
|
222
227
|
createdAt: string;
|
|
@@ -245,6 +250,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
245
250
|
serverDescription?: string | null | undefined;
|
|
246
251
|
vlessRouteId?: number | null | undefined;
|
|
247
252
|
} | null;
|
|
253
|
+
responseHeaders: Record<string, string> | null;
|
|
248
254
|
}>;
|
|
249
255
|
}, "strip", z.ZodTypeAny, {
|
|
250
256
|
response: {
|
|
@@ -275,6 +281,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
275
281
|
serverDescription?: string | null | undefined;
|
|
276
282
|
vlessRouteId?: number | null | undefined;
|
|
277
283
|
} | null;
|
|
284
|
+
responseHeaders: Record<string, string> | null;
|
|
278
285
|
};
|
|
279
286
|
}, {
|
|
280
287
|
response: {
|
|
@@ -305,6 +312,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
305
312
|
serverDescription?: string | null | undefined;
|
|
306
313
|
vlessRouteId?: number | null | undefined;
|
|
307
314
|
} | null;
|
|
315
|
+
responseHeaders: Record<string, string> | null;
|
|
308
316
|
};
|
|
309
317
|
}>;
|
|
310
318
|
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;
|
|
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;AAWxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsBxB,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"}
|
|
@@ -26,6 +26,7 @@ var UpdateExternalSquadCommand;
|
|
|
26
26
|
.optional(),
|
|
27
27
|
subscriptionSettings: models_1.ExternalSquadSubscriptionSettingsSchema.optional(),
|
|
28
28
|
hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
|
|
29
|
+
responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
|
|
29
30
|
});
|
|
30
31
|
UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
31
32
|
response: models_1.ExternalSquadSchema,
|
|
@@ -70,6 +70,7 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
70
70
|
serverDescription?: string | null | undefined;
|
|
71
71
|
vlessRouteId?: number | null | undefined;
|
|
72
72
|
}>>;
|
|
73
|
+
responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
73
74
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
74
75
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
75
76
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -100,6 +101,7 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
100
101
|
serverDescription?: string | null | undefined;
|
|
101
102
|
vlessRouteId?: number | null | undefined;
|
|
102
103
|
} | null;
|
|
104
|
+
responseHeaders: Record<string, string> | null;
|
|
103
105
|
}, {
|
|
104
106
|
uuid: string;
|
|
105
107
|
createdAt: string;
|
|
@@ -128,5 +130,6 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
128
130
|
serverDescription?: string | null | undefined;
|
|
129
131
|
vlessRouteId?: number | null | undefined;
|
|
130
132
|
} | null;
|
|
133
|
+
responseHeaders: Record<string, string> | null;
|
|
131
134
|
}>;
|
|
132
135
|
//# 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;
|
|
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;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0B9B,CAAC"}
|
|
@@ -16,6 +16,7 @@ exports.ExternalSquadSchema = zod_1.z.object({
|
|
|
16
16
|
})),
|
|
17
17
|
subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
|
|
18
18
|
hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
|
|
19
|
+
responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
|
|
19
20
|
createdAt: zod_1.z
|
|
20
21
|
.string()
|
|
21
22
|
.datetime()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-squad-response-headers.schema.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/external-squad-response-headers.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kCAAkC,sDAA+C,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExternalSquadResponseHeadersSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.ExternalSquadResponseHeadersSchema = zod_1.z.nullable(zod_1.z.record(zod_1.z.string(), zod_1.z.string()));
|
|
@@ -1 +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"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./external-squad-host-overrides.schema"), exports);
|
|
18
|
+
__exportStar(require("./external-squad-response-headers.schema"), exports);
|
|
18
19
|
__exportStar(require("./external-squad-subscription-settings.schema"), exports);
|
|
@@ -23,7 +23,7 @@ exports.Oauth2SettingsSchema = zod_1.default.object({
|
|
|
23
23
|
}
|
|
24
24
|
return false;
|
|
25
25
|
}, {
|
|
26
|
-
message: 'Must be a valid fully qualified domain name (FQDN), e.g. "
|
|
26
|
+
message: 'Must be a valid fully qualified domain name (FQDN), e.g. "docs.rw"',
|
|
27
27
|
})),
|
|
28
28
|
allowedEmails: zod_1.default.array(zod_1.default.string()),
|
|
29
29
|
}),
|
|
@@ -17,7 +17,7 @@ exports.PasskeySettingsSchema = zod_1.default.object({
|
|
|
17
17
|
}
|
|
18
18
|
return false;
|
|
19
19
|
}, {
|
|
20
|
-
message: 'Must be a valid fully qualified domain name (FQDN), e.g. "
|
|
20
|
+
message: 'Must be a valid fully qualified domain name (FQDN), e.g. "docs.rw"',
|
|
21
21
|
})),
|
|
22
22
|
origin: zod_1.default.nullable(zod_1.default.string().refine((value) => {
|
|
23
23
|
if (/^http:\/\/localhost:\d+$/.test(value)) {
|
|
@@ -28,6 +28,6 @@ exports.PasskeySettingsSchema = zod_1.default.object({
|
|
|
28
28
|
}
|
|
29
29
|
return false;
|
|
30
30
|
}, {
|
|
31
|
-
message: 'Must be a valid plain URL, e.g. "https://
|
|
31
|
+
message: 'Must be a valid plain URL, e.g. "https://docs.rw".',
|
|
32
32
|
})),
|
|
33
33
|
});
|
|
@@ -26,6 +26,7 @@ var UpdateExternalSquadCommand;
|
|
|
26
26
|
.optional(),
|
|
27
27
|
subscriptionSettings: models_1.ExternalSquadSubscriptionSettingsSchema.optional(),
|
|
28
28
|
hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
|
|
29
|
+
responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
|
|
29
30
|
});
|
|
30
31
|
UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
31
32
|
response: models_1.ExternalSquadSchema,
|
|
@@ -16,6 +16,7 @@ exports.ExternalSquadSchema = zod_1.z.object({
|
|
|
16
16
|
})),
|
|
17
17
|
subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
|
|
18
18
|
hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
|
|
19
|
+
responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
|
|
19
20
|
createdAt: zod_1.z
|
|
20
21
|
.string()
|
|
21
22
|
.datetime()
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExternalSquadResponseHeadersSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.ExternalSquadResponseHeadersSchema = zod_1.z.nullable(zod_1.z.record(zod_1.z.string(), zod_1.z.string()));
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./external-squad-host-overrides.schema"), exports);
|
|
18
|
+
__exportStar(require("./external-squad-response-headers.schema"), exports);
|
|
18
19
|
__exportStar(require("./external-squad-subscription-settings.schema"), exports);
|
|
@@ -23,7 +23,7 @@ exports.Oauth2SettingsSchema = zod_1.default.object({
|
|
|
23
23
|
}
|
|
24
24
|
return false;
|
|
25
25
|
}, {
|
|
26
|
-
message: 'Must be a valid fully qualified domain name (FQDN), e.g. "
|
|
26
|
+
message: 'Must be a valid fully qualified domain name (FQDN), e.g. "docs.rw"',
|
|
27
27
|
})),
|
|
28
28
|
allowedEmails: zod_1.default.array(zod_1.default.string()),
|
|
29
29
|
}),
|
|
@@ -17,7 +17,7 @@ exports.PasskeySettingsSchema = zod_1.default.object({
|
|
|
17
17
|
}
|
|
18
18
|
return false;
|
|
19
19
|
}, {
|
|
20
|
-
message: 'Must be a valid fully qualified domain name (FQDN), e.g. "
|
|
20
|
+
message: 'Must be a valid fully qualified domain name (FQDN), e.g. "docs.rw"',
|
|
21
21
|
})),
|
|
22
22
|
origin: zod_1.default.nullable(zod_1.default.string().refine((value) => {
|
|
23
23
|
if (/^http:\/\/localhost:\d+$/.test(value)) {
|
|
@@ -28,6 +28,6 @@ exports.PasskeySettingsSchema = zod_1.default.object({
|
|
|
28
28
|
}
|
|
29
29
|
return false;
|
|
30
30
|
}, {
|
|
31
|
-
message: 'Must be a valid plain URL, e.g. "https://
|
|
31
|
+
message: 'Must be a valid plain URL, e.g. "https://docs.rw".',
|
|
32
32
|
})),
|
|
33
33
|
});
|