@remnawave/backend-contract 2.1.47 → 2.1.51
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/index.d.ts +1 -0
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +1 -0
- package/build/backend/api/controllers/subscription-request-history.d.ts +6 -0
- package/build/backend/api/controllers/subscription-request-history.d.ts.map +1 -0
- package/build/backend/api/controllers/subscription-request-history.js +8 -0
- package/build/backend/api/controllers/subscription-settings.d.ts +0 -4
- package/build/backend/api/controllers/subscription-settings.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription-settings.js +0 -4
- package/build/backend/api/controllers-info.d.ts +4 -0
- package/build/backend/api/controllers-info.d.ts.map +1 -1
- package/build/backend/api/controllers-info.js +4 -0
- package/build/backend/api/routes.d.ts +4 -4
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +4 -4
- package/build/backend/commands/hwid/get-all-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-all-hwid-devices.command.js +2 -31
- package/build/backend/commands/index.d.ts +1 -0
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +1 -0
- package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.d.ts +46 -0
- package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.js +20 -0
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts +125 -0
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.js +20 -0
- package/build/backend/commands/subscription-request-history/index.d.ts +3 -0
- package/build/backend/commands/subscription-request-history/index.d.ts.map +1 -0
- package/build/backend/commands/{subscription-settings/subscription-response-rules → subscription-request-history}/index.js +2 -2
- package/build/backend/commands/subscription-settings/index.d.ts +0 -1
- package/build/backend/commands/subscription-settings/index.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/index.js +0 -1
- package/build/backend/commands/subscription-template/get-template.command.d.ts +6 -6
- package/build/backend/commands/subscription-template/update-template.command.d.ts +6 -6
- package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-all-users.command.js +2 -31
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts +0 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts.map +1 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.js +0 -1
- package/build/backend/constants/errors/errors.d.ts +2 -7
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +2 -7
- package/build/backend/constants/index.d.ts +0 -1
- package/build/backend/constants/index.d.ts.map +1 -1
- package/build/backend/constants/index.js +0 -1
- package/build/backend/constants/subscription-template/template-type/template-type.constant.d.ts +1 -1
- package/build/backend/models/index.d.ts +2 -1
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +2 -1
- package/build/backend/models/subscription-request-history.schema.d.ts +21 -0
- package/build/backend/models/subscription-request-history.schema.d.ts.map +1 -0
- package/build/backend/models/subscription-request-history.schema.js +14 -0
- package/build/backend/models/tanstack-query/index.d.ts +4 -0
- package/build/backend/models/tanstack-query/index.d.ts.map +1 -0
- package/build/{frontend/constants/subscription-response-rules/subscription-response-type → backend/models/tanstack-query}/index.js +3 -1
- package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts +12 -0
- package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts.map +1 -0
- package/build/backend/models/tanstack-query/tanstask-query-filter.schema.js +11 -0
- package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts +54 -0
- package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts.map +1 -0
- package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.js +28 -0
- package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts +12 -0
- package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts.map +1 -0
- package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.js +8 -0
- package/build/frontend/api/controllers/index.js +1 -0
- package/build/frontend/api/controllers/subscription-request-history.js +8 -0
- package/build/frontend/api/controllers/subscription-settings.js +0 -4
- package/build/frontend/api/controllers-info.js +4 -0
- package/build/frontend/api/routes.js +4 -4
- package/build/frontend/commands/hwid/get-all-hwid-devices.command.js +2 -31
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/subscription-request-history/get-subscription-request-history-stats.command.js +20 -0
- package/build/frontend/commands/subscription-request-history/get-subscription-request-history.command.js +20 -0
- package/build/{backend/constants/subscription-response-rules/subscription-response-type → frontend/commands/subscription-request-history}/index.js +2 -1
- package/build/frontend/commands/subscription-settings/index.js +0 -1
- package/build/frontend/commands/users/get-all-users.command.js +2 -31
- package/build/frontend/constants/cache-keys/cache-keys.constants.js +0 -1
- package/build/frontend/constants/errors/errors.js +2 -7
- package/build/frontend/constants/index.js +0 -1
- package/build/frontend/models/index.js +2 -1
- package/build/frontend/models/subscription-request-history.schema.js +14 -0
- package/build/frontend/{commands/subscription-settings/subscription-response-rules → models/tanstack-query}/index.js +3 -2
- package/build/frontend/models/tanstack-query/tanstask-query-filter.schema.js +11 -0
- package/build/frontend/models/tanstack-query/tanstask-query-request-query.schema.js +28 -0
- package/build/frontend/models/tanstack-query/tanstask-query-sorting.schema.js +8 -0
- package/package.json +1 -1
- package/build/backend/commands/subscription-settings/subscription-response-rules/get-subscription-response-rules.command.d.ts +0 -83
- package/build/backend/commands/subscription-settings/subscription-response-rules/get-subscription-response-rules.command.d.ts.map +0 -1
- package/build/backend/commands/subscription-settings/subscription-response-rules/get-subscription-response-rules.command.js +0 -18
- package/build/backend/commands/subscription-settings/subscription-response-rules/index.d.ts +0 -3
- package/build/backend/commands/subscription-settings/subscription-response-rules/index.d.ts.map +0 -1
- package/build/backend/commands/subscription-settings/subscription-response-rules/update-subscription-response-rules.command.d.ts +0 -135
- package/build/backend/commands/subscription-settings/subscription-response-rules/update-subscription-response-rules.command.d.ts.map +0 -1
- package/build/backend/commands/subscription-settings/subscription-response-rules/update-subscription-response-rules.command.js +0 -28
- package/build/backend/constants/subscription-response-rules/index.d.ts +0 -2
- package/build/backend/constants/subscription-response-rules/index.d.ts.map +0 -1
- package/build/backend/constants/subscription-response-rules/index.js +0 -17
- package/build/backend/constants/subscription-response-rules/subscription-response-type/index.d.ts +0 -2
- package/build/backend/constants/subscription-response-rules/subscription-response-type/index.d.ts.map +0 -1
- package/build/backend/constants/subscription-response-rules/subscription-response-type/subscription-response-type.constant.d.ts +0 -13
- package/build/backend/constants/subscription-response-rules/subscription-response-type/subscription-response-type.constant.d.ts.map +0 -1
- package/build/backend/constants/subscription-response-rules/subscription-response-type/subscription-response-type.constant.js +0 -14
- package/build/backend/models/subscription-response-rules.schema.d.ts +0 -33
- package/build/backend/models/subscription-response-rules.schema.d.ts.map +0 -1
- package/build/backend/models/subscription-response-rules.schema.js +0 -13
- package/build/frontend/commands/subscription-settings/subscription-response-rules/get-subscription-response-rules.command.js +0 -18
- package/build/frontend/commands/subscription-settings/subscription-response-rules/update-subscription-response-rules.command.js +0 -28
- package/build/frontend/constants/subscription-response-rules/index.js +0 -17
- package/build/frontend/constants/subscription-response-rules/subscription-response-type/subscription-response-type.constant.js +0 -14
- package/build/frontend/models/subscription-response-rules.schema.js +0 -13
@@ -8,6 +8,7 @@ export * from './internal-squads';
|
|
8
8
|
export * from './keygen';
|
9
9
|
export * from './nodes';
|
10
10
|
export * from './subscription';
|
11
|
+
export * from './subscription-request-history';
|
11
12
|
export * from './subscription-settings';
|
12
13
|
export * from './subscription-template';
|
13
14
|
export * from './subscriptions';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
@@ -24,6 +24,7 @@ __exportStar(require("./internal-squads"), exports);
|
|
24
24
|
__exportStar(require("./keygen"), exports);
|
25
25
|
__exportStar(require("./nodes"), exports);
|
26
26
|
__exportStar(require("./subscription"), exports);
|
27
|
+
__exportStar(require("./subscription-request-history"), exports);
|
27
28
|
__exportStar(require("./subscription-settings"), exports);
|
28
29
|
__exportStar(require("./subscription-template"), exports);
|
29
30
|
__exportStar(require("./subscriptions"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"subscription-request-history.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription-request-history.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uCAAuC,EAAG,8BAAuC,CAAC;AAE/F,eAAO,MAAM,mCAAmC;;;CAGtC,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SUBSCRIPTION_REQUEST_HISTORY_ROUTES = exports.SUBSCRIPTION_REQUEST_HISTORY_CONTROLLER = void 0;
|
4
|
+
exports.SUBSCRIPTION_REQUEST_HISTORY_CONTROLLER = 'subscription-request-history';
|
5
|
+
exports.SUBSCRIPTION_REQUEST_HISTORY_ROUTES = {
|
6
|
+
GET: '',
|
7
|
+
STATS: 'stats',
|
8
|
+
};
|
@@ -2,9 +2,5 @@ export declare const SUBSCRIPTION_SETTINGS_CONTROLLER: "subscription-settings";
|
|
2
2
|
export declare const SUBSCRIPTION_SETTINGS_ROUTES: {
|
3
3
|
readonly GET: "";
|
4
4
|
readonly UPDATE: "";
|
5
|
-
readonly RESPONSE_RULES: {
|
6
|
-
readonly GET: "response-rules";
|
7
|
-
readonly UPDATE: "response-rules";
|
8
|
-
};
|
9
5
|
};
|
10
6
|
//# sourceMappingURL=subscription-settings.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscription-settings.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription-settings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,EAAG,uBAAgC,CAAC;AAEjF,eAAO,MAAM,4BAA4B
|
1
|
+
{"version":3,"file":"subscription-settings.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription-settings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,EAAG,uBAAgC,CAAC;AAEjF,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC"}
|
@@ -75,5 +75,9 @@ export declare const CONTROLLERS_INFO: {
|
|
75
75
|
readonly tag: "Keygen Controller";
|
76
76
|
readonly description: "Generation of SSL_CERT for Remnawave Node.";
|
77
77
|
};
|
78
|
+
readonly SUBSCRIPTION_REQUEST_HISTORY: {
|
79
|
+
readonly tag: "Subscription Request History Controller";
|
80
|
+
readonly description: "";
|
81
|
+
};
|
78
82
|
};
|
79
83
|
//# sourceMappingURL=controllers-info.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"controllers-info.d.ts","sourceRoot":"","sources":["../../../api/controllers-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB
|
1
|
+
{"version":3,"file":"controllers-info.d.ts","sourceRoot":"","sources":["../../../api/controllers-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFnB,CAAC"}
|
@@ -125,10 +125,6 @@ export declare const REST_API: {
|
|
125
125
|
readonly SUBSCRIPTION_SETTINGS: {
|
126
126
|
readonly GET: "/api/subscription-settings/";
|
127
127
|
readonly UPDATE: "/api/subscription-settings/";
|
128
|
-
readonly RESPONSE_RULES: {
|
129
|
-
readonly GET: "/api/subscription-settings/response-rules";
|
130
|
-
readonly UPDATE: "/api/subscription-settings/response-rules";
|
131
|
-
};
|
132
128
|
};
|
133
129
|
readonly HWID: {
|
134
130
|
readonly GET_ALL_HWID_DEVICES: "/api/hwid/devices";
|
@@ -182,5 +178,9 @@ export declare const REST_API: {
|
|
182
178
|
readonly CREATE_BILLING_HISTORY: "/api/infra-billing/history";
|
183
179
|
readonly DELETE_BILLING_HISTORY: (uuid: string) => string;
|
184
180
|
};
|
181
|
+
readonly SUBSCRIPTION_REQUEST_HISTORY: {
|
182
|
+
readonly GET: "/api/subscription-request-history/";
|
183
|
+
readonly STATS: "/api/subscription-request-history/stats";
|
184
|
+
};
|
185
185
|
};
|
186
186
|
//# sourceMappingURL=routes.d.ts.map
|
@@ -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;;;;;;;;;;;;;gCAcE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA+BD,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;;;;;;;;;;;;;gCAcE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA+BD,MAAM;;;;;;;;;;mDAaQ,MAAM;;;;;;;;0CAWf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;;;;;qCAUlB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;yCASP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;CAOnC,CAAC"}
|
@@ -162,10 +162,6 @@ exports.REST_API = {
|
|
162
162
|
SUBSCRIPTION_SETTINGS: {
|
163
163
|
GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_ROUTES.GET}`,
|
164
164
|
UPDATE: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_ROUTES.UPDATE}`,
|
165
|
-
RESPONSE_RULES: {
|
166
|
-
GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_ROUTES.RESPONSE_RULES.GET}`,
|
167
|
-
UPDATE: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_ROUTES.RESPONSE_RULES.UPDATE}`,
|
168
|
-
},
|
169
165
|
},
|
170
166
|
HWID: {
|
171
167
|
GET_ALL_HWID_DEVICES: `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.GET_ALL_HWID_DEVICES}`,
|
@@ -219,4 +215,8 @@ exports.REST_API = {
|
|
219
215
|
CREATE_BILLING_HISTORY: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_BILLING_HISTORY}`,
|
220
216
|
DELETE_BILLING_HISTORY: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_BILLING_HISTORY(uuid)}`,
|
221
217
|
},
|
218
|
+
SUBSCRIPTION_REQUEST_HISTORY: {
|
219
|
+
GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_REQUEST_HISTORY_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_REQUEST_HISTORY_ROUTES.GET}`,
|
220
|
+
STATS: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_REQUEST_HISTORY_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_REQUEST_HISTORY_ROUTES.STATS}`,
|
221
|
+
},
|
222
222
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-all-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-all-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,qBAAqC,CAAC;IAC/C,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;
|
1
|
+
{"version":3,"file":"get-all-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-all-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,qBAAqC,CAAC;IAC/C,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAkC,CAAC;IAClE,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -2,44 +2,15 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetAllHwidDevicesCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const constants_1 = require("../../constants");
|
6
5
|
const models_1 = require("../../models");
|
6
|
+
const constants_1 = require("../../constants");
|
7
7
|
const api_1 = require("../../api");
|
8
8
|
var GetAllHwidDevicesCommand;
|
9
9
|
(function (GetAllHwidDevicesCommand) {
|
10
10
|
GetAllHwidDevicesCommand.url = api_1.REST_API.HWID.GET_ALL_HWID_DEVICES;
|
11
11
|
GetAllHwidDevicesCommand.TSQ_url = GetAllHwidDevicesCommand.url;
|
12
12
|
GetAllHwidDevicesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.GET_ALL_HWID_DEVICES, 'get', 'Get all HWID devices');
|
13
|
-
|
14
|
-
id: zod_1.z.string(),
|
15
|
-
value: zod_1.z.unknown(),
|
16
|
-
});
|
17
|
-
const SortingSchema = zod_1.z.object({
|
18
|
-
id: zod_1.z.string(),
|
19
|
-
desc: zod_1.z.boolean(),
|
20
|
-
});
|
21
|
-
GetAllHwidDevicesCommand.RequestQuerySchema = zod_1.z.object({
|
22
|
-
start: zod_1.z.coerce
|
23
|
-
.number()
|
24
|
-
.default(0)
|
25
|
-
.describe('Start index (offset) of the results to return, default is 0'),
|
26
|
-
size: zod_1.z.coerce
|
27
|
-
.number()
|
28
|
-
.min(1, 'Size (limit) must be greater than 0')
|
29
|
-
.max(1000, 'Size (limit) must be less than 1000')
|
30
|
-
.describe('Number of results to return, no more than 1000')
|
31
|
-
.default(25),
|
32
|
-
filters: zod_1.z
|
33
|
-
.preprocess((str) => (typeof str === 'string' ? JSON.parse(str) : str), zod_1.z.array(FilterSchema))
|
34
|
-
.optional(),
|
35
|
-
filterModes: zod_1.z
|
36
|
-
.preprocess((str) => (typeof str === 'string' ? JSON.parse(str) : str), zod_1.z.record(zod_1.z.string(), zod_1.z.string()))
|
37
|
-
.optional(),
|
38
|
-
globalFilterMode: zod_1.z.string().optional(),
|
39
|
-
sorting: zod_1.z
|
40
|
-
.preprocess((str) => (typeof str === 'string' ? JSON.parse(str) : str), zod_1.z.array(SortingSchema))
|
41
|
-
.optional(),
|
42
|
-
});
|
13
|
+
GetAllHwidDevicesCommand.RequestQuerySchema = models_1.TanstackQueryRequestQuerySchema;
|
43
14
|
GetAllHwidDevicesCommand.ResponseSchema = zod_1.z.object({
|
44
15
|
response: zod_1.z.object({
|
45
16
|
devices: zod_1.z.array(models_1.HwidUserDeviceSchema),
|
@@ -8,6 +8,7 @@ export * from './internal-squads';
|
|
8
8
|
export * from './keygen';
|
9
9
|
export * from './nodes';
|
10
10
|
export * from './subscription';
|
11
|
+
export * from './subscription-request-history';
|
11
12
|
export * from './subscription-settings';
|
12
13
|
export * from './subscription-template';
|
13
14
|
export * from './subscriptions';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
@@ -24,6 +24,7 @@ __exportStar(require("./internal-squads"), exports);
|
|
24
24
|
__exportStar(require("./keygen"), exports);
|
25
25
|
__exportStar(require("./nodes"), exports);
|
26
26
|
__exportStar(require("./subscription"), exports);
|
27
|
+
__exportStar(require("./subscription-request-history"), exports);
|
27
28
|
__exportStar(require("./subscription-settings"), exports);
|
28
29
|
__exportStar(require("./subscription-template"), exports);
|
29
30
|
__exportStar(require("./subscriptions"), exports);
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace GetSubscriptionRequestHistoryStatsCommand {
|
3
|
+
const url: "/api/subscription-request-history/stats";
|
4
|
+
const TSQ_url: "/api/subscription-request-history/stats";
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
6
|
+
const ResponseSchema: z.ZodObject<{
|
7
|
+
response: z.ZodObject<{
|
8
|
+
byParsedApp: z.ZodArray<z.ZodObject<{
|
9
|
+
app: z.ZodString;
|
10
|
+
count: z.ZodNumber;
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
12
|
+
count: number;
|
13
|
+
app: string;
|
14
|
+
}, {
|
15
|
+
count: number;
|
16
|
+
app: string;
|
17
|
+
}>, "many">;
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
19
|
+
byParsedApp: {
|
20
|
+
count: number;
|
21
|
+
app: string;
|
22
|
+
}[];
|
23
|
+
}, {
|
24
|
+
byParsedApp: {
|
25
|
+
count: number;
|
26
|
+
app: string;
|
27
|
+
}[];
|
28
|
+
}>;
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
30
|
+
response: {
|
31
|
+
byParsedApp: {
|
32
|
+
count: number;
|
33
|
+
app: string;
|
34
|
+
}[];
|
35
|
+
};
|
36
|
+
}, {
|
37
|
+
response: {
|
38
|
+
byParsedApp: {
|
39
|
+
count: number;
|
40
|
+
app: string;
|
41
|
+
}[];
|
42
|
+
};
|
43
|
+
}>;
|
44
|
+
type Response = z.infer<typeof ResponseSchema>;
|
45
|
+
}
|
46
|
+
//# sourceMappingURL=get-subscription-request-history-stats.command.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-subscription-request-history-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-request-history/get-subscription-request-history-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,yCAAyC,CAAC;IAChD,MAAM,GAAG,2CAA8C,CAAC;IACxD,MAAM,OAAO,2CAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetSubscriptionRequestHistoryStatsCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const api_1 = require("../../api");
|
6
|
+
const constants_1 = require("../../constants");
|
7
|
+
var GetSubscriptionRequestHistoryStatsCommand;
|
8
|
+
(function (GetSubscriptionRequestHistoryStatsCommand) {
|
9
|
+
GetSubscriptionRequestHistoryStatsCommand.url = api_1.REST_API.SUBSCRIPTION_REQUEST_HISTORY.STATS;
|
10
|
+
GetSubscriptionRequestHistoryStatsCommand.TSQ_url = GetSubscriptionRequestHistoryStatsCommand.url;
|
11
|
+
GetSubscriptionRequestHistoryStatsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_REQUEST_HISTORY_ROUTES.STATS, 'get', 'Get subscription request history stats');
|
12
|
+
GetSubscriptionRequestHistoryStatsCommand.ResponseSchema = zod_1.z.object({
|
13
|
+
response: zod_1.z.object({
|
14
|
+
byParsedApp: zod_1.z.array(zod_1.z.object({
|
15
|
+
app: zod_1.z.string(),
|
16
|
+
count: zod_1.z.number(),
|
17
|
+
})),
|
18
|
+
}),
|
19
|
+
});
|
20
|
+
})(GetSubscriptionRequestHistoryStatsCommand || (exports.GetSubscriptionRequestHistoryStatsCommand = GetSubscriptionRequestHistoryStatsCommand = {}));
|
@@ -0,0 +1,125 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace GetSubscriptionRequestHistoryCommand {
|
3
|
+
const url: "/api/subscription-request-history/";
|
4
|
+
const TSQ_url: "/api/subscription-request-history/";
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
6
|
+
const RequestQuerySchema: z.ZodObject<{
|
7
|
+
start: z.ZodDefault<z.ZodNumber>;
|
8
|
+
size: z.ZodDefault<z.ZodNumber>;
|
9
|
+
filters: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
10
|
+
id: z.ZodString;
|
11
|
+
value: z.ZodUnknown;
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
13
|
+
id: string;
|
14
|
+
value?: unknown;
|
15
|
+
}, {
|
16
|
+
id: string;
|
17
|
+
value?: unknown;
|
18
|
+
}>, "many">, {
|
19
|
+
id: string;
|
20
|
+
value?: unknown;
|
21
|
+
}[], unknown>>;
|
22
|
+
filterModes: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, unknown>>;
|
23
|
+
globalFilterMode: z.ZodOptional<z.ZodString>;
|
24
|
+
sorting: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
25
|
+
id: z.ZodString;
|
26
|
+
desc: z.ZodBoolean;
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
28
|
+
id: string;
|
29
|
+
desc: boolean;
|
30
|
+
}, {
|
31
|
+
id: string;
|
32
|
+
desc: boolean;
|
33
|
+
}>, "many">, {
|
34
|
+
id: string;
|
35
|
+
desc: boolean;
|
36
|
+
}[], unknown>>;
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
38
|
+
start: number;
|
39
|
+
size: number;
|
40
|
+
filters?: {
|
41
|
+
id: string;
|
42
|
+
value?: unknown;
|
43
|
+
}[] | undefined;
|
44
|
+
filterModes?: Record<string, string> | undefined;
|
45
|
+
globalFilterMode?: string | undefined;
|
46
|
+
sorting?: {
|
47
|
+
id: string;
|
48
|
+
desc: boolean;
|
49
|
+
}[] | undefined;
|
50
|
+
}, {
|
51
|
+
start?: number | undefined;
|
52
|
+
size?: number | undefined;
|
53
|
+
filters?: unknown;
|
54
|
+
filterModes?: unknown;
|
55
|
+
globalFilterMode?: string | undefined;
|
56
|
+
sorting?: unknown;
|
57
|
+
}>;
|
58
|
+
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
59
|
+
const ResponseSchema: z.ZodObject<{
|
60
|
+
response: z.ZodObject<{
|
61
|
+
records: z.ZodArray<z.ZodObject<{
|
62
|
+
id: z.ZodNumber;
|
63
|
+
userUuid: z.ZodString;
|
64
|
+
requestIp: z.ZodNullable<z.ZodString>;
|
65
|
+
userAgent: z.ZodNullable<z.ZodString>;
|
66
|
+
requestAt: z.ZodEffects<z.ZodString, Date, string>;
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
68
|
+
id: number;
|
69
|
+
userUuid: string;
|
70
|
+
userAgent: string | null;
|
71
|
+
requestIp: string | null;
|
72
|
+
requestAt: Date;
|
73
|
+
}, {
|
74
|
+
id: number;
|
75
|
+
userUuid: string;
|
76
|
+
userAgent: string | null;
|
77
|
+
requestIp: string | null;
|
78
|
+
requestAt: string;
|
79
|
+
}>, "many">;
|
80
|
+
total: z.ZodNumber;
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
82
|
+
total: number;
|
83
|
+
records: {
|
84
|
+
id: number;
|
85
|
+
userUuid: string;
|
86
|
+
userAgent: string | null;
|
87
|
+
requestIp: string | null;
|
88
|
+
requestAt: Date;
|
89
|
+
}[];
|
90
|
+
}, {
|
91
|
+
total: number;
|
92
|
+
records: {
|
93
|
+
id: number;
|
94
|
+
userUuid: string;
|
95
|
+
userAgent: string | null;
|
96
|
+
requestIp: string | null;
|
97
|
+
requestAt: string;
|
98
|
+
}[];
|
99
|
+
}>;
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
101
|
+
response: {
|
102
|
+
total: number;
|
103
|
+
records: {
|
104
|
+
id: number;
|
105
|
+
userUuid: string;
|
106
|
+
userAgent: string | null;
|
107
|
+
requestIp: string | null;
|
108
|
+
requestAt: Date;
|
109
|
+
}[];
|
110
|
+
};
|
111
|
+
}, {
|
112
|
+
response: {
|
113
|
+
total: number;
|
114
|
+
records: {
|
115
|
+
id: number;
|
116
|
+
userUuid: string;
|
117
|
+
userAgent: string | null;
|
118
|
+
requestIp: string | null;
|
119
|
+
requestAt: string;
|
120
|
+
}[];
|
121
|
+
};
|
122
|
+
}>;
|
123
|
+
type Response = z.infer<typeof ResponseSchema>;
|
124
|
+
}
|
125
|
+
//# sourceMappingURL=get-subscription-request-history.command.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-subscription-request-history.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-request-history/get-subscription-request-history.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,sCAA4C,CAAC;IACtD,MAAM,OAAO,sCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAkC,CAAC;IAElE,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetSubscriptionRequestHistoryCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const models_1 = require("../../models");
|
6
|
+
const api_1 = require("../../api");
|
7
|
+
const constants_1 = require("../../constants");
|
8
|
+
var GetSubscriptionRequestHistoryCommand;
|
9
|
+
(function (GetSubscriptionRequestHistoryCommand) {
|
10
|
+
GetSubscriptionRequestHistoryCommand.url = api_1.REST_API.SUBSCRIPTION_REQUEST_HISTORY.GET;
|
11
|
+
GetSubscriptionRequestHistoryCommand.TSQ_url = GetSubscriptionRequestHistoryCommand.url;
|
12
|
+
GetSubscriptionRequestHistoryCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_REQUEST_HISTORY_ROUTES.GET, 'get', 'Get all subscription request history');
|
13
|
+
GetSubscriptionRequestHistoryCommand.RequestQuerySchema = models_1.TanstackQueryRequestQuerySchema;
|
14
|
+
GetSubscriptionRequestHistoryCommand.ResponseSchema = zod_1.z.object({
|
15
|
+
response: zod_1.z.object({
|
16
|
+
records: zod_1.z.array(models_1.SubscriptionRequestHistorySchema),
|
17
|
+
total: zod_1.z.number(),
|
18
|
+
}),
|
19
|
+
});
|
20
|
+
})(GetSubscriptionRequestHistoryCommand || (exports.GetSubscriptionRequestHistoryCommand = GetSubscriptionRequestHistoryCommand = {}));
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-request-history/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC"}
|
@@ -14,5 +14,5 @@ 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("./get-subscription-
|
18
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./get-subscription-request-history-stats.command"), exports);
|
18
|
+
__exportStar(require("./get-subscription-request-history.command"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC"}
|
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./get-subscription-settings.command"), exports);
|
18
|
-
__exportStar(require("./subscription-response-rules"), exports);
|
19
18
|
__exportStar(require("./update-subscription-settings.command"), exports);
|
@@ -13,9 +13,9 @@ export declare namespace GetSubscriptionTemplateCommand {
|
|
13
13
|
readonly CLASH: "CLASH";
|
14
14
|
}>;
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
16
|
-
templateType: "
|
16
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
17
17
|
}, {
|
18
|
-
templateType: "
|
18
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
19
19
|
}>;
|
20
20
|
type Request = z.infer<typeof RequestSchema>;
|
21
21
|
const ResponseSchema: z.ZodObject<{
|
@@ -33,26 +33,26 @@ export declare namespace GetSubscriptionTemplateCommand {
|
|
33
33
|
encodedTemplateYaml: z.ZodNullable<z.ZodString>;
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
35
35
|
uuid: string;
|
36
|
-
templateType: "
|
36
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
37
37
|
encodedTemplateYaml: string | null;
|
38
38
|
templateJson?: unknown;
|
39
39
|
}, {
|
40
40
|
uuid: string;
|
41
|
-
templateType: "
|
41
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
42
42
|
encodedTemplateYaml: string | null;
|
43
43
|
templateJson?: unknown;
|
44
44
|
}>;
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
46
46
|
response: {
|
47
47
|
uuid: string;
|
48
|
-
templateType: "
|
48
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
49
49
|
encodedTemplateYaml: string | null;
|
50
50
|
templateJson?: unknown;
|
51
51
|
};
|
52
52
|
}, {
|
53
53
|
response: {
|
54
54
|
uuid: string;
|
55
|
-
templateType: "
|
55
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
56
56
|
encodedTemplateYaml: string | null;
|
57
57
|
templateJson?: unknown;
|
58
58
|
};
|
@@ -15,11 +15,11 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
15
15
|
templateJson: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
16
16
|
encodedTemplateYaml: z.ZodOptional<z.ZodString>;
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
18
|
-
templateType: "
|
18
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
19
19
|
templateJson?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
20
20
|
encodedTemplateYaml?: string | undefined;
|
21
21
|
}, {
|
22
|
-
templateType: "
|
22
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
23
23
|
templateJson?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
24
24
|
encodedTemplateYaml?: string | undefined;
|
25
25
|
}>;
|
@@ -39,26 +39,26 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
39
39
|
encodedTemplateYaml: z.ZodNullable<z.ZodString>;
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
41
41
|
uuid: string;
|
42
|
-
templateType: "
|
42
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
43
43
|
encodedTemplateYaml: string | null;
|
44
44
|
templateJson?: unknown;
|
45
45
|
}, {
|
46
46
|
uuid: string;
|
47
|
-
templateType: "
|
47
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
48
48
|
encodedTemplateYaml: string | null;
|
49
49
|
templateJson?: unknown;
|
50
50
|
}>;
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
52
52
|
response: {
|
53
53
|
uuid: string;
|
54
|
-
templateType: "
|
54
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
55
55
|
encodedTemplateYaml: string | null;
|
56
56
|
templateJson?: unknown;
|
57
57
|
};
|
58
58
|
}, {
|
59
59
|
response: {
|
60
60
|
uuid: string;
|
61
|
-
templateType: "
|
61
|
+
templateType: "STASH" | "SINGBOX" | "SINGBOX_LEGACY" | "MIHOMO" | "XRAY_JSON" | "CLASH";
|
62
62
|
encodedTemplateYaml: string | null;
|
63
63
|
templateJson?: unknown;
|
64
64
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-all-users.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;
|
1
|
+
{"version":3,"file":"get-all-users.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAkC,CAAC;IAElE,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|