@ai-grator/api 0.3.76 → 0.3.78
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/admin/endpoints/admin.ts +20 -0
- package/admin/endpoints/commands/ban-admin-antifraud-check-value.command.ts +37 -0
- package/admin/endpoints/commands/create-admin-preset-category.command.ts +29 -0
- package/admin/endpoints/commands/create-admin-preset.command.ts +30 -0
- package/admin/endpoints/commands/delete-admin-preset-category.command.ts +29 -0
- package/admin/endpoints/commands/delete-admin-preset.command.ts +28 -0
- package/admin/endpoints/commands/index.ts +10 -0
- package/admin/endpoints/commands/reorder-admin-preset-categories.command.ts +33 -0
- package/admin/endpoints/commands/reorder-admin-presets.command.ts +33 -0
- package/admin/endpoints/commands/update-admin-preset-category.command.ts +36 -0
- package/admin/endpoints/commands/update-admin-preset-status.command.ts +37 -0
- package/admin/endpoints/commands/update-admin-preset.command.ts +36 -0
- package/admin/endpoints/queries/get-admin-antifraud-checks.query.ts +35 -0
- package/admin/endpoints/queries/get-admin-preset-categories.query.ts +22 -0
- package/admin/endpoints/queries/get-admin-preset.query.ts +29 -0
- package/admin/endpoints/queries/get-admin-presets.query.ts +37 -0
- package/admin/endpoints/queries/index.ts +4 -0
- package/admin/enums/admin-antifraud-check-reason.enum.ts +5 -0
- package/admin/enums/index.ts +1 -0
- package/admin/models/admin-antifraud-check-response.schema.ts +27 -0
- package/admin/models/admin-preset-category-response.schema.ts +14 -0
- package/admin/models/admin-preset-response.schema.ts +67 -0
- package/admin/models/index.ts +3 -0
- package/build/admin/endpoints/admin.d.ts +14 -0
- package/build/admin/endpoints/admin.d.ts.map +1 -1
- package/build/admin/endpoints/admin.js +17 -0
- package/build/admin/endpoints/commands/ban-admin-antifraud-check-value.command.d.ts +71 -0
- package/build/admin/endpoints/commands/ban-admin-antifraud-check-value.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/ban-admin-antifraud-check-value.command.js +32 -0
- package/build/admin/endpoints/commands/create-admin-preset-category.command.d.ts +51 -0
- package/build/admin/endpoints/commands/create-admin-preset-category.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/create-admin-preset-category.command.js +25 -0
- package/build/admin/endpoints/commands/create-admin-preset.command.d.ts +490 -0
- package/build/admin/endpoints/commands/create-admin-preset.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/create-admin-preset.command.js +26 -0
- package/build/admin/endpoints/commands/delete-admin-preset-category.command.d.ts +27 -0
- package/build/admin/endpoints/commands/delete-admin-preset-category.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/delete-admin-preset-category.command.js +26 -0
- package/build/admin/endpoints/commands/delete-admin-preset.command.d.ts +26 -0
- package/build/admin/endpoints/commands/delete-admin-preset.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/delete-admin-preset.command.js +25 -0
- package/build/admin/endpoints/commands/index.d.ts +10 -0
- package/build/admin/endpoints/commands/index.d.ts.map +1 -1
- package/build/admin/endpoints/commands/index.js +10 -0
- package/build/admin/endpoints/commands/reorder-admin-preset-categories.command.d.ts +26 -0
- package/build/admin/endpoints/commands/reorder-admin-preset-categories.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/reorder-admin-preset-categories.command.js +28 -0
- package/build/admin/endpoints/commands/reorder-admin-presets.command.d.ts +29 -0
- package/build/admin/endpoints/commands/reorder-admin-presets.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/reorder-admin-presets.command.js +30 -0
- package/build/admin/endpoints/commands/update-admin-preset-category.command.d.ts +59 -0
- package/build/admin/endpoints/commands/update-admin-preset-category.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/update-admin-preset-category.command.js +31 -0
- package/build/admin/endpoints/commands/update-admin-preset-status.command.d.ts +312 -0
- package/build/admin/endpoints/commands/update-admin-preset-status.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/update-admin-preset-status.command.js +32 -0
- package/build/admin/endpoints/commands/update-admin-preset.command.d.ts +497 -0
- package/build/admin/endpoints/commands/update-admin-preset.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/update-admin-preset.command.js +31 -0
- package/build/admin/endpoints/queries/get-admin-antifraud-checks.query.d.ts +78 -0
- package/build/admin/endpoints/queries/get-admin-antifraud-checks.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-antifraud-checks.query.js +32 -0
- package/build/admin/endpoints/queries/get-admin-preset-categories.query.d.ts +38 -0
- package/build/admin/endpoints/queries/get-admin-preset-categories.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-preset-categories.query.js +21 -0
- package/build/admin/endpoints/queries/get-admin-preset.query.d.ts +304 -0
- package/build/admin/endpoints/queries/get-admin-preset.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-preset.query.js +26 -0
- package/build/admin/endpoints/queries/get-admin-presets.query.d.ts +141 -0
- package/build/admin/endpoints/queries/get-admin-presets.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-presets.query.js +34 -0
- package/build/admin/endpoints/queries/index.d.ts +4 -0
- package/build/admin/endpoints/queries/index.d.ts.map +1 -1
- package/build/admin/endpoints/queries/index.js +4 -0
- package/build/admin/enums/admin-antifraud-check-reason.enum.d.ts +6 -0
- package/build/admin/enums/admin-antifraud-check-reason.enum.d.ts.map +1 -0
- package/build/admin/enums/admin-antifraud-check-reason.enum.js +9 -0
- package/build/admin/enums/index.d.ts +1 -0
- package/build/admin/enums/index.d.ts.map +1 -1
- package/build/admin/enums/index.js +1 -0
- package/build/admin/models/admin-antifraud-check-response.schema.d.ts +34 -0
- package/build/admin/models/admin-antifraud-check-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-antifraud-check-response.schema.js +23 -0
- package/build/admin/models/admin-preset-category-response.schema.d.ts +13 -0
- package/build/admin/models/admin-preset-category-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-preset-category-response.schema.js +14 -0
- package/build/admin/models/admin-preset-response.schema.d.ts +205 -0
- package/build/admin/models/admin-preset-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-preset-response.schema.js +52 -0
- package/build/admin/models/index.d.ts +3 -0
- package/build/admin/models/index.d.ts.map +1 -1
- package/build/admin/models/index.js +3 -0
- package/build/chat/endpoints/commands/create-chat.command.d.ts +8 -0
- package/build/chat/endpoints/commands/create-chat.command.d.ts.map +1 -1
- package/build/chat/endpoints/commands/update-chat.command.d.ts +8 -0
- package/build/chat/endpoints/commands/update-chat.command.d.ts.map +1 -1
- package/build/chat/endpoints/queries/get-chat-by-uuid.query.d.ts +8 -0
- package/build/chat/endpoints/queries/get-chat-by-uuid.query.d.ts.map +1 -1
- package/build/chat/endpoints/queries/get-chats.query.d.ts +10 -0
- package/build/chat/endpoints/queries/get-chats.query.d.ts.map +1 -1
- package/build/chat/endpoints/queries/get-chats.query.js +4 -1
- package/build/chat/models/chat-response.schema.d.ts +4 -0
- package/build/chat/models/chat-response.schema.d.ts.map +1 -1
- package/build/chat/models/chat-response.schema.js +2 -0
- package/build/errors/errors.d.ts +224 -5
- package/build/errors/errors.d.ts.map +1 -1
- package/build/errors/errors.js +224 -5
- package/build/generation-job/endpoints/commands/create-generation-job.command.d.ts +8 -0
- package/build/generation-job/endpoints/commands/create-generation-job.command.d.ts.map +1 -1
- package/build/generation-job/endpoints/commands/update-generation-job.command.d.ts +8 -0
- package/build/generation-job/endpoints/commands/update-generation-job.command.d.ts.map +1 -1
- package/build/generation-job/endpoints/queries/get-generation-job-by-uuid.query.d.ts +8 -0
- package/build/generation-job/endpoints/queries/get-generation-job-by-uuid.query.d.ts.map +1 -1
- package/build/generation-job/endpoints/queries/get-generation-job-history.query.d.ts +14 -0
- package/build/generation-job/endpoints/queries/get-generation-job-history.query.d.ts.map +1 -1
- package/build/generation-job/endpoints/queries/get-generation-job-history.query.js +2 -0
- package/build/generation-job/endpoints/queries/get-generation-jobs.query.d.ts +10 -0
- package/build/generation-job/endpoints/queries/get-generation-jobs.query.d.ts.map +1 -1
- package/build/generation-job/endpoints/queries/get-generation-jobs.query.js +2 -0
- package/build/generation-job/models/generation-job-response.schema.d.ts +4 -0
- package/build/generation-job/models/generation-job-response.schema.d.ts.map +1 -1
- package/build/generation-job/models/generation-job-response.schema.js +2 -0
- package/build/generation-job-chat/endpoints/commands/create-generation-job-chat.command.d.ts +8 -0
- package/build/generation-job-chat/endpoints/commands/create-generation-job-chat.command.d.ts.map +1 -1
- package/build/generation-job-chat/endpoints/commands/update-generation-job-chat.command.d.ts +8 -0
- package/build/generation-job-chat/endpoints/commands/update-generation-job-chat.command.d.ts.map +1 -1
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chat-by-uuid.query.d.ts +8 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chat-by-uuid.query.d.ts.map +1 -1
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chats.query.d.ts +10 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chats.query.d.ts.map +1 -1
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chats.query.js +2 -0
- package/build/generation-job-chat/models/generation-job-chat-response.schema.d.ts +4 -0
- package/build/generation-job-chat/models/generation-job-chat-response.schema.d.ts.map +1 -1
- package/build/generation-job-chat/models/generation-job-chat-response.schema.js +2 -0
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -0
- package/build/preset/endpoints/commands/add-preset-favorite.command.d.ts +25 -0
- package/build/preset/endpoints/commands/add-preset-favorite.command.d.ts.map +1 -0
- package/build/preset/endpoints/commands/add-preset-favorite.command.js +22 -0
- package/build/preset/endpoints/commands/index.d.ts +5 -0
- package/build/preset/endpoints/commands/index.d.ts.map +1 -0
- package/build/preset/endpoints/commands/index.js +20 -0
- package/build/preset/endpoints/commands/prepare-preset.command.d.ts +198 -0
- package/build/preset/endpoints/commands/prepare-preset.command.d.ts.map +1 -0
- package/build/preset/endpoints/commands/prepare-preset.command.js +41 -0
- package/build/preset/endpoints/commands/remove-preset-favorite.command.d.ts +25 -0
- package/build/preset/endpoints/commands/remove-preset-favorite.command.d.ts.map +1 -0
- package/build/preset/endpoints/commands/remove-preset-favorite.command.js +22 -0
- package/build/preset/endpoints/commands/run-preset.command.d.ts +387 -0
- package/build/preset/endpoints/commands/run-preset.command.d.ts.map +1 -0
- package/build/preset/endpoints/commands/run-preset.command.js +55 -0
- package/build/preset/endpoints/index.d.ts +4 -0
- package/build/preset/endpoints/index.d.ts.map +1 -0
- package/build/preset/endpoints/index.js +19 -0
- package/build/preset/endpoints/preset.d.ts +16 -0
- package/build/preset/endpoints/preset.d.ts.map +1 -0
- package/build/preset/endpoints/preset.js +18 -0
- package/build/preset/endpoints/queries/get-preset-price.query.d.ts +62 -0
- package/build/preset/endpoints/queries/get-preset-price.query.d.ts.map +1 -0
- package/build/preset/endpoints/queries/get-preset-price.query.js +30 -0
- package/build/preset/endpoints/queries/get-preset-results.query.d.ts +74 -0
- package/build/preset/endpoints/queries/get-preset-results.query.d.ts.map +1 -0
- package/build/preset/endpoints/queries/get-preset-results.query.js +32 -0
- package/build/preset/endpoints/queries/get-public-preset-by-slug.query.d.ts +334 -0
- package/build/preset/endpoints/queries/get-public-preset-by-slug.query.d.ts.map +1 -0
- package/build/preset/endpoints/queries/get-public-preset-by-slug.query.js +25 -0
- package/build/preset/endpoints/queries/index.d.ts +6 -0
- package/build/preset/endpoints/queries/index.d.ts.map +1 -0
- package/build/preset/endpoints/queries/index.js +21 -0
- package/build/preset/endpoints/queries/list-public-preset-categories.query.d.ts +28 -0
- package/build/preset/endpoints/queries/list-public-preset-categories.query.d.ts.map +1 -0
- package/build/preset/endpoints/queries/list-public-preset-categories.query.js +19 -0
- package/build/preset/endpoints/queries/list-public-presets.query.d.ts +122 -0
- package/build/preset/endpoints/queries/list-public-presets.query.d.ts.map +1 -0
- package/build/preset/endpoints/queries/list-public-presets.query.js +32 -0
- package/build/preset/enums/index.d.ts +10 -0
- package/build/preset/enums/index.d.ts.map +1 -0
- package/build/preset/enums/index.js +25 -0
- package/build/preset/enums/preset-card-media-type.enum.d.ts +6 -0
- package/build/preset/enums/preset-card-media-type.enum.d.ts.map +1 -0
- package/build/preset/enums/preset-card-media-type.enum.js +9 -0
- package/build/preset/enums/preset-example-type.enum.d.ts +5 -0
- package/build/preset/enums/preset-example-type.enum.d.ts.map +1 -0
- package/build/preset/enums/preset-example-type.enum.js +8 -0
- package/build/preset/enums/preset-field-type.enum.d.ts +6 -0
- package/build/preset/enums/preset-field-type.enum.d.ts.map +1 -0
- package/build/preset/enums/preset-field-type.enum.js +9 -0
- package/build/preset/enums/preset-filter.enum.d.ts +6 -0
- package/build/preset/enums/preset-filter.enum.d.ts.map +1 -0
- package/build/preset/enums/preset-filter.enum.js +9 -0
- package/build/preset/enums/preset-limits.d.ts +30 -0
- package/build/preset/enums/preset-limits.d.ts.map +1 -0
- package/build/preset/enums/preset-limits.js +32 -0
- package/build/preset/enums/preset-result-type.enum.d.ts +5 -0
- package/build/preset/enums/preset-result-type.enum.d.ts.map +1 -0
- package/build/preset/enums/preset-result-type.enum.js +8 -0
- package/build/preset/enums/preset-select-display.enum.d.ts +7 -0
- package/build/preset/enums/preset-select-display.enum.d.ts.map +1 -0
- package/build/preset/enums/preset-select-display.enum.js +10 -0
- package/build/preset/enums/preset-status.enum.d.ts +5 -0
- package/build/preset/enums/preset-status.enum.d.ts.map +1 -0
- package/build/preset/enums/preset-status.enum.js +8 -0
- package/build/preset/enums/preset-tool.enum.d.ts +6 -0
- package/build/preset/enums/preset-tool.enum.d.ts.map +1 -0
- package/build/preset/enums/preset-tool.enum.js +9 -0
- package/build/preset/helpers/index.d.ts +3 -0
- package/build/preset/helpers/index.d.ts.map +1 -0
- package/build/preset/helpers/index.js +18 -0
- package/build/preset/helpers/preset-prompt-placeholder.helper.d.ts +4 -0
- package/build/preset/helpers/preset-prompt-placeholder.helper.d.ts.map +1 -0
- package/build/preset/helpers/preset-prompt-placeholder.helper.js +12 -0
- package/build/preset/helpers/preset-tag.helper.d.ts +3 -0
- package/build/preset/helpers/preset-tag.helper.d.ts.map +1 -0
- package/build/preset/helpers/preset-tag.helper.js +9 -0
- package/build/preset/index.d.ts +5 -0
- package/build/preset/index.d.ts.map +1 -0
- package/build/preset/index.js +20 -0
- package/build/preset/models/index.d.ts +9 -0
- package/build/preset/models/index.d.ts.map +1 -0
- package/build/preset/models/index.js +24 -0
- package/build/preset/models/preset-common.schema.d.ts +23 -0
- package/build/preset/models/preset-common.schema.d.ts.map +1 -0
- package/build/preset/models/preset-common.schema.js +26 -0
- package/build/preset/models/preset-field-value.schema.d.ts +51 -0
- package/build/preset/models/preset-field-value.schema.d.ts.map +1 -0
- package/build/preset/models/preset-field-value.schema.js +44 -0
- package/build/preset/models/preset-field.schema.d.ts +310 -0
- package/build/preset/models/preset-field.schema.d.ts.map +1 -0
- package/build/preset/models/preset-field.schema.js +186 -0
- package/build/preset/models/preset-input.schema.d.ts +106 -0
- package/build/preset/models/preset-input.schema.d.ts.map +1 -0
- package/build/preset/models/preset-input.schema.js +97 -0
- package/build/preset/models/preset-media.schema.d.ts +81 -0
- package/build/preset/models/preset-media.schema.d.ts.map +1 -0
- package/build/preset/models/preset-media.schema.js +75 -0
- package/build/preset/models/preset-result.schema.d.ts +23 -0
- package/build/preset/models/preset-result.schema.d.ts.map +1 -0
- package/build/preset/models/preset-result.schema.js +21 -0
- package/build/preset/models/preset-tag.schema.d.ts +10 -0
- package/build/preset/models/preset-tag.schema.d.ts.map +1 -0
- package/build/preset/models/preset-tag.schema.js +11 -0
- package/build/preset/models/public-preset.schema.d.ts +322 -0
- package/build/preset/models/public-preset.schema.d.ts.map +1 -0
- package/build/preset/models/public-preset.schema.js +50 -0
- package/build/trend/endpoints/commands/generate-trend.command.d.ts +8 -0
- package/build/trend/endpoints/commands/generate-trend.command.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/chat/endpoints/queries/get-chats.query.ts +4 -1
- package/chat/models/chat-response.schema.ts +2 -0
- package/errors/errors.ts +224 -5
- package/generation-job/endpoints/queries/get-generation-job-history.query.ts +2 -0
- package/generation-job/endpoints/queries/get-generation-jobs.query.ts +2 -0
- package/generation-job/models/generation-job-response.schema.ts +2 -0
- package/generation-job-chat/endpoints/queries/get-generation-job-chats.query.ts +2 -0
- package/generation-job-chat/models/generation-job-chat-response.schema.ts +2 -0
- package/index.ts +1 -0
- package/package.json +1 -1
- package/preset/endpoints/commands/add-preset-favorite.command.ts +26 -0
- package/preset/endpoints/commands/index.ts +4 -0
- package/preset/endpoints/commands/prepare-preset.command.ts +47 -0
- package/preset/endpoints/commands/remove-preset-favorite.command.ts +26 -0
- package/preset/endpoints/commands/run-preset.command.ts +65 -0
- package/preset/endpoints/index.ts +3 -0
- package/preset/endpoints/preset.ts +18 -0
- package/preset/endpoints/queries/get-preset-price.query.ts +35 -0
- package/preset/endpoints/queries/get-preset-results.query.ts +37 -0
- package/preset/endpoints/queries/get-public-preset-by-slug.query.ts +30 -0
- package/preset/endpoints/queries/index.ts +5 -0
- package/preset/endpoints/queries/list-public-preset-categories.query.ts +20 -0
- package/preset/endpoints/queries/list-public-presets.query.ts +35 -0
- package/preset/enums/index.ts +9 -0
- package/preset/enums/preset-card-media-type.enum.ts +5 -0
- package/preset/enums/preset-example-type.enum.ts +4 -0
- package/preset/enums/preset-field-type.enum.ts +5 -0
- package/preset/enums/preset-filter.enum.ts +5 -0
- package/preset/enums/preset-limits.ts +33 -0
- package/preset/enums/preset-result-type.enum.ts +4 -0
- package/preset/enums/preset-select-display.enum.ts +6 -0
- package/preset/enums/preset-status.enum.ts +4 -0
- package/preset/enums/preset-tool.enum.ts +5 -0
- package/preset/helpers/index.ts +2 -0
- package/preset/helpers/preset-prompt-placeholder.helper.ts +9 -0
- package/preset/helpers/preset-tag.helper.ts +9 -0
- package/preset/index.ts +4 -0
- package/preset/models/index.ts +8 -0
- package/preset/models/preset-common.schema.ts +45 -0
- package/preset/models/preset-field-value.schema.ts +51 -0
- package/preset/models/preset-field.schema.ts +251 -0
- package/preset/models/preset-input.schema.ts +129 -0
- package/preset/models/preset-media.schema.ts +94 -0
- package/preset/models/preset-result.schema.ts +21 -0
- package/preset/models/preset-tag.schema.ts +13 -0
- package/preset/models/public-preset.schema.ts +68 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const GetAdminPresetCategoriesQueryResponse: z.ZodObject<{
|
|
4
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
5
|
+
uuid: z.ZodUUID;
|
|
6
|
+
slug: z.ZodString;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
icon: z.ZodString;
|
|
9
|
+
order: z.ZodInt;
|
|
10
|
+
isActive: z.ZodBoolean;
|
|
11
|
+
createdAt: z.ZodISODateTime;
|
|
12
|
+
updatedAt: z.ZodISODateTime;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export declare const GetAdminPresetCategoriesQuery: {
|
|
16
|
+
method: HTTP_METHODS.GET;
|
|
17
|
+
path: "preset-categories";
|
|
18
|
+
summary: string;
|
|
19
|
+
responses: {
|
|
20
|
+
200: z.ZodObject<{
|
|
21
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
22
|
+
uuid: z.ZodUUID;
|
|
23
|
+
slug: z.ZodString;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
icon: z.ZodString;
|
|
26
|
+
order: z.ZodInt;
|
|
27
|
+
isActive: z.ZodBoolean;
|
|
28
|
+
createdAt: z.ZodISODateTime;
|
|
29
|
+
updatedAt: z.ZodISODateTime;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
33
|
+
403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
34
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type GetAdminPresetCategoriesQueryResponseType = z.infer<typeof GetAdminPresetCategoriesQueryResponse>;
|
|
38
|
+
//# sourceMappingURL=get-admin-preset-categories.query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-admin-preset-categories.query.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/get-admin-preset-categories.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,qCAAqC;;;;;;;;;;;iBAEhD,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;CAUxC,CAAC;AAEH,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAdminPresetCategoriesQuery = exports.GetAdminPresetCategoriesQueryResponse = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
const admin_1 = require("../admin");
|
|
8
|
+
exports.GetAdminPresetCategoriesQueryResponse = zod_1.z.object({
|
|
9
|
+
categories: zod_1.z.array(models_1.AdminPresetCategoryResponseSchema),
|
|
10
|
+
});
|
|
11
|
+
exports.GetAdminPresetCategoriesQuery = (0, _common_1.defineContract)({
|
|
12
|
+
method: _common_1.HTTP_METHODS.GET,
|
|
13
|
+
path: admin_1.ADMIN_ROUTES.GET_PRESET_CATEGORIES,
|
|
14
|
+
summary: 'Get all preset categories ordered by order',
|
|
15
|
+
responses: {
|
|
16
|
+
200: exports.GetAdminPresetCategoriesQueryResponse,
|
|
17
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
18
|
+
403: _common_1.HttpErrorResponseSchema,
|
|
19
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const GetAdminPresetQueryParams: z.ZodObject<{
|
|
4
|
+
presetId: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const GetAdminPresetQueryResponse: z.ZodObject<{
|
|
7
|
+
uuid: z.ZodUUID;
|
|
8
|
+
slug: z.ZodString;
|
|
9
|
+
status: z.ZodEnum<typeof import("../../..").PRESET_STATUS>;
|
|
10
|
+
order: z.ZodInt;
|
|
11
|
+
category: z.ZodObject<{
|
|
12
|
+
uuid: z.ZodUUID;
|
|
13
|
+
slug: z.ZodString;
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
title: z.ZodString;
|
|
17
|
+
shortDescription: z.ZodString;
|
|
18
|
+
description: z.ZodString;
|
|
19
|
+
badge: z.ZodNullable<z.ZodString>;
|
|
20
|
+
tool: z.ZodEnum<typeof import("../../..").PRESET_TOOL>;
|
|
21
|
+
generationModel: z.ZodNullable<z.ZodObject<{
|
|
22
|
+
uuid: z.ZodUUID;
|
|
23
|
+
title: z.ZodString;
|
|
24
|
+
isActive: z.ZodBoolean;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
aiModel: z.ZodNullable<z.ZodObject<{
|
|
27
|
+
uuid: z.ZodUUID;
|
|
28
|
+
title: z.ZodString;
|
|
29
|
+
isActive: z.ZodBoolean;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
promptTemplate: z.ZodString;
|
|
32
|
+
fixedParams: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
33
|
+
chatOptions: z.ZodNullable<z.ZodObject<{
|
|
34
|
+
reasoning: z.ZodDefault<z.ZodBoolean>;
|
|
35
|
+
webSearch: z.ZodDefault<z.ZodBoolean>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
cardMedia: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
38
|
+
type: z.ZodLiteral<import("../../..").PRESET_CARD_MEDIA_TYPE.IMAGE>;
|
|
39
|
+
image: z.ZodObject<{
|
|
40
|
+
uuid: z.ZodUUID;
|
|
41
|
+
url: z.ZodURL;
|
|
42
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
+
type: z.ZodLiteral<import("../../..").PRESET_CARD_MEDIA_TYPE.COMPARE>;
|
|
46
|
+
before: z.ZodObject<{
|
|
47
|
+
uuid: z.ZodUUID;
|
|
48
|
+
url: z.ZodURL;
|
|
49
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
after: z.ZodObject<{
|
|
52
|
+
uuid: z.ZodUUID;
|
|
53
|
+
url: z.ZodURL;
|
|
54
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
+
type: z.ZodLiteral<import("../../..").PRESET_CARD_MEDIA_TYPE.VIDEO>;
|
|
58
|
+
video: z.ZodObject<{
|
|
59
|
+
uuid: z.ZodUUID;
|
|
60
|
+
url: z.ZodURL;
|
|
61
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
cover: z.ZodObject<{
|
|
64
|
+
uuid: z.ZodUUID;
|
|
65
|
+
url: z.ZodURL;
|
|
66
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
}, z.core.$strip>], "type">;
|
|
69
|
+
example: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
70
|
+
type: z.ZodLiteral<import("../../..").PRESET_EXAMPLE_TYPE.MEDIA>;
|
|
71
|
+
items: z.ZodArray<z.ZodObject<{
|
|
72
|
+
file: z.ZodObject<{
|
|
73
|
+
uuid: z.ZodUUID;
|
|
74
|
+
url: z.ZodURL;
|
|
75
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
78
|
+
note: z.ZodNullable<z.ZodString>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
type: z.ZodLiteral<import("../../..").PRESET_EXAMPLE_TYPE.TEXT>;
|
|
82
|
+
context: z.ZodNullable<z.ZodString>;
|
|
83
|
+
source: z.ZodNullable<z.ZodString>;
|
|
84
|
+
text: z.ZodString;
|
|
85
|
+
}, z.core.$strip>], "type">>;
|
|
86
|
+
fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
87
|
+
key: z.ZodString;
|
|
88
|
+
label: z.ZodString;
|
|
89
|
+
required: z.ZodBoolean;
|
|
90
|
+
showIf: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
91
|
+
key: z.ZodString;
|
|
92
|
+
values: z.ZodArray<z.ZodString>;
|
|
93
|
+
}, z.core.$strip>>>;
|
|
94
|
+
type: z.ZodLiteral<import("../../..").PRESET_FIELD_TYPE.FILE>;
|
|
95
|
+
slot: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
96
|
+
minCount: z.ZodDefault<z.ZodInt>;
|
|
97
|
+
maxCount: z.ZodInt;
|
|
98
|
+
hint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
promptValue: z.ZodString;
|
|
100
|
+
promptFallback: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
key: z.ZodString;
|
|
103
|
+
label: z.ZodString;
|
|
104
|
+
required: z.ZodBoolean;
|
|
105
|
+
showIf: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
106
|
+
key: z.ZodString;
|
|
107
|
+
values: z.ZodArray<z.ZodString>;
|
|
108
|
+
}, z.core.$strip>>>;
|
|
109
|
+
type: z.ZodLiteral<import("../../..").PRESET_FIELD_TYPE.SELECT>;
|
|
110
|
+
display: z.ZodDefault<z.ZodEnum<typeof import("../../..").PRESET_SELECT_DISPLAY>>;
|
|
111
|
+
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
112
|
+
defaultValues: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
113
|
+
allowCustom: z.ZodDefault<z.ZodBoolean>;
|
|
114
|
+
customMaxLength: z.ZodDefault<z.ZodInt>;
|
|
115
|
+
customPlaceholder: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
options: z.ZodArray<z.ZodObject<{
|
|
117
|
+
value: z.ZodString;
|
|
118
|
+
label: z.ZodString;
|
|
119
|
+
promptValue: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
params: z.ZodDefault<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
121
|
+
previewFile: z.ZodNullable<z.ZodObject<{
|
|
122
|
+
uuid: z.ZodUUID;
|
|
123
|
+
url: z.ZodURL;
|
|
124
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
128
|
+
key: z.ZodString;
|
|
129
|
+
label: z.ZodString;
|
|
130
|
+
required: z.ZodBoolean;
|
|
131
|
+
showIf: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
132
|
+
key: z.ZodString;
|
|
133
|
+
values: z.ZodArray<z.ZodString>;
|
|
134
|
+
}, z.core.$strip>>>;
|
|
135
|
+
type: z.ZodLiteral<import("../../..").PRESET_FIELD_TYPE.TEXT>;
|
|
136
|
+
placeholder: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
multiline: z.ZodDefault<z.ZodBoolean>;
|
|
138
|
+
maxLength: z.ZodDefault<z.ZodInt>;
|
|
139
|
+
defaultValue: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
140
|
+
promptFallback: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
141
|
+
}, z.core.$strip>], "type">>;
|
|
142
|
+
requireOneOf: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
143
|
+
createdAt: z.ZodISODateTime;
|
|
144
|
+
updatedAt: z.ZodISODateTime;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
export declare const GetAdminPresetQuery: {
|
|
147
|
+
method: HTTP_METHODS.GET;
|
|
148
|
+
path: string;
|
|
149
|
+
summary: string;
|
|
150
|
+
request: {
|
|
151
|
+
params: z.ZodObject<{
|
|
152
|
+
presetId: z.ZodUUID;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
};
|
|
155
|
+
responses: {
|
|
156
|
+
200: z.ZodObject<{
|
|
157
|
+
uuid: z.ZodUUID;
|
|
158
|
+
slug: z.ZodString;
|
|
159
|
+
status: z.ZodEnum<typeof import("../../..").PRESET_STATUS>;
|
|
160
|
+
order: z.ZodInt;
|
|
161
|
+
category: z.ZodObject<{
|
|
162
|
+
uuid: z.ZodUUID;
|
|
163
|
+
slug: z.ZodString;
|
|
164
|
+
name: z.ZodString;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
title: z.ZodString;
|
|
167
|
+
shortDescription: z.ZodString;
|
|
168
|
+
description: z.ZodString;
|
|
169
|
+
badge: z.ZodNullable<z.ZodString>;
|
|
170
|
+
tool: z.ZodEnum<typeof import("../../..").PRESET_TOOL>;
|
|
171
|
+
generationModel: z.ZodNullable<z.ZodObject<{
|
|
172
|
+
uuid: z.ZodUUID;
|
|
173
|
+
title: z.ZodString;
|
|
174
|
+
isActive: z.ZodBoolean;
|
|
175
|
+
}, z.core.$strip>>;
|
|
176
|
+
aiModel: z.ZodNullable<z.ZodObject<{
|
|
177
|
+
uuid: z.ZodUUID;
|
|
178
|
+
title: z.ZodString;
|
|
179
|
+
isActive: z.ZodBoolean;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
promptTemplate: z.ZodString;
|
|
182
|
+
fixedParams: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
183
|
+
chatOptions: z.ZodNullable<z.ZodObject<{
|
|
184
|
+
reasoning: z.ZodDefault<z.ZodBoolean>;
|
|
185
|
+
webSearch: z.ZodDefault<z.ZodBoolean>;
|
|
186
|
+
}, z.core.$strip>>;
|
|
187
|
+
cardMedia: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
188
|
+
type: z.ZodLiteral<import("../../..").PRESET_CARD_MEDIA_TYPE.IMAGE>;
|
|
189
|
+
image: z.ZodObject<{
|
|
190
|
+
uuid: z.ZodUUID;
|
|
191
|
+
url: z.ZodURL;
|
|
192
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
195
|
+
type: z.ZodLiteral<import("../../..").PRESET_CARD_MEDIA_TYPE.COMPARE>;
|
|
196
|
+
before: z.ZodObject<{
|
|
197
|
+
uuid: z.ZodUUID;
|
|
198
|
+
url: z.ZodURL;
|
|
199
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
200
|
+
}, z.core.$strip>;
|
|
201
|
+
after: z.ZodObject<{
|
|
202
|
+
uuid: z.ZodUUID;
|
|
203
|
+
url: z.ZodURL;
|
|
204
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
207
|
+
type: z.ZodLiteral<import("../../..").PRESET_CARD_MEDIA_TYPE.VIDEO>;
|
|
208
|
+
video: z.ZodObject<{
|
|
209
|
+
uuid: z.ZodUUID;
|
|
210
|
+
url: z.ZodURL;
|
|
211
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
cover: z.ZodObject<{
|
|
214
|
+
uuid: z.ZodUUID;
|
|
215
|
+
url: z.ZodURL;
|
|
216
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
}, z.core.$strip>], "type">;
|
|
219
|
+
example: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
220
|
+
type: z.ZodLiteral<import("../../..").PRESET_EXAMPLE_TYPE.MEDIA>;
|
|
221
|
+
items: z.ZodArray<z.ZodObject<{
|
|
222
|
+
file: z.ZodObject<{
|
|
223
|
+
uuid: z.ZodUUID;
|
|
224
|
+
url: z.ZodURL;
|
|
225
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
228
|
+
note: z.ZodNullable<z.ZodString>;
|
|
229
|
+
}, z.core.$strip>>;
|
|
230
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
231
|
+
type: z.ZodLiteral<import("../../..").PRESET_EXAMPLE_TYPE.TEXT>;
|
|
232
|
+
context: z.ZodNullable<z.ZodString>;
|
|
233
|
+
source: z.ZodNullable<z.ZodString>;
|
|
234
|
+
text: z.ZodString;
|
|
235
|
+
}, z.core.$strip>], "type">>;
|
|
236
|
+
fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
237
|
+
key: z.ZodString;
|
|
238
|
+
label: z.ZodString;
|
|
239
|
+
required: z.ZodBoolean;
|
|
240
|
+
showIf: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
241
|
+
key: z.ZodString;
|
|
242
|
+
values: z.ZodArray<z.ZodString>;
|
|
243
|
+
}, z.core.$strip>>>;
|
|
244
|
+
type: z.ZodLiteral<import("../../..").PRESET_FIELD_TYPE.FILE>;
|
|
245
|
+
slot: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
246
|
+
minCount: z.ZodDefault<z.ZodInt>;
|
|
247
|
+
maxCount: z.ZodInt;
|
|
248
|
+
hint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
249
|
+
promptValue: z.ZodString;
|
|
250
|
+
promptFallback: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
252
|
+
key: z.ZodString;
|
|
253
|
+
label: z.ZodString;
|
|
254
|
+
required: z.ZodBoolean;
|
|
255
|
+
showIf: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
256
|
+
key: z.ZodString;
|
|
257
|
+
values: z.ZodArray<z.ZodString>;
|
|
258
|
+
}, z.core.$strip>>>;
|
|
259
|
+
type: z.ZodLiteral<import("../../..").PRESET_FIELD_TYPE.SELECT>;
|
|
260
|
+
display: z.ZodDefault<z.ZodEnum<typeof import("../../..").PRESET_SELECT_DISPLAY>>;
|
|
261
|
+
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
262
|
+
defaultValues: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
263
|
+
allowCustom: z.ZodDefault<z.ZodBoolean>;
|
|
264
|
+
customMaxLength: z.ZodDefault<z.ZodInt>;
|
|
265
|
+
customPlaceholder: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
266
|
+
options: z.ZodArray<z.ZodObject<{
|
|
267
|
+
value: z.ZodString;
|
|
268
|
+
label: z.ZodString;
|
|
269
|
+
promptValue: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
270
|
+
params: z.ZodDefault<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
271
|
+
previewFile: z.ZodNullable<z.ZodObject<{
|
|
272
|
+
uuid: z.ZodUUID;
|
|
273
|
+
url: z.ZodURL;
|
|
274
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
275
|
+
}, z.core.$strip>>;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
278
|
+
key: z.ZodString;
|
|
279
|
+
label: z.ZodString;
|
|
280
|
+
required: z.ZodBoolean;
|
|
281
|
+
showIf: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
282
|
+
key: z.ZodString;
|
|
283
|
+
values: z.ZodArray<z.ZodString>;
|
|
284
|
+
}, z.core.$strip>>>;
|
|
285
|
+
type: z.ZodLiteral<import("../../..").PRESET_FIELD_TYPE.TEXT>;
|
|
286
|
+
placeholder: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
287
|
+
multiline: z.ZodDefault<z.ZodBoolean>;
|
|
288
|
+
maxLength: z.ZodDefault<z.ZodInt>;
|
|
289
|
+
defaultValue: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
290
|
+
promptFallback: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
291
|
+
}, z.core.$strip>], "type">>;
|
|
292
|
+
requireOneOf: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
293
|
+
createdAt: z.ZodISODateTime;
|
|
294
|
+
updatedAt: z.ZodISODateTime;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
297
|
+
403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
298
|
+
404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
299
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
export type GetAdminPresetQueryParamsType = z.infer<typeof GetAdminPresetQueryParams>;
|
|
303
|
+
export type GetAdminPresetQueryResponseType = z.infer<typeof GetAdminPresetQueryResponse>;
|
|
304
|
+
//# sourceMappingURL=get-admin-preset.query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-admin-preset.query.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/get-admin-preset.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,yBAAyB;;iBAEpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA4B,CAAC;AAErE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc9B,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACtF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAdminPresetQuery = exports.GetAdminPresetQueryResponse = exports.GetAdminPresetQueryParams = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
const admin_1 = require("../admin");
|
|
8
|
+
exports.GetAdminPresetQueryParams = zod_1.z.object({
|
|
9
|
+
presetId: zod_1.z.uuid(),
|
|
10
|
+
});
|
|
11
|
+
exports.GetAdminPresetQueryResponse = models_1.AdminPresetResponseSchema;
|
|
12
|
+
exports.GetAdminPresetQuery = (0, _common_1.defineContract)({
|
|
13
|
+
method: _common_1.HTTP_METHODS.GET,
|
|
14
|
+
path: admin_1.ADMIN_ROUTES.GET_PRESET(':presetId'),
|
|
15
|
+
summary: 'Get preset with fields, media and example',
|
|
16
|
+
request: {
|
|
17
|
+
params: exports.GetAdminPresetQueryParams,
|
|
18
|
+
},
|
|
19
|
+
responses: {
|
|
20
|
+
200: exports.GetAdminPresetQueryResponse,
|
|
21
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
22
|
+
403: _common_1.HttpErrorResponseSchema,
|
|
23
|
+
404: _common_1.HttpErrorResponseSchema,
|
|
24
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const GetAdminPresetsQueryQuery: z.ZodObject<{
|
|
4
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
6
|
+
search: z.ZodOptional<z.ZodString>;
|
|
7
|
+
status: z.ZodOptional<z.ZodEnum<typeof import("../../../preset").PRESET_STATUS>>;
|
|
8
|
+
categoryId: z.ZodOptional<z.ZodUUID>;
|
|
9
|
+
tool: z.ZodOptional<z.ZodEnum<typeof import("../../../preset").PRESET_TOOL>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export declare const GetAdminPresetsQueryResponse: z.ZodObject<{
|
|
12
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
13
|
+
uuid: z.ZodUUID;
|
|
14
|
+
slug: z.ZodString;
|
|
15
|
+
status: z.ZodEnum<typeof import("../../../preset").PRESET_STATUS>;
|
|
16
|
+
order: z.ZodInt;
|
|
17
|
+
category: z.ZodObject<{
|
|
18
|
+
uuid: z.ZodUUID;
|
|
19
|
+
slug: z.ZodString;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
title: z.ZodString;
|
|
23
|
+
tool: z.ZodEnum<typeof import("../../../preset").PRESET_TOOL>;
|
|
24
|
+
modelTitle: z.ZodString;
|
|
25
|
+
isModelActive: z.ZodBoolean;
|
|
26
|
+
cardMedia: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27
|
+
type: z.ZodLiteral<import("../../../preset").PRESET_CARD_MEDIA_TYPE.IMAGE>;
|
|
28
|
+
image: z.ZodObject<{
|
|
29
|
+
uuid: z.ZodUUID;
|
|
30
|
+
url: z.ZodURL;
|
|
31
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
type: z.ZodLiteral<import("../../../preset").PRESET_CARD_MEDIA_TYPE.COMPARE>;
|
|
35
|
+
before: z.ZodObject<{
|
|
36
|
+
uuid: z.ZodUUID;
|
|
37
|
+
url: z.ZodURL;
|
|
38
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
after: z.ZodObject<{
|
|
41
|
+
uuid: z.ZodUUID;
|
|
42
|
+
url: z.ZodURL;
|
|
43
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
type: z.ZodLiteral<import("../../../preset").PRESET_CARD_MEDIA_TYPE.VIDEO>;
|
|
47
|
+
video: z.ZodObject<{
|
|
48
|
+
uuid: z.ZodUUID;
|
|
49
|
+
url: z.ZodURL;
|
|
50
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
cover: z.ZodObject<{
|
|
53
|
+
uuid: z.ZodUUID;
|
|
54
|
+
url: z.ZodURL;
|
|
55
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
}, z.core.$strip>], "type">>;
|
|
58
|
+
createdAt: z.ZodISODateTime;
|
|
59
|
+
updatedAt: z.ZodISODateTime;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
total: z.ZodNumber;
|
|
62
|
+
page: z.ZodNumber;
|
|
63
|
+
limit: z.ZodNumber;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
export declare const GetAdminPresetsQuery: {
|
|
66
|
+
method: HTTP_METHODS.GET;
|
|
67
|
+
path: "presets";
|
|
68
|
+
summary: string;
|
|
69
|
+
request: {
|
|
70
|
+
query: z.ZodObject<{
|
|
71
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
72
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
73
|
+
search: z.ZodOptional<z.ZodString>;
|
|
74
|
+
status: z.ZodOptional<z.ZodEnum<typeof import("../../../preset").PRESET_STATUS>>;
|
|
75
|
+
categoryId: z.ZodOptional<z.ZodUUID>;
|
|
76
|
+
tool: z.ZodOptional<z.ZodEnum<typeof import("../../../preset").PRESET_TOOL>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
};
|
|
79
|
+
responses: {
|
|
80
|
+
200: z.ZodObject<{
|
|
81
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
82
|
+
uuid: z.ZodUUID;
|
|
83
|
+
slug: z.ZodString;
|
|
84
|
+
status: z.ZodEnum<typeof import("../../../preset").PRESET_STATUS>;
|
|
85
|
+
order: z.ZodInt;
|
|
86
|
+
category: z.ZodObject<{
|
|
87
|
+
uuid: z.ZodUUID;
|
|
88
|
+
slug: z.ZodString;
|
|
89
|
+
name: z.ZodString;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
title: z.ZodString;
|
|
92
|
+
tool: z.ZodEnum<typeof import("../../../preset").PRESET_TOOL>;
|
|
93
|
+
modelTitle: z.ZodString;
|
|
94
|
+
isModelActive: z.ZodBoolean;
|
|
95
|
+
cardMedia: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
96
|
+
type: z.ZodLiteral<import("../../../preset").PRESET_CARD_MEDIA_TYPE.IMAGE>;
|
|
97
|
+
image: z.ZodObject<{
|
|
98
|
+
uuid: z.ZodUUID;
|
|
99
|
+
url: z.ZodURL;
|
|
100
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
type: z.ZodLiteral<import("../../../preset").PRESET_CARD_MEDIA_TYPE.COMPARE>;
|
|
104
|
+
before: z.ZodObject<{
|
|
105
|
+
uuid: z.ZodUUID;
|
|
106
|
+
url: z.ZodURL;
|
|
107
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
after: z.ZodObject<{
|
|
110
|
+
uuid: z.ZodUUID;
|
|
111
|
+
url: z.ZodURL;
|
|
112
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
+
type: z.ZodLiteral<import("../../../preset").PRESET_CARD_MEDIA_TYPE.VIDEO>;
|
|
116
|
+
video: z.ZodObject<{
|
|
117
|
+
uuid: z.ZodUUID;
|
|
118
|
+
url: z.ZodURL;
|
|
119
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
cover: z.ZodObject<{
|
|
122
|
+
uuid: z.ZodUUID;
|
|
123
|
+
url: z.ZodURL;
|
|
124
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
}, z.core.$strip>], "type">>;
|
|
127
|
+
createdAt: z.ZodISODateTime;
|
|
128
|
+
updatedAt: z.ZodISODateTime;
|
|
129
|
+
}, z.core.$strip>>;
|
|
130
|
+
total: z.ZodNumber;
|
|
131
|
+
page: z.ZodNumber;
|
|
132
|
+
limit: z.ZodNumber;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
135
|
+
403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
136
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export type GetAdminPresetsQueryQueryType = z.infer<typeof GetAdminPresetsQueryQuery>;
|
|
140
|
+
export type GetAdminPresetsQueryResponseType = z.infer<typeof GetAdminPresetsQueryResponse>;
|
|
141
|
+
//# sourceMappingURL=get-admin-presets.query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-admin-presets.query.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/get-admin-presets.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAA+C,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAKtH,eAAO,MAAM,yBAAyB;;;;;;;iBAKpC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKvC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa/B,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACtF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAdminPresetsQuery = exports.GetAdminPresetsQueryResponse = exports.GetAdminPresetsQueryQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const preset_1 = require("../../../preset");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
|
+
const admin_1 = require("../admin");
|
|
9
|
+
exports.GetAdminPresetsQueryQuery = (0, _common_1.defineOffsetPaginationQuery)().extend({
|
|
10
|
+
search: zod_1.z.string().trim().max(preset_1.PRESET_SEARCH_MAX_LENGTH).optional(),
|
|
11
|
+
status: preset_1.PresetStatusSchema.optional(),
|
|
12
|
+
categoryId: zod_1.z.uuid().optional(),
|
|
13
|
+
tool: preset_1.PresetToolSchema.optional(),
|
|
14
|
+
});
|
|
15
|
+
exports.GetAdminPresetsQueryResponse = zod_1.z.object({
|
|
16
|
+
presets: zod_1.z.array(models_1.AdminPresetListItemSchema),
|
|
17
|
+
total: zod_1.z.number().int().nonnegative(),
|
|
18
|
+
page: zod_1.z.number().int().positive(),
|
|
19
|
+
limit: zod_1.z.number().int().positive(),
|
|
20
|
+
});
|
|
21
|
+
exports.GetAdminPresetsQuery = (0, _common_1.defineContract)({
|
|
22
|
+
method: _common_1.HTTP_METHODS.GET,
|
|
23
|
+
path: admin_1.ADMIN_ROUTES.GET_PRESETS,
|
|
24
|
+
summary: 'Get presets list ordered by category and order',
|
|
25
|
+
request: {
|
|
26
|
+
query: exports.GetAdminPresetsQueryQuery,
|
|
27
|
+
},
|
|
28
|
+
responses: {
|
|
29
|
+
200: exports.GetAdminPresetsQueryResponse,
|
|
30
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
31
|
+
403: _common_1.HttpErrorResponseSchema,
|
|
32
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
@@ -26,4 +26,8 @@ export * from './get-admin-trends.query';
|
|
|
26
26
|
export * from './get-admin-trend.query';
|
|
27
27
|
export * from './get-admin-trend-categories.query';
|
|
28
28
|
export * from './get-admin-blacklist-entries.query';
|
|
29
|
+
export * from './get-admin-antifraud-checks.query';
|
|
30
|
+
export * from './get-admin-preset-categories.query';
|
|
31
|
+
export * from './get-admin-preset.query';
|
|
32
|
+
export * from './get-admin-presets.query';
|
|
29
33
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,oDAAoD,CAAC;AACnE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,oDAAoD,CAAC;AACnE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC"}
|
|
@@ -42,3 +42,7 @@ __exportStar(require("./get-admin-trends.query"), exports);
|
|
|
42
42
|
__exportStar(require("./get-admin-trend.query"), exports);
|
|
43
43
|
__exportStar(require("./get-admin-trend-categories.query"), exports);
|
|
44
44
|
__exportStar(require("./get-admin-blacklist-entries.query"), exports);
|
|
45
|
+
__exportStar(require("./get-admin-antifraud-checks.query"), exports);
|
|
46
|
+
__exportStar(require("./get-admin-preset-categories.query"), exports);
|
|
47
|
+
__exportStar(require("./get-admin-preset.query"), exports);
|
|
48
|
+
__exportStar(require("./get-admin-presets.query"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-antifraud-check-reason.enum.d.ts","sourceRoot":"","sources":["../../../admin/enums/admin-antifraud-check-reason.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,4BAA4B;IACpC,iBAAiB,sBAAsB;IACvC,QAAQ,aAAa;IACrB,qBAAqB,0BAA0B;CAClD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ADMIN_ANTIFRAUD_CHECK_REASON = void 0;
|
|
4
|
+
var ADMIN_ANTIFRAUD_CHECK_REASON;
|
|
5
|
+
(function (ADMIN_ANTIFRAUD_CHECK_REASON) {
|
|
6
|
+
ADMIN_ANTIFRAUD_CHECK_REASON["FINGERPRINT_MATCH"] = "fingerprint_match";
|
|
7
|
+
ADMIN_ANTIFRAUD_CHECK_REASON["IP_MATCH"] = "ip_match";
|
|
8
|
+
ADMIN_ANTIFRAUD_CHECK_REASON["CANONICAL_EMAIL_MATCH"] = "canonical_email_match";
|
|
9
|
+
})(ADMIN_ANTIFRAUD_CHECK_REASON || (exports.ADMIN_ANTIFRAUD_CHECK_REASON = ADMIN_ANTIFRAUD_CHECK_REASON = {}));
|
|
@@ -11,4 +11,5 @@ export * from './linked-accounts-period.enum';
|
|
|
11
11
|
export * from './admin-bulk-ban-result.enum';
|
|
12
12
|
export * from './admin-bulk-ban-skip-reason.enum';
|
|
13
13
|
export * from './admin-blacklist-entry-type.enum';
|
|
14
|
+
export * from './admin-antifraud-check-reason.enum';
|
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../admin/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../admin/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC"}
|
|
@@ -27,3 +27,4 @@ __exportStar(require("./linked-accounts-period.enum"), exports);
|
|
|
27
27
|
__exportStar(require("./admin-bulk-ban-result.enum"), exports);
|
|
28
28
|
__exportStar(require("./admin-bulk-ban-skip-reason.enum"), exports);
|
|
29
29
|
__exportStar(require("./admin-blacklist-entry-type.enum"), exports);
|
|
30
|
+
__exportStar(require("./admin-antifraud-check-reason.enum"), exports);
|