@purpleschool/multisite 0.0.34 → 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/auth.ts +1 -0
- 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/api/routes.ts +1 -0
- package/build/api/controller/http/auth.d.ts +1 -0
- package/build/api/controller/http/auth.d.ts.map +1 -1
- package/build/api/controller/http/auth.js +1 -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/api/routes.d.ts +1 -0
- package/build/api/routes.d.ts.map +1 -1
- package/build/api/routes.js +1 -0
- package/build/commands/auth/change-password.command.d.ts +5 -0
- package/build/commands/auth/change-password.command.d.ts.map +1 -1
- package/build/commands/auth/change-password.command.js +1 -0
- package/build/commands/auth/index.d.ts +1 -0
- package/build/commands/auth/index.d.ts.map +1 -1
- package/build/commands/auth/index.js +1 -0
- package/build/commands/auth/login.command.d.ts +5 -0
- package/build/commands/auth/login.command.d.ts.map +1 -1
- package/build/commands/auth/login.command.js +1 -0
- package/build/commands/auth/refresh.command.d.ts +30 -0
- package/build/commands/auth/refresh.command.d.ts.map +1 -0
- package/build/commands/auth/refresh.command.js +15 -0
- package/build/commands/auth/register.command.d.ts +5 -0
- package/build/commands/auth/register.command.d.ts.map +1 -1
- package/build/commands/auth/register.command.js +1 -0
- package/build/commands/auth/reset-password.command.d.ts +5 -0
- package/build/commands/auth/reset-password.command.d.ts.map +1 -1
- package/build/commands/auth/reset-password.command.js +1 -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/auth/vk-login.command.d.ts +5 -0
- package/build/commands/auth/vk-login.command.d.ts.map +1 -1
- package/build/commands/auth/vk-login.command.js +1 -0
- package/build/commands/auth/yandex-login.command.d.ts +5 -0
- package/build/commands/auth/yandex-login.command.d.ts.map +1 -1
- package/build/commands/auth/yandex-login.command.js +1 -0
- 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 +77 -0
- package/build/constants/errors/errors.d.ts.map +1 -1
- package/build/constants/errors/errors.js +77 -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/subscription/get-subscriptions-summary.command.d.ts +5 -0
- package/build/queries/subscription/get-subscriptions-summary.command.d.ts.map +1 -1
- package/build/queries/subscription/get-subscriptions-summary.command.js +1 -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/change-password.command.ts +1 -0
- package/commands/auth/index.ts +1 -0
- package/commands/auth/login.command.ts +1 -0
- package/commands/auth/refresh.command.ts +15 -0
- package/commands/auth/register.command.ts +1 -0
- package/commands/auth/reset-password.command.ts +1 -0
- package/commands/auth/verify-email.command.ts +2 -1
- package/commands/auth/vk-login.command.ts +1 -0
- package/commands/auth/yandex-login.command.ts +1 -0
- 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 +78 -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/subscription/get-subscriptions-summary.command.ts +1 -0
- package/queries/text-chat/category.ts +51 -0
- package/queries/text-chat/index.ts +56 -0
|
@@ -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"}
|
|
@@ -10,6 +10,7 @@ export declare namespace FindPageCommand {
|
|
|
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
|
}, "uuid">, "strip", z.ZodTypeAny, {
|
|
@@ -29,6 +30,7 @@ export declare namespace FindPageCommand {
|
|
|
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 FindPageCommand {
|
|
|
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 FindPageCommand {
|
|
|
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 FindPageCommand {
|
|
|
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 FindPageCommand {
|
|
|
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 FindPageCommand {
|
|
|
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 FindPageCommand {
|
|
|
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 FindPageCommand {
|
|
|
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 FindPageCommand {
|
|
|
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 FindPageCommand {
|
|
|
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: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,eAAe,CAAC;IACtB,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"find-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,eAAe,CAAC;IACtB,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,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAE/B,CAAC;IAEH,KAAY,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;CACrE"}
|
|
@@ -9,6 +9,7 @@ export declare namespace UpdatePageCommand {
|
|
|
9
9
|
alias: z.ZodOptional<z.ZodString>;
|
|
10
10
|
toolType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>>;
|
|
11
11
|
toolOptionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12
|
+
categoryId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12
13
|
}, "strip", z.ZodTypeAny, {
|
|
13
14
|
metaTitle?: string | undefined;
|
|
14
15
|
metaDescription?: string | undefined;
|
|
@@ -18,6 +19,7 @@ export declare namespace UpdatePageCommand {
|
|
|
18
19
|
alias?: string | undefined;
|
|
19
20
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
20
21
|
toolOptionId?: string | null | undefined;
|
|
22
|
+
categoryId?: string | null | undefined;
|
|
21
23
|
}, {
|
|
22
24
|
metaTitle?: string | undefined;
|
|
23
25
|
metaDescription?: string | undefined;
|
|
@@ -27,6 +29,7 @@ export declare namespace UpdatePageCommand {
|
|
|
27
29
|
alias?: string | undefined;
|
|
28
30
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
29
31
|
toolOptionId?: string | null | undefined;
|
|
32
|
+
categoryId?: string | null | undefined;
|
|
30
33
|
}>;
|
|
31
34
|
type Request = z.infer<typeof RequestSchema>;
|
|
32
35
|
const RequestParamSchema: z.ZodObject<{
|
|
@@ -48,6 +51,7 @@ export declare namespace UpdatePageCommand {
|
|
|
48
51
|
alias: z.ZodString;
|
|
49
52
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
50
53
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
55
|
createdAt: z.ZodDate;
|
|
52
56
|
updatedAt: z.ZodDate;
|
|
53
57
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -60,6 +64,7 @@ export declare namespace UpdatePageCommand {
|
|
|
60
64
|
alias: string;
|
|
61
65
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
62
66
|
toolOptionId?: string | null | undefined;
|
|
67
|
+
categoryId?: string | null | undefined;
|
|
63
68
|
createdAt: Date;
|
|
64
69
|
updatedAt: Date;
|
|
65
70
|
}, {
|
|
@@ -72,6 +77,7 @@ export declare namespace UpdatePageCommand {
|
|
|
72
77
|
alias: string;
|
|
73
78
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
74
79
|
toolOptionId?: string | null | undefined;
|
|
80
|
+
categoryId?: string | null | undefined;
|
|
75
81
|
createdAt: Date;
|
|
76
82
|
updatedAt: Date;
|
|
77
83
|
}>;
|
|
@@ -86,6 +92,7 @@ export declare namespace UpdatePageCommand {
|
|
|
86
92
|
alias: string;
|
|
87
93
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
88
94
|
toolOptionId?: string | null | undefined;
|
|
95
|
+
categoryId?: string | null | undefined;
|
|
89
96
|
createdAt: Date;
|
|
90
97
|
updatedAt: Date;
|
|
91
98
|
};
|
|
@@ -100,6 +107,7 @@ export declare namespace UpdatePageCommand {
|
|
|
100
107
|
alias: string;
|
|
101
108
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
102
109
|
toolOptionId?: string | null | undefined;
|
|
110
|
+
categoryId?: string | null | undefined;
|
|
103
111
|
createdAt: Date;
|
|
104
112
|
updatedAt: Date;
|
|
105
113
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/update-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"update-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/update-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAId,CAAC;IAEb,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fast-buy-product.command.d.ts","sourceRoot":"","sources":["../../../commands/product/fast-buy-product.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"fast-buy-product.command.d.ts","sourceRoot":"","sources":["../../../commands/product/fast-buy-product.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -3,13 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FastBuyProductCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const models_1 = require("../../models");
|
|
6
|
+
const user_schema_1 = require("../../models/user.schema");
|
|
6
7
|
var FastBuyProductCommand;
|
|
7
8
|
(function (FastBuyProductCommand) {
|
|
8
9
|
FastBuyProductCommand.RequestParamSchema = zod_1.z.object({
|
|
9
10
|
uuid: zod_1.z.string().uuid(),
|
|
10
11
|
});
|
|
11
12
|
FastBuyProductCommand.RequestSchema = zod_1.z.object({
|
|
12
|
-
email:
|
|
13
|
+
email: user_schema_1.EmailInputSchema,
|
|
13
14
|
partnerId: zod_1.z.string().uuid().optional(),
|
|
14
15
|
marketingConsent: zod_1.z.boolean().optional().default(false),
|
|
15
16
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fast-buy-subscription.command.d.ts","sourceRoot":"","sources":["../../../commands/subscription/fast-buy-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"fast-buy-subscription.command.d.ts","sourceRoot":"","sources":["../../../commands/subscription/fast-buy-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|