@remnawave/backend-contract 2.3.54 → 2.3.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/backend/api/controllers/subscriptions.d.ts +3 -0
- package/build/backend/api/controllers/subscriptions.d.ts.map +1 -1
- package/build/backend/api/controllers/subscriptions.js +3 -0
- package/build/backend/api/routes.d.ts +3 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +3 -0
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts +8 -0
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -1
- 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/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts +46 -0
- package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts.map +1 -0
- package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +24 -0
- package/build/backend/commands/subscriptions/subpage/index.d.ts +2 -0
- package/build/backend/commands/subscriptions/subpage/index.d.ts.map +1 -0
- package/build/backend/commands/subscriptions/subpage/index.js +17 -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/frontend/api/controllers/subscriptions.js +3 -0
- package/build/frontend/api/routes.js +3 -0
- package/build/frontend/commands/external-squads/update-external-squad.command.js +1 -0
- package/build/frontend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +24 -0
- package/build/frontend/commands/subscriptions/subpage/index.js +17 -0
- package/build/frontend/models/external-squad.schema.js +1 -0
- package/package.json +1 -1
|
@@ -7,5 +7,8 @@ export declare const SUBSCRIPTIONS_ROUTES: {
|
|
|
7
7
|
readonly SHORT_UUID: (shortUuid: string) => string;
|
|
8
8
|
readonly SHORT_UUID_RAW: (shortUuid: string) => string;
|
|
9
9
|
};
|
|
10
|
+
readonly SUBPAGE: {
|
|
11
|
+
readonly GET_CONFIG: (shortUuid: string) => string;
|
|
12
|
+
};
|
|
10
13
|
};
|
|
11
14
|
//# sourceMappingURL=subscriptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscriptions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,eAAwB,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;sCAGJ,MAAM;8BACd,MAAM;yCACK,MAAM;6CACF,MAAM;;
|
|
1
|
+
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscriptions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,eAAwB,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;sCAGJ,MAAM;8BACd,MAAM;yCACK,MAAM;6CACF,MAAM;;;yCAGV,MAAM;;CAE5B,CAAC"}
|
|
@@ -174,6 +174,9 @@ export declare const REST_API: {
|
|
|
174
174
|
readonly SHORT_UUID: (shortUuid: string) => string;
|
|
175
175
|
readonly SHORT_UUID_RAW: (shortUuid: string) => string;
|
|
176
176
|
};
|
|
177
|
+
readonly SUBPAGE: {
|
|
178
|
+
readonly GET_CONFIG: (shortUuid: string) => string;
|
|
179
|
+
};
|
|
177
180
|
};
|
|
178
181
|
readonly CONFIG_PROFILES: {
|
|
179
182
|
readonly GET: "/api/config-profiles/";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;iDAaA,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;8BAOzB,MAAM;6CAES,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;;;gDAqBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAmCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;mDAiBa,MAAM;;;;;;;;;0CAYf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;;;;;
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;iDAaA,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;8BAOzB,MAAM;6CAES,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;;;gDAqBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAmCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;mDAiBa,MAAM;;;;;;;;;0CAYf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;6CAMV,MAAM;;;;;;;qCAUd,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;;;;yCAYP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;CAOnB,CAAC"}
|
|
@@ -211,6 +211,9 @@ exports.REST_API = {
|
|
|
211
211
|
SHORT_UUID: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTIONS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTIONS_ROUTES.GET_BY.SHORT_UUID(shortUuid)}`,
|
|
212
212
|
SHORT_UUID_RAW: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTIONS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTIONS_ROUTES.GET_BY.SHORT_UUID_RAW(shortUuid)}`,
|
|
213
213
|
},
|
|
214
|
+
SUBPAGE: {
|
|
215
|
+
GET_CONFIG: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTIONS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTIONS_ROUTES.SUBPAGE.GET_CONFIG(shortUuid)}`,
|
|
216
|
+
},
|
|
214
217
|
},
|
|
215
218
|
CONFIG_PROFILES: {
|
|
216
219
|
GET: `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET}`,
|
|
@@ -106,6 +106,7 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
106
106
|
emptyHosts: string[];
|
|
107
107
|
emptyInternalSquads: string[];
|
|
108
108
|
}>>;
|
|
109
|
+
subpageConfigUuid: z.ZodNullable<z.ZodString>;
|
|
109
110
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
110
111
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
111
112
|
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
|
@@ -232,6 +233,7 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
232
233
|
emptyHosts: string[];
|
|
233
234
|
emptyInternalSquads: string[];
|
|
234
235
|
}>>;
|
|
236
|
+
subpageConfigUuid: z.ZodNullable<z.ZodString>;
|
|
235
237
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
236
238
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
237
239
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -275,6 +277,7 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
275
277
|
vlessRouteId?: number | null | undefined;
|
|
276
278
|
} | null;
|
|
277
279
|
responseHeaders: Record<string, string> | null;
|
|
280
|
+
subpageConfigUuid: string | null;
|
|
278
281
|
}, {
|
|
279
282
|
uuid: string;
|
|
280
283
|
createdAt: string;
|
|
@@ -316,6 +319,7 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
316
319
|
vlessRouteId?: number | null | undefined;
|
|
317
320
|
} | null;
|
|
318
321
|
responseHeaders: Record<string, string> | null;
|
|
322
|
+
subpageConfigUuid: string | null;
|
|
319
323
|
}>, "many">;
|
|
320
324
|
}, "strip", z.ZodTypeAny, {
|
|
321
325
|
total: number;
|
|
@@ -360,6 +364,7 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
360
364
|
vlessRouteId?: number | null | undefined;
|
|
361
365
|
} | null;
|
|
362
366
|
responseHeaders: Record<string, string> | null;
|
|
367
|
+
subpageConfigUuid: string | null;
|
|
363
368
|
}[];
|
|
364
369
|
}, {
|
|
365
370
|
total: number;
|
|
@@ -404,6 +409,7 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
404
409
|
vlessRouteId?: number | null | undefined;
|
|
405
410
|
} | null;
|
|
406
411
|
responseHeaders: Record<string, string> | null;
|
|
412
|
+
subpageConfigUuid: string | null;
|
|
407
413
|
}[];
|
|
408
414
|
}>;
|
|
409
415
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -450,6 +456,7 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
450
456
|
vlessRouteId?: number | null | undefined;
|
|
451
457
|
} | null;
|
|
452
458
|
responseHeaders: Record<string, string> | null;
|
|
459
|
+
subpageConfigUuid: string | null;
|
|
453
460
|
}[];
|
|
454
461
|
};
|
|
455
462
|
}, {
|
|
@@ -496,6 +503,7 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
496
503
|
vlessRouteId?: number | null | undefined;
|
|
497
504
|
} | null;
|
|
498
505
|
responseHeaders: Record<string, string> | null;
|
|
506
|
+
subpageConfigUuid: string | null;
|
|
499
507
|
}[];
|
|
500
508
|
};
|
|
501
509
|
}>;
|
|
@@ -1 +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
|
|
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"}
|
|
@@ -114,6 +114,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
114
114
|
emptyHosts: string[];
|
|
115
115
|
emptyInternalSquads: string[];
|
|
116
116
|
}>>;
|
|
117
|
+
subpageConfigUuid: z.ZodNullable<z.ZodString>;
|
|
117
118
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
118
119
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
119
120
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -157,6 +158,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
157
158
|
vlessRouteId?: number | null | undefined;
|
|
158
159
|
} | null;
|
|
159
160
|
responseHeaders: Record<string, string> | null;
|
|
161
|
+
subpageConfigUuid: string | null;
|
|
160
162
|
}, {
|
|
161
163
|
uuid: string;
|
|
162
164
|
createdAt: string;
|
|
@@ -198,6 +200,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
198
200
|
vlessRouteId?: number | null | undefined;
|
|
199
201
|
} | null;
|
|
200
202
|
responseHeaders: Record<string, string> | null;
|
|
203
|
+
subpageConfigUuid: string | null;
|
|
201
204
|
}>;
|
|
202
205
|
}, "strip", z.ZodTypeAny, {
|
|
203
206
|
response: {
|
|
@@ -241,6 +244,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
241
244
|
vlessRouteId?: number | null | undefined;
|
|
242
245
|
} | null;
|
|
243
246
|
responseHeaders: Record<string, string> | null;
|
|
247
|
+
subpageConfigUuid: string | null;
|
|
244
248
|
};
|
|
245
249
|
}, {
|
|
246
250
|
response: {
|
|
@@ -284,6 +288,7 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
284
288
|
vlessRouteId?: number | null | undefined;
|
|
285
289
|
} | null;
|
|
286
290
|
responseHeaders: Record<string, string> | null;
|
|
291
|
+
subpageConfigUuid: string | null;
|
|
287
292
|
};
|
|
288
293
|
}>;
|
|
289
294
|
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"}
|
|
@@ -114,6 +114,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
114
114
|
emptyHosts: string[];
|
|
115
115
|
emptyInternalSquads: string[];
|
|
116
116
|
}>>;
|
|
117
|
+
subpageConfigUuid: z.ZodNullable<z.ZodString>;
|
|
117
118
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
118
119
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
119
120
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -157,6 +158,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
157
158
|
vlessRouteId?: number | null | undefined;
|
|
158
159
|
} | null;
|
|
159
160
|
responseHeaders: Record<string, string> | null;
|
|
161
|
+
subpageConfigUuid: string | null;
|
|
160
162
|
}, {
|
|
161
163
|
uuid: string;
|
|
162
164
|
createdAt: string;
|
|
@@ -198,6 +200,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
198
200
|
vlessRouteId?: number | null | undefined;
|
|
199
201
|
} | null;
|
|
200
202
|
responseHeaders: Record<string, string> | null;
|
|
203
|
+
subpageConfigUuid: string | null;
|
|
201
204
|
}>;
|
|
202
205
|
}, "strip", z.ZodTypeAny, {
|
|
203
206
|
response: {
|
|
@@ -241,6 +244,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
241
244
|
vlessRouteId?: number | null | undefined;
|
|
242
245
|
} | null;
|
|
243
246
|
responseHeaders: Record<string, string> | null;
|
|
247
|
+
subpageConfigUuid: string | null;
|
|
244
248
|
};
|
|
245
249
|
}, {
|
|
246
250
|
response: {
|
|
@@ -284,6 +288,7 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
284
288
|
vlessRouteId?: number | null | undefined;
|
|
285
289
|
} | null;
|
|
286
290
|
responseHeaders: Record<string, string> | null;
|
|
291
|
+
subpageConfigUuid: string | null;
|
|
287
292
|
};
|
|
288
293
|
}>;
|
|
289
294
|
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"}
|
|
@@ -108,6 +108,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
108
108
|
emptyHosts: string[];
|
|
109
109
|
emptyInternalSquads: string[];
|
|
110
110
|
}>>;
|
|
111
|
+
subpageConfigUuid: z.ZodNullable<z.ZodString>;
|
|
111
112
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
112
113
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
113
114
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -151,6 +152,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
151
152
|
vlessRouteId?: number | null | undefined;
|
|
152
153
|
} | null;
|
|
153
154
|
responseHeaders: Record<string, string> | null;
|
|
155
|
+
subpageConfigUuid: string | null;
|
|
154
156
|
}, {
|
|
155
157
|
uuid: string;
|
|
156
158
|
createdAt: string;
|
|
@@ -192,6 +194,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
192
194
|
vlessRouteId?: number | null | undefined;
|
|
193
195
|
} | null;
|
|
194
196
|
responseHeaders: Record<string, string> | null;
|
|
197
|
+
subpageConfigUuid: string | null;
|
|
195
198
|
}>, "many">;
|
|
196
199
|
}, "strip", z.ZodTypeAny, {
|
|
197
200
|
total: number;
|
|
@@ -236,6 +239,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
236
239
|
vlessRouteId?: number | null | undefined;
|
|
237
240
|
} | null;
|
|
238
241
|
responseHeaders: Record<string, string> | null;
|
|
242
|
+
subpageConfigUuid: string | null;
|
|
239
243
|
}[];
|
|
240
244
|
}, {
|
|
241
245
|
total: number;
|
|
@@ -280,6 +284,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
280
284
|
vlessRouteId?: number | null | undefined;
|
|
281
285
|
} | null;
|
|
282
286
|
responseHeaders: Record<string, string> | null;
|
|
287
|
+
subpageConfigUuid: string | null;
|
|
283
288
|
}[];
|
|
284
289
|
}>;
|
|
285
290
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -326,6 +331,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
326
331
|
vlessRouteId?: number | null | undefined;
|
|
327
332
|
} | null;
|
|
328
333
|
responseHeaders: Record<string, string> | null;
|
|
334
|
+
subpageConfigUuid: string | null;
|
|
329
335
|
}[];
|
|
330
336
|
};
|
|
331
337
|
}, {
|
|
@@ -372,6 +378,7 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
372
378
|
vlessRouteId?: number | null | undefined;
|
|
373
379
|
} | null;
|
|
374
380
|
responseHeaders: Record<string, string> | null;
|
|
381
|
+
subpageConfigUuid: string | null;
|
|
375
382
|
}[];
|
|
376
383
|
};
|
|
377
384
|
}>;
|
|
@@ -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"}
|
|
@@ -97,6 +97,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
97
97
|
emptyHosts: string[];
|
|
98
98
|
emptyInternalSquads: string[];
|
|
99
99
|
}>>>;
|
|
100
|
+
subpageConfigUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
101
|
}, "strip", z.ZodTypeAny, {
|
|
101
102
|
uuid: string;
|
|
102
103
|
name?: string | undefined;
|
|
@@ -132,6 +133,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
132
133
|
vlessRouteId?: number | null | undefined;
|
|
133
134
|
} | undefined;
|
|
134
135
|
responseHeaders?: Record<string, string> | null | undefined;
|
|
136
|
+
subpageConfigUuid?: string | null | undefined;
|
|
135
137
|
}, {
|
|
136
138
|
uuid: string;
|
|
137
139
|
name?: string | undefined;
|
|
@@ -167,6 +169,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
167
169
|
vlessRouteId?: number | null | undefined;
|
|
168
170
|
} | undefined;
|
|
169
171
|
responseHeaders?: Record<string, string> | null | undefined;
|
|
172
|
+
subpageConfigUuid?: string | null | undefined;
|
|
170
173
|
}>;
|
|
171
174
|
type Request = z.infer<typeof RequestSchema>;
|
|
172
175
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -272,6 +275,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
272
275
|
emptyHosts: string[];
|
|
273
276
|
emptyInternalSquads: string[];
|
|
274
277
|
}>>;
|
|
278
|
+
subpageConfigUuid: z.ZodNullable<z.ZodString>;
|
|
275
279
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
276
280
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
277
281
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -315,6 +319,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
315
319
|
vlessRouteId?: number | null | undefined;
|
|
316
320
|
} | null;
|
|
317
321
|
responseHeaders: Record<string, string> | null;
|
|
322
|
+
subpageConfigUuid: string | null;
|
|
318
323
|
}, {
|
|
319
324
|
uuid: string;
|
|
320
325
|
createdAt: string;
|
|
@@ -356,6 +361,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
356
361
|
vlessRouteId?: number | null | undefined;
|
|
357
362
|
} | null;
|
|
358
363
|
responseHeaders: Record<string, string> | null;
|
|
364
|
+
subpageConfigUuid: string | null;
|
|
359
365
|
}>;
|
|
360
366
|
}, "strip", z.ZodTypeAny, {
|
|
361
367
|
response: {
|
|
@@ -399,6 +405,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
399
405
|
vlessRouteId?: number | null | undefined;
|
|
400
406
|
} | null;
|
|
401
407
|
responseHeaders: Record<string, string> | null;
|
|
408
|
+
subpageConfigUuid: string | null;
|
|
402
409
|
};
|
|
403
410
|
}, {
|
|
404
411
|
response: {
|
|
@@ -442,6 +449,7 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
442
449
|
vlessRouteId?: number | null | undefined;
|
|
443
450
|
} | null;
|
|
444
451
|
responseHeaders: Record<string, string> | null;
|
|
452
|
+
subpageConfigUuid: string | null;
|
|
445
453
|
};
|
|
446
454
|
}>;
|
|
447
455
|
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;AAaxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
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;AAaxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBxB,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"}
|
|
@@ -29,6 +29,7 @@ var UpdateExternalSquadCommand;
|
|
|
29
29
|
responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
|
|
30
30
|
hwidSettings: zod_1.z.optional(zod_1.z.nullable(models_1.HwidSettingsSchema)),
|
|
31
31
|
customRemarks: zod_1.z.optional(zod_1.z.nullable(models_1.CustomRemarksSchema)),
|
|
32
|
+
subpageConfigUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
|
32
33
|
});
|
|
33
34
|
UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
34
35
|
response: models_1.ExternalSquadSchema,
|
package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetSubpageConfigByShortUuidCommand {
|
|
3
|
+
const url: (shortUuid: string) => string;
|
|
4
|
+
const TSQ_url: string;
|
|
5
|
+
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
+
const RequestSchema: z.ZodObject<{
|
|
7
|
+
shortUuid: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
shortUuid: string;
|
|
10
|
+
}, {
|
|
11
|
+
shortUuid: string;
|
|
12
|
+
}>;
|
|
13
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
14
|
+
const RequestBodySchema: z.ZodObject<{
|
|
15
|
+
requestHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
requestHeaders: Record<string, string>;
|
|
18
|
+
}, {
|
|
19
|
+
requestHeaders: Record<string, string>;
|
|
20
|
+
}>;
|
|
21
|
+
type RequestBody = z.infer<typeof RequestBodySchema>;
|
|
22
|
+
const ResponseSchema: z.ZodObject<{
|
|
23
|
+
response: z.ZodObject<{
|
|
24
|
+
subpageConfigUuid: z.ZodNullable<z.ZodString>;
|
|
25
|
+
webpageAllowed: z.ZodBoolean;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
subpageConfigUuid: string | null;
|
|
28
|
+
webpageAllowed: boolean;
|
|
29
|
+
}, {
|
|
30
|
+
subpageConfigUuid: string | null;
|
|
31
|
+
webpageAllowed: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
response: {
|
|
35
|
+
subpageConfigUuid: string | null;
|
|
36
|
+
webpageAllowed: boolean;
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
response: {
|
|
40
|
+
subpageConfigUuid: string | null;
|
|
41
|
+
webpageAllowed: boolean;
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
44
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=get-subpage-config-by-shortuuid.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subpage-config-by-shortuuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kCAAkC,CAAC;IACzC,MAAM,GAAG,+BAA4C,CAAC;IACtD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,iBAAiB;;;;;;MAE5B,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSubpageConfigByShortUuidCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
|
+
var GetSubpageConfigByShortUuidCommand;
|
|
8
|
+
(function (GetSubpageConfigByShortUuidCommand) {
|
|
9
|
+
GetSubpageConfigByShortUuidCommand.url = api_1.REST_API.SUBSCRIPTIONS.SUBPAGE.GET_CONFIG;
|
|
10
|
+
GetSubpageConfigByShortUuidCommand.TSQ_url = GetSubpageConfigByShortUuidCommand.url(':shortUuid');
|
|
11
|
+
GetSubpageConfigByShortUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTIONS_ROUTES.SUBPAGE.GET_CONFIG(':shortUuid'), 'get', 'Get Subpage Config by Short UUID');
|
|
12
|
+
GetSubpageConfigByShortUuidCommand.RequestSchema = zod_1.z.object({
|
|
13
|
+
shortUuid: zod_1.z.string(),
|
|
14
|
+
});
|
|
15
|
+
GetSubpageConfigByShortUuidCommand.RequestBodySchema = zod_1.z.object({
|
|
16
|
+
requestHeaders: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
|
|
17
|
+
});
|
|
18
|
+
GetSubpageConfigByShortUuidCommand.ResponseSchema = zod_1.z.object({
|
|
19
|
+
response: zod_1.z.object({
|
|
20
|
+
subpageConfigUuid: zod_1.z.string().uuid().nullable(),
|
|
21
|
+
webpageAllowed: zod_1.z.boolean(),
|
|
22
|
+
}),
|
|
23
|
+
});
|
|
24
|
+
})(GetSubpageConfigByShortUuidCommand || (exports.GetSubpageConfigByShortUuidCommand = GetSubpageConfigByShortUuidCommand = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/subpage/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,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("./get-subpage-config-by-shortuuid.command"), exports);
|
|
@@ -101,6 +101,7 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
101
101
|
emptyHosts: string[];
|
|
102
102
|
emptyInternalSquads: string[];
|
|
103
103
|
}>>;
|
|
104
|
+
subpageConfigUuid: z.ZodNullable<z.ZodString>;
|
|
104
105
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
105
106
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
106
107
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -144,6 +145,7 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
144
145
|
vlessRouteId?: number | null | undefined;
|
|
145
146
|
} | null;
|
|
146
147
|
responseHeaders: Record<string, string> | null;
|
|
148
|
+
subpageConfigUuid: string | null;
|
|
147
149
|
}, {
|
|
148
150
|
uuid: string;
|
|
149
151
|
createdAt: string;
|
|
@@ -185,5 +187,6 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
185
187
|
vlessRouteId?: number | null | undefined;
|
|
186
188
|
} | null;
|
|
187
189
|
responseHeaders: Record<string, string> | null;
|
|
190
|
+
subpageConfigUuid: string | null;
|
|
188
191
|
}>;
|
|
189
192
|
//# 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;AAUxB,eAAO,MAAM,mBAAmB
|
|
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;AAUxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B9B,CAAC"}
|
|
@@ -21,6 +21,7 @@ exports.ExternalSquadSchema = zod_1.z.object({
|
|
|
21
21
|
responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
|
|
22
22
|
hwidSettings: zod_1.z.nullable(subscription_settings_1.HwidSettingsSchema),
|
|
23
23
|
customRemarks: zod_1.z.nullable(subscription_settings_1.CustomRemarksSchema),
|
|
24
|
+
subpageConfigUuid: zod_1.z.nullable(zod_1.z.string().uuid()),
|
|
24
25
|
createdAt: zod_1.z
|
|
25
26
|
.string()
|
|
26
27
|
.datetime()
|
|
@@ -211,6 +211,9 @@ exports.REST_API = {
|
|
|
211
211
|
SHORT_UUID: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTIONS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTIONS_ROUTES.GET_BY.SHORT_UUID(shortUuid)}`,
|
|
212
212
|
SHORT_UUID_RAW: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTIONS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTIONS_ROUTES.GET_BY.SHORT_UUID_RAW(shortUuid)}`,
|
|
213
213
|
},
|
|
214
|
+
SUBPAGE: {
|
|
215
|
+
GET_CONFIG: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTIONS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTIONS_ROUTES.SUBPAGE.GET_CONFIG(shortUuid)}`,
|
|
216
|
+
},
|
|
214
217
|
},
|
|
215
218
|
CONFIG_PROFILES: {
|
|
216
219
|
GET: `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.GET}`,
|
|
@@ -29,6 +29,7 @@ var UpdateExternalSquadCommand;
|
|
|
29
29
|
responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
|
|
30
30
|
hwidSettings: zod_1.z.optional(zod_1.z.nullable(models_1.HwidSettingsSchema)),
|
|
31
31
|
customRemarks: zod_1.z.optional(zod_1.z.nullable(models_1.CustomRemarksSchema)),
|
|
32
|
+
subpageConfigUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
|
32
33
|
});
|
|
33
34
|
UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
34
35
|
response: models_1.ExternalSquadSchema,
|
package/build/frontend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSubpageConfigByShortUuidCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
|
+
var GetSubpageConfigByShortUuidCommand;
|
|
8
|
+
(function (GetSubpageConfigByShortUuidCommand) {
|
|
9
|
+
GetSubpageConfigByShortUuidCommand.url = api_1.REST_API.SUBSCRIPTIONS.SUBPAGE.GET_CONFIG;
|
|
10
|
+
GetSubpageConfigByShortUuidCommand.TSQ_url = GetSubpageConfigByShortUuidCommand.url(':shortUuid');
|
|
11
|
+
GetSubpageConfigByShortUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTIONS_ROUTES.SUBPAGE.GET_CONFIG(':shortUuid'), 'get', 'Get Subpage Config by Short UUID');
|
|
12
|
+
GetSubpageConfigByShortUuidCommand.RequestSchema = zod_1.z.object({
|
|
13
|
+
shortUuid: zod_1.z.string(),
|
|
14
|
+
});
|
|
15
|
+
GetSubpageConfigByShortUuidCommand.RequestBodySchema = zod_1.z.object({
|
|
16
|
+
requestHeaders: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
|
|
17
|
+
});
|
|
18
|
+
GetSubpageConfigByShortUuidCommand.ResponseSchema = zod_1.z.object({
|
|
19
|
+
response: zod_1.z.object({
|
|
20
|
+
subpageConfigUuid: zod_1.z.string().uuid().nullable(),
|
|
21
|
+
webpageAllowed: zod_1.z.boolean(),
|
|
22
|
+
}),
|
|
23
|
+
});
|
|
24
|
+
})(GetSubpageConfigByShortUuidCommand || (exports.GetSubpageConfigByShortUuidCommand = GetSubpageConfigByShortUuidCommand = {}));
|
|
@@ -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("./get-subpage-config-by-shortuuid.command"), exports);
|
|
@@ -21,6 +21,7 @@ exports.ExternalSquadSchema = zod_1.z.object({
|
|
|
21
21
|
responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
|
|
22
22
|
hwidSettings: zod_1.z.nullable(subscription_settings_1.HwidSettingsSchema),
|
|
23
23
|
customRemarks: zod_1.z.nullable(subscription_settings_1.CustomRemarksSchema),
|
|
24
|
+
subpageConfigUuid: zod_1.z.nullable(zod_1.z.string().uuid()),
|
|
24
25
|
createdAt: zod_1.z
|
|
25
26
|
.string()
|
|
26
27
|
.datetime()
|