@veruna/api-contracts 1.0.53 → 1.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/controllers/ai-model.controllers.d.ts +0 -3
- package/build/controllers/ai-model.controllers.js +1 -3
- package/build/controllers/ai-model.controllers.js.map +1 -0
- package/build/controllers/ai-provider.controllers.d.ts +0 -3
- package/build/controllers/ai-provider.controllers.js +1 -3
- package/build/controllers/ai-provider.controllers.js.map +1 -0
- package/build/controllers/auth.controllers.d.ts +0 -3
- package/build/controllers/auth.controllers.js +1 -3
- package/build/controllers/auth.controllers.js.map +1 -0
- package/build/controllers/blog.controllers.d.ts +0 -3
- package/build/controllers/blog.controllers.js +1 -3
- package/build/controllers/blog.controllers.js.map +1 -0
- package/build/controllers/chat-project.controllers.d.ts +0 -3
- package/build/controllers/chat-project.controllers.js +1 -3
- package/build/controllers/chat-project.controllers.js.map +1 -0
- package/build/controllers/chat.controllers.d.ts +0 -3
- package/build/controllers/chat.controllers.js +1 -3
- package/build/controllers/chat.controllers.js.map +1 -0
- package/build/controllers/file.controllers.d.ts +0 -4
- package/build/controllers/file.controllers.js +1 -4
- package/build/controllers/file.controllers.js.map +1 -0
- package/build/controllers/index.d.ts +1 -3
- package/build/controllers/index.js +4 -4
- package/build/controllers/index.js.map +1 -0
- package/build/controllers/message.controllers.js +1 -0
- package/build/controllers/message.controllers.js.map +1 -0
- package/build/controllers/page-hints.controllers.d.ts +0 -3
- package/build/controllers/page-hints.controllers.js +1 -3
- package/build/controllers/page-hints.controllers.js.map +1 -0
- package/build/controllers/s2s.controllers.d.ts +0 -4
- package/build/controllers/s2s.controllers.js +1 -4
- package/build/controllers/s2s.controllers.js.map +1 -0
- package/build/controllers/seo-pages.controllers.d.ts +0 -3
- package/build/controllers/seo-pages.controllers.js +1 -3
- package/build/controllers/seo-pages.controllers.js.map +1 -0
- package/build/controllers/sitemap.controllers.js +1 -0
- package/build/controllers/sitemap.controllers.js.map +1 -0
- package/build/controllers/telegram-auth.controllers.d.ts +1 -0
- package/build/controllers/telegram-auth.controllers.js +5 -0
- package/build/controllers/telegram-auth.controllers.js.map +1 -0
- package/build/controllers/unreg-users.controllers.d.ts +0 -3
- package/build/controllers/unreg-users.controllers.js +1 -3
- package/build/controllers/unreg-users.controllers.js.map +1 -0
- package/build/controllers/users.controllers.d.ts +0 -3
- package/build/controllers/users.controllers.js +1 -3
- package/build/controllers/users.controllers.js.map +1 -0
- package/build/controllers/verification.controllers.d.ts +0 -4
- package/build/controllers/verification.controllers.js +1 -4
- package/build/controllers/verification.controllers.js.map +1 -0
- package/build/controllers/wallet.controllers.d.ts +0 -6
- package/build/controllers/wallet.controllers.js +1 -6
- package/build/controllers/wallet.controllers.js.map +1 -0
- package/build/index.js +1 -1
- package/build/index.js.map +1 -0
- package/build/locales/en.d.ts +0 -3
- package/build/locales/en.js +1 -9
- package/build/locales/en.js.map +1 -0
- package/build/locales/index.d.ts +0 -6
- package/build/locales/index.js +1 -6
- package/build/locales/index.js.map +1 -0
- package/build/locales/ru.d.ts +0 -3
- package/build/locales/ru.js +1 -9
- package/build/locales/ru.js.map +1 -0
- package/build/locales/validation.d.ts +0 -10
- package/build/locales/validation.js +1 -40
- package/build/locales/validation.js.map +1 -0
- package/build/rest-api.d.ts +0 -4
- package/build/rest-api.js +1 -19
- package/build/rest-api.js.map +1 -0
- package/build/routes/ai-model-admin.routes.d.ts +0 -4
- package/build/routes/ai-model-admin.routes.js +6 -9
- package/build/routes/ai-model-admin.routes.js.map +1 -0
- package/build/routes/ai-model-public.routes.d.ts +0 -4
- package/build/routes/ai-model-public.routes.js +3 -6
- package/build/routes/ai-model-public.routes.js.map +1 -0
- package/build/routes/ai-model-unreg.routes.js +1 -0
- package/build/routes/ai-model-unreg.routes.js.map +1 -0
- package/build/routes/ai-provider-admin.routes.d.ts +0 -4
- package/build/routes/ai-provider-admin.routes.js +6 -9
- package/build/routes/ai-provider-admin.routes.js.map +1 -0
- package/build/routes/ai-provider-public.routes.d.ts +0 -4
- package/build/routes/ai-provider-public.routes.js +2 -5
- package/build/routes/ai-provider-public.routes.js.map +1 -0
- package/build/routes/auth.routes.d.ts +0 -4
- package/build/routes/auth.routes.js +1 -4
- package/build/routes/auth.routes.js.map +1 -0
- package/build/routes/blog-admin-categories.routes.d.ts +0 -4
- package/build/routes/blog-admin-categories.routes.js +6 -9
- package/build/routes/blog-admin-categories.routes.js.map +1 -0
- package/build/routes/blog-admin-posts.routes.d.ts +0 -3
- package/build/routes/blog-admin-posts.routes.js +1 -3
- package/build/routes/blog-admin-posts.routes.js.map +1 -0
- package/build/routes/blog-public.routes.d.ts +0 -3
- package/build/routes/blog-public.routes.js +4 -6
- package/build/routes/blog-public.routes.js.map +1 -0
- package/build/routes/chat-project.routes.d.ts +0 -4
- package/build/routes/chat-project.routes.js +7 -10
- package/build/routes/chat-project.routes.js.map +1 -0
- package/build/routes/chat.routes.d.ts +0 -3
- package/build/routes/chat.routes.js +1 -3
- package/build/routes/chat.routes.js.map +1 -0
- package/build/routes/file.routes.d.ts +0 -5
- package/build/routes/file.routes.js +1 -8
- package/build/routes/file.routes.js.map +1 -0
- package/build/routes/index.d.ts +1 -3
- package/build/routes/index.js +4 -4
- package/build/routes/index.js.map +1 -0
- package/build/routes/message.routes.js +1 -0
- package/build/routes/message.routes.js.map +1 -0
- package/build/routes/page-hints.routes.d.ts +0 -3
- package/build/routes/page-hints.routes.js +1 -3
- package/build/routes/page-hints.routes.js.map +1 -0
- package/build/routes/s2s.routes.d.ts +0 -4
- package/build/routes/s2s.routes.js +1 -4
- package/build/routes/s2s.routes.js.map +1 -0
- package/build/routes/seo-pages-admin.routes.d.ts +0 -3
- package/build/routes/seo-pages-admin.routes.js +1 -3
- package/build/routes/seo-pages-admin.routes.js.map +1 -0
- package/build/routes/seo-pages-public.routes.d.ts +0 -3
- package/build/routes/seo-pages-public.routes.js +4 -6
- package/build/routes/seo-pages-public.routes.js.map +1 -0
- package/build/routes/sitemap.routes.js +1 -0
- package/build/routes/sitemap.routes.js.map +1 -0
- package/build/routes/telegram-auth.routes.d.ts +5 -0
- package/build/routes/telegram-auth.routes.js +9 -0
- package/build/routes/telegram-auth.routes.js.map +1 -0
- package/build/routes/unreg-users.routes.d.ts +0 -3
- package/build/routes/unreg-users.routes.js +2 -4
- package/build/routes/unreg-users.routes.js.map +1 -0
- package/build/routes/users.routes.d.ts +0 -4
- package/build/routes/users.routes.js +1 -4
- package/build/routes/users.routes.js.map +1 -0
- package/build/routes/verification.routes.d.ts +0 -4
- package/build/routes/verification.routes.js +1 -4
- package/build/routes/verification.routes.js.map +1 -0
- package/build/routes/wallet.routes.d.ts +0 -8
- package/build/routes/wallet.routes.js +1 -8
- package/build/routes/wallet.routes.js.map +1 -0
- package/build/shared/api-error-response.schema.d.ts +0 -24
- package/build/shared/api-error-response.schema.js +1 -28
- package/build/shared/api-error-response.schema.js.map +1 -0
- package/build/shared/common-schemas.d.ts +0 -15
- package/build/shared/common-schemas.js +1 -15
- package/build/shared/common-schemas.js.map +1 -0
- package/build/shared/common.errors.d.ts +2 -1
- package/build/shared/common.errors.js +6 -0
- package/build/shared/common.errors.js.map +1 -0
- package/build/shared/constants.d.ts +0 -3
- package/build/shared/constants.js +4 -6
- package/build/shared/constants.js.map +1 -0
- package/build/shared/device-type.enum.d.ts +0 -4
- package/build/shared/device-type.enum.js +1 -4
- package/build/shared/device-type.enum.js.map +1 -0
- package/build/shared/error-metadata.d.ts +0 -5
- package/build/shared/error-metadata.js +1 -0
- package/build/shared/error-metadata.js.map +1 -0
- package/build/shared/http-method.d.ts +0 -3
- package/build/shared/http-method.js +1 -3
- package/build/shared/http-method.js.map +1 -0
- package/build/shared/index.js +1 -0
- package/build/shared/index.js.map +1 -0
- package/build/shared/pagination.schema.d.ts +0 -10
- package/build/shared/pagination.schema.js +1 -10
- package/build/shared/pagination.schema.js.map +1 -0
- package/build/shared/regex.d.ts +0 -3
- package/build/shared/regex.js +1 -10
- package/build/shared/regex.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -0
- package/build/utils/index.js +1 -0
- package/build/utils/index.js.map +1 -0
- package/build/utils/path-builder.d.ts +0 -17
- package/build/utils/path-builder.js +1 -17
- package/build/utils/path-builder.js.map +1 -0
- package/build/v1/ai/ai.errors.js +1 -5
- package/build/v1/ai/ai.errors.js.map +1 -0
- package/build/v1/ai/index.js +1 -0
- package/build/v1/ai/index.js.map +1 -0
- package/build/v1/ai/plugins.types.d.ts +0 -9
- package/build/v1/ai/plugins.types.js +1 -9
- package/build/v1/ai/plugins.types.js.map +1 -0
- package/build/v1/ai-model/admin/commands/create-model.command.js +1 -0
- package/build/v1/ai-model/admin/commands/create-model.command.js.map +1 -0
- package/build/v1/ai-model/admin/commands/delete-model.command.js +1 -0
- package/build/v1/ai-model/admin/commands/delete-model.command.js.map +1 -0
- package/build/v1/ai-model/admin/commands/index.js +1 -0
- package/build/v1/ai-model/admin/commands/index.js.map +1 -0
- package/build/v1/ai-model/admin/commands/update-model.command.js +1 -0
- package/build/v1/ai-model/admin/commands/update-model.command.js.map +1 -0
- package/build/v1/ai-model/admin/queries/get-model.query.js +1 -0
- package/build/v1/ai-model/admin/queries/get-model.query.js.map +1 -0
- package/build/v1/ai-model/admin/queries/get-models.query.js +1 -0
- package/build/v1/ai-model/admin/queries/get-models.query.js.map +1 -0
- package/build/v1/ai-model/admin/queries/index.js +1 -0
- package/build/v1/ai-model/admin/queries/index.js.map +1 -0
- package/build/v1/ai-model/ai-model.errors.js +1 -0
- package/build/v1/ai-model/ai-model.errors.js.map +1 -0
- package/build/v1/ai-model/index.js +1 -0
- package/build/v1/ai-model/index.js.map +1 -0
- package/build/v1/ai-model/public/queries/get-active-models.query.js +1 -0
- package/build/v1/ai-model/public/queries/get-active-models.query.js.map +1 -0
- package/build/v1/ai-model/public/queries/get-models-list.query.js +1 -0
- package/build/v1/ai-model/public/queries/get-models-list.query.js.map +1 -0
- package/build/v1/ai-model/public/queries/index.js +1 -0
- package/build/v1/ai-model/public/queries/index.js.map +1 -0
- package/build/v1/ai-model/schemas/ai-model-status.enum.d.ts +0 -3
- package/build/v1/ai-model/schemas/ai-model-status.enum.js +1 -3
- package/build/v1/ai-model/schemas/ai-model-status.enum.js.map +1 -0
- package/build/v1/ai-model/schemas/api-provider.enum.d.ts +0 -3
- package/build/v1/ai-model/schemas/api-provider.enum.js +1 -3
- package/build/v1/ai-model/schemas/api-provider.enum.js.map +1 -0
- package/build/v1/ai-model/schemas/create-model-request.schema.d.ts +0 -4
- package/build/v1/ai-model/schemas/create-model-request.schema.js +1 -4
- package/build/v1/ai-model/schemas/create-model-request.schema.js.map +1 -0
- package/build/v1/ai-model/schemas/get-models-filters.schema.d.ts +0 -4
- package/build/v1/ai-model/schemas/get-models-filters.schema.js +1 -4
- package/build/v1/ai-model/schemas/get-models-filters.schema.js.map +1 -0
- package/build/v1/ai-model/schemas/index.js +1 -0
- package/build/v1/ai-model/schemas/index.js.map +1 -0
- package/build/v1/ai-model/schemas/modality.enum.d.ts +0 -3
- package/build/v1/ai-model/schemas/modality.enum.js +1 -3
- package/build/v1/ai-model/schemas/modality.enum.js.map +1 -0
- package/build/v1/ai-model/schemas/model-mark.enum.d.ts +0 -3
- package/build/v1/ai-model/schemas/model-mark.enum.js +1 -3
- package/build/v1/ai-model/schemas/model-mark.enum.js.map +1 -0
- package/build/v1/ai-model/schemas/model-response.schema.d.ts +0 -10
- package/build/v1/ai-model/schemas/model-response.schema.js +1 -10
- package/build/v1/ai-model/schemas/model-response.schema.js.map +1 -0
- package/build/v1/ai-model/schemas/model-type.enum.d.ts +0 -3
- package/build/v1/ai-model/schemas/model-type.enum.js +1 -3
- package/build/v1/ai-model/schemas/model-type.enum.js.map +1 -0
- package/build/v1/ai-model/schemas/models-list-response.schema.d.ts +0 -11
- package/build/v1/ai-model/schemas/models-list-response.schema.js +1 -11
- package/build/v1/ai-model/schemas/models-list-response.schema.js.map +1 -0
- package/build/v1/ai-model/schemas/route-params.schema.d.ts +0 -4
- package/build/v1/ai-model/schemas/route-params.schema.js +1 -4
- package/build/v1/ai-model/schemas/route-params.schema.js.map +1 -0
- package/build/v1/ai-model/schemas/unreg-models-list-response.schema.d.ts +0 -10
- package/build/v1/ai-model/schemas/unreg-models-list-response.schema.js +1 -10
- package/build/v1/ai-model/schemas/unreg-models-list-response.schema.js.map +1 -0
- package/build/v1/ai-model/schemas/update-model-request.schema.d.ts +0 -4
- package/build/v1/ai-model/schemas/update-model-request.schema.js +1 -4
- package/build/v1/ai-model/schemas/update-model-request.schema.js.map +1 -0
- package/build/v1/ai-model/unreg/index.js +1 -0
- package/build/v1/ai-model/unreg/index.js.map +1 -0
- package/build/v1/ai-model/unreg/queries/get-models-list.query.js +1 -0
- package/build/v1/ai-model/unreg/queries/get-models-list.query.js.map +1 -0
- package/build/v1/ai-model/unreg/queries/index.js +1 -0
- package/build/v1/ai-model/unreg/queries/index.js.map +1 -0
- package/build/v1/ai-provider/admin/commands/create-provider.command.js +1 -0
- package/build/v1/ai-provider/admin/commands/create-provider.command.js.map +1 -0
- package/build/v1/ai-provider/admin/commands/delete-provider.command.js +1 -0
- package/build/v1/ai-provider/admin/commands/delete-provider.command.js.map +1 -0
- package/build/v1/ai-provider/admin/commands/index.js +1 -0
- package/build/v1/ai-provider/admin/commands/index.js.map +1 -0
- package/build/v1/ai-provider/admin/commands/update-provider.command.js +1 -0
- package/build/v1/ai-provider/admin/commands/update-provider.command.js.map +1 -0
- package/build/v1/ai-provider/admin/queries/get-provider.query.js +1 -0
- package/build/v1/ai-provider/admin/queries/get-provider.query.js.map +1 -0
- package/build/v1/ai-provider/admin/queries/get-providers.query.js +1 -0
- package/build/v1/ai-provider/admin/queries/get-providers.query.js.map +1 -0
- package/build/v1/ai-provider/admin/queries/index.js +1 -0
- package/build/v1/ai-provider/admin/queries/index.js.map +1 -0
- package/build/v1/ai-provider/ai-provider.errors.js +1 -0
- package/build/v1/ai-provider/ai-provider.errors.js.map +1 -0
- package/build/v1/ai-provider/index.js +1 -0
- package/build/v1/ai-provider/index.js.map +1 -0
- package/build/v1/ai-provider/public/queries/get-active-providers.query.js +1 -0
- package/build/v1/ai-provider/public/queries/get-active-providers.query.js.map +1 -0
- package/build/v1/ai-provider/public/queries/index.js +1 -0
- package/build/v1/ai-provider/public/queries/index.js.map +1 -0
- package/build/v1/ai-provider/schemas/ai-provider-status.enum.d.ts +0 -3
- package/build/v1/ai-provider/schemas/ai-provider-status.enum.js +1 -3
- package/build/v1/ai-provider/schemas/ai-provider-status.enum.js.map +1 -0
- package/build/v1/ai-provider/schemas/create-provider-request.schema.d.ts +0 -4
- package/build/v1/ai-provider/schemas/create-provider-request.schema.js +1 -4
- package/build/v1/ai-provider/schemas/create-provider-request.schema.js.map +1 -0
- package/build/v1/ai-provider/schemas/index.js +1 -0
- package/build/v1/ai-provider/schemas/index.js.map +1 -0
- package/build/v1/ai-provider/schemas/provider-response.schema.d.ts +0 -3
- package/build/v1/ai-provider/schemas/provider-response.schema.js +1 -3
- package/build/v1/ai-provider/schemas/provider-response.schema.js.map +1 -0
- package/build/v1/ai-provider/schemas/route-params.schema.d.ts +0 -4
- package/build/v1/ai-provider/schemas/route-params.schema.js +1 -4
- package/build/v1/ai-provider/schemas/route-params.schema.js.map +1 -0
- package/build/v1/ai-provider/schemas/update-provider-request.schema.d.ts +0 -4
- package/build/v1/ai-provider/schemas/update-provider-request.schema.js +1 -4
- package/build/v1/ai-provider/schemas/update-provider-request.schema.js.map +1 -0
- package/build/v1/auth/auth.errors.js +1 -0
- package/build/v1/auth/auth.errors.js.map +1 -0
- package/build/v1/auth/commands/delete-session.command.js +1 -2
- package/build/v1/auth/commands/delete-session.command.js.map +1 -0
- package/build/v1/auth/commands/index.js +1 -0
- package/build/v1/auth/commands/index.js.map +1 -0
- package/build/v1/auth/commands/logout-all.command.js +1 -2
- package/build/v1/auth/commands/logout-all.command.js.map +1 -0
- package/build/v1/auth/commands/logout.command.js +1 -2
- package/build/v1/auth/commands/logout.command.js.map +1 -0
- package/build/v1/auth/commands/signin.command.d.ts +1 -0
- package/build/v1/auth/commands/signin.command.js +1 -2
- package/build/v1/auth/commands/signin.command.js.map +1 -0
- package/build/v1/auth/commands/signup.command.d.ts +1 -0
- package/build/v1/auth/commands/signup.command.js +1 -2
- package/build/v1/auth/commands/signup.command.js.map +1 -0
- package/build/v1/auth/index.js +1 -1
- package/build/v1/auth/index.js.map +1 -0
- package/build/v1/auth/queries/get-sessions.query.js +1 -2
- package/build/v1/auth/queries/get-sessions.query.js.map +1 -0
- package/build/v1/auth/queries/index.js +1 -0
- package/build/v1/auth/queries/index.js.map +1 -0
- package/build/v1/auth/schemas/auth-response.schema.d.ts +1 -6
- package/build/v1/auth/schemas/auth-response.schema.js +1 -6
- package/build/v1/auth/schemas/auth-response.schema.js.map +1 -0
- package/build/v1/auth/schemas/index.js +1 -0
- package/build/v1/auth/schemas/index.js.map +1 -0
- package/build/v1/auth/schemas/session-response.schema.d.ts +0 -4
- package/build/v1/auth/schemas/session-response.schema.js +1 -4
- package/build/v1/auth/schemas/session-response.schema.js.map +1 -0
- package/build/v1/auth/schemas/signin-request.schema.d.ts +0 -4
- package/build/v1/auth/schemas/signin-request.schema.js +1 -4
- package/build/v1/auth/schemas/signin-request.schema.js.map +1 -0
- package/build/v1/auth/schemas/signup-request.schema.d.ts +0 -4
- package/build/v1/auth/schemas/signup-request.schema.js +1 -4
- package/build/v1/auth/schemas/signup-request.schema.js.map +1 -0
- package/build/v1/auth/schemas/user-role.enum.d.ts +0 -3
- package/build/v1/auth/schemas/user-role.enum.js +1 -3
- package/build/v1/auth/schemas/user-role.enum.js.map +1 -0
- package/build/v1/blog/admin/commands/create-category.command.js +1 -0
- package/build/v1/blog/admin/commands/create-category.command.js.map +1 -0
- package/build/v1/blog/admin/commands/create-post.command.js +1 -0
- package/build/v1/blog/admin/commands/create-post.command.js.map +1 -0
- package/build/v1/blog/admin/commands/delete-category.command.js +1 -0
- package/build/v1/blog/admin/commands/delete-category.command.js.map +1 -0
- package/build/v1/blog/admin/commands/delete-post.command.js +1 -0
- package/build/v1/blog/admin/commands/delete-post.command.js.map +1 -0
- package/build/v1/blog/admin/commands/index.js +1 -0
- package/build/v1/blog/admin/commands/index.js.map +1 -0
- package/build/v1/blog/admin/commands/update-category.command.js +1 -0
- package/build/v1/blog/admin/commands/update-category.command.js.map +1 -0
- package/build/v1/blog/admin/commands/update-post.command.js +1 -0
- package/build/v1/blog/admin/commands/update-post.command.js.map +1 -0
- package/build/v1/blog/admin/queries/get-categories.query.js +1 -0
- package/build/v1/blog/admin/queries/get-categories.query.js.map +1 -0
- package/build/v1/blog/admin/queries/get-category.query.js +1 -0
- package/build/v1/blog/admin/queries/get-category.query.js.map +1 -0
- package/build/v1/blog/admin/queries/get-post.query.js +1 -0
- package/build/v1/blog/admin/queries/get-post.query.js.map +1 -0
- package/build/v1/blog/admin/queries/get-posts.query.js +1 -0
- package/build/v1/blog/admin/queries/get-posts.query.js.map +1 -0
- package/build/v1/blog/admin/queries/index.js +1 -0
- package/build/v1/blog/admin/queries/index.js.map +1 -0
- package/build/v1/blog/blog.errors.js +1 -6
- package/build/v1/blog/blog.errors.js.map +1 -0
- package/build/v1/blog/index.js +1 -1
- package/build/v1/blog/index.js.map +1 -0
- package/build/v1/blog/public/queries/get-categories.query.js +1 -0
- package/build/v1/blog/public/queries/get-categories.query.js.map +1 -0
- package/build/v1/blog/public/queries/get-post-by-alias.query.js +1 -0
- package/build/v1/blog/public/queries/get-post-by-alias.query.js.map +1 -0
- package/build/v1/blog/public/queries/get-posts.query.js +1 -0
- package/build/v1/blog/public/queries/get-posts.query.js.map +1 -0
- package/build/v1/blog/public/queries/index.js +1 -0
- package/build/v1/blog/public/queries/index.js.map +1 -0
- package/build/v1/blog/schemas/blog-category-status.enum.d.ts +0 -3
- package/build/v1/blog/schemas/blog-category-status.enum.js +1 -3
- package/build/v1/blog/schemas/blog-category-status.enum.js.map +1 -0
- package/build/v1/blog/schemas/blog-post-mark.enum.d.ts +0 -4
- package/build/v1/blog/schemas/blog-post-mark.enum.js +1 -4
- package/build/v1/blog/schemas/blog-post-mark.enum.js.map +1 -0
- package/build/v1/blog/schemas/blog-post-status.enum.d.ts +0 -3
- package/build/v1/blog/schemas/blog-post-status.enum.js +1 -3
- package/build/v1/blog/schemas/blog-post-status.enum.js.map +1 -0
- package/build/v1/blog/schemas/category-response.schema.d.ts +0 -3
- package/build/v1/blog/schemas/category-response.schema.js +1 -3
- package/build/v1/blog/schemas/category-response.schema.js.map +1 -0
- package/build/v1/blog/schemas/create-category-request.schema.d.ts +0 -4
- package/build/v1/blog/schemas/create-category-request.schema.js +1 -4
- package/build/v1/blog/schemas/create-category-request.schema.js.map +1 -0
- package/build/v1/blog/schemas/create-post-request.schema.d.ts +0 -4
- package/build/v1/blog/schemas/create-post-request.schema.js +1 -4
- package/build/v1/blog/schemas/create-post-request.schema.js.map +1 -0
- package/build/v1/blog/schemas/get-posts-query.schema.js +1 -0
- package/build/v1/blog/schemas/get-posts-query.schema.js.map +1 -0
- package/build/v1/blog/schemas/index.js +1 -0
- package/build/v1/blog/schemas/index.js.map +1 -0
- package/build/v1/blog/schemas/post-response.schema.d.ts +0 -3
- package/build/v1/blog/schemas/post-response.schema.js +1 -3
- package/build/v1/blog/schemas/post-response.schema.js.map +1 -0
- package/build/v1/blog/schemas/public-post-response.schema.d.ts +0 -7
- package/build/v1/blog/schemas/public-post-response.schema.js +1 -7
- package/build/v1/blog/schemas/public-post-response.schema.js.map +1 -0
- package/build/v1/blog/schemas/route-params.schema.d.ts +0 -10
- package/build/v1/blog/schemas/route-params.schema.js +1 -10
- package/build/v1/blog/schemas/route-params.schema.js.map +1 -0
- package/build/v1/blog/schemas/update-category-request.schema.d.ts +0 -4
- package/build/v1/blog/schemas/update-category-request.schema.js +1 -4
- package/build/v1/blog/schemas/update-category-request.schema.js.map +1 -0
- package/build/v1/blog/schemas/update-post-request.schema.d.ts +0 -4
- package/build/v1/blog/schemas/update-post-request.schema.js +1 -4
- package/build/v1/blog/schemas/update-post-request.schema.js.map +1 -0
- package/build/v1/chat/chat.errors.js +1 -0
- package/build/v1/chat/chat.errors.js.map +1 -0
- package/build/v1/chat/commands/create-reg-chat.command.d.ts +0 -4
- package/build/v1/chat/commands/create-reg-chat.command.js +1 -4
- package/build/v1/chat/commands/create-reg-chat.command.js.map +1 -0
- package/build/v1/chat/commands/create-unreg-chat.command.d.ts +0 -4
- package/build/v1/chat/commands/create-unreg-chat.command.js +1 -4
- package/build/v1/chat/commands/create-unreg-chat.command.js.map +1 -0
- package/build/v1/chat/commands/delete-chat.command.d.ts +0 -4
- package/build/v1/chat/commands/delete-chat.command.js +1 -4
- package/build/v1/chat/commands/delete-chat.command.js.map +1 -0
- package/build/v1/chat/commands/index.js +1 -0
- package/build/v1/chat/commands/index.js.map +1 -0
- package/build/v1/chat/commands/update-chat-title.command.d.ts +0 -4
- package/build/v1/chat/commands/update-chat-title.command.js +1 -4
- package/build/v1/chat/commands/update-chat-title.command.js.map +1 -0
- package/build/v1/chat/commands/update-chat.command.d.ts +0 -4
- package/build/v1/chat/commands/update-chat.command.js +1 -4
- package/build/v1/chat/commands/update-chat.command.js.map +1 -0
- package/build/v1/chat/index.js +1 -0
- package/build/v1/chat/index.js.map +1 -0
- package/build/v1/chat/queries/get-chat-history.query.d.ts +0 -4
- package/build/v1/chat/queries/get-chat-history.query.js +1 -4
- package/build/v1/chat/queries/get-chat-history.query.js.map +1 -0
- package/build/v1/chat/queries/get-last-active-chat.query.d.ts +0 -4
- package/build/v1/chat/queries/get-last-active-chat.query.js +1 -4
- package/build/v1/chat/queries/get-last-active-chat.query.js.map +1 -0
- package/build/v1/chat/queries/get-reg-chat.query.d.ts +0 -4
- package/build/v1/chat/queries/get-reg-chat.query.js +1 -4
- package/build/v1/chat/queries/get-reg-chat.query.js.map +1 -0
- package/build/v1/chat/queries/get-unreg-chat.query.d.ts +0 -4
- package/build/v1/chat/queries/get-unreg-chat.query.js +1 -4
- package/build/v1/chat/queries/get-unreg-chat.query.js.map +1 -0
- package/build/v1/chat/queries/index.js +1 -0
- package/build/v1/chat/queries/index.js.map +1 -0
- package/build/v1/chat/schemas/chat-history.schema.d.ts +0 -22
- package/build/v1/chat/schemas/chat-history.schema.js +2 -23
- package/build/v1/chat/schemas/chat-history.schema.js.map +1 -0
- package/build/v1/chat/schemas/chat-id-param.schema.d.ts +0 -4
- package/build/v1/chat/schemas/chat-id-param.schema.js +1 -4
- package/build/v1/chat/schemas/chat-id-param.schema.js.map +1 -0
- package/build/v1/chat/schemas/chat-response.schema.js +1 -0
- package/build/v1/chat/schemas/chat-response.schema.js.map +1 -0
- package/build/v1/chat/schemas/chat-status.enum.d.ts +0 -3
- package/build/v1/chat/schemas/chat-status.enum.js +1 -3
- package/build/v1/chat/schemas/chat-status.enum.js.map +1 -0
- package/build/v1/chat/schemas/chat-with-messages-response.schema.js +1 -0
- package/build/v1/chat/schemas/chat-with-messages-response.schema.js.map +1 -0
- package/build/v1/chat/schemas/create-chat-request.schema.d.ts +0 -4
- package/build/v1/chat/schemas/create-chat-request.schema.js +1 -4
- package/build/v1/chat/schemas/create-chat-request.schema.js.map +1 -0
- package/build/v1/chat/schemas/delete-chat-response.schema.js +1 -0
- package/build/v1/chat/schemas/delete-chat-response.schema.js.map +1 -0
- package/build/v1/chat/schemas/index.js +1 -0
- package/build/v1/chat/schemas/index.js.map +1 -0
- package/build/v1/chat/schemas/page-id-param.schema.d.ts +0 -4
- package/build/v1/chat/schemas/page-id-param.schema.js +1 -4
- package/build/v1/chat/schemas/page-id-param.schema.js.map +1 -0
- package/build/v1/chat/schemas/update-chat-request.schema.d.ts +0 -4
- package/build/v1/chat/schemas/update-chat-request.schema.js +1 -4
- package/build/v1/chat/schemas/update-chat-request.schema.js.map +1 -0
- package/build/v1/chat/schemas/update-chat-title-request.schema.d.ts +0 -4
- package/build/v1/chat/schemas/update-chat-title-request.schema.js +1 -4
- package/build/v1/chat/schemas/update-chat-title-request.schema.js.map +1 -0
- package/build/v1/chat-project/chat-project.errors.js +1 -0
- package/build/v1/chat-project/chat-project.errors.js.map +1 -0
- package/build/v1/chat-project/commands/create-project.command.js +1 -0
- package/build/v1/chat-project/commands/create-project.command.js.map +1 -0
- package/build/v1/chat-project/commands/delete-project.command.js +1 -0
- package/build/v1/chat-project/commands/delete-project.command.js.map +1 -0
- package/build/v1/chat-project/commands/index.js +1 -0
- package/build/v1/chat-project/commands/index.js.map +1 -0
- package/build/v1/chat-project/commands/update-project.command.js +1 -0
- package/build/v1/chat-project/commands/update-project.command.js.map +1 -0
- package/build/v1/chat-project/events/folder-deleted.event.d.ts +0 -5
- package/build/v1/chat-project/events/folder-deleted.event.js +1 -0
- package/build/v1/chat-project/events/folder-deleted.event.js.map +1 -0
- package/build/v1/chat-project/events/index.js +1 -0
- package/build/v1/chat-project/events/index.js.map +1 -0
- package/build/v1/chat-project/index.js +1 -0
- package/build/v1/chat-project/index.js.map +1 -0
- package/build/v1/chat-project/queries/get-project-chats.query.d.ts +0 -4
- package/build/v1/chat-project/queries/get-project-chats.query.js +1 -4
- package/build/v1/chat-project/queries/get-project-chats.query.js.map +1 -0
- package/build/v1/chat-project/queries/get-project.query.js +1 -0
- package/build/v1/chat-project/queries/get-project.query.js.map +1 -0
- package/build/v1/chat-project/queries/get-projects.query.js +1 -0
- package/build/v1/chat-project/queries/get-projects.query.js.map +1 -0
- package/build/v1/chat-project/queries/index.js +1 -0
- package/build/v1/chat-project/queries/index.js.map +1 -0
- package/build/v1/chat-project/schemas/chat-project-status.enum.d.ts +0 -3
- package/build/v1/chat-project/schemas/chat-project-status.enum.js +1 -3
- package/build/v1/chat-project/schemas/chat-project-status.enum.js.map +1 -0
- package/build/v1/chat-project/schemas/create-project-request.schema.d.ts +0 -4
- package/build/v1/chat-project/schemas/create-project-request.schema.js +1 -4
- package/build/v1/chat-project/schemas/create-project-request.schema.js.map +1 -0
- package/build/v1/chat-project/schemas/get-project-chats.schema.d.ts +0 -10
- package/build/v1/chat-project/schemas/get-project-chats.schema.js +1 -10
- package/build/v1/chat-project/schemas/get-project-chats.schema.js.map +1 -0
- package/build/v1/chat-project/schemas/index.js +1 -0
- package/build/v1/chat-project/schemas/index.js.map +1 -0
- package/build/v1/chat-project/schemas/project-response.schema.d.ts +0 -3
- package/build/v1/chat-project/schemas/project-response.schema.js +1 -3
- package/build/v1/chat-project/schemas/project-response.schema.js.map +1 -0
- package/build/v1/chat-project/schemas/route-params.schema.d.ts +0 -4
- package/build/v1/chat-project/schemas/route-params.schema.js +1 -4
- package/build/v1/chat-project/schemas/route-params.schema.js.map +1 -0
- package/build/v1/chat-project/schemas/update-project-request.schema.d.ts +0 -4
- package/build/v1/chat-project/schemas/update-project-request.schema.js +1 -4
- package/build/v1/chat-project/schemas/update-project-request.schema.js.map +1 -0
- package/build/v1/email/email.errors.js +1 -0
- package/build/v1/email/email.errors.js.map +1 -0
- package/build/v1/email/index.js +1 -0
- package/build/v1/email/index.js.map +1 -0
- package/build/v1/email-validation/email-validation.errors.d.ts +0 -3
- package/build/v1/email-validation/email-validation.errors.js +1 -3
- package/build/v1/email-validation/email-validation.errors.js.map +1 -0
- package/build/v1/email-validation/index.js +1 -0
- package/build/v1/email-validation/index.js.map +1 -0
- package/build/v1/file/commands/delete-file-by-key.command.js +1 -2
- package/build/v1/file/commands/delete-file-by-key.command.js.map +1 -0
- package/build/v1/file/commands/delete-file.command.js +1 -2
- package/build/v1/file/commands/delete-file.command.js.map +1 -0
- package/build/v1/file/commands/index.js +1 -0
- package/build/v1/file/commands/index.js.map +1 -0
- package/build/v1/file/commands/upload-file.command.js +1 -2
- package/build/v1/file/commands/upload-file.command.js.map +1 -0
- package/build/v1/file/commands/upload-image.command.js +1 -2
- package/build/v1/file/commands/upload-image.command.js.map +1 -0
- package/build/v1/file/file.errors.js +1 -10
- package/build/v1/file/file.errors.js.map +1 -0
- package/build/v1/file/index.js +1 -1
- package/build/v1/file/index.js.map +1 -0
- package/build/v1/file/queries/get-file.query.js +1 -2
- package/build/v1/file/queries/get-file.query.js.map +1 -0
- package/build/v1/file/queries/index.js +1 -0
- package/build/v1/file/queries/index.js.map +1 -0
- package/build/v1/file/queries/list-files.query.js +1 -2
- package/build/v1/file/queries/list-files.query.js.map +1 -0
- package/build/v1/file/queries/list-folders.query.js +1 -2
- package/build/v1/file/queries/list-folders.query.js.map +1 -0
- package/build/v1/file/schemas/delete-file-by-key-request.schema.d.ts +0 -4
- package/build/v1/file/schemas/delete-file-by-key-request.schema.js +1 -4
- package/build/v1/file/schemas/delete-file-by-key-request.schema.js.map +1 -0
- package/build/v1/file/schemas/delete-file-response.schema.d.ts +0 -6
- package/build/v1/file/schemas/delete-file-response.schema.js +1 -6
- package/build/v1/file/schemas/delete-file-response.schema.js.map +1 -0
- package/build/v1/file/schemas/file-category.enum.d.ts +0 -3
- package/build/v1/file/schemas/file-category.enum.js +1 -3
- package/build/v1/file/schemas/file-category.enum.js.map +1 -0
- package/build/v1/file/schemas/file-response.schema.d.ts +0 -3
- package/build/v1/file/schemas/file-response.schema.js +1 -3
- package/build/v1/file/schemas/file-response.schema.js.map +1 -0
- package/build/v1/file/schemas/file-status.enum.d.ts +0 -3
- package/build/v1/file/schemas/file-status.enum.js +1 -3
- package/build/v1/file/schemas/file-status.enum.js.map +1 -0
- package/build/v1/file/schemas/file-variant-response.schema.d.ts +0 -3
- package/build/v1/file/schemas/file-variant-response.schema.js +1 -3
- package/build/v1/file/schemas/file-variant-response.schema.js.map +1 -0
- package/build/v1/file/schemas/file-with-variants-response.schema.d.ts +0 -3
- package/build/v1/file/schemas/file-with-variants-response.schema.js +1 -3
- package/build/v1/file/schemas/file-with-variants-response.schema.js.map +1 -0
- package/build/v1/file/schemas/folder-response.schema.d.ts +0 -6
- package/build/v1/file/schemas/folder-response.schema.js +1 -6
- package/build/v1/file/schemas/folder-response.schema.js.map +1 -0
- package/build/v1/file/schemas/image-format.enum.d.ts +0 -3
- package/build/v1/file/schemas/image-format.enum.js +1 -3
- package/build/v1/file/schemas/image-format.enum.js.map +1 -0
- package/build/v1/file/schemas/index.js +1 -5
- package/build/v1/file/schemas/index.js.map +1 -0
- package/build/v1/file/schemas/list-files-request.schema.d.ts +0 -4
- package/build/v1/file/schemas/list-files-request.schema.js +1 -4
- package/build/v1/file/schemas/list-files-request.schema.js.map +1 -0
- package/build/v1/file/schemas/list-files-response.schema.d.ts +0 -3
- package/build/v1/file/schemas/list-files-response.schema.js +1 -3
- package/build/v1/file/schemas/list-files-response.schema.js.map +1 -0
- package/build/v1/file/schemas/list-folders-request.schema.d.ts +0 -3
- package/build/v1/file/schemas/list-folders-request.schema.js +1 -3
- package/build/v1/file/schemas/list-folders-request.schema.js.map +1 -0
- package/build/v1/file/schemas/upload-file-request.schema.d.ts +0 -4
- package/build/v1/file/schemas/upload-file-request.schema.js +1 -4
- package/build/v1/file/schemas/upload-file-request.schema.js.map +1 -0
- package/build/v1/file/schemas/upload-file-response.schema.d.ts +0 -3
- package/build/v1/file/schemas/upload-file-response.schema.js +1 -3
- package/build/v1/file/schemas/upload-file-response.schema.js.map +1 -0
- package/build/v1/file/schemas/upload-image-request.schema.d.ts +0 -10
- package/build/v1/file/schemas/upload-image-request.schema.js +3 -12
- package/build/v1/file/schemas/upload-image-request.schema.js.map +1 -0
- package/build/v1/file/schemas/upload-image-response.schema.d.ts +0 -3
- package/build/v1/file/schemas/upload-image-response.schema.js +2 -9
- package/build/v1/file/schemas/upload-image-response.schema.js.map +1 -0
- package/build/v1/index.d.ts +2 -0
- package/build/v1/index.js +3 -0
- package/build/v1/index.js.map +1 -0
- package/build/v1/message/commands/create-message.command.d.ts +9 -39
- package/build/v1/message/commands/create-message.command.js +1 -37
- package/build/v1/message/commands/create-message.command.js.map +1 -0
- package/build/v1/message/commands/index.js +1 -0
- package/build/v1/message/commands/index.js.map +1 -0
- package/build/v1/message/commands/rate-message-reg.command.js +1 -0
- package/build/v1/message/commands/rate-message-reg.command.js.map +1 -0
- package/build/v1/message/commands/rate-message-unreg.command.js +1 -0
- package/build/v1/message/commands/rate-message-unreg.command.js.map +1 -0
- package/build/v1/message/index.js +1 -0
- package/build/v1/message/index.js.map +1 -0
- package/build/v1/message/message.errors.d.ts +3 -1
- package/build/v1/message/message.errors.js +11 -0
- package/build/v1/message/message.errors.js.map +1 -0
- package/build/v1/message/schemas/citation.schema.d.ts +0 -3
- package/build/v1/message/schemas/citation.schema.js +1 -8
- package/build/v1/message/schemas/citation.schema.js.map +1 -0
- package/build/v1/message/schemas/create-message-request.schema.d.ts +0 -4
- package/build/v1/message/schemas/create-message-request.schema.js +1 -4
- package/build/v1/message/schemas/create-message-request.schema.js.map +1 -0
- package/build/v1/message/schemas/create-message-response.schema.js +1 -0
- package/build/v1/message/schemas/create-message-response.schema.js.map +1 -0
- package/build/v1/message/schemas/delete-message.schema.d.ts +0 -4
- package/build/v1/message/schemas/delete-message.schema.js +1 -4
- package/build/v1/message/schemas/delete-message.schema.js.map +1 -0
- package/build/v1/message/schemas/generation-step.schema.d.ts +0 -8
- package/build/v1/message/schemas/generation-step.schema.js +1 -15
- package/build/v1/message/schemas/generation-step.schema.js.map +1 -0
- package/build/v1/message/schemas/index.js +1 -0
- package/build/v1/message/schemas/index.js.map +1 -0
- package/build/v1/message/schemas/message-attachment.schema.d.ts +0 -11
- package/build/v1/message/schemas/message-attachment.schema.js +1 -14
- package/build/v1/message/schemas/message-attachment.schema.js.map +1 -0
- package/build/v1/message/schemas/message-meta.schema.d.ts +0 -10
- package/build/v1/message/schemas/message-meta.schema.js +1 -17
- package/build/v1/message/schemas/message-meta.schema.js.map +1 -0
- package/build/v1/message/schemas/message-response.schema.js +1 -0
- package/build/v1/message/schemas/message-response.schema.js.map +1 -0
- package/build/v1/message/schemas/message-role.enum.js +1 -0
- package/build/v1/message/schemas/message-role.enum.js.map +1 -0
- package/build/v1/message/schemas/message-status.enum.js +1 -0
- package/build/v1/message/schemas/message-status.enum.js.map +1 -0
- package/build/v1/message/schemas/rate-message.schema.d.ts +0 -8
- package/build/v1/message/schemas/rate-message.schema.js +1 -8
- package/build/v1/message/schemas/rate-message.schema.js.map +1 -0
- package/build/v1/message/schemas/stream-events.schema.d.ts +16 -49
- package/build/v1/message/schemas/stream-events.schema.js +9 -77
- package/build/v1/message/schemas/stream-events.schema.js.map +1 -0
- package/build/v1/message/schemas/user-rating.enum.js +1 -0
- package/build/v1/message/schemas/user-rating.enum.js.map +1 -0
- package/build/v1/notifications/index.js +1 -0
- package/build/v1/notifications/index.js.map +1 -0
- package/build/v1/notifications/notifications.errors.d.ts +0 -7
- package/build/v1/notifications/notifications.errors.js +1 -18
- package/build/v1/notifications/notifications.errors.js.map +1 -0
- package/build/v1/notifications/schemas/email-template.enum.d.ts +0 -4
- package/build/v1/notifications/schemas/email-template.enum.js +1 -8
- package/build/v1/notifications/schemas/email-template.enum.js.map +1 -0
- package/build/v1/notifications/schemas/index.js +1 -0
- package/build/v1/notifications/schemas/index.js.map +1 -0
- package/build/v1/notifications/schemas/notification-status.enum.d.ts +4 -8
- package/build/v1/notifications/schemas/notification-status.enum.js +1 -4
- package/build/v1/notifications/schemas/notification-status.enum.js.map +1 -0
- package/build/v1/notifications/schemas/notification-type.enum.d.ts +0 -4
- package/build/v1/notifications/schemas/notification-type.enum.js +1 -6
- package/build/v1/notifications/schemas/notification-type.enum.js.map +1 -0
- package/build/v1/page-hints/admin/commands/create-hint.command.js +1 -0
- package/build/v1/page-hints/admin/commands/create-hint.command.js.map +1 -0
- package/build/v1/page-hints/admin/commands/delete-hint.command.js +1 -0
- package/build/v1/page-hints/admin/commands/delete-hint.command.js.map +1 -0
- package/build/v1/page-hints/admin/commands/index.js +1 -0
- package/build/v1/page-hints/admin/commands/index.js.map +1 -0
- package/build/v1/page-hints/admin/commands/update-hint.command.js +1 -0
- package/build/v1/page-hints/admin/commands/update-hint.command.js.map +1 -0
- package/build/v1/page-hints/admin/queries/get-hint.query.js +1 -0
- package/build/v1/page-hints/admin/queries/get-hint.query.js.map +1 -0
- package/build/v1/page-hints/admin/queries/get-hints.query.js +1 -0
- package/build/v1/page-hints/admin/queries/get-hints.query.js.map +1 -0
- package/build/v1/page-hints/admin/queries/index.js +1 -0
- package/build/v1/page-hints/admin/queries/index.js.map +1 -0
- package/build/v1/page-hints/index.d.ts +0 -3
- package/build/v1/page-hints/index.js +1 -7
- package/build/v1/page-hints/index.js.map +1 -0
- package/build/v1/page-hints/page-hints.errors.js +1 -3
- package/build/v1/page-hints/page-hints.errors.js.map +1 -0
- package/build/v1/page-hints/schemas/create-hint-request.schema.d.ts +0 -4
- package/build/v1/page-hints/schemas/create-hint-request.schema.js +1 -4
- package/build/v1/page-hints/schemas/create-hint-request.schema.js.map +1 -0
- package/build/v1/page-hints/schemas/hint-response.schema.d.ts +0 -6
- package/build/v1/page-hints/schemas/hint-response.schema.js +1 -6
- package/build/v1/page-hints/schemas/hint-response.schema.js.map +1 -0
- package/build/v1/page-hints/schemas/index.js +1 -0
- package/build/v1/page-hints/schemas/index.js.map +1 -0
- package/build/v1/page-hints/schemas/update-hint-request.schema.d.ts +0 -4
- package/build/v1/page-hints/schemas/update-hint-request.schema.js +1 -4
- package/build/v1/page-hints/schemas/update-hint-request.schema.js.map +1 -0
- package/build/v1/registration-antifraud/enums/fraud-check-result.enum.js +1 -0
- package/build/v1/registration-antifraud/enums/fraud-check-result.enum.js.map +1 -0
- package/build/v1/registration-antifraud/enums/fraud-reason.enum.js +1 -0
- package/build/v1/registration-antifraud/enums/fraud-reason.enum.js.map +1 -0
- package/build/v1/registration-antifraud/enums/index.js +1 -0
- package/build/v1/registration-antifraud/enums/index.js.map +1 -0
- package/build/v1/registration-antifraud/index.js +1 -0
- package/build/v1/registration-antifraud/index.js.map +1 -0
- package/build/v1/registration-antifraud/registration-antifraud.errors.js +1 -0
- package/build/v1/registration-antifraud/registration-antifraud.errors.js.map +1 -0
- package/build/v1/s2s/index.js +1 -0
- package/build/v1/s2s/index.js.map +1 -0
- package/build/v1/s2s/queries/get-user-by-session.query.js +1 -0
- package/build/v1/s2s/queries/get-user-by-session.query.js.map +1 -0
- package/build/v1/s2s/queries/index.js +1 -0
- package/build/v1/s2s/queries/index.js.map +1 -0
- package/build/v1/s2s/s2s.errors.js +1 -0
- package/build/v1/s2s/s2s.errors.js.map +1 -0
- package/build/v1/s2s/schemas/index.js +1 -0
- package/build/v1/s2s/schemas/index.js.map +1 -0
- package/build/v1/s2s/schemas/s2s-user-response.schema.d.ts +0 -4
- package/build/v1/s2s/schemas/s2s-user-response.schema.js +1 -4
- package/build/v1/s2s/schemas/s2s-user-response.schema.js.map +1 -0
- package/build/v1/s2s/schemas/session-id-param.schema.d.ts +0 -4
- package/build/v1/s2s/schemas/session-id-param.schema.js +1 -4
- package/build/v1/s2s/schemas/session-id-param.schema.js.map +1 -0
- package/build/v1/s3/index.js +1 -0
- package/build/v1/s3/index.js.map +1 -0
- package/build/v1/s3/s3.errors.d.ts +0 -6
- package/build/v1/s3/s3.errors.js +1 -6
- package/build/v1/s3/s3.errors.js.map +1 -0
- package/build/v1/seo-pages/admin/commands/create-page.command.js +1 -0
- package/build/v1/seo-pages/admin/commands/create-page.command.js.map +1 -0
- package/build/v1/seo-pages/admin/commands/delete-page.command.js +1 -0
- package/build/v1/seo-pages/admin/commands/delete-page.command.js.map +1 -0
- package/build/v1/seo-pages/admin/commands/index.d.ts +0 -3
- package/build/v1/seo-pages/admin/commands/index.js +1 -3
- package/build/v1/seo-pages/admin/commands/index.js.map +1 -0
- package/build/v1/seo-pages/admin/commands/update-page.command.js +1 -0
- package/build/v1/seo-pages/admin/commands/update-page.command.js.map +1 -0
- package/build/v1/seo-pages/admin/queries/get-page.query.js +1 -0
- package/build/v1/seo-pages/admin/queries/get-page.query.js.map +1 -0
- package/build/v1/seo-pages/admin/queries/get-pages.query.js +1 -0
- package/build/v1/seo-pages/admin/queries/get-pages.query.js.map +1 -0
- package/build/v1/seo-pages/admin/queries/index.d.ts +0 -3
- package/build/v1/seo-pages/admin/queries/index.js +1 -3
- package/build/v1/seo-pages/admin/queries/index.js.map +1 -0
- package/build/v1/seo-pages/index.d.ts +0 -3
- package/build/v1/seo-pages/index.js +1 -8
- package/build/v1/seo-pages/index.js.map +1 -0
- package/build/v1/seo-pages/public/queries/get-hierarchy-list.query.js +1 -0
- package/build/v1/seo-pages/public/queries/get-hierarchy-list.query.js.map +1 -0
- package/build/v1/seo-pages/public/queries/get-index-page.query.js +1 -0
- package/build/v1/seo-pages/public/queries/get-index-page.query.js.map +1 -0
- package/build/v1/seo-pages/public/queries/get-page-by-alias.query.js +1 -0
- package/build/v1/seo-pages/public/queries/get-page-by-alias.query.js.map +1 -0
- package/build/v1/seo-pages/public/queries/index.d.ts +0 -3
- package/build/v1/seo-pages/public/queries/index.js +1 -3
- package/build/v1/seo-pages/public/queries/index.js.map +1 -0
- package/build/v1/seo-pages/schemas/create-page-request.schema.d.ts +0 -4
- package/build/v1/seo-pages/schemas/create-page-request.schema.js +1 -5
- package/build/v1/seo-pages/schemas/create-page-request.schema.js.map +1 -0
- package/build/v1/seo-pages/schemas/faq.schema.d.ts +0 -8
- package/build/v1/seo-pages/schemas/faq.schema.js +1 -8
- package/build/v1/seo-pages/schemas/faq.schema.js.map +1 -0
- package/build/v1/seo-pages/schemas/index.d.ts +0 -3
- package/build/v1/seo-pages/schemas/index.js +1 -3
- package/build/v1/seo-pages/schemas/index.js.map +1 -0
- package/build/v1/seo-pages/schemas/page-hierarchy.schema.d.ts +0 -12
- package/build/v1/seo-pages/schemas/page-hierarchy.schema.js +1 -12
- package/build/v1/seo-pages/schemas/page-hierarchy.schema.js.map +1 -0
- package/build/v1/seo-pages/schemas/page-response.schema.d.ts +0 -9
- package/build/v1/seo-pages/schemas/page-response.schema.js +1 -11
- package/build/v1/seo-pages/schemas/page-response.schema.js.map +1 -0
- package/build/v1/seo-pages/schemas/page-type.enum.d.ts +0 -6
- package/build/v1/seo-pages/schemas/page-type.enum.js +1 -6
- package/build/v1/seo-pages/schemas/page-type.enum.js.map +1 -0
- package/build/v1/seo-pages/schemas/update-page-request.schema.d.ts +0 -4
- package/build/v1/seo-pages/schemas/update-page-request.schema.js +1 -5
- package/build/v1/seo-pages/schemas/update-page-request.schema.js.map +1 -0
- package/build/v1/seo-pages/seo-pages.errors.js +1 -2
- package/build/v1/seo-pages/seo-pages.errors.js.map +1 -0
- package/build/v1/sitemap/index.js +1 -0
- package/build/v1/sitemap/index.js.map +1 -0
- package/build/v1/sitemap/sitemap-changefreq.enum.js +1 -0
- package/build/v1/sitemap/sitemap-changefreq.enum.js.map +1 -0
- package/build/v1/telegram-auth/commands/index.d.ts +1 -0
- package/build/v1/telegram-auth/commands/index.js +3 -0
- package/build/v1/telegram-auth/commands/index.js.map +1 -0
- package/build/v1/telegram-auth/index.d.ts +6 -0
- package/build/v1/telegram-auth/index.js +26 -0
- package/build/v1/telegram-auth/index.js.map +1 -0
- package/build/v1/telegram-auth/queries/index.d.ts +1 -0
- package/build/v1/telegram-auth/queries/index.js +3 -0
- package/build/v1/telegram-auth/queries/index.js.map +1 -0
- package/build/v1/telegram-auth/schemas/index.d.ts +5 -0
- package/build/v1/telegram-auth/schemas/index.js +22 -0
- package/build/v1/telegram-auth/schemas/index.js.map +1 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-exchange-request.schema.d.ts +5 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-exchange-request.schema.js +10 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-exchange-request.schema.js.map +1 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-exchange-response.schema.d.ts +6 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-exchange-response.schema.js +9 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-exchange-response.schema.js.map +1 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-init-response.schema.d.ts +7 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-init-response.schema.js +10 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-init-response.schema.js.map +1 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-status-response.schema.d.ts +6 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-status-response.schema.js +9 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-status-response.schema.js.map +1 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-status.enum.d.ts +6 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-status.enum.js +11 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-status.enum.js.map +1 -0
- package/build/v1/telegram-auth/telegram-auth.errors.d.ts +10 -0
- package/build/v1/telegram-auth/telegram-auth.errors.js +39 -0
- package/build/v1/telegram-auth/telegram-auth.errors.js.map +1 -0
- package/build/v1/telegram-profile/index.d.ts +1 -0
- package/build/v1/telegram-profile/index.js +18 -0
- package/build/v1/telegram-profile/index.js.map +1 -0
- package/build/v1/telegram-profile/telegram-profile.errors.d.ts +5 -0
- package/build/v1/telegram-profile/telegram-profile.errors.js +14 -0
- package/build/v1/telegram-profile/telegram-profile.errors.js.map +1 -0
- package/build/v1/unregistered-users/commands/authenticate.command.js +1 -0
- package/build/v1/unregistered-users/commands/authenticate.command.js.map +1 -0
- package/build/v1/unregistered-users/commands/index.js +1 -0
- package/build/v1/unregistered-users/commands/index.js.map +1 -0
- package/build/v1/unregistered-users/index.js +1 -0
- package/build/v1/unregistered-users/index.js.map +1 -0
- package/build/v1/unregistered-users/schemas/authenticate-request.schema.d.ts +0 -8
- package/build/v1/unregistered-users/schemas/authenticate-request.schema.js +1 -8
- package/build/v1/unregistered-users/schemas/authenticate-request.schema.js.map +1 -0
- package/build/v1/unregistered-users/schemas/authenticate-response.schema.d.ts +0 -3
- package/build/v1/unregistered-users/schemas/authenticate-response.schema.js +1 -3
- package/build/v1/unregistered-users/schemas/authenticate-response.schema.js.map +1 -0
- package/build/v1/unregistered-users/schemas/index.js +1 -0
- package/build/v1/unregistered-users/schemas/index.js.map +1 -0
- package/build/v1/unregistered-users/schemas/unreg-user-status.enum.d.ts +0 -3
- package/build/v1/unregistered-users/schemas/unreg-user-status.enum.js +1 -3
- package/build/v1/unregistered-users/schemas/unreg-user-status.enum.js.map +1 -0
- package/build/v1/unregistered-users/unregistered-users.errors.js +1 -0
- package/build/v1/unregistered-users/unregistered-users.errors.js.map +1 -0
- package/build/v1/users/commands/change-password.command.js +1 -0
- package/build/v1/users/commands/change-password.command.js.map +1 -0
- package/build/v1/users/commands/delete-account-complete.command.js +1 -0
- package/build/v1/users/commands/delete-account-complete.command.js.map +1 -0
- package/build/v1/users/commands/delete-account-start.command.js +1 -0
- package/build/v1/users/commands/delete-account-start.command.js.map +1 -0
- package/build/v1/users/commands/delete-account-verify.command.js +1 -0
- package/build/v1/users/commands/delete-account-verify.command.js.map +1 -0
- package/build/v1/users/commands/delete-account.command.js +1 -0
- package/build/v1/users/commands/delete-account.command.js.map +1 -0
- package/build/v1/users/commands/email-change-complete.command.js +1 -0
- package/build/v1/users/commands/email-change-complete.command.js.map +1 -0
- package/build/v1/users/commands/email-change-start.command.js +1 -0
- package/build/v1/users/commands/email-change-start.command.js.map +1 -0
- package/build/v1/users/commands/email-change-verify.command.js +1 -0
- package/build/v1/users/commands/email-change-verify.command.js.map +1 -0
- package/build/v1/users/commands/index.js +1 -0
- package/build/v1/users/commands/index.js.map +1 -0
- package/build/v1/users/commands/password-change-complete.command.js +1 -0
- package/build/v1/users/commands/password-change-complete.command.js.map +1 -0
- package/build/v1/users/commands/password-change-start.command.js +1 -0
- package/build/v1/users/commands/password-change-start.command.js.map +1 -0
- package/build/v1/users/commands/password-change-verify.command.js +1 -0
- package/build/v1/users/commands/password-change-verify.command.js.map +1 -0
- package/build/v1/users/commands/toggle-marketing-consent.command.d.ts +1 -0
- package/build/v1/users/commands/toggle-marketing-consent.command.js +1 -0
- package/build/v1/users/commands/toggle-marketing-consent.command.js.map +1 -0
- package/build/v1/users/commands/update-profile.command.d.ts +1 -0
- package/build/v1/users/commands/update-profile.command.js +1 -0
- package/build/v1/users/commands/update-profile.command.js.map +1 -0
- package/build/v1/users/index.js +1 -1
- package/build/v1/users/index.js.map +1 -0
- package/build/v1/users/queries/delete-account-status.query.js +1 -0
- package/build/v1/users/queries/delete-account-status.query.js.map +1 -0
- package/build/v1/users/queries/email-change-status.query.js +1 -0
- package/build/v1/users/queries/email-change-status.query.js.map +1 -0
- package/build/v1/users/queries/get-current-user.query.d.ts +1 -0
- package/build/v1/users/queries/get-current-user.query.js +1 -0
- package/build/v1/users/queries/get-current-user.query.js.map +1 -0
- package/build/v1/users/queries/index.js +1 -0
- package/build/v1/users/queries/index.js.map +1 -0
- package/build/v1/users/queries/password-change-status.query.js +1 -0
- package/build/v1/users/queries/password-change-status.query.js.map +1 -0
- package/build/v1/users/schemas/change-password-request.schema.d.ts +0 -4
- package/build/v1/users/schemas/change-password-request.schema.js +1 -4
- package/build/v1/users/schemas/change-password-request.schema.js.map +1 -0
- package/build/v1/users/schemas/delete-account-request.schema.d.ts +0 -3
- package/build/v1/users/schemas/delete-account-request.schema.js +1 -3
- package/build/v1/users/schemas/delete-account-request.schema.js.map +1 -0
- package/build/v1/users/schemas/delete-account-start-request.schema.d.ts +0 -4
- package/build/v1/users/schemas/delete-account-start-request.schema.js +1 -4
- package/build/v1/users/schemas/delete-account-start-request.schema.js.map +1 -0
- package/build/v1/users/schemas/email-change-start-request.schema.d.ts +0 -4
- package/build/v1/users/schemas/email-change-start-request.schema.js +1 -4
- package/build/v1/users/schemas/email-change-start-request.schema.js.map +1 -0
- package/build/v1/users/schemas/index.d.ts +1 -0
- package/build/v1/users/schemas/index.js +2 -0
- package/build/v1/users/schemas/index.js.map +1 -0
- package/build/v1/users/schemas/password-change-complete-request.schema.d.ts +0 -4
- package/build/v1/users/schemas/password-change-complete-request.schema.js +1 -4
- package/build/v1/users/schemas/password-change-complete-request.schema.js.map +1 -0
- package/build/v1/users/schemas/password-change-start-request.schema.d.ts +0 -4
- package/build/v1/users/schemas/password-change-start-request.schema.js +1 -4
- package/build/v1/users/schemas/password-change-start-request.schema.js.map +1 -0
- package/build/v1/users/schemas/register-type.enum.d.ts +4 -0
- package/build/v1/users/schemas/register-type.enum.js +9 -0
- package/build/v1/users/schemas/register-type.enum.js.map +1 -0
- package/build/v1/users/schemas/response-unions.schema.d.ts +3 -3
- package/build/v1/users/schemas/response-unions.schema.js +1 -3
- package/build/v1/users/schemas/response-unions.schema.js.map +1 -0
- package/build/v1/users/schemas/toggle-marketing-consent-request.schema.d.ts +0 -4
- package/build/v1/users/schemas/toggle-marketing-consent-request.schema.js +1 -4
- package/build/v1/users/schemas/toggle-marketing-consent-request.schema.js.map +1 -0
- package/build/v1/users/schemas/update-profile-request.schema.d.ts +0 -4
- package/build/v1/users/schemas/update-profile-request.schema.js +1 -4
- package/build/v1/users/schemas/update-profile-request.schema.js.map +1 -0
- package/build/v1/users/schemas/user-response.schema.d.ts +2 -3
- package/build/v1/users/schemas/user-response.schema.js +3 -3
- package/build/v1/users/schemas/user-response.schema.js.map +1 -0
- package/build/v1/users/users.errors.js +1 -0
- package/build/v1/users/users.errors.js.map +1 -0
- package/build/v1/verification/commands/cancel-verification.command.js +1 -0
- package/build/v1/verification/commands/cancel-verification.command.js.map +1 -0
- package/build/v1/verification/commands/index.js +1 -0
- package/build/v1/verification/commands/index.js.map +1 -0
- package/build/v1/verification/commands/resend.command.js +1 -0
- package/build/v1/verification/commands/resend.command.js.map +1 -0
- package/build/v1/verification/index.js +1 -0
- package/build/v1/verification/index.js.map +1 -0
- package/build/v1/verification/queries/get-active-verifications.query.js +1 -0
- package/build/v1/verification/queries/get-active-verifications.query.js.map +1 -0
- package/build/v1/verification/queries/index.js +1 -0
- package/build/v1/verification/queries/index.js.map +1 -0
- package/build/v1/verification/schemas/index.js +1 -0
- package/build/v1/verification/schemas/index.js.map +1 -0
- package/build/v1/verification/schemas/verification-channel.enum.js +1 -0
- package/build/v1/verification/schemas/verification-channel.enum.js.map +1 -0
- package/build/v1/verification/schemas/verification-complete-request.schema.d.ts +0 -4
- package/build/v1/verification/schemas/verification-complete-request.schema.js +1 -4
- package/build/v1/verification/schemas/verification-complete-request.schema.js.map +1 -0
- package/build/v1/verification/schemas/verification-complete-response.schema.js +1 -0
- package/build/v1/verification/schemas/verification-complete-response.schema.js.map +1 -0
- package/build/v1/verification/schemas/verification-request-status.enum.js +1 -0
- package/build/v1/verification/schemas/verification-request-status.enum.js.map +1 -0
- package/build/v1/verification/schemas/verification-resend-request.schema.d.ts +0 -4
- package/build/v1/verification/schemas/verification-resend-request.schema.js +1 -4
- package/build/v1/verification/schemas/verification-resend-request.schema.js.map +1 -0
- package/build/v1/verification/schemas/verification-resend-response.schema.js +1 -0
- package/build/v1/verification/schemas/verification-resend-response.schema.js.map +1 -0
- package/build/v1/verification/schemas/verification-start-response.schema.js +1 -0
- package/build/v1/verification/schemas/verification-start-response.schema.js.map +1 -0
- package/build/v1/verification/schemas/verification-status-response.schema.js +1 -0
- package/build/v1/verification/schemas/verification-status-response.schema.js.map +1 -0
- package/build/v1/verification/schemas/verification-step-status.enum.js +1 -0
- package/build/v1/verification/schemas/verification-step-status.enum.js.map +1 -0
- package/build/v1/verification/schemas/verification-step.schema.js +1 -0
- package/build/v1/verification/schemas/verification-step.schema.js.map +1 -0
- package/build/v1/verification/schemas/verification-type.enum.js +1 -0
- package/build/v1/verification/schemas/verification-type.enum.js.map +1 -0
- package/build/v1/verification/schemas/verification-verify-request.schema.d.ts +0 -4
- package/build/v1/verification/schemas/verification-verify-request.schema.js +1 -4
- package/build/v1/verification/schemas/verification-verify-request.schema.js.map +1 -0
- package/build/v1/verification/schemas/verification-verify-response.schema.js +1 -0
- package/build/v1/verification/schemas/verification-verify-response.schema.js.map +1 -0
- package/build/v1/verification/verification.errors.js +1 -0
- package/build/v1/verification/verification.errors.js.map +1 -0
- package/build/v1/wallet/index.js +1 -1
- package/build/v1/wallet/index.js.map +1 -0
- package/build/v1/wallet/queries/get-balance-summary.query.d.ts +0 -4
- package/build/v1/wallet/queries/get-balance-summary.query.js +1 -4
- package/build/v1/wallet/queries/get-balance-summary.query.js.map +1 -0
- package/build/v1/wallet/queries/index.js +1 -0
- package/build/v1/wallet/queries/index.js.map +1 -0
- package/build/v1/wallet/schemas/balance-response.schema.d.ts +0 -9
- package/build/v1/wallet/schemas/balance-response.schema.js +1 -9
- package/build/v1/wallet/schemas/balance-response.schema.js.map +1 -0
- package/build/v1/wallet/schemas/balance-status.enum.d.ts +0 -4
- package/build/v1/wallet/schemas/balance-status.enum.js +1 -4
- package/build/v1/wallet/schemas/balance-status.enum.js.map +1 -0
- package/build/v1/wallet/schemas/hold-status.enum.d.ts +0 -4
- package/build/v1/wallet/schemas/hold-status.enum.js +1 -4
- package/build/v1/wallet/schemas/hold-status.enum.js.map +1 -0
- package/build/v1/wallet/schemas/index.js +1 -3
- package/build/v1/wallet/schemas/index.js.map +1 -0
- package/build/v1/wallet/schemas/initiator-type.enum.d.ts +0 -7
- package/build/v1/wallet/schemas/initiator-type.enum.js +1 -7
- package/build/v1/wallet/schemas/initiator-type.enum.js.map +1 -0
- package/build/v1/wallet/schemas/metadata.schema.d.ts +0 -16
- package/build/v1/wallet/schemas/metadata.schema.js +3 -34
- package/build/v1/wallet/schemas/metadata.schema.js.map +1 -0
- package/build/v1/wallet/schemas/source-type.enum.d.ts +0 -5
- package/build/v1/wallet/schemas/source-type.enum.js +1 -5
- package/build/v1/wallet/schemas/source-type.enum.js.map +1 -0
- package/build/v1/wallet/schemas/transaction-type.enum.d.ts +0 -4
- package/build/v1/wallet/schemas/transaction-type.enum.js +1 -4
- package/build/v1/wallet/schemas/transaction-type.enum.js.map +1 -0
- package/build/v1/wallet/wallet.errors.d.ts +0 -4
- package/build/v1/wallet/wallet.errors.js +1 -18
- package/build/v1/wallet/wallet.errors.js.map +1 -0
- package/package.json +8 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-posts-query.schema.js","sourceRoot":"","sources":["../../../../v1/blog/schemas/get-posts-query.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA0E;AAC1E,mEAAyD;AAE5C,QAAA,wBAAwB,GAAG,8BAAqB,CAAC,MAAM,CAAC;IACjE,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC,CAAC,QAAQ,EAAE;IACzC,eAAe,EAAE,IAAA,yBAAgB,GAAE;CACtC,CAAC,CAAC;AAEU,QAAA,yBAAyB,GAAG,8BAAqB,CAAC,MAAM,CAAC;IAClE,eAAe,EAAE,IAAA,yBAAgB,GAAE;CACtC,CAAC,CAAC"}
|
|
@@ -26,3 +26,4 @@ __exportStar(require("./create-post-request.schema"), exports);
|
|
|
26
26
|
__exportStar(require("./update-post-request.schema"), exports);
|
|
27
27
|
__exportStar(require("./get-posts-query.schema"), exports);
|
|
28
28
|
__exportStar(require("./route-params.schema"), exports);
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/blog/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,0DAAwC;AACxC,wDAAsC;AACtC,6DAA2C;AAC3C,mEAAiD;AACjD,mEAAiD;AACjD,yDAAuC;AACvC,gEAA8C;AAC9C,+DAA6C;AAC7C,+DAA6C;AAC7C,2DAAyC;AACzC,wDAAsC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { BlogPostStatus } from './blog-post-status.enum';
|
|
3
3
|
import { BlogPostMark } from './blog-post-mark.enum';
|
|
4
|
-
/**
|
|
5
|
-
* Post Response Schema
|
|
6
|
-
*/
|
|
7
4
|
export declare const PostResponseSchema: z.ZodObject<{
|
|
8
5
|
uuid: z.ZodString;
|
|
9
6
|
alias: z.ZodString;
|
|
@@ -6,9 +6,6 @@ const regex_1 = require("../../../shared/regex");
|
|
|
6
6
|
const blog_post_status_enum_1 = require("./blog-post-status.enum");
|
|
7
7
|
const blog_post_mark_enum_1 = require("./blog-post-mark.enum");
|
|
8
8
|
const category_response_schema_1 = require("./category-response.schema");
|
|
9
|
-
/**
|
|
10
|
-
* Post Response Schema
|
|
11
|
-
*/
|
|
12
9
|
exports.PostResponseSchema = zod_1.z.object({
|
|
13
10
|
uuid: zod_1.z.string().regex(regex_1.UUID_REGEX),
|
|
14
11
|
alias: zod_1.z.string(),
|
|
@@ -29,3 +26,4 @@ exports.PostResponseSchema = zod_1.z.object({
|
|
|
29
26
|
createdAt: zod_1.z.string().regex(regex_1.DATETIME_REGEX),
|
|
30
27
|
updatedAt: zod_1.z.string().regex(regex_1.DATETIME_REGEX),
|
|
31
28
|
});
|
|
29
|
+
//# sourceMappingURL=post-response.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-response.schema.js","sourceRoot":"","sources":["../../../../v1/blog/schemas/post-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAmE;AACnE,mEAAyD;AACzD,+DAAqD;AACrD,yEAAoE;AAKvD,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;IAClC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;IAC3B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,iDAAsB,CAAC;IAC3C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC1C,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,sCAAc,CAAC;IACpC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC,CAAC,QAAQ,EAAE;IAC/C,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,UAAU,CAAC,kCAAY,CAAC,CAAC;IAC1C,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,sBAAc,CAAC;IAC3C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,sBAAc,CAAC;CAC9C,CAAC,CAAC"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* Mini Page object for public post response
|
|
4
|
-
*/
|
|
5
2
|
export declare const MiniPageSchema: z.ZodObject<{
|
|
6
3
|
uuid: z.ZodString;
|
|
7
4
|
alias: z.ZodString;
|
|
8
5
|
}, z.core.$strip>;
|
|
9
|
-
/**
|
|
10
|
-
* Public Post Response Schema
|
|
11
|
-
* Extends PostResponseSchema with page object
|
|
12
|
-
*/
|
|
13
6
|
export declare const PublicPostResponseSchema: z.ZodObject<{
|
|
14
7
|
uuid: z.ZodString;
|
|
15
8
|
alias: z.ZodString;
|
|
@@ -4,17 +4,11 @@ exports.PublicPostResponseSchema = exports.MiniPageSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const regex_1 = require("../../../shared/regex");
|
|
6
6
|
const post_response_schema_1 = require("./post-response.schema");
|
|
7
|
-
/**
|
|
8
|
-
* Mini Page object for public post response
|
|
9
|
-
*/
|
|
10
7
|
exports.MiniPageSchema = zod_1.z.object({
|
|
11
8
|
uuid: zod_1.z.string().regex(regex_1.UUID_REGEX),
|
|
12
9
|
alias: zod_1.z.string(),
|
|
13
10
|
});
|
|
14
|
-
/**
|
|
15
|
-
* Public Post Response Schema
|
|
16
|
-
* Extends PostResponseSchema with page object
|
|
17
|
-
*/
|
|
18
11
|
exports.PublicPostResponseSchema = post_response_schema_1.PostResponseSchema.extend({
|
|
19
12
|
page: exports.MiniPageSchema.nullable(),
|
|
20
13
|
});
|
|
14
|
+
//# sourceMappingURL=public-post-response.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-post-response.schema.js","sourceRoot":"","sources":["../../../../v1/blog/schemas/public-post-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAmD;AACnD,iEAA4D;AAK/C,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;IAClC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAMU,QAAA,wBAAwB,GAAG,yCAAkB,CAAC,MAAM,CAAC;IAC9D,IAAI,EAAE,sBAAc,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC"}
|
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* Schema for UUID route parameter validation
|
|
4
|
-
* Used in admin endpoints: GET /posts/:uuid, DELETE /posts/:uuid, etc.
|
|
5
|
-
* Error messages: UuidParam.{field}.{rule}
|
|
6
|
-
*/
|
|
7
2
|
export declare const UuidParamSchema: z.ZodObject<{
|
|
8
3
|
uuid: z.ZodString;
|
|
9
4
|
}, z.core.$strip>;
|
|
10
|
-
/**
|
|
11
|
-
* Schema for alias route parameter validation
|
|
12
|
-
* Used in public endpoints: GET /posts/:alias
|
|
13
|
-
* Error messages: AliasParam.{field}.{rule}
|
|
14
|
-
*/
|
|
15
5
|
export declare const AliasParamSchema: z.ZodObject<{
|
|
16
6
|
alias: z.ZodString;
|
|
17
7
|
}, z.core.$strip>;
|
|
@@ -3,21 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AliasParamSchema = exports.UuidParamSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const regex_1 = require("../../../shared/regex");
|
|
6
|
-
/**
|
|
7
|
-
* Schema for UUID route parameter validation
|
|
8
|
-
* Used in admin endpoints: GET /posts/:uuid, DELETE /posts/:uuid, etc.
|
|
9
|
-
* Error messages: UuidParam.{field}.{rule}
|
|
10
|
-
*/
|
|
11
6
|
exports.UuidParamSchema = zod_1.z.object({
|
|
12
7
|
uuid: zod_1.z
|
|
13
8
|
.string({ error: 'UuidParam.uuid.required' })
|
|
14
9
|
.uuid({ message: 'UuidParam.uuid.invalid' }),
|
|
15
10
|
});
|
|
16
|
-
/**
|
|
17
|
-
* Schema for alias route parameter validation
|
|
18
|
-
* Used in public endpoints: GET /posts/:alias
|
|
19
|
-
* Error messages: AliasParam.{field}.{rule}
|
|
20
|
-
*/
|
|
21
11
|
exports.AliasParamSchema = zod_1.z.object({
|
|
22
12
|
alias: zod_1.z
|
|
23
13
|
.string({ error: 'AliasParam.alias.required' })
|
|
@@ -25,3 +15,4 @@ exports.AliasParamSchema = zod_1.z.object({
|
|
|
25
15
|
.max(200, { message: 'AliasParam.alias.max' })
|
|
26
16
|
.regex(regex_1.SLUG_REGEX, { message: 'AliasParam.alias.invalid' }),
|
|
27
17
|
});
|
|
18
|
+
//# sourceMappingURL=route-params.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route-params.schema.js","sourceRoot":"","sources":["../../../../v1/blog/schemas/route-params.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAmD;AAOtC,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,IAAI,EAAE,OAAC;SACF,MAAM,CAAC,EAAE,KAAK,EAAE,yBAAyB,EAAE,CAAC;SAC5C,IAAI,CAAC,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;CACnD,CAAC,CAAC;AAOU,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,OAAC;SACH,MAAM,CAAC,EAAE,KAAK,EAAE,2BAA2B,EAAE,CAAC;SAC9C,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC;SAC3C,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC;SAC7C,KAAK,CAAC,kBAAU,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,CAAC;CAClE,CAAC,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { BlogCategoryStatus } from './blog-category-status.enum';
|
|
3
|
-
/**
|
|
4
|
-
* Update Category Request Schema
|
|
5
|
-
* Error messages: UpdateCategoryRequest.{field}.{rule}
|
|
6
|
-
*/
|
|
7
3
|
export declare const UpdateCategoryRequestSchema: z.ZodObject<{
|
|
8
4
|
alias: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
9
5
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -4,10 +4,6 @@ exports.UpdateCategoryRequestSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const regex_1 = require("../../../shared/regex");
|
|
6
6
|
const blog_category_status_enum_1 = require("./blog-category-status.enum");
|
|
7
|
-
/**
|
|
8
|
-
* Update Category Request Schema
|
|
9
|
-
* Error messages: UpdateCategoryRequest.{field}.{rule}
|
|
10
|
-
*/
|
|
11
7
|
exports.UpdateCategoryRequestSchema = zod_1.z.object({
|
|
12
8
|
alias: zod_1.z
|
|
13
9
|
.string()
|
|
@@ -24,3 +20,4 @@ exports.UpdateCategoryRequestSchema = zod_1.z.object({
|
|
|
24
20
|
order: zod_1.z.number().int().nonnegative({ message: 'UpdateCategoryRequest.order.invalid' }).optional(),
|
|
25
21
|
status: zod_1.z.nativeEnum(blog_category_status_enum_1.BlogCategoryStatus).optional(),
|
|
26
22
|
});
|
|
23
|
+
//# sourceMappingURL=update-category-request.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-category-request.schema.js","sourceRoot":"","sources":["../../../../v1/blog/schemas/update-category-request.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAmD;AACnD,2EAAiE;AAMpD,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;SACtD,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;SACxD,KAAK,CAAC,kBAAU,EAAE,EAAE,OAAO,EAAE,qCAAqC,EAAE,CAAC;SACrE,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC;SAC5C,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;SACtD,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;SACxD,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,qCAAqC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClG,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,8CAAkB,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAC"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { BlogPostStatus } from './blog-post-status.enum';
|
|
3
3
|
import { BlogPostMark } from './blog-post-mark.enum';
|
|
4
|
-
/**
|
|
5
|
-
* Update Post Request Schema
|
|
6
|
-
* Error messages: UpdatePostRequest.{field}.{rule}
|
|
7
|
-
*/
|
|
8
4
|
export declare const UpdatePostRequestSchema: z.ZodObject<{
|
|
9
5
|
alias: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
10
6
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -5,10 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const regex_1 = require("../../../shared/regex");
|
|
6
6
|
const blog_post_status_enum_1 = require("./blog-post-status.enum");
|
|
7
7
|
const blog_post_mark_enum_1 = require("./blog-post-mark.enum");
|
|
8
|
-
/**
|
|
9
|
-
* Update Post Request Schema
|
|
10
|
-
* Error messages: UpdatePostRequest.{field}.{rule}
|
|
11
|
-
*/
|
|
12
8
|
exports.UpdatePostRequestSchema = zod_1.z
|
|
13
9
|
.object({
|
|
14
10
|
alias: zod_1.z
|
|
@@ -75,3 +71,4 @@ exports.UpdatePostRequestSchema = zod_1.z
|
|
|
75
71
|
}, {
|
|
76
72
|
message: 'UpdatePostRequest.aiWidgetRequired',
|
|
77
73
|
});
|
|
74
|
+
//# sourceMappingURL=update-post-request.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-post-request.schema.js","sourceRoot":"","sources":["../../../../v1/blog/schemas/update-post-request.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAA+D;AAC/D,mEAAyD;AACzD,+DAAqD;AAMxC,QAAA,uBAAuB,GAAG,OAAC;KACnC,MAAM,CAAC;IACJ,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;SAClD,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;SACpD,KAAK,CAAC,kBAAU,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;SACjE,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC;SAC5C,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;SAClD,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;SACpD,QAAQ,EAAE;IACf,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9F,SAAS,EAAE,OAAC;SACP,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;SACtD,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;SACxD,QAAQ,EAAE;IACf,eAAe,EAAE,OAAC;SACb,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,uCAAuC,EAAE,CAAC;SAC5D,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,uCAAuC,EAAE,CAAC;SAC9D,QAAQ,EAAE;IACf,OAAO,EAAE,OAAC;SACL,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,+BAA+B,EAAE,CAAC;SACpD,GAAG,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,+BAA+B,EAAE,CAAC;SAC1D,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChF,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;SACnD,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;SACrD,QAAQ,EAAE;IACf,WAAW,EAAE,OAAC;SACT,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,EAAE,EAAE,OAAO,EAAE,2CAA2C,EAAE,CAAC,CAAC;SAC7F,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;SACxD,QAAQ,EAAE;IACf,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,sCAAc,CAAC,CAAC,QAAQ,EAAE;IAC/C,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,KAAK,CAAC,kBAAU,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;SACtE,QAAQ,EAAE;SACV,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,UAAU,CAAC,kCAAY,CAAC,CAAC,CAAC,QAAQ,EAAE;IACrD,mBAAmB,EAAE,OAAC;SACjB,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,2CAA2C,EAAE,CAAC;SAClE,QAAQ,EAAE;SACV,QAAQ,EAAE;IACf,cAAc,EAAE,OAAC;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;SAC9D,QAAQ,EAAE;SACV,QAAQ,EAAE;CAClB,CAAC;KACD,MAAM,CACH,CAAC,IAAI,EAAE,EAAE;IACL,IAAI,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,kCAAY,CAAC,SAAS,CAAC,EAAE,CAAC;QAC/C,OAAO,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,CAAC,cAAc,CAAC;IAC1E,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC,EACD;IACI,OAAO,EAAE,oCAAoC;CAChD,CACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat.errors.js","sourceRoot":"","sources":["../../../v1/chat/chat.errors.ts"],"names":[],"mappings":";;;AAEA,IAAY,aAOX;AAPD,WAAY,aAAa;IACrB,kDAAiC,CAAA;IACjC,sDAAqC,CAAA;IACrC,kDAAiC,CAAA;IACjC,8DAA6C,CAAA;IAC7C,kDAAiC,CAAA;IACjC,sDAAqC,CAAA;AACzC,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAEY,QAAA,WAAW,GAAyC;IAC7D,CAAC,aAAa,CAAC,cAAc,CAAC,EAAE;QAC5B,IAAI,EAAE,aAAa,CAAC,cAAc;QAClC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE;QAC9B,IAAI,EAAE,aAAa,CAAC,gBAAgB;QACpC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,aAAa,CAAC,cAAc,CAAC,EAAE;QAC5B,IAAI,EAAE,aAAa,CAAC,cAAc;QAClC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE;QAClC,IAAI,EAAE,aAAa,CAAC,oBAAoB;QACxC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,aAAa,CAAC,cAAc,CAAC,EAAE;QAC5B,IAAI,EAAE,aAAa,CAAC,cAAc;QAClC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE;QAC9B,IAAI,EAAE,aAAa,CAAC,gBAAgB;QACpC,UAAU,EAAE,GAAG;KAClB;CACK,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
-
/**
|
|
4
|
-
* Create Reg Chat Command
|
|
5
|
-
* POST /api/v1/page/:pageId/chat
|
|
6
|
-
*/
|
|
7
3
|
export declare namespace CreateRegChatCommand {
|
|
8
4
|
const Request: z.ZodObject<{
|
|
9
5
|
folderId: z.ZodOptional<z.ZodString>;
|
|
@@ -4,10 +4,6 @@ exports.CreateRegChatCommand = void 0;
|
|
|
4
4
|
const schemas_1 = require("../schemas");
|
|
5
5
|
const rest_api_1 = require("../../../rest-api");
|
|
6
6
|
const http_method_1 = require("../../../shared/http-method");
|
|
7
|
-
/**
|
|
8
|
-
* Create Reg Chat Command
|
|
9
|
-
* POST /api/v1/page/:pageId/chat
|
|
10
|
-
*/
|
|
11
7
|
var CreateRegChatCommand;
|
|
12
8
|
(function (CreateRegChatCommand) {
|
|
13
9
|
CreateRegChatCommand.Request = schemas_1.CreateChatRequestSchema;
|
|
@@ -15,3 +11,4 @@ var CreateRegChatCommand;
|
|
|
15
11
|
CreateRegChatCommand.URL = (pageId) => rest_api_1.REST_API.V1.CHAT.REG.CREATE(pageId);
|
|
16
12
|
CreateRegChatCommand.METHOD = http_method_1.HttpMethod.POST;
|
|
17
13
|
})(CreateRegChatCommand || (exports.CreateRegChatCommand = CreateRegChatCommand = {}));
|
|
14
|
+
//# sourceMappingURL=create-reg-chat.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-reg-chat.command.js","sourceRoot":"","sources":["../../../../v1/chat/commands/create-reg-chat.command.ts"],"names":[],"mappings":";;;AACA,wCAAqF;AACrF,gDAA6C;AAC7C,6DAAyD;AAMzD,IAAiB,oBAAoB,CASpC;AATD,WAAiB,oBAAoB;IACpB,4BAAO,GAAG,iCAAuB,CAAC;IAClC,6BAAQ,GAAG,wCAA8B,CAAC;IAE1C,wBAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D,2BAAM,GAAG,wBAAU,CAAC,IAAI,CAAC;AAI1C,CAAC,EATgB,oBAAoB,oCAApB,oBAAoB,QASpC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
-
/**
|
|
4
|
-
* Create Unreg Chat Command
|
|
5
|
-
* POST /api/v1/unreg/page/:pageId/chat
|
|
6
|
-
*/
|
|
7
3
|
export declare namespace CreateUnregChatCommand {
|
|
8
4
|
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
9
5
|
const Response: z.ZodObject<{
|
|
@@ -5,10 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const schemas_1 = require("../schemas");
|
|
6
6
|
const rest_api_1 = require("../../../rest-api");
|
|
7
7
|
const http_method_1 = require("../../../shared/http-method");
|
|
8
|
-
/**
|
|
9
|
-
* Create Unreg Chat Command
|
|
10
|
-
* POST /api/v1/unreg/page/:pageId/chat
|
|
11
|
-
*/
|
|
12
8
|
var CreateUnregChatCommand;
|
|
13
9
|
(function (CreateUnregChatCommand) {
|
|
14
10
|
CreateUnregChatCommand.Request = zod_1.z.object({});
|
|
@@ -16,3 +12,4 @@ var CreateUnregChatCommand;
|
|
|
16
12
|
CreateUnregChatCommand.URL = (pageId) => rest_api_1.REST_API.V1.CHAT.UNREG.CREATE(pageId);
|
|
17
13
|
CreateUnregChatCommand.METHOD = http_method_1.HttpMethod.POST;
|
|
18
14
|
})(CreateUnregChatCommand || (exports.CreateUnregChatCommand = CreateUnregChatCommand = {}));
|
|
15
|
+
//# sourceMappingURL=create-unreg-chat.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-unreg-chat.command.js","sourceRoot":"","sources":["../../../../v1/chat/commands/create-unreg-chat.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAA4D;AAC5D,gDAA6C;AAC7C,6DAAyD;AAMzD,IAAiB,sBAAsB,CAStC;AATD,WAAiB,sBAAsB;IACtB,8BAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,+BAAQ,GAAG,wCAA8B,CAAC;IAE1C,0BAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE,6BAAM,GAAG,wBAAU,CAAC,IAAI,CAAC;AAI1C,CAAC,EATgB,sBAAsB,sCAAtB,sBAAsB,QAStC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
-
/**
|
|
4
|
-
* Delete Chat Command
|
|
5
|
-
* DELETE /api/v1/page/:pageId/chat/:chatId
|
|
6
|
-
*/
|
|
7
3
|
export declare namespace DeleteChatCommand {
|
|
8
4
|
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
9
5
|
const Response: z.ZodObject<{
|
|
@@ -5,10 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const schemas_1 = require("../schemas");
|
|
6
6
|
const rest_api_1 = require("../../../rest-api");
|
|
7
7
|
const http_method_1 = require("../../../shared/http-method");
|
|
8
|
-
/**
|
|
9
|
-
* Delete Chat Command
|
|
10
|
-
* DELETE /api/v1/page/:pageId/chat/:chatId
|
|
11
|
-
*/
|
|
12
8
|
var DeleteChatCommand;
|
|
13
9
|
(function (DeleteChatCommand) {
|
|
14
10
|
DeleteChatCommand.Request = zod_1.z.object({});
|
|
@@ -16,3 +12,4 @@ var DeleteChatCommand;
|
|
|
16
12
|
DeleteChatCommand.URL = (pageId, chatId) => rest_api_1.REST_API.V1.CHAT.REG.DELETE(pageId, chatId);
|
|
17
13
|
DeleteChatCommand.METHOD = http_method_1.HttpMethod.DELETE;
|
|
18
14
|
})(DeleteChatCommand || (exports.DeleteChatCommand = DeleteChatCommand = {}));
|
|
15
|
+
//# sourceMappingURL=delete-chat.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-chat.command.js","sourceRoot":"","sources":["../../../../v1/chat/commands/delete-chat.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAsD;AACtD,gDAA6C;AAC7C,6DAAyD;AAMzD,IAAiB,iBAAiB,CASjC;AATD,WAAiB,iBAAiB;IACjB,yBAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,0BAAQ,GAAG,kCAAwB,CAAC;IAEpC,qBAAG,GAAG,CAAC,MAAc,EAAE,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtF,wBAAM,GAAG,wBAAU,CAAC,MAAM,CAAC;AAI5C,CAAC,EATgB,iBAAiB,iCAAjB,iBAAiB,QASjC"}
|
|
@@ -11,3 +11,4 @@ var update_chat_title_command_1 = require("./update-chat-title.command");
|
|
|
11
11
|
Object.defineProperty(exports, "UpdateChatTitleCommand", { enumerable: true, get: function () { return update_chat_title_command_1.UpdateChatTitleCommand; } });
|
|
12
12
|
var update_chat_command_1 = require("./update-chat.command");
|
|
13
13
|
Object.defineProperty(exports, "UpdateChatCommand", { enumerable: true, get: function () { return update_chat_command_1.UpdateChatCommand; } });
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/chat/commands/index.ts"],"names":[],"mappings":";;;AAAA,yEAAqE;AAA5D,mIAAA,sBAAsB,OAAA;AAC/B,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA;AAC7B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,yEAAqE;AAA5D,mIAAA,sBAAsB,OAAA;AAC/B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
-
/**
|
|
4
|
-
* Update Chat Title Command
|
|
5
|
-
* PATCH /api/v1/page/:pageId/chat/:chatId
|
|
6
|
-
*/
|
|
7
3
|
export declare namespace UpdateChatTitleCommand {
|
|
8
4
|
const Request: z.ZodObject<{
|
|
9
5
|
title: z.ZodString;
|
|
@@ -4,10 +4,6 @@ exports.UpdateChatTitleCommand = void 0;
|
|
|
4
4
|
const schemas_1 = require("../schemas");
|
|
5
5
|
const rest_api_1 = require("../../../rest-api");
|
|
6
6
|
const http_method_1 = require("../../../shared/http-method");
|
|
7
|
-
/**
|
|
8
|
-
* Update Chat Title Command
|
|
9
|
-
* PATCH /api/v1/page/:pageId/chat/:chatId
|
|
10
|
-
*/
|
|
11
7
|
var UpdateChatTitleCommand;
|
|
12
8
|
(function (UpdateChatTitleCommand) {
|
|
13
9
|
UpdateChatTitleCommand.Request = schemas_1.UpdateChatTitleRequestSchema;
|
|
@@ -15,3 +11,4 @@ var UpdateChatTitleCommand;
|
|
|
15
11
|
UpdateChatTitleCommand.URL = (pageId, chatId) => rest_api_1.REST_API.V1.CHAT.REG.UPDATE_TITLE(pageId, chatId);
|
|
16
12
|
UpdateChatTitleCommand.METHOD = http_method_1.HttpMethod.PATCH;
|
|
17
13
|
})(UpdateChatTitleCommand || (exports.UpdateChatTitleCommand = UpdateChatTitleCommand = {}));
|
|
14
|
+
//# sourceMappingURL=update-chat-title.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-chat-title.command.js","sourceRoot":"","sources":["../../../../v1/chat/commands/update-chat-title.command.ts"],"names":[],"mappings":";;;AACA,wCAA0F;AAC1F,gDAA6C;AAC7C,6DAAyD;AAMzD,IAAiB,sBAAsB,CAStC;AATD,WAAiB,sBAAsB;IACtB,8BAAO,GAAG,sCAA4B,CAAC;IACvC,+BAAQ,GAAG,wCAA8B,CAAC;IAE1C,0BAAG,GAAG,CAAC,MAAc,EAAE,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5F,6BAAM,GAAG,wBAAU,CAAC,KAAK,CAAC;AAI3C,CAAC,EATgB,sBAAsB,sCAAtB,sBAAsB,QAStC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
-
/**
|
|
4
|
-
* Update Chat Command
|
|
5
|
-
* PATCH /api/v1/page/:pageId/chat/:chatId
|
|
6
|
-
*/
|
|
7
3
|
export declare namespace UpdateChatCommand {
|
|
8
4
|
const Request: z.ZodObject<{
|
|
9
5
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -4,10 +4,6 @@ exports.UpdateChatCommand = void 0;
|
|
|
4
4
|
const schemas_1 = require("../schemas");
|
|
5
5
|
const rest_api_1 = require("../../../rest-api");
|
|
6
6
|
const http_method_1 = require("../../../shared/http-method");
|
|
7
|
-
/**
|
|
8
|
-
* Update Chat Command
|
|
9
|
-
* PATCH /api/v1/page/:pageId/chat/:chatId
|
|
10
|
-
*/
|
|
11
7
|
var UpdateChatCommand;
|
|
12
8
|
(function (UpdateChatCommand) {
|
|
13
9
|
UpdateChatCommand.Request = schemas_1.UpdateChatRequestSchema;
|
|
@@ -15,3 +11,4 @@ var UpdateChatCommand;
|
|
|
15
11
|
UpdateChatCommand.URL = (pageId, chatId) => rest_api_1.REST_API.V1.CHAT.REG.UPDATE_TITLE(pageId, chatId);
|
|
16
12
|
UpdateChatCommand.METHOD = http_method_1.HttpMethod.PATCH;
|
|
17
13
|
})(UpdateChatCommand || (exports.UpdateChatCommand = UpdateChatCommand = {}));
|
|
14
|
+
//# sourceMappingURL=update-chat.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-chat.command.js","sourceRoot":"","sources":["../../../../v1/chat/commands/update-chat.command.ts"],"names":[],"mappings":";;;AACA,wCAAqF;AACrF,gDAA6C;AAC7C,6DAAyD;AAMzD,IAAiB,iBAAiB,CAUjC;AAVD,WAAiB,iBAAiB;IACjB,yBAAO,GAAG,iCAAuB,CAAC;IAClC,0BAAQ,GAAG,wCAA8B,CAAC;IAE1C,qBAAG,GAAG,CAAC,MAAc,EAAE,MAAc,EAAE,EAAE,CAClD,mBAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,wBAAM,GAAG,wBAAU,CAAC,KAAK,CAAC;AAI3C,CAAC,EAVgB,iBAAiB,iCAAjB,iBAAiB,QAUjC"}
|
package/build/v1/chat/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/chat/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,gDAA8B"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
-
/**
|
|
4
|
-
* Get Chat History Query
|
|
5
|
-
* GET /api/v1/chat/history
|
|
6
|
-
*/
|
|
7
3
|
export declare namespace GetChatHistoryQuery {
|
|
8
4
|
const Request: z.ZodObject<{
|
|
9
5
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -4,10 +4,6 @@ exports.GetChatHistoryQuery = void 0;
|
|
|
4
4
|
const schemas_1 = require("../schemas");
|
|
5
5
|
const http_method_1 = require("../../../shared/http-method");
|
|
6
6
|
const rest_api_1 = require("../../../rest-api");
|
|
7
|
-
/**
|
|
8
|
-
* Get Chat History Query
|
|
9
|
-
* GET /api/v1/chat/history
|
|
10
|
-
*/
|
|
11
7
|
var GetChatHistoryQuery;
|
|
12
8
|
(function (GetChatHistoryQuery) {
|
|
13
9
|
GetChatHistoryQuery.Request = schemas_1.GetChatHistoryRequestSchema;
|
|
@@ -15,3 +11,4 @@ var GetChatHistoryQuery;
|
|
|
15
11
|
GetChatHistoryQuery.URL = rest_api_1.REST_API.V1.CHAT.HISTORY;
|
|
16
12
|
GetChatHistoryQuery.METHOD = http_method_1.HttpMethod.GET;
|
|
17
13
|
})(GetChatHistoryQuery || (exports.GetChatHistoryQuery = GetChatHistoryQuery = {}));
|
|
14
|
+
//# sourceMappingURL=get-chat-history.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-chat-history.query.js","sourceRoot":"","sources":["../../../../v1/chat/queries/get-chat-history.query.ts"],"names":[],"mappings":";;;AACA,wCAAuF;AACvF,6DAAyD;AACzD,gDAA6C;AAM7C,IAAiB,mBAAmB,CASnC;AATD,WAAiB,mBAAmB;IACnB,2BAAO,GAAG,qCAA2B,CAAC;IACtC,4BAAQ,GAAG,sCAA4B,CAAC;IAExC,uBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;IAC/B,0BAAM,GAAG,wBAAU,CAAC,GAAG,CAAC;AAIzC,CAAC,EATgB,mBAAmB,mCAAnB,mBAAmB,QASnC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
-
/**
|
|
4
|
-
* Get Last Active Chat Query
|
|
5
|
-
* GET /api/v1/page/:pageId/chat/last-active
|
|
6
|
-
*/
|
|
7
3
|
export declare namespace GetLastActiveChatQuery {
|
|
8
4
|
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
9
5
|
const Response: z.ZodObject<{
|
|
@@ -5,10 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const schemas_1 = require("../schemas");
|
|
6
6
|
const rest_api_1 = require("../../../rest-api");
|
|
7
7
|
const http_method_1 = require("../../../shared/http-method");
|
|
8
|
-
/**
|
|
9
|
-
* Get Last Active Chat Query
|
|
10
|
-
* GET /api/v1/page/:pageId/chat/last-active
|
|
11
|
-
*/
|
|
12
8
|
var GetLastActiveChatQuery;
|
|
13
9
|
(function (GetLastActiveChatQuery) {
|
|
14
10
|
GetLastActiveChatQuery.Request = zod_1.z.object({});
|
|
@@ -16,3 +12,4 @@ var GetLastActiveChatQuery;
|
|
|
16
12
|
GetLastActiveChatQuery.URL = (pageId) => rest_api_1.REST_API.V1.CHAT.REG.GET_LAST_ACTIVE(pageId);
|
|
17
13
|
GetLastActiveChatQuery.METHOD = http_method_1.HttpMethod.GET;
|
|
18
14
|
})(GetLastActiveChatQuery || (exports.GetLastActiveChatQuery = GetLastActiveChatQuery = {}));
|
|
15
|
+
//# sourceMappingURL=get-last-active-chat.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-last-active-chat.query.js","sourceRoot":"","sources":["../../../../v1/chat/queries/get-last-active-chat.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAA4D;AAC5D,gDAA6C;AAC7C,6DAAyD;AAMzD,IAAiB,sBAAsB,CAStC;AATD,WAAiB,sBAAsB;IACtB,8BAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,+BAAQ,GAAG,wCAA8B,CAAC;IAE1C,0BAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IACvE,6BAAM,GAAG,wBAAU,CAAC,GAAG,CAAC;AAIzC,CAAC,EATgB,sBAAsB,sCAAtB,sBAAsB,QAStC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
-
/**
|
|
4
|
-
* Get Reg Chat Query
|
|
5
|
-
* GET /api/v1/page/:pageId/chat/:chatId
|
|
6
|
-
*/
|
|
7
3
|
export declare namespace GetRegChatQuery {
|
|
8
4
|
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
9
5
|
const Response: z.ZodObject<{
|
|
@@ -5,10 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const schemas_1 = require("../schemas");
|
|
6
6
|
const rest_api_1 = require("../../../rest-api");
|
|
7
7
|
const http_method_1 = require("../../../shared/http-method");
|
|
8
|
-
/**
|
|
9
|
-
* Get Reg Chat Query
|
|
10
|
-
* GET /api/v1/page/:pageId/chat/:chatId
|
|
11
|
-
*/
|
|
12
8
|
var GetRegChatQuery;
|
|
13
9
|
(function (GetRegChatQuery) {
|
|
14
10
|
GetRegChatQuery.Request = zod_1.z.object({});
|
|
@@ -16,3 +12,4 @@ var GetRegChatQuery;
|
|
|
16
12
|
GetRegChatQuery.URL = (pageId, chatId) => rest_api_1.REST_API.V1.CHAT.REG.GET_BY_ID(pageId, chatId);
|
|
17
13
|
GetRegChatQuery.METHOD = http_method_1.HttpMethod.GET;
|
|
18
14
|
})(GetRegChatQuery || (exports.GetRegChatQuery = GetRegChatQuery = {}));
|
|
15
|
+
//# sourceMappingURL=get-reg-chat.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reg-chat.query.js","sourceRoot":"","sources":["../../../../v1/chat/queries/get-reg-chat.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAA4D;AAC5D,gDAA6C;AAC7C,6DAAyD;AAMzD,IAAiB,eAAe,CAS/B;AATD,WAAiB,eAAe;IACf,uBAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,wBAAQ,GAAG,wCAA8B,CAAC;IAE1C,mBAAG,GAAG,CAAC,MAAc,EAAE,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzF,sBAAM,GAAG,wBAAU,CAAC,GAAG,CAAC;AAIzC,CAAC,EATgB,eAAe,+BAAf,eAAe,QAS/B"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
-
/**
|
|
4
|
-
* Get Unreg Chat Query
|
|
5
|
-
* GET /api/v1/unreg/page/:pageId/chat
|
|
6
|
-
*/
|
|
7
3
|
export declare namespace GetUnregChatQuery {
|
|
8
4
|
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
9
5
|
const Response: z.ZodObject<{
|
|
@@ -5,10 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const schemas_1 = require("../schemas");
|
|
6
6
|
const rest_api_1 = require("../../../rest-api");
|
|
7
7
|
const http_method_1 = require("../../../shared/http-method");
|
|
8
|
-
/**
|
|
9
|
-
* Get Unreg Chat Query
|
|
10
|
-
* GET /api/v1/unreg/page/:pageId/chat
|
|
11
|
-
*/
|
|
12
8
|
var GetUnregChatQuery;
|
|
13
9
|
(function (GetUnregChatQuery) {
|
|
14
10
|
GetUnregChatQuery.Request = zod_1.z.object({});
|
|
@@ -16,3 +12,4 @@ var GetUnregChatQuery;
|
|
|
16
12
|
GetUnregChatQuery.URL = (pageId) => rest_api_1.REST_API.V1.CHAT.UNREG.GET(pageId);
|
|
17
13
|
GetUnregChatQuery.METHOD = http_method_1.HttpMethod.GET;
|
|
18
14
|
})(GetUnregChatQuery || (exports.GetUnregChatQuery = GetUnregChatQuery = {}));
|
|
15
|
+
//# sourceMappingURL=get-unreg-chat.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-unreg-chat.query.js","sourceRoot":"","sources":["../../../../v1/chat/queries/get-unreg-chat.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAA4D;AAC5D,gDAA6C;AAC7C,6DAAyD;AAMzD,IAAiB,iBAAiB,CASjC;AATD,WAAiB,iBAAiB;IACjB,yBAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,0BAAQ,GAAG,wCAA8B,CAAC;IAE1C,qBAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7D,wBAAM,GAAG,wBAAU,CAAC,GAAG,CAAC;AAIzC,CAAC,EATgB,iBAAiB,iCAAjB,iBAAiB,QASjC"}
|
|
@@ -9,3 +9,4 @@ var get_last_active_chat_query_1 = require("./get-last-active-chat.query");
|
|
|
9
9
|
Object.defineProperty(exports, "GetLastActiveChatQuery", { enumerable: true, get: function () { return get_last_active_chat_query_1.GetLastActiveChatQuery; } });
|
|
10
10
|
var get_chat_history_query_1 = require("./get-chat-history.query");
|
|
11
11
|
Object.defineProperty(exports, "GetChatHistoryQuery", { enumerable: true, get: function () { return get_chat_history_query_1.GetChatHistoryQuery; } });
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/chat/queries/index.ts"],"names":[],"mappings":";;;AAAA,+DAA2D;AAAlD,yHAAA,iBAAiB,OAAA;AAC1B,2DAAuD;AAA9C,qHAAA,eAAe,OAAA;AACxB,2EAAsE;AAA7D,oIAAA,sBAAsB,OAAA;AAC/B,mEAA+D;AAAtD,6HAAA,mBAAmB,OAAA"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* Chat Period Types
|
|
4
|
-
*/
|
|
5
2
|
export declare enum ChatPeriodType {
|
|
6
3
|
TODAY = "TODAY",
|
|
7
4
|
YESTERDAY = "YESTERDAY",
|
|
@@ -9,21 +6,12 @@ export declare enum ChatPeriodType {
|
|
|
9
6
|
MONTH = "MONTH",
|
|
10
7
|
YEAR = "YEAR"
|
|
11
8
|
}
|
|
12
|
-
/**
|
|
13
|
-
* Russian month names (1-indexed: January = index 1)
|
|
14
|
-
*/
|
|
15
9
|
export declare const MONTH_NAMES_RU: readonly ["", "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"];
|
|
16
|
-
/**
|
|
17
|
-
* Period labels
|
|
18
|
-
*/
|
|
19
10
|
export declare const PERIOD_LABELS_RU: {
|
|
20
11
|
readonly TODAY: "Сегодня";
|
|
21
12
|
readonly YESTERDAY: "Вчера";
|
|
22
13
|
readonly LAST_7_DAYS: "Последние 7 дней";
|
|
23
14
|
};
|
|
24
|
-
/**
|
|
25
|
-
* Chat History Item Schema
|
|
26
|
-
*/
|
|
27
15
|
export declare const ChatHistoryItemSchema: z.ZodObject<{
|
|
28
16
|
id: z.ZodString;
|
|
29
17
|
title: z.ZodString;
|
|
@@ -31,9 +19,6 @@ export declare const ChatHistoryItemSchema: z.ZodObject<{
|
|
|
31
19
|
pageId: z.ZodNullable<z.ZodString>;
|
|
32
20
|
}, z.core.$strip>;
|
|
33
21
|
export type ChatHistoryItemDto = z.infer<typeof ChatHistoryItemSchema>;
|
|
34
|
-
/**
|
|
35
|
-
* Chat Period Schema
|
|
36
|
-
*/
|
|
37
22
|
export declare const ChatPeriodSchema: z.ZodObject<{
|
|
38
23
|
type: z.ZodEnum<typeof ChatPeriodType>;
|
|
39
24
|
label: z.ZodString;
|
|
@@ -47,18 +32,11 @@ export declare const ChatPeriodSchema: z.ZodObject<{
|
|
|
47
32
|
}, z.core.$strip>>;
|
|
48
33
|
}, z.core.$strip>;
|
|
49
34
|
export type ChatPeriodDto = z.infer<typeof ChatPeriodSchema>;
|
|
50
|
-
/**
|
|
51
|
-
* Get Chat History Request Schema
|
|
52
|
-
* Error messages: GetChatHistoryRequest.{field}.{rule}
|
|
53
|
-
*/
|
|
54
35
|
export declare const GetChatHistoryRequestSchema: z.ZodObject<{
|
|
55
36
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
56
37
|
cursor: z.ZodOptional<z.ZodString>;
|
|
57
38
|
}, z.core.$strip>;
|
|
58
39
|
export type GetChatHistoryRequestDto = z.infer<typeof GetChatHistoryRequestSchema>;
|
|
59
|
-
/**
|
|
60
|
-
* Get Chat History Response Schema
|
|
61
|
-
*/
|
|
62
40
|
export declare const GetChatHistoryResponseSchema: z.ZodObject<{
|
|
63
41
|
periods: z.ZodArray<z.ZodObject<{
|
|
64
42
|
type: z.ZodEnum<typeof ChatPeriodType>;
|