@purpleschool/multisite 0.0.35 → 0.0.41
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/api/controller/http/catalog.ts +6 -0
- package/api/controller/http/file.ts +1 -0
- package/api/controller/http/index.ts +2 -0
- package/api/controller/http/text-chat.ts +18 -0
- package/build/api/controller/http/catalog.d.ts +7 -0
- package/build/api/controller/http/catalog.d.ts.map +1 -0
- package/build/api/controller/http/catalog.js +9 -0
- package/build/api/controller/http/file.d.ts +1 -0
- package/build/api/controller/http/file.d.ts.map +1 -1
- package/build/api/controller/http/file.js +1 -0
- package/build/api/controller/http/index.d.ts +2 -0
- package/build/api/controller/http/index.d.ts.map +1 -1
- package/build/api/controller/http/index.js +2 -0
- package/build/api/controller/http/text-chat.d.ts +18 -0
- package/build/api/controller/http/text-chat.d.ts.map +1 -0
- package/build/api/controller/http/text-chat.js +20 -0
- package/build/commands/auth/verify-email.command.d.ts.map +1 -1
- package/build/commands/auth/verify-email.command.js +2 -1
- package/build/commands/catalog/index.d.ts +156 -0
- package/build/commands/catalog/index.d.ts.map +1 -0
- package/build/commands/catalog/index.js +23 -0
- package/build/commands/index.d.ts +2 -0
- package/build/commands/index.d.ts.map +1 -1
- package/build/commands/index.js +2 -0
- package/build/commands/page/create-page.command.d.ts +8 -0
- package/build/commands/page/create-page.command.d.ts.map +1 -1
- package/build/commands/page/find-page-by-alias.command.d.ts +16 -0
- package/build/commands/page/find-page-by-alias.command.d.ts.map +1 -1
- package/build/commands/page/find-page-by-criteria.command.d.ts +5 -0
- package/build/commands/page/find-page-by-criteria.command.d.ts.map +1 -1
- package/build/commands/page/find-page.command.d.ts +11 -0
- package/build/commands/page/find-page.command.d.ts.map +1 -1
- package/build/commands/page/update-page.command.d.ts +8 -0
- package/build/commands/page/update-page.command.d.ts.map +1 -1
- package/build/commands/product/fast-buy-product.command.d.ts.map +1 -1
- package/build/commands/product/fast-buy-product.command.js +2 -1
- package/build/commands/subscription/fast-buy-subscription.command.d.ts.map +1 -1
- package/build/commands/subscription/fast-buy-subscription.command.js +2 -1
- package/build/commands/text-chat/category.d.ts +321 -0
- package/build/commands/text-chat/category.d.ts.map +1 -0
- package/build/commands/text-chat/category.js +29 -0
- package/build/commands/text-chat/index.d.ts +292 -0
- package/build/commands/text-chat/index.d.ts.map +1 -0
- package/build/commands/text-chat/index.js +73 -0
- package/build/constants/catalog.d.ts +5 -0
- package/build/constants/catalog.d.ts.map +1 -0
- package/build/constants/catalog.js +8 -0
- package/build/constants/errors/errors.d.ts +72 -0
- package/build/constants/errors/errors.d.ts.map +1 -1
- package/build/constants/errors/errors.js +72 -0
- package/build/constants/files/enums/file-type.enum.d.ts +3 -1
- package/build/constants/files/enums/file-type.enum.d.ts.map +1 -1
- package/build/constants/files/enums/file-type.enum.js +2 -0
- package/build/constants/index.d.ts +3 -0
- package/build/constants/index.d.ts.map +1 -1
- package/build/constants/index.js +3 -0
- package/build/constants/text-chat/attachments.d.ts +12 -0
- package/build/constants/text-chat/attachments.d.ts.map +1 -0
- package/build/constants/text-chat/attachments.js +52 -0
- package/build/constants/text-chat/index.d.ts +38 -0
- package/build/constants/text-chat/index.d.ts.map +1 -0
- package/build/constants/text-chat/index.js +59 -0
- package/build/constants/text-provider/index.d.ts +37 -0
- package/build/constants/text-provider/index.d.ts.map +1 -0
- package/build/constants/text-provider/index.js +46 -0
- package/build/constants/tools/enums/tool-type.enum.d.ts +1 -0
- package/build/constants/tools/enums/tool-type.enum.d.ts.map +1 -1
- package/build/constants/tools/enums/tool-type.enum.js +1 -0
- package/build/helpers/index.d.ts +1 -0
- package/build/helpers/index.d.ts.map +1 -1
- package/build/helpers/index.js +1 -0
- package/build/helpers/text-chat/index.d.ts +23 -0
- package/build/helpers/text-chat/index.d.ts.map +1 -0
- package/build/helpers/text-chat/index.js +91 -0
- package/build/models/catalog/index.d.ts +181 -0
- package/build/models/catalog/index.d.ts.map +1 -0
- package/build/models/catalog/index.js +36 -0
- package/build/models/index.d.ts +2 -0
- package/build/models/index.d.ts.map +1 -1
- package/build/models/index.js +2 -0
- package/build/models/page.schema.d.ts +6 -0
- package/build/models/page.schema.d.ts.map +1 -1
- package/build/models/page.schema.js +1 -0
- package/build/models/text-chat/category.schema.d.ts +79 -0
- package/build/models/text-chat/category.schema.d.ts.map +1 -0
- package/build/models/text-chat/category.schema.js +38 -0
- package/build/models/text-chat/index.d.ts +319 -0
- package/build/models/text-chat/index.d.ts.map +1 -0
- package/build/models/text-chat/index.js +79 -0
- package/build/models/text-chat/provider-config.schema.d.ts +92 -0
- package/build/models/text-chat/provider-config.schema.d.ts.map +1 -0
- package/build/models/text-chat/provider-config.schema.js +42 -0
- package/build/models/text-chat/stream.schema.d.ts +83 -0
- package/build/models/text-chat/stream.schema.d.ts.map +1 -0
- package/build/models/text-chat/stream.schema.js +24 -0
- package/build/models/user.schema.d.ts +1 -0
- package/build/models/user.schema.d.ts.map +1 -1
- package/build/models/user.schema.js +3 -2
- package/build/queries/catalog/index.d.ts +259 -0
- package/build/queries/catalog/index.d.ts.map +1 -0
- package/build/queries/catalog/index.js +31 -0
- package/build/queries/index.d.ts +2 -0
- package/build/queries/index.d.ts.map +1 -1
- package/build/queries/index.js +2 -0
- package/build/queries/text-chat/category.d.ts +297 -0
- package/build/queries/text-chat/category.d.ts.map +1 -0
- package/build/queries/text-chat/category.js +45 -0
- package/build/queries/text-chat/index.d.ts +472 -0
- package/build/queries/text-chat/index.d.ts.map +1 -0
- package/build/queries/text-chat/index.js +61 -0
- package/commands/auth/verify-email.command.ts +2 -1
- package/commands/catalog/index.ts +26 -0
- package/commands/index.ts +2 -0
- package/commands/product/fast-buy-product.command.ts +2 -1
- package/commands/subscription/fast-buy-subscription.command.ts +2 -1
- package/commands/text-chat/category.ts +42 -0
- package/commands/text-chat/index.ts +71 -0
- package/constants/catalog.ts +4 -0
- package/constants/errors/errors.ts +73 -0
- package/constants/files/enums/file-type.enum.ts +2 -0
- package/constants/index.ts +3 -0
- package/constants/text-chat/attachments.ts +55 -0
- package/constants/text-chat/index.ts +43 -0
- package/constants/text-provider/index.ts +42 -0
- package/constants/tools/enums/tool-type.enum.ts +1 -0
- package/helpers/index.ts +1 -0
- package/helpers/text-chat/index.ts +91 -0
- package/models/catalog/index.ts +35 -0
- package/models/index.ts +2 -0
- package/models/page.schema.ts +1 -0
- package/models/text-chat/category.schema.ts +40 -0
- package/models/text-chat/index.ts +82 -0
- package/models/text-chat/provider-config.schema.ts +47 -0
- package/models/text-chat/stream.schema.ts +43 -0
- package/models/user.schema.ts +3 -1
- package/package.json +1 -1
- package/queries/catalog/index.ts +29 -0
- package/queries/index.ts +2 -0
- package/queries/text-chat/category.ts +51 -0
- package/queries/text-chat/index.ts +56 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export const TEXT_CHAT_PRIVATE_CONTROLLER = 'text-chat/private' as const;
|
|
2
|
+
export const TEXT_CHAT_PUBLIC_CONTROLLER = 'text-chat/public' as const;
|
|
3
|
+
export const TEXT_CHAT_CATEGORY_PUBLIC_CONTROLLER = 'text-chat/categories' as const;
|
|
4
|
+
export const TEXT_CHAT_CATEGORY_ADMIN_CONTROLLER = 'text-chat/admin/categories' as const;
|
|
5
|
+
export const TEXT_CHAT_CATEGORY_ROUTES = {
|
|
6
|
+
LIST: '',
|
|
7
|
+
CREATE: '',
|
|
8
|
+
CATEGORY: (uuid: string) => `${uuid}`,
|
|
9
|
+
ARCHIVE: (uuid: string) => `${uuid}/archive`,
|
|
10
|
+
} as const;
|
|
11
|
+
|
|
12
|
+
export const TEXT_CHAT_ROUTES = {
|
|
13
|
+
CONFIG: 'config',
|
|
14
|
+
CALCULATE_PRICE: 'price',
|
|
15
|
+
CHATS: 'chats',
|
|
16
|
+
CHAT: (uuid: string) => `chats/${uuid}`,
|
|
17
|
+
MESSAGES: (uuid: string) => `chats/${uuid}/messages`,
|
|
18
|
+
} as const;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const CATALOG_PUBLIC_CONTROLLER: 'catalog';
|
|
2
|
+
export declare const CATALOG_GROUP_ADMIN_CONTROLLER: 'catalog/admin/groups';
|
|
3
|
+
export declare const CATALOG_ROUTES: {
|
|
4
|
+
readonly LIST: '';
|
|
5
|
+
readonly GROUP: (uuid: string) => string;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=catalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/catalog.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,EAAG,SAAkB,CAAC;AAC5D,eAAO,MAAM,8BAA8B,EAAG,sBAA+B,CAAC;AAC9E,eAAO,MAAM,cAAc;aACvB,IAAI,EAAE,EAAE;aACR,KAAK,SAAS,MAAM;CACd,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CATALOG_ROUTES = exports.CATALOG_GROUP_ADMIN_CONTROLLER = exports.CATALOG_PUBLIC_CONTROLLER = void 0;
|
|
4
|
+
exports.CATALOG_PUBLIC_CONTROLLER = 'catalog';
|
|
5
|
+
exports.CATALOG_GROUP_ADMIN_CONTROLLER = 'catalog/admin/groups';
|
|
6
|
+
exports.CATALOG_ROUTES = {
|
|
7
|
+
LIST: '',
|
|
8
|
+
GROUP: (uuid) => `${uuid}`,
|
|
9
|
+
};
|
|
@@ -2,6 +2,7 @@ export declare const FILE_PRIVATE_CONTROLLER: 'files/private';
|
|
|
2
2
|
export declare const FILE_PUBLIC_CONTROLLER: 'files/public';
|
|
3
3
|
export declare const FILE_ROUTES: {
|
|
4
4
|
readonly UPLOAD: 'upload';
|
|
5
|
+
readonly UPLOAD_TEXT_CHAT: 'upload/text-chat';
|
|
5
6
|
readonly UPLOAD_FILE: 'upload-file';
|
|
6
7
|
readonly UPLOAD_FILE_BY_URL: 'upload-file-by-url';
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/file.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,eAAwB,CAAC;AAChE,eAAO,MAAM,sBAAsB,EAAG,cAAuB,CAAC;AAE9D,eAAO,MAAM,WAAW;aACpB,MAAM,EAAE,QAAQ;aAChB,WAAW,EAAE,aAAa;aAC1B,kBAAkB,EAAE,oBAAoB;CAClC,CAAC"}
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/file.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,eAAwB,CAAC;AAChE,eAAO,MAAM,sBAAsB,EAAG,cAAuB,CAAC;AAE9D,eAAO,MAAM,WAAW;aACpB,MAAM,EAAE,QAAQ;aAChB,gBAAgB,EAAE,kBAAkB;aACpC,WAAW,EAAE,aAAa;aAC1B,kBAAkB,EAAE,oBAAoB;CAClC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
|
@@ -35,3 +35,5 @@ __exportStar(require("./page-question"), exports);
|
|
|
35
35
|
__exportStar(require("./stt"), exports);
|
|
36
36
|
__exportStar(require("./tts"), exports);
|
|
37
37
|
__exportStar(require("./sitemap"), exports);
|
|
38
|
+
__exportStar(require("./text-chat"), exports);
|
|
39
|
+
__exportStar(require("./catalog"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const TEXT_CHAT_PRIVATE_CONTROLLER: 'text-chat/private';
|
|
2
|
+
export declare const TEXT_CHAT_PUBLIC_CONTROLLER: 'text-chat/public';
|
|
3
|
+
export declare const TEXT_CHAT_CATEGORY_PUBLIC_CONTROLLER: 'text-chat/categories';
|
|
4
|
+
export declare const TEXT_CHAT_CATEGORY_ADMIN_CONTROLLER: 'text-chat/admin/categories';
|
|
5
|
+
export declare const TEXT_CHAT_CATEGORY_ROUTES: {
|
|
6
|
+
readonly LIST: '';
|
|
7
|
+
readonly CREATE: '';
|
|
8
|
+
readonly CATEGORY: (uuid: string) => string;
|
|
9
|
+
readonly ARCHIVE: (uuid: string) => string;
|
|
10
|
+
};
|
|
11
|
+
export declare const TEXT_CHAT_ROUTES: {
|
|
12
|
+
readonly CONFIG: 'config';
|
|
13
|
+
readonly CALCULATE_PRICE: 'price';
|
|
14
|
+
readonly CHATS: 'chats';
|
|
15
|
+
readonly CHAT: (uuid: string) => string;
|
|
16
|
+
readonly MESSAGES: (uuid: string) => string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=text-chat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-chat.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/text-chat.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,EAAG,mBAA4B,CAAC;AACzE,eAAO,MAAM,2BAA2B,EAAG,kBAA2B,CAAC;AACvE,eAAO,MAAM,oCAAoC,EAAG,sBAA+B,CAAC;AACpF,eAAO,MAAM,mCAAmC,EAAG,4BAAqC,CAAC;AACzF,eAAO,MAAM,yBAAyB;aAClC,IAAI,EAAE,EAAE;aACR,MAAM,EAAE,EAAE;aACV,QAAQ,SAAS,MAAM;aACvB,OAAO,SAAS,MAAM;CAChB,CAAC;AAEX,eAAO,MAAM,gBAAgB;aACzB,MAAM,EAAE,QAAQ;aAChB,eAAe,EAAE,OAAO;aACxB,KAAK,EAAE,OAAO;aACd,IAAI,SAAS,MAAM;aACnB,QAAQ,SAAS,MAAM;CACjB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TEXT_CHAT_ROUTES = exports.TEXT_CHAT_CATEGORY_ROUTES = exports.TEXT_CHAT_CATEGORY_ADMIN_CONTROLLER = exports.TEXT_CHAT_CATEGORY_PUBLIC_CONTROLLER = exports.TEXT_CHAT_PUBLIC_CONTROLLER = exports.TEXT_CHAT_PRIVATE_CONTROLLER = void 0;
|
|
4
|
+
exports.TEXT_CHAT_PRIVATE_CONTROLLER = 'text-chat/private';
|
|
5
|
+
exports.TEXT_CHAT_PUBLIC_CONTROLLER = 'text-chat/public';
|
|
6
|
+
exports.TEXT_CHAT_CATEGORY_PUBLIC_CONTROLLER = 'text-chat/categories';
|
|
7
|
+
exports.TEXT_CHAT_CATEGORY_ADMIN_CONTROLLER = 'text-chat/admin/categories';
|
|
8
|
+
exports.TEXT_CHAT_CATEGORY_ROUTES = {
|
|
9
|
+
LIST: '',
|
|
10
|
+
CREATE: '',
|
|
11
|
+
CATEGORY: (uuid) => `${uuid}`,
|
|
12
|
+
ARCHIVE: (uuid) => `${uuid}/archive`,
|
|
13
|
+
};
|
|
14
|
+
exports.TEXT_CHAT_ROUTES = {
|
|
15
|
+
CONFIG: 'config',
|
|
16
|
+
CALCULATE_PRICE: 'price',
|
|
17
|
+
CHATS: 'chats',
|
|
18
|
+
CHAT: (uuid) => `chats/${uuid}`,
|
|
19
|
+
MESSAGES: (uuid) => `chats/${uuid}/messages`,
|
|
20
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-email.command.d.ts","sourceRoot":"","sources":["../../../commands/auth/verify-email.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"verify-email.command.d.ts","sourceRoot":"","sources":["../../../commands/auth/verify-email.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VerifyEmailCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const user_schema_1 = require("../../models/user.schema");
|
|
5
6
|
var VerifyEmailCommand;
|
|
6
7
|
(function (VerifyEmailCommand) {
|
|
7
8
|
VerifyEmailCommand.RequestSchema = zod_1.z.object({
|
|
8
9
|
verifyTokenHash: zod_1.z.string().min(6),
|
|
9
|
-
email:
|
|
10
|
+
email: user_schema_1.EmailInputSchema,
|
|
10
11
|
});
|
|
11
12
|
VerifyEmailCommand.ResponseSchema = zod_1.z.object({
|
|
12
13
|
data: zod_1.z.object({
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace CreateCatalogGroupCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
}, "strict", z.ZodTypeAny, {
|
|
7
|
+
title: string;
|
|
8
|
+
order?: number | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
title: string;
|
|
11
|
+
order?: number | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
14
|
+
const ResponseSchema: z.ZodObject<{
|
|
15
|
+
data: z.ZodObject<{
|
|
16
|
+
uuid: z.ZodString;
|
|
17
|
+
title: z.ZodString;
|
|
18
|
+
order: z.ZodNumber;
|
|
19
|
+
} & {
|
|
20
|
+
siteId: z.ZodString;
|
|
21
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
22
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
uuid: string;
|
|
25
|
+
title: string;
|
|
26
|
+
order: number;
|
|
27
|
+
siteId: string;
|
|
28
|
+
createdAt: string | Date;
|
|
29
|
+
updatedAt: string | Date;
|
|
30
|
+
}, {
|
|
31
|
+
uuid: string;
|
|
32
|
+
title: string;
|
|
33
|
+
order: number;
|
|
34
|
+
siteId: string;
|
|
35
|
+
createdAt: string | Date;
|
|
36
|
+
updatedAt: string | Date;
|
|
37
|
+
}>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
data: {
|
|
40
|
+
uuid: string;
|
|
41
|
+
title: string;
|
|
42
|
+
order: number;
|
|
43
|
+
siteId: string;
|
|
44
|
+
createdAt: string | Date;
|
|
45
|
+
updatedAt: string | Date;
|
|
46
|
+
};
|
|
47
|
+
}, {
|
|
48
|
+
data: {
|
|
49
|
+
uuid: string;
|
|
50
|
+
title: string;
|
|
51
|
+
order: number;
|
|
52
|
+
siteId: string;
|
|
53
|
+
createdAt: string | Date;
|
|
54
|
+
updatedAt: string | Date;
|
|
55
|
+
};
|
|
56
|
+
}>;
|
|
57
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace UpdateCatalogGroupCommand {
|
|
60
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
61
|
+
uuid: z.ZodString;
|
|
62
|
+
}, "strict", z.ZodTypeAny, {
|
|
63
|
+
uuid: string;
|
|
64
|
+
}, {
|
|
65
|
+
uuid: string;
|
|
66
|
+
}>;
|
|
67
|
+
const RequestSchema: z.ZodEffects<z.ZodObject<{
|
|
68
|
+
title: z.ZodOptional<z.ZodString>;
|
|
69
|
+
order: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
70
|
+
}, "strict", z.ZodTypeAny, {
|
|
71
|
+
title?: string | undefined;
|
|
72
|
+
order?: number | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
title?: string | undefined;
|
|
75
|
+
order?: number | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
title?: string | undefined;
|
|
78
|
+
order?: number | undefined;
|
|
79
|
+
}, {
|
|
80
|
+
title?: string | undefined;
|
|
81
|
+
order?: number | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
84
|
+
const ResponseSchema: z.ZodObject<{
|
|
85
|
+
data: z.ZodObject<{
|
|
86
|
+
uuid: z.ZodString;
|
|
87
|
+
title: z.ZodString;
|
|
88
|
+
order: z.ZodNumber;
|
|
89
|
+
} & {
|
|
90
|
+
siteId: z.ZodString;
|
|
91
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
92
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
uuid: string;
|
|
95
|
+
title: string;
|
|
96
|
+
order: number;
|
|
97
|
+
siteId: string;
|
|
98
|
+
createdAt: string | Date;
|
|
99
|
+
updatedAt: string | Date;
|
|
100
|
+
}, {
|
|
101
|
+
uuid: string;
|
|
102
|
+
title: string;
|
|
103
|
+
order: number;
|
|
104
|
+
siteId: string;
|
|
105
|
+
createdAt: string | Date;
|
|
106
|
+
updatedAt: string | Date;
|
|
107
|
+
}>;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
data: {
|
|
110
|
+
uuid: string;
|
|
111
|
+
title: string;
|
|
112
|
+
order: number;
|
|
113
|
+
siteId: string;
|
|
114
|
+
createdAt: string | Date;
|
|
115
|
+
updatedAt: string | Date;
|
|
116
|
+
};
|
|
117
|
+
}, {
|
|
118
|
+
data: {
|
|
119
|
+
uuid: string;
|
|
120
|
+
title: string;
|
|
121
|
+
order: number;
|
|
122
|
+
siteId: string;
|
|
123
|
+
createdAt: string | Date;
|
|
124
|
+
updatedAt: string | Date;
|
|
125
|
+
};
|
|
126
|
+
}>;
|
|
127
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
128
|
+
}
|
|
129
|
+
export declare namespace DeleteCatalogGroupCommand {
|
|
130
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
131
|
+
uuid: z.ZodString;
|
|
132
|
+
}, "strict", z.ZodTypeAny, {
|
|
133
|
+
uuid: string;
|
|
134
|
+
}, {
|
|
135
|
+
uuid: string;
|
|
136
|
+
}>;
|
|
137
|
+
const ResponseSchema: z.ZodObject<{
|
|
138
|
+
data: z.ZodObject<{
|
|
139
|
+
deleted: z.ZodLiteral<true>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
deleted: true;
|
|
142
|
+
}, {
|
|
143
|
+
deleted: true;
|
|
144
|
+
}>;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
data: {
|
|
147
|
+
deleted: true;
|
|
148
|
+
};
|
|
149
|
+
}, {
|
|
150
|
+
data: {
|
|
151
|
+
deleted: true;
|
|
152
|
+
};
|
|
153
|
+
}>;
|
|
154
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
155
|
+
}
|
|
156
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/catalog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,aAAa;;;;;;;;;MAAoC,CAAC;IAC/D,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAC7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA8C,CAAC;IAC1E,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD;AACD,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,mBAAmB;;;;;;MAAiD,CAAC;IAC3E,MAAM,aAAa;;;;;;;;;;;;;;;MAKrB,CAAC;IACN,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAC7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA2C,CAAC;IACvE,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD;AACD,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,mBAAmB;;;;;;MAAgD,CAAC;IAC1E,MAAM,cAAc;;;;;;;;;;;;;;;;MAA6D,CAAC;IACzF,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteCatalogGroupCommand = exports.UpdateCatalogGroupCommand = exports.CreateCatalogGroupCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const catalog_1 = require("../../models/catalog");
|
|
6
|
+
var CreateCatalogGroupCommand;
|
|
7
|
+
(function (CreateCatalogGroupCommand) {
|
|
8
|
+
CreateCatalogGroupCommand.RequestSchema = catalog_1.CatalogGroupFieldsSchema.strict();
|
|
9
|
+
CreateCatalogGroupCommand.ResponseSchema = zod_1.z.object({ data: catalog_1.CatalogGroupAdminSchema });
|
|
10
|
+
})(CreateCatalogGroupCommand || (exports.CreateCatalogGroupCommand = CreateCatalogGroupCommand = {}));
|
|
11
|
+
var UpdateCatalogGroupCommand;
|
|
12
|
+
(function (UpdateCatalogGroupCommand) {
|
|
13
|
+
UpdateCatalogGroupCommand.RequestParamsSchema = zod_1.z.object({ uuid: zod_1.z.string().uuid() }).strict();
|
|
14
|
+
UpdateCatalogGroupCommand.RequestSchema = catalog_1.CatalogGroupFieldsSchema.partial()
|
|
15
|
+
.strict()
|
|
16
|
+
.refine((input) => Object.values(input).some((value) => value !== undefined), 'At least one field is required');
|
|
17
|
+
UpdateCatalogGroupCommand.ResponseSchema = CreateCatalogGroupCommand.ResponseSchema;
|
|
18
|
+
})(UpdateCatalogGroupCommand || (exports.UpdateCatalogGroupCommand = UpdateCatalogGroupCommand = {}));
|
|
19
|
+
var DeleteCatalogGroupCommand;
|
|
20
|
+
(function (DeleteCatalogGroupCommand) {
|
|
21
|
+
DeleteCatalogGroupCommand.RequestParamsSchema = UpdateCatalogGroupCommand.RequestParamsSchema;
|
|
22
|
+
DeleteCatalogGroupCommand.ResponseSchema = zod_1.z.object({ data: zod_1.z.object({ deleted: zod_1.z.literal(true) }) });
|
|
23
|
+
})(DeleteCatalogGroupCommand || (exports.DeleteCatalogGroupCommand = DeleteCatalogGroupCommand = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
package/build/commands/index.js
CHANGED
|
@@ -29,3 +29,5 @@ __exportStar(require("./unregistered-user"), exports);
|
|
|
29
29
|
__exportStar(require("./page"), exports);
|
|
30
30
|
__exportStar(require("./stt"), exports);
|
|
31
31
|
__exportStar(require("./tts"), exports);
|
|
32
|
+
__exportStar(require("./text-chat"), exports);
|
|
33
|
+
__exportStar(require("./catalog"), exports);
|
|
@@ -10,6 +10,7 @@ export declare namespace CreatePageCommand {
|
|
|
10
10
|
alias: z.ZodString;
|
|
11
11
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
12
12
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
14
|
createdAt: z.ZodDate;
|
|
14
15
|
updatedAt: z.ZodDate;
|
|
15
16
|
}, "createdAt" | "updatedAt" | "uuid">, "strip", z.ZodTypeAny, {
|
|
@@ -21,6 +22,7 @@ export declare namespace CreatePageCommand {
|
|
|
21
22
|
alias: string;
|
|
22
23
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
23
24
|
toolOptionId?: string | null | undefined;
|
|
25
|
+
categoryId?: string | null | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
metaTitle: string;
|
|
26
28
|
metaDescription: string;
|
|
@@ -30,6 +32,7 @@ export declare namespace CreatePageCommand {
|
|
|
30
32
|
alias: string;
|
|
31
33
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
32
34
|
toolOptionId?: string | null | undefined;
|
|
35
|
+
categoryId?: string | null | undefined;
|
|
33
36
|
}>;
|
|
34
37
|
type Request = z.infer<typeof RequestSchema>;
|
|
35
38
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -43,6 +46,7 @@ export declare namespace CreatePageCommand {
|
|
|
43
46
|
alias: z.ZodString;
|
|
44
47
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
45
48
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
50
|
createdAt: z.ZodDate;
|
|
47
51
|
updatedAt: z.ZodDate;
|
|
48
52
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -55,6 +59,7 @@ export declare namespace CreatePageCommand {
|
|
|
55
59
|
alias: string;
|
|
56
60
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
57
61
|
toolOptionId?: string | null | undefined;
|
|
62
|
+
categoryId?: string | null | undefined;
|
|
58
63
|
createdAt: Date;
|
|
59
64
|
updatedAt: Date;
|
|
60
65
|
}, {
|
|
@@ -67,6 +72,7 @@ export declare namespace CreatePageCommand {
|
|
|
67
72
|
alias: string;
|
|
68
73
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
69
74
|
toolOptionId?: string | null | undefined;
|
|
75
|
+
categoryId?: string | null | undefined;
|
|
70
76
|
createdAt: Date;
|
|
71
77
|
updatedAt: Date;
|
|
72
78
|
}>;
|
|
@@ -81,6 +87,7 @@ export declare namespace CreatePageCommand {
|
|
|
81
87
|
alias: string;
|
|
82
88
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
83
89
|
toolOptionId?: string | null | undefined;
|
|
90
|
+
categoryId?: string | null | undefined;
|
|
84
91
|
createdAt: Date;
|
|
85
92
|
updatedAt: Date;
|
|
86
93
|
};
|
|
@@ -95,6 +102,7 @@ export declare namespace CreatePageCommand {
|
|
|
95
102
|
alias: string;
|
|
96
103
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
97
104
|
toolOptionId?: string | null | undefined;
|
|
105
|
+
categoryId?: string | null | undefined;
|
|
98
106
|
createdAt: Date;
|
|
99
107
|
updatedAt: Date;
|
|
100
108
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/create-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"create-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/create-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,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"}
|
|
@@ -10,6 +10,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
10
10
|
alias: z.ZodString;
|
|
11
11
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
12
12
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
14
|
createdAt: z.ZodDate;
|
|
14
15
|
updatedAt: z.ZodDate;
|
|
15
16
|
}, "alias">, "strip", z.ZodTypeAny, {
|
|
@@ -29,6 +30,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
29
30
|
alias: z.ZodString;
|
|
30
31
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
31
32
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
createdAt: z.ZodDate;
|
|
33
35
|
updatedAt: z.ZodDate;
|
|
34
36
|
} & {
|
|
@@ -64,6 +66,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
64
66
|
alias: string;
|
|
65
67
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
66
68
|
toolOptionId?: string | null | undefined;
|
|
69
|
+
categoryId?: string | null | undefined;
|
|
67
70
|
createdAt: Date;
|
|
68
71
|
updatedAt: Date;
|
|
69
72
|
questions: {
|
|
@@ -84,6 +87,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
84
87
|
alias: string;
|
|
85
88
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
86
89
|
toolOptionId?: string | null | undefined;
|
|
90
|
+
categoryId?: string | null | undefined;
|
|
87
91
|
createdAt: Date;
|
|
88
92
|
updatedAt: Date;
|
|
89
93
|
questions: {
|
|
@@ -106,6 +110,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
106
110
|
alias: string;
|
|
107
111
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
108
112
|
toolOptionId?: string | null | undefined;
|
|
113
|
+
categoryId?: string | null | undefined;
|
|
109
114
|
createdAt: Date;
|
|
110
115
|
updatedAt: Date;
|
|
111
116
|
questions: {
|
|
@@ -128,6 +133,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
128
133
|
alias: string;
|
|
129
134
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
130
135
|
toolOptionId?: string | null | undefined;
|
|
136
|
+
categoryId?: string | null | undefined;
|
|
131
137
|
createdAt: Date;
|
|
132
138
|
updatedAt: Date;
|
|
133
139
|
questions: {
|
|
@@ -152,6 +158,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
152
158
|
alias: z.ZodString;
|
|
153
159
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
154
160
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
162
|
createdAt: z.ZodDate;
|
|
156
163
|
updatedAt: z.ZodDate;
|
|
157
164
|
} & {
|
|
@@ -187,6 +194,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
187
194
|
alias: string;
|
|
188
195
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
189
196
|
toolOptionId?: string | null | undefined;
|
|
197
|
+
categoryId?: string | null | undefined;
|
|
190
198
|
createdAt: Date;
|
|
191
199
|
updatedAt: Date;
|
|
192
200
|
questions: {
|
|
@@ -207,6 +215,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
207
215
|
alias: string;
|
|
208
216
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
209
217
|
toolOptionId?: string | null | undefined;
|
|
218
|
+
categoryId?: string | null | undefined;
|
|
210
219
|
createdAt: Date;
|
|
211
220
|
updatedAt: Date;
|
|
212
221
|
questions: {
|
|
@@ -229,6 +238,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
229
238
|
alias: string;
|
|
230
239
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
231
240
|
toolOptionId?: string | null | undefined;
|
|
241
|
+
categoryId?: string | null | undefined;
|
|
232
242
|
createdAt: Date;
|
|
233
243
|
updatedAt: Date;
|
|
234
244
|
questions: {
|
|
@@ -251,6 +261,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
251
261
|
alias: string;
|
|
252
262
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
253
263
|
toolOptionId?: string | null | undefined;
|
|
264
|
+
categoryId?: string | null | undefined;
|
|
254
265
|
createdAt: Date;
|
|
255
266
|
updatedAt: Date;
|
|
256
267
|
questions: {
|
|
@@ -274,6 +285,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
274
285
|
alias: z.ZodString;
|
|
275
286
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
276
287
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
288
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
277
289
|
createdAt: z.ZodDate;
|
|
278
290
|
updatedAt: z.ZodDate;
|
|
279
291
|
} & {
|
|
@@ -309,6 +321,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
309
321
|
alias: string;
|
|
310
322
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
311
323
|
toolOptionId?: string | null | undefined;
|
|
324
|
+
categoryId?: string | null | undefined;
|
|
312
325
|
createdAt: Date;
|
|
313
326
|
updatedAt: Date;
|
|
314
327
|
questions: {
|
|
@@ -329,6 +342,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
329
342
|
alias: string;
|
|
330
343
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
331
344
|
toolOptionId?: string | null | undefined;
|
|
345
|
+
categoryId?: string | null | undefined;
|
|
332
346
|
createdAt: Date;
|
|
333
347
|
updatedAt: Date;
|
|
334
348
|
questions: {
|
|
@@ -351,6 +365,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
351
365
|
alias: string;
|
|
352
366
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
353
367
|
toolOptionId?: string | null | undefined;
|
|
368
|
+
categoryId?: string | null | undefined;
|
|
354
369
|
createdAt: Date;
|
|
355
370
|
updatedAt: Date;
|
|
356
371
|
questions: {
|
|
@@ -373,6 +388,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
373
388
|
alias: string;
|
|
374
389
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
375
390
|
toolOptionId?: string | null | undefined;
|
|
391
|
+
categoryId?: string | null | undefined;
|
|
376
392
|
createdAt: Date;
|
|
377
393
|
updatedAt: Date;
|
|
378
394
|
questions: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-page-by-alias.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-alias.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"find-page-by-alias.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-alias.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,sBAAsB,CAAC;IAC7B,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;IAE/C,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEhC,CAAC;IAEI,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAE9B,CAAC;IAEH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEhE,KAAY,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;CACtE"}
|
|
@@ -35,6 +35,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
35
35
|
alias: z.ZodString;
|
|
36
36
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof TOOL_TYPE>>>;
|
|
37
37
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
39
|
createdAt: z.ZodDate;
|
|
39
40
|
updatedAt: z.ZodDate;
|
|
40
41
|
} & {
|
|
@@ -70,6 +71,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
70
71
|
alias: string;
|
|
71
72
|
toolType?: TOOL_TYPE | null | undefined;
|
|
72
73
|
toolOptionId?: string | null | undefined;
|
|
74
|
+
categoryId?: string | null | undefined;
|
|
73
75
|
createdAt: Date;
|
|
74
76
|
updatedAt: Date;
|
|
75
77
|
questions: {
|
|
@@ -90,6 +92,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
90
92
|
alias: string;
|
|
91
93
|
toolType?: TOOL_TYPE | null | undefined;
|
|
92
94
|
toolOptionId?: string | null | undefined;
|
|
95
|
+
categoryId?: string | null | undefined;
|
|
93
96
|
createdAt: Date;
|
|
94
97
|
updatedAt: Date;
|
|
95
98
|
questions: {
|
|
@@ -114,6 +117,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
114
117
|
alias: string;
|
|
115
118
|
toolType?: TOOL_TYPE | null | undefined;
|
|
116
119
|
toolOptionId?: string | null | undefined;
|
|
120
|
+
categoryId?: string | null | undefined;
|
|
117
121
|
createdAt: Date;
|
|
118
122
|
updatedAt: Date;
|
|
119
123
|
questions: {
|
|
@@ -138,6 +142,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
138
142
|
alias: string;
|
|
139
143
|
toolType?: TOOL_TYPE | null | undefined;
|
|
140
144
|
toolOptionId?: string | null | undefined;
|
|
145
|
+
categoryId?: string | null | undefined;
|
|
141
146
|
createdAt: Date;
|
|
142
147
|
updatedAt: Date;
|
|
143
148
|
questions: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-page-by-criteria.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-criteria.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;MAO7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"find-page-by-criteria.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-criteria.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;MAO7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|