@veruna/api-contracts 6.4.0 → 6.8.0
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/controllers/index.d.ts +1 -0
- package/build/controllers/index.js +3 -1
- package/build/controllers/index.js.map +1 -1
- package/build/controllers/settings.controllers.d.ts +1 -0
- package/build/controllers/settings.controllers.js +5 -0
- package/build/controllers/settings.controllers.js.map +1 -0
- package/build/locales/validation.d.ts +20 -0
- package/build/locales/validation.js +20 -0
- package/build/locales/validation.js.map +1 -1
- package/build/rest-api.d.ts +3 -0
- package/build/rest-api.js +3 -0
- package/build/rest-api.js.map +1 -1
- package/build/routes/index.d.ts +1 -0
- package/build/routes/index.js +3 -1
- package/build/routes/index.js.map +1 -1
- package/build/routes/settings.routes.d.ts +3 -0
- package/build/routes/settings.routes.js +7 -0
- package/build/routes/settings.routes.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai/tool-id.enum.d.ts +10 -3
- package/build/v1/ai/tool-id.enum.js +9 -2
- package/build/v1/ai/tool-id.enum.js.map +1 -1
- package/build/v1/ai-model/compliance.constants.d.ts +2 -0
- package/build/v1/ai-model/compliance.constants.js +10 -0
- package/build/v1/ai-model/compliance.constants.js.map +1 -0
- package/build/v1/ai-model/index.d.ts +1 -0
- package/build/v1/ai-model/index.js +1 -0
- package/build/v1/ai-model/index.js.map +1 -1
- package/build/v1/ai-model/schemas/api-provider.enum.d.ts +2 -1
- package/build/v1/ai-model/schemas/api-provider.enum.js +1 -0
- package/build/v1/ai-model/schemas/api-provider.enum.js.map +1 -1
- package/build/v1/ai-model/schemas/model-mark.enum.d.ts +2 -1
- package/build/v1/ai-model/schemas/model-mark.enum.js +1 -0
- package/build/v1/ai-model/schemas/model-mark.enum.js.map +1 -1
- package/build/v1/ai-model/schemas/model-settings.schema.d.ts +6 -0
- package/build/v1/ai-model/schemas/model-settings.schema.js +1 -0
- package/build/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
- package/build/v1/index.d.ts +1 -0
- package/build/v1/index.js +1 -0
- package/build/v1/index.js.map +1 -1
- package/build/v1/model-route/admin/commands/create-model-route.command.d.ts +10 -0
- package/build/v1/model-route/admin/commands/update-model-route.command.d.ts +10 -0
- package/build/v1/model-route/admin/queries/get-model-route.query.d.ts +5 -0
- package/build/v1/model-route/admin/queries/list-model-routes-by-model.query.d.ts +5 -0
- package/build/v1/model-route/schemas/create-model-route-request.schema.d.ts +5 -0
- package/build/v1/model-route/schemas/index.d.ts +2 -0
- package/build/v1/model-route/schemas/index.js +2 -0
- package/build/v1/model-route/schemas/index.js.map +1 -1
- package/build/v1/model-route/schemas/kie-protocol.enum.d.ts +6 -0
- package/build/v1/model-route/schemas/kie-protocol.enum.js +11 -0
- package/build/v1/model-route/schemas/kie-protocol.enum.js.map +1 -0
- package/build/v1/model-route/schemas/list-model-routes-response.schema.d.ts +5 -0
- package/build/v1/model-route/schemas/model-route-response.schema.d.ts +5 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.d.ts +13 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.js +11 -1
- package/build/v1/model-route/schemas/provider-generation-config.schema.js.map +1 -1
- package/build/v1/model-route/schemas/update-model-route-request.schema.d.ts +5 -0
- package/build/v1/model-route/schemas/wellflow-protocol.enum.d.ts +4 -0
- package/build/v1/model-route/schemas/wellflow-protocol.enum.js +9 -0
- package/build/v1/model-route/schemas/wellflow-protocol.enum.js.map +1 -0
- package/build/v1/settings/commands/index.d.ts +1 -0
- package/build/v1/settings/commands/index.js +18 -0
- package/build/v1/settings/commands/index.js.map +1 -0
- package/build/v1/settings/commands/update-user-setting.command.d.ts +19 -0
- package/build/v1/settings/commands/update-user-setting.command.js +14 -0
- package/build/v1/settings/commands/update-user-setting.command.js.map +1 -0
- package/build/v1/settings/index.d.ts +4 -0
- package/build/v1/settings/index.js +21 -0
- package/build/v1/settings/index.js.map +1 -0
- package/build/v1/settings/queries/get-user-settings.query.d.ts +16 -0
- package/build/v1/settings/queries/get-user-settings.query.js +15 -0
- package/build/v1/settings/queries/get-user-settings.query.js.map +1 -0
- package/build/v1/settings/queries/index.d.ts +1 -0
- package/build/v1/settings/queries/index.js +18 -0
- package/build/v1/settings/queries/index.js.map +1 -0
- package/build/v1/settings/schemas/index.d.ts +3 -0
- package/build/v1/settings/schemas/index.js +20 -0
- package/build/v1/settings/schemas/index.js.map +1 -0
- package/build/v1/settings/schemas/update-setting-request.schema.d.ts +7 -0
- package/build/v1/settings/schemas/update-setting-request.schema.js +13 -0
- package/build/v1/settings/schemas/update-setting-request.schema.js.map +1 -0
- package/build/v1/settings/schemas/user-setting-key.enum.d.ts +5 -0
- package/build/v1/settings/schemas/user-setting-key.enum.js +10 -0
- package/build/v1/settings/schemas/user-setting-key.enum.js.map +1 -0
- package/build/v1/settings/schemas/user-setting.schema.d.ts +16 -0
- package/build/v1/settings/schemas/user-setting.schema.js +14 -0
- package/build/v1/settings/schemas/user-setting.schema.js.map +1 -0
- package/build/v1/settings/settings.definitions.d.ts +8 -0
- package/build/v1/settings/settings.definitions.js +26 -0
- package/build/v1/settings/settings.definitions.js.map +1 -0
- package/build/v1/shared/access-reason.enum.d.ts +2 -1
- package/build/v1/shared/access-reason.enum.js +1 -0
- package/build/v1/shared/access-reason.enum.js.map +1 -1
- package/build/v1/tool/admin/commands/create-model-tool-binding.command.d.ts +9 -1
- package/build/v1/tool/admin/commands/update-model-tool-binding.command.d.ts +9 -1
- package/build/v1/tool/admin/commands/update-tool.command.d.ts +1 -1
- package/build/v1/tool/admin/queries/get-model-tool-bindings.query.d.ts +5 -1
- package/build/v1/tool/admin/queries/get-tools.query.d.ts +1 -1
- package/build/v1/tool/public/queries/get-tool-availability.query.d.ts +1 -1
- package/build/v1/tool/public/queries/get-tools.query.d.ts +1 -1
- package/build/v1/tool/schemas/tool.schema.d.ts +36 -14
- package/build/v1/tool/schemas/tool.schema.js +5 -3
- package/build/v1/tool/schemas/tool.schema.js.map +1 -1
- package/build/v1/tool/unreg/queries/get-tool-availability-unreg.query.d.ts +1 -1
- package/build/v1/tool/unreg/queries/get-tools-unreg.query.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/settings/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../shared/http-method.enum';
|
|
3
|
+
export declare namespace UpdateUserSettingCommand {
|
|
4
|
+
const Request: z.ZodObject<{
|
|
5
|
+
key: z.ZodEnum<typeof import("../schemas").UserSettingKey>;
|
|
6
|
+
value: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
const Response: z.ZodObject<{
|
|
9
|
+
settings: z.ZodArray<z.ZodObject<{
|
|
10
|
+
key: z.ZodEnum<typeof import("../schemas").UserSettingKey>;
|
|
11
|
+
value: z.ZodString;
|
|
12
|
+
description: z.ZodString;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
const URL: "/api/v1/settings";
|
|
16
|
+
const METHOD = HttpMethod.PATCH;
|
|
17
|
+
type RequestType = z.infer<typeof Request>;
|
|
18
|
+
type ResponseType = z.infer<typeof Response>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateUserSettingCommand = void 0;
|
|
4
|
+
const schemas_1 = require("../schemas");
|
|
5
|
+
const rest_api_1 = require("../../../rest-api");
|
|
6
|
+
const http_method_enum_1 = require("../../../shared/http-method.enum");
|
|
7
|
+
var UpdateUserSettingCommand;
|
|
8
|
+
(function (UpdateUserSettingCommand) {
|
|
9
|
+
UpdateUserSettingCommand.Request = schemas_1.UpdateUserSettingRequestSchema;
|
|
10
|
+
UpdateUserSettingCommand.Response = schemas_1.UserSettingsResponseSchema;
|
|
11
|
+
UpdateUserSettingCommand.URL = rest_api_1.REST_API.V1.SETTINGS.ROOT;
|
|
12
|
+
UpdateUserSettingCommand.METHOD = http_method_enum_1.HttpMethod.PATCH;
|
|
13
|
+
})(UpdateUserSettingCommand || (exports.UpdateUserSettingCommand = UpdateUserSettingCommand = {}));
|
|
14
|
+
//# sourceMappingURL=update-user-setting.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user-setting.command.js","sourceRoot":"","sources":["../../../../v1/settings/commands/update-user-setting.command.ts"],"names":[],"mappings":";;;AACA,wCAAwF;AACxF,gDAA6C;AAC7C,uEAA8D;AAE9D,IAAiB,wBAAwB,CAQxC;AARD,WAAiB,wBAAwB;IACxB,gCAAO,GAAG,wCAA8B,CAAC;IACzC,iCAAQ,GAAG,oCAA0B,CAAC;IACtC,4BAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;IAChC,+BAAM,GAAG,6BAAU,CAAC,KAAK,CAAC;AAI3C,CAAC,EARgB,wBAAwB,wCAAxB,wBAAwB,QAQxC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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("./settings.definitions"), exports);
|
|
18
|
+
__exportStar(require("./schemas"), exports);
|
|
19
|
+
__exportStar(require("./commands"), exports);
|
|
20
|
+
__exportStar(require("./queries"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../shared/http-method.enum';
|
|
3
|
+
export declare namespace GetUserSettingsQuery {
|
|
4
|
+
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
const Response: z.ZodObject<{
|
|
6
|
+
settings: z.ZodArray<z.ZodObject<{
|
|
7
|
+
key: z.ZodEnum<typeof import("../schemas").UserSettingKey>;
|
|
8
|
+
value: z.ZodString;
|
|
9
|
+
description: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
const URL: "/api/v1/settings";
|
|
13
|
+
const METHOD = HttpMethod.GET;
|
|
14
|
+
type RequestType = z.infer<typeof Request>;
|
|
15
|
+
type ResponseType = z.infer<typeof Response>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetUserSettingsQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const schemas_1 = require("../schemas");
|
|
6
|
+
const rest_api_1 = require("../../../rest-api");
|
|
7
|
+
const http_method_enum_1 = require("../../../shared/http-method.enum");
|
|
8
|
+
var GetUserSettingsQuery;
|
|
9
|
+
(function (GetUserSettingsQuery) {
|
|
10
|
+
GetUserSettingsQuery.Request = zod_1.z.object({});
|
|
11
|
+
GetUserSettingsQuery.Response = schemas_1.UserSettingsResponseSchema;
|
|
12
|
+
GetUserSettingsQuery.URL = rest_api_1.REST_API.V1.SETTINGS.ROOT;
|
|
13
|
+
GetUserSettingsQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
14
|
+
})(GetUserSettingsQuery || (exports.GetUserSettingsQuery = GetUserSettingsQuery = {}));
|
|
15
|
+
//# sourceMappingURL=get-user-settings.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-settings.query.js","sourceRoot":"","sources":["../../../../v1/settings/queries/get-user-settings.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAwD;AACxD,gDAA6C;AAC7C,uEAA8D;AAE9D,IAAiB,oBAAoB,CAQpC;AARD,WAAiB,oBAAoB;IACpB,4BAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,6BAAQ,GAAG,oCAA0B,CAAC;IACtC,wBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;IAChC,2BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAIzC,CAAC,EARgB,oBAAoB,oCAApB,oBAAoB,QAQpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-user-settings.query';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-user-settings.query"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/settings/queries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./user-setting-key.enum"), exports);
|
|
18
|
+
__exportStar(require("./user-setting.schema"), exports);
|
|
19
|
+
__exportStar(require("./update-setting-request.schema"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/settings/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,wDAAsC;AACtC,kEAAgD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { UserSettingKey } from './user-setting-key.enum';
|
|
3
|
+
export declare const UpdateUserSettingRequestSchema: z.ZodObject<{
|
|
4
|
+
key: z.ZodEnum<typeof UserSettingKey>;
|
|
5
|
+
value: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export type UpdateUserSettingRequest = z.infer<typeof UpdateUserSettingRequestSchema>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateUserSettingRequestSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const user_setting_key_enum_1 = require("./user-setting-key.enum");
|
|
6
|
+
exports.UpdateUserSettingRequestSchema = zod_1.z.object({
|
|
7
|
+
key: zod_1.z.enum(user_setting_key_enum_1.UserSettingKey, { error: 'UpdateUserSettingRequest.key.required' }),
|
|
8
|
+
value: zod_1.z
|
|
9
|
+
.string({ error: 'UpdateUserSettingRequest.value.required' })
|
|
10
|
+
.min(1, { message: 'UpdateUserSettingRequest.value.min' })
|
|
11
|
+
.max(64, { message: 'UpdateUserSettingRequest.value.max' }),
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=update-setting-request.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-setting-request.schema.js","sourceRoot":"","sources":["../../../../v1/settings/schemas/update-setting-request.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,mEAAyD;AAE5C,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,GAAG,EAAE,OAAC,CAAC,IAAI,CAAC,sCAAc,EAAE,EAAE,KAAK,EAAE,uCAAuC,EAAE,CAAC;IAC/E,KAAK,EAAE,OAAC;SACH,MAAM,CAAC,EAAE,KAAK,EAAE,yCAAyC,EAAE,CAAC;SAC5D,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,oCAAoC,EAAE,CAAC;SACzD,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,oCAAoC,EAAE,CAAC;CAClE,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserSettingKey = void 0;
|
|
4
|
+
var UserSettingKey;
|
|
5
|
+
(function (UserSettingKey) {
|
|
6
|
+
UserSettingKey["LANGUAGE"] = "LANGUAGE";
|
|
7
|
+
UserSettingKey["REGION"] = "REGION";
|
|
8
|
+
UserSettingKey["COMPLIANCE_MODE"] = "COMPLIANCE_MODE";
|
|
9
|
+
})(UserSettingKey || (exports.UserSettingKey = UserSettingKey = {}));
|
|
10
|
+
//# sourceMappingURL=user-setting-key.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-setting-key.enum.js","sourceRoot":"","sources":["../../../../v1/settings/schemas/user-setting-key.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,uCAAqB,CAAA;IACrB,mCAAiB,CAAA;IACjB,qDAAmC,CAAA;AACvC,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { UserSettingKey } from './user-setting-key.enum';
|
|
3
|
+
export declare const UserSettingSchema: z.ZodObject<{
|
|
4
|
+
key: z.ZodEnum<typeof UserSettingKey>;
|
|
5
|
+
value: z.ZodString;
|
|
6
|
+
description: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type UserSettingItem = z.infer<typeof UserSettingSchema>;
|
|
9
|
+
export declare const UserSettingsResponseSchema: z.ZodObject<{
|
|
10
|
+
settings: z.ZodArray<z.ZodObject<{
|
|
11
|
+
key: z.ZodEnum<typeof UserSettingKey>;
|
|
12
|
+
value: z.ZodString;
|
|
13
|
+
description: z.ZodString;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type UserSettingsResponse = z.infer<typeof UserSettingsResponseSchema>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserSettingsResponseSchema = exports.UserSettingSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const user_setting_key_enum_1 = require("./user-setting-key.enum");
|
|
6
|
+
exports.UserSettingSchema = zod_1.z.object({
|
|
7
|
+
key: zod_1.z.enum(user_setting_key_enum_1.UserSettingKey),
|
|
8
|
+
value: zod_1.z.string(),
|
|
9
|
+
description: zod_1.z.string(),
|
|
10
|
+
});
|
|
11
|
+
exports.UserSettingsResponseSchema = zod_1.z.object({
|
|
12
|
+
settings: zod_1.z.array(exports.UserSettingSchema),
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=user-setting.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-setting.schema.js","sourceRoot":"","sources":["../../../../v1/settings/schemas/user-setting.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,mEAAyD;AAG5C,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,GAAG,EAAE,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC;IAC3B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC;AAKU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,yBAAiB,CAAC;CACvC,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UserSettingKey } from './schemas/user-setting-key.enum';
|
|
2
|
+
export interface UserSettingDefinition {
|
|
3
|
+
description: string;
|
|
4
|
+
defaultValue: string;
|
|
5
|
+
allowedValues?: readonly string[];
|
|
6
|
+
}
|
|
7
|
+
export declare const USER_SETTING_DEFINITIONS: Record<UserSettingKey, UserSettingDefinition>;
|
|
8
|
+
export declare function isAllowedUserSettingValue(key: UserSettingKey, value: string): boolean;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.USER_SETTING_DEFINITIONS = void 0;
|
|
4
|
+
exports.isAllowedUserSettingValue = isAllowedUserSettingValue;
|
|
5
|
+
const user_setting_key_enum_1 = require("./schemas/user-setting-key.enum");
|
|
6
|
+
exports.USER_SETTING_DEFINITIONS = {
|
|
7
|
+
[user_setting_key_enum_1.UserSettingKey.LANGUAGE]: {
|
|
8
|
+
description: 'Interface language',
|
|
9
|
+
defaultValue: 'ru',
|
|
10
|
+
allowedValues: ['en', 'ru'],
|
|
11
|
+
},
|
|
12
|
+
[user_setting_key_enum_1.UserSettingKey.REGION]: {
|
|
13
|
+
description: 'User region / country (ISO 3166-1 alpha-2)',
|
|
14
|
+
defaultValue: 'RU',
|
|
15
|
+
},
|
|
16
|
+
[user_setting_key_enum_1.UserSettingKey.COMPLIANCE_MODE]: {
|
|
17
|
+
description: '153-ФЗ compliance mode — restrict AI routing to verified providers',
|
|
18
|
+
defaultValue: 'false',
|
|
19
|
+
allowedValues: ['true', 'false'],
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
function isAllowedUserSettingValue(key, value) {
|
|
23
|
+
const allowed = exports.USER_SETTING_DEFINITIONS[key].allowedValues;
|
|
24
|
+
return allowed ? allowed.includes(value) : value.length > 0;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=settings.definitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.definitions.js","sourceRoot":"","sources":["../../../v1/settings/settings.definitions.ts"],"names":[],"mappings":";;;AAkCA,8DAGC;AArCD,2EAAiE;AAgBpD,QAAA,wBAAwB,GAAkD;IACnF,CAAC,sCAAc,CAAC,QAAQ,CAAC,EAAE;QACvB,WAAW,EAAE,oBAAoB;QACjC,YAAY,EAAE,IAAI;QAClB,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;KAC9B;IACD,CAAC,sCAAc,CAAC,MAAM,CAAC,EAAE;QACrB,WAAW,EAAE,4CAA4C;QACzD,YAAY,EAAE,IAAI;KACrB;IACD,CAAC,sCAAc,CAAC,eAAe,CAAC,EAAE;QAC9B,WAAW,EAAE,oEAAoE;QACjF,YAAY,EAAE,OAAO;QACrB,aAAa,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;KACnC;CACJ,CAAC;AAGF,SAAgB,yBAAyB,CAAC,GAAmB,EAAE,KAAa;IACxE,MAAM,OAAO,GAAG,gCAAwB,CAAC,GAAG,CAAC,CAAC,aAAa,CAAC;IAC5D,OAAO,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AAChE,CAAC"}
|
|
@@ -5,5 +5,6 @@ var AccessReason;
|
|
|
5
5
|
(function (AccessReason) {
|
|
6
6
|
AccessReason["REQUIRES_REGISTRATION"] = "REQUIRES_REGISTRATION";
|
|
7
7
|
AccessReason["REQUIRES_SUBSCRIPTION"] = "REQUIRES_SUBSCRIPTION";
|
|
8
|
+
AccessReason["NOT_COMPLIANT"] = "NOT_COMPLIANT";
|
|
8
9
|
})(AccessReason || (exports.AccessReason = AccessReason = {}));
|
|
9
10
|
//# sourceMappingURL=access-reason.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-reason.enum.js","sourceRoot":"","sources":["../../../v1/shared/access-reason.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,
|
|
1
|
+
{"version":3,"file":"access-reason.enum.js","sourceRoot":"","sources":["../../../v1/shared/access-reason.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,YAKX;AALD,WAAY,YAAY;IACpB,+DAA+C,CAAA;IAC/C,+DAA+C,CAAA;IAE/C,+CAA+B,CAAA;AACnC,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB"}
|
|
@@ -15,6 +15,7 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
15
15
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
16
16
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
17
17
|
KIE: z.ZodOptional<z.ZodString>;
|
|
18
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
18
19
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
19
20
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
20
21
|
}, z.core.$strict>>;
|
|
@@ -35,6 +36,7 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
35
36
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
36
37
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
37
38
|
KIE: z.ZodOptional<z.ZodString>;
|
|
39
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
38
40
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
39
41
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
40
42
|
}, z.core.$strict>>;
|
|
@@ -60,6 +62,7 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
60
62
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
61
63
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
62
64
|
KIE: z.ZodOptional<z.ZodString>;
|
|
65
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
63
66
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
64
67
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
65
68
|
}, z.core.$strict>>;
|
|
@@ -80,6 +83,7 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
80
83
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
81
84
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
82
85
|
KIE: z.ZodOptional<z.ZodString>;
|
|
86
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
83
87
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
84
88
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
85
89
|
}, z.core.$strict>>;
|
|
@@ -115,6 +119,7 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
115
119
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
116
120
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
117
121
|
KIE: z.ZodOptional<z.ZodString>;
|
|
122
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
118
123
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
119
124
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
120
125
|
}, z.core.$strict>>;
|
|
@@ -135,6 +140,7 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
135
140
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
136
141
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
137
142
|
KIE: z.ZodOptional<z.ZodString>;
|
|
143
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
138
144
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
139
145
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
140
146
|
}, z.core.$strict>>;
|
|
@@ -160,6 +166,7 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
160
166
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
161
167
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
162
168
|
KIE: z.ZodOptional<z.ZodString>;
|
|
169
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
163
170
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
164
171
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
165
172
|
}, z.core.$strict>>;
|
|
@@ -180,6 +187,7 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
180
187
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
181
188
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
182
189
|
KIE: z.ZodOptional<z.ZodString>;
|
|
190
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
183
191
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
184
192
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
185
193
|
}, z.core.$strict>>;
|
|
@@ -202,7 +210,7 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
202
210
|
updatedAt: z.ZodString;
|
|
203
211
|
tool: z.ZodObject<{
|
|
204
212
|
uuid: z.ZodString;
|
|
205
|
-
key: z.
|
|
213
|
+
key: z.ZodEnum<typeof import("../../..").ToolId>;
|
|
206
214
|
title: z.ZodString;
|
|
207
215
|
description: z.ZodString;
|
|
208
216
|
icon: z.ZodNullable<z.ZodString>;
|
|
@@ -14,6 +14,7 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
14
14
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
16
16
|
KIE: z.ZodOptional<z.ZodString>;
|
|
17
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
17
18
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
18
19
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, z.core.$strict>>;
|
|
@@ -34,6 +35,7 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
34
35
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
35
36
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
36
37
|
KIE: z.ZodOptional<z.ZodString>;
|
|
38
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
37
39
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
38
40
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
39
41
|
}, z.core.$strict>>;
|
|
@@ -59,6 +61,7 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
59
61
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
60
62
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
61
63
|
KIE: z.ZodOptional<z.ZodString>;
|
|
64
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
62
65
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
63
66
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
64
67
|
}, z.core.$strict>>;
|
|
@@ -79,6 +82,7 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
79
82
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
80
83
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
81
84
|
KIE: z.ZodOptional<z.ZodString>;
|
|
85
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
82
86
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
83
87
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
84
88
|
}, z.core.$strict>>;
|
|
@@ -114,6 +118,7 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
114
118
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
115
119
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
116
120
|
KIE: z.ZodOptional<z.ZodString>;
|
|
121
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
117
122
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
118
123
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
119
124
|
}, z.core.$strict>>;
|
|
@@ -134,6 +139,7 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
134
139
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
135
140
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
136
141
|
KIE: z.ZodOptional<z.ZodString>;
|
|
142
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
137
143
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
138
144
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
139
145
|
}, z.core.$strict>>;
|
|
@@ -159,6 +165,7 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
159
165
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
160
166
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
161
167
|
KIE: z.ZodOptional<z.ZodString>;
|
|
168
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
162
169
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
163
170
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
164
171
|
}, z.core.$strict>>;
|
|
@@ -179,6 +186,7 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
179
186
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
180
187
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
181
188
|
KIE: z.ZodOptional<z.ZodString>;
|
|
189
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
182
190
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
183
191
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
184
192
|
}, z.core.$strict>>;
|
|
@@ -201,7 +209,7 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
201
209
|
updatedAt: z.ZodString;
|
|
202
210
|
tool: z.ZodObject<{
|
|
203
211
|
uuid: z.ZodString;
|
|
204
|
-
key: z.
|
|
212
|
+
key: z.ZodEnum<typeof import("../../..").ToolId>;
|
|
205
213
|
title: z.ZodString;
|
|
206
214
|
description: z.ZodString;
|
|
207
215
|
icon: z.ZodNullable<z.ZodString>;
|
|
@@ -13,7 +13,7 @@ export declare namespace AdminToolUpdateCommand {
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
const Response: z.ZodObject<{
|
|
15
15
|
uuid: z.ZodString;
|
|
16
|
-
key: z.
|
|
16
|
+
key: z.ZodEnum<typeof import("../../..").ToolId>;
|
|
17
17
|
title: z.ZodString;
|
|
18
18
|
description: z.ZodString;
|
|
19
19
|
icon: z.ZodNullable<z.ZodString>;
|
|
@@ -19,6 +19,7 @@ export declare namespace AdminModelToolBindingGetQuery {
|
|
|
19
19
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
20
20
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
21
21
|
KIE: z.ZodOptional<z.ZodString>;
|
|
22
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
22
23
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
23
24
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
24
25
|
}, z.core.$strict>>;
|
|
@@ -39,6 +40,7 @@ export declare namespace AdminModelToolBindingGetQuery {
|
|
|
39
40
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
40
41
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
41
42
|
KIE: z.ZodOptional<z.ZodString>;
|
|
43
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
42
44
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
43
45
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
44
46
|
}, z.core.$strict>>;
|
|
@@ -64,6 +66,7 @@ export declare namespace AdminModelToolBindingGetQuery {
|
|
|
64
66
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
65
67
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
66
68
|
KIE: z.ZodOptional<z.ZodString>;
|
|
69
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
67
70
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
68
71
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
69
72
|
}, z.core.$strict>>;
|
|
@@ -84,6 +87,7 @@ export declare namespace AdminModelToolBindingGetQuery {
|
|
|
84
87
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
85
88
|
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
86
89
|
KIE: z.ZodOptional<z.ZodString>;
|
|
90
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
87
91
|
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
88
92
|
YANDEX: z.ZodOptional<z.ZodString>;
|
|
89
93
|
}, z.core.$strict>>;
|
|
@@ -106,7 +110,7 @@ export declare namespace AdminModelToolBindingGetQuery {
|
|
|
106
110
|
updatedAt: z.ZodString;
|
|
107
111
|
tool: z.ZodObject<{
|
|
108
112
|
uuid: z.ZodString;
|
|
109
|
-
key: z.
|
|
113
|
+
key: z.ZodEnum<typeof import("../../..").ToolId>;
|
|
110
114
|
title: z.ZodString;
|
|
111
115
|
description: z.ZodString;
|
|
112
116
|
icon: z.ZodNullable<z.ZodString>;
|
|
@@ -5,7 +5,7 @@ export declare namespace AdminToolGetToolsQuery {
|
|
|
5
5
|
const Response: z.ZodObject<{
|
|
6
6
|
tools: z.ZodArray<z.ZodObject<{
|
|
7
7
|
uuid: z.ZodString;
|
|
8
|
-
key: z.
|
|
8
|
+
key: z.ZodEnum<typeof import("../../..").ToolId>;
|
|
9
9
|
title: z.ZodString;
|
|
10
10
|
description: z.ZodString;
|
|
11
11
|
icon: z.ZodNullable<z.ZodString>;
|
|
@@ -6,7 +6,7 @@ export declare namespace PublicToolGetAvailabilityQuery {
|
|
|
6
6
|
tools: z.ZodArray<z.ZodObject<{
|
|
7
7
|
tool: z.ZodObject<{
|
|
8
8
|
uuid: z.ZodString;
|
|
9
|
-
key: z.
|
|
9
|
+
key: z.ZodEnum<typeof import("../../..").ToolId>;
|
|
10
10
|
title: z.ZodString;
|
|
11
11
|
description: z.ZodString;
|
|
12
12
|
status: z.ZodEnum<typeof import("../../schemas").ToolStatus>;
|
|
@@ -5,7 +5,7 @@ export declare namespace PublicToolGetToolsQuery {
|
|
|
5
5
|
const Response: z.ZodObject<{
|
|
6
6
|
tools: z.ZodArray<z.ZodObject<{
|
|
7
7
|
uuid: z.ZodString;
|
|
8
|
-
key: z.
|
|
8
|
+
key: z.ZodEnum<typeof import("../../..").ToolId>;
|
|
9
9
|
title: z.ZodString;
|
|
10
10
|
description: z.ZodString;
|
|
11
11
|
status: z.ZodEnum<typeof import("../../schemas").ToolStatus>;
|