@veruna/api-contracts 1.0.89 → 1.0.91
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/attribution.controllers.d.ts +1 -0
- package/build/controllers/attribution.controllers.js +5 -0
- package/build/controllers/attribution.controllers.js.map +1 -0
- package/build/controllers/index.d.ts +3 -0
- package/build/controllers/index.js +7 -1
- package/build/controllers/index.js.map +1 -1
- package/build/controllers/notifications.controllers.d.ts +1 -0
- package/build/controllers/notifications.controllers.js +5 -0
- package/build/controllers/notifications.controllers.js.map +1 -0
- package/build/controllers/web-notifications.controllers.d.ts +1 -0
- package/build/controllers/web-notifications.controllers.js +5 -0
- package/build/controllers/web-notifications.controllers.js.map +1 -0
- package/build/locales/validation.d.ts +156 -10
- package/build/locales/validation.js +156 -10
- package/build/locales/validation.js.map +1 -1
- package/build/rest-api.d.ts +23 -3
- package/build/rest-api.js +23 -3
- package/build/rest-api.js.map +1 -1
- package/build/routes/attribution.routes.d.ts +3 -0
- package/build/routes/attribution.routes.js +7 -0
- package/build/routes/attribution.routes.js.map +1 -0
- package/build/routes/index.d.ts +3 -0
- package/build/routes/index.js +7 -1
- package/build/routes/index.js.map +1 -1
- package/build/routes/notifications.routes.d.ts +3 -0
- package/build/routes/notifications.routes.js +7 -0
- package/build/routes/notifications.routes.js.map +1 -0
- package/build/routes/users.routes.d.ts +8 -3
- package/build/routes/users.routes.js +8 -3
- package/build/routes/users.routes.js.map +1 -1
- package/build/routes/web-notifications.routes.d.ts +5 -0
- package/build/routes/web-notifications.routes.js +9 -0
- package/build/routes/web-notifications.routes.js.map +1 -0
- package/build/shared/constants.d.ts +1 -0
- package/build/shared/constants.js +2 -1
- package/build/shared/constants.js.map +1 -1
- package/build/shared/regex.d.ts +3 -0
- package/build/shared/regex.js +4 -1
- package/build/shared/regex.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai-model/schemas/create-model-request.schema.js +9 -9
- package/build/v1/ai-model/schemas/create-model-request.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/update-model-request.schema.js +12 -12
- package/build/v1/ai-model/schemas/update-model-request.schema.js.map +1 -1
- package/build/v1/ai-provider/schemas/create-provider-request.schema.js +1 -1
- package/build/v1/ai-provider/schemas/create-provider-request.schema.js.map +1 -1
- package/build/v1/attribution/attribution.errors.d.ts +8 -0
- package/build/v1/attribution/attribution.errors.js +29 -0
- package/build/v1/attribution/attribution.errors.js.map +1 -0
- package/build/v1/attribution/index.d.ts +2 -0
- package/build/v1/attribution/index.js +19 -0
- package/build/v1/attribution/index.js.map +1 -0
- package/build/v1/attribution/schemas/attribution-event-type.enum.d.ts +8 -0
- package/build/v1/attribution/schemas/attribution-event-type.enum.js +13 -0
- package/build/v1/attribution/schemas/attribution-event-type.enum.js.map +1 -0
- package/build/v1/attribution/schemas/attribution-method.enum.d.ts +4 -0
- package/build/v1/attribution/schemas/attribution-method.enum.js +9 -0
- package/build/v1/attribution/schemas/attribution-method.enum.js.map +1 -0
- package/build/v1/attribution/schemas/attribution-source-module.enum.d.ts +3 -0
- package/build/v1/attribution/schemas/attribution-source-module.enum.js +8 -0
- package/build/v1/attribution/schemas/attribution-source-module.enum.js.map +1 -0
- package/build/v1/attribution/schemas/click-redirect-params.schema.d.ts +5 -0
- package/build/v1/attribution/schemas/click-redirect-params.schema.js +13 -0
- package/build/v1/attribution/schemas/click-redirect-params.schema.js.map +1 -0
- package/build/v1/attribution/schemas/conversion-type.enum.d.ts +4 -0
- package/build/v1/attribution/schemas/conversion-type.enum.js +9 -0
- package/build/v1/attribution/schemas/conversion-type.enum.js.map +1 -0
- package/build/v1/attribution/schemas/index.d.ts +5 -0
- package/build/v1/attribution/schemas/index.js +22 -0
- package/build/v1/attribution/schemas/index.js.map +1 -0
- package/build/v1/auth/auth.errors.d.ts +2 -1
- package/build/v1/auth/auth.errors.js +5 -0
- package/build/v1/auth/auth.errors.js.map +1 -1
- package/build/v1/auth/commands/signin.command.d.ts +0 -1
- package/build/v1/auth/commands/signup.command.d.ts +0 -2
- package/build/v1/auth/schemas/auth-response.schema.d.ts +0 -1
- package/build/v1/auth/schemas/signup-request.schema.d.ts +0 -1
- package/build/v1/auth/schemas/signup-request.schema.js +2 -2
- package/build/v1/auth/schemas/signup-request.schema.js.map +1 -1
- package/build/v1/forms/schemas/cooperation-form.schema.js +4 -2
- package/build/v1/forms/schemas/cooperation-form.schema.js.map +1 -1
- package/build/v1/index.d.ts +2 -0
- package/build/v1/index.js +2 -0
- package/build/v1/index.js.map +1 -1
- package/build/v1/notifications/commands/index.d.ts +1 -0
- package/build/v1/notifications/commands/index.js +18 -0
- package/build/v1/notifications/commands/index.js.map +1 -0
- package/build/v1/notifications/commands/update-notification-settings.command.d.ts +31 -0
- package/build/v1/notifications/commands/update-notification-settings.command.js +14 -0
- package/build/v1/notifications/commands/update-notification-settings.command.js.map +1 -0
- package/build/v1/notifications/index.d.ts +2 -0
- package/build/v1/notifications/index.js +2 -0
- package/build/v1/notifications/index.js.map +1 -1
- package/build/v1/notifications/queries/get-notification-settings.query.d.ts +25 -0
- package/build/v1/notifications/queries/get-notification-settings.query.js +15 -0
- package/build/v1/notifications/queries/get-notification-settings.query.js.map +1 -0
- package/build/v1/notifications/queries/index.d.ts +1 -0
- package/build/v1/notifications/queries/index.js +18 -0
- package/build/v1/notifications/queries/index.js.map +1 -0
- package/build/v1/notifications/schemas/channel-skip-reason.enum.d.ts +4 -0
- package/build/v1/notifications/schemas/channel-skip-reason.enum.js +9 -0
- package/build/v1/notifications/schemas/channel-skip-reason.enum.js.map +1 -0
- package/build/v1/notifications/schemas/index.d.ts +11 -0
- package/build/v1/notifications/schemas/index.js +11 -0
- package/build/v1/notifications/schemas/index.js.map +1 -1
- package/build/v1/notifications/schemas/notification-channel.enum.d.ts +5 -0
- package/build/v1/notifications/schemas/notification-channel.enum.js +10 -0
- package/build/v1/notifications/schemas/notification-channel.enum.js.map +1 -0
- package/build/v1/notifications/schemas/notification-group.enum.d.ts +6 -0
- package/build/v1/notifications/schemas/notification-group.enum.js +11 -0
- package/build/v1/notifications/schemas/notification-group.enum.js.map +1 -0
- package/build/v1/notifications/schemas/notification-job-action.enum.d.ts +7 -0
- package/build/v1/notifications/schemas/notification-job-action.enum.js +12 -0
- package/build/v1/notifications/schemas/notification-job-action.enum.js.map +1 -0
- package/build/v1/notifications/schemas/notification-job-status.enum.d.ts +6 -0
- package/build/v1/notifications/schemas/notification-job-status.enum.js +11 -0
- package/build/v1/notifications/schemas/notification-job-status.enum.js.map +1 -0
- package/build/v1/notifications/schemas/notification-provider.enum.d.ts +4 -0
- package/build/v1/notifications/schemas/notification-provider.enum.js +9 -0
- package/build/v1/notifications/schemas/notification-provider.enum.js.map +1 -0
- package/build/v1/notifications/schemas/notification-setting-status.enum.d.ts +7 -0
- package/build/v1/notifications/schemas/notification-setting-status.enum.js +12 -0
- package/build/v1/notifications/schemas/notification-setting-status.enum.js.map +1 -0
- package/build/v1/notifications/schemas/notification-setting.schema.d.ts +10 -0
- package/build/v1/notifications/schemas/notification-setting.schema.js +13 -0
- package/build/v1/notifications/schemas/notification-setting.schema.js.map +1 -0
- package/build/v1/notifications/schemas/notification-settings-response.schema.d.ts +19 -0
- package/build/v1/notifications/schemas/notification-settings-response.schema.js +19 -0
- package/build/v1/notifications/schemas/notification-settings-response.schema.js.map +1 -0
- package/build/v1/notifications/schemas/telegram-delivery-status.enum.d.ts +5 -0
- package/build/v1/notifications/schemas/telegram-delivery-status.enum.js +10 -0
- package/build/v1/notifications/schemas/telegram-delivery-status.enum.js.map +1 -0
- package/build/v1/notifications/schemas/update-notification-settings-request.schema.d.ts +11 -0
- package/build/v1/notifications/schemas/update-notification-settings-request.schema.js +22 -0
- package/build/v1/notifications/schemas/update-notification-settings-request.schema.js.map +1 -0
- package/build/v1/s2s/schemas/s2s-upload-ai-image-request.schema.js +9 -9
- package/build/v1/s2s/schemas/s2s-upload-ai-image-request.schema.js.map +1 -1
- package/build/v1/users/{queries/confirm-email-verification.query.d.ts → commands/confirm-email-verification.command.d.ts} +3 -2
- package/build/v1/users/commands/confirm-email-verification.command.js +31 -0
- package/build/v1/users/commands/confirm-email-verification.command.js.map +1 -0
- package/build/v1/users/commands/delete-account-start.command.d.ts +1 -1
- package/build/v1/users/commands/delete-account-verify.command.d.ts +6 -0
- package/build/v1/users/commands/email-change-start.command.d.ts +1 -0
- package/build/v1/users/commands/email-change-verify.command.d.ts +6 -0
- package/build/v1/users/commands/index.d.ts +5 -1
- package/build/v1/users/commands/index.js +5 -1
- package/build/v1/users/commands/index.js.map +1 -1
- package/build/v1/users/commands/password-change-verify.command.d.ts +6 -0
- package/build/v1/users/commands/password-reset-confirm.command.d.ts +1 -0
- package/build/v1/users/commands/setup-email-complete.command.d.ts +15 -0
- package/build/v1/users/commands/setup-email-complete.command.js +14 -0
- package/build/v1/users/commands/setup-email-complete.command.js.map +1 -0
- package/build/v1/users/commands/setup-email-verify.command.d.ts +25 -0
- package/build/v1/users/commands/setup-email-verify.command.js +14 -0
- package/build/v1/users/commands/setup-email-verify.command.js.map +1 -0
- package/build/v1/users/commands/setup-email.command.d.ts +9 -6
- package/build/v1/users/commands/setup-email.command.js +1 -1
- package/build/v1/users/commands/setup-email.command.js.map +1 -1
- package/build/v1/users/commands/setup-password-complete.command.d.ts +16 -0
- package/build/v1/users/commands/setup-password-complete.command.js +15 -0
- package/build/v1/users/commands/setup-password-complete.command.js.map +1 -0
- package/build/v1/users/commands/setup-password-verify.command.d.ts +25 -0
- package/build/v1/users/commands/setup-password-verify.command.js +14 -0
- package/build/v1/users/commands/setup-password-verify.command.js.map +1 -0
- package/build/v1/users/commands/setup-password.command.d.ts +11 -5
- package/build/v1/users/commands/setup-password.command.js +1 -1
- package/build/v1/users/commands/setup-password.command.js.map +1 -1
- package/build/v1/users/commands/update-profile.command.d.ts +0 -1
- package/build/v1/users/queries/get-current-user.query.d.ts +0 -1
- package/build/v1/users/queries/get-setup-status.query.d.ts +8 -2
- package/build/v1/users/queries/index.d.ts +2 -1
- package/build/v1/users/queries/index.js +2 -1
- package/build/v1/users/queries/index.js.map +1 -1
- package/build/v1/users/queries/setup-email-status.query.d.ts +22 -0
- package/build/v1/users/queries/setup-email-status.query.js +17 -0
- package/build/v1/users/queries/setup-email-status.query.js.map +1 -0
- package/build/v1/users/queries/setup-password-status.query.d.ts +22 -0
- package/build/v1/users/queries/setup-password-status.query.js +17 -0
- package/build/v1/users/queries/setup-password-status.query.js.map +1 -0
- package/build/v1/users/schemas/change-password-request.schema.js +1 -1
- package/build/v1/users/schemas/change-password-request.schema.js.map +1 -1
- package/build/v1/users/schemas/delete-account-start-request.schema.d.ts +1 -1
- package/build/v1/users/schemas/delete-account-start-request.schema.js +2 -1
- package/build/v1/users/schemas/delete-account-start-request.schema.js.map +1 -1
- package/build/v1/users/schemas/email-change-start-request.schema.d.ts +1 -0
- package/build/v1/users/schemas/email-change-start-request.schema.js +3 -0
- package/build/v1/users/schemas/email-change-start-request.schema.js.map +1 -1
- package/build/v1/users/schemas/index.d.ts +1 -1
- package/build/v1/users/schemas/index.js +1 -1
- package/build/v1/users/schemas/index.js.map +1 -1
- package/build/v1/users/schemas/password-change-complete-request.schema.js +1 -1
- package/build/v1/users/schemas/password-change-complete-request.schema.js.map +1 -1
- package/build/v1/users/schemas/password-reset-confirm-request.schema.d.ts +1 -0
- package/build/v1/users/schemas/password-reset-confirm-request.schema.js +6 -0
- package/build/v1/users/schemas/password-reset-confirm-request.schema.js.map +1 -1
- package/build/v1/users/schemas/response-unions.schema.d.ts +0 -12
- package/build/v1/users/schemas/response-unions.schema.js +1 -2
- package/build/v1/users/schemas/response-unions.schema.js.map +1 -1
- package/build/v1/users/schemas/setup-email-response.schema.d.ts +11 -9
- package/build/v1/users/schemas/setup-email-response.schema.js +2 -12
- package/build/v1/users/schemas/setup-email-response.schema.js.map +1 -1
- package/build/v1/users/schemas/setup-password-complete-request.schema.d.ts +5 -0
- package/build/v1/users/schemas/setup-password-complete-request.schema.js +16 -0
- package/build/v1/users/schemas/setup-password-complete-request.schema.js.map +1 -0
- package/build/v1/users/schemas/setup-password-request.schema.d.ts +1 -3
- package/build/v1/users/schemas/setup-password-request.schema.js +1 -8
- package/build/v1/users/schemas/setup-password-request.schema.js.map +1 -1
- package/build/v1/users/schemas/setup-password-response.schema.d.ts +11 -4
- package/build/v1/users/schemas/setup-password-response.schema.js +2 -5
- package/build/v1/users/schemas/setup-password-response.schema.js.map +1 -1
- package/build/v1/users/schemas/setup-status-response.schema.d.ts +8 -2
- package/build/v1/users/schemas/setup-status-response.schema.js +6 -2
- package/build/v1/users/schemas/setup-status-response.schema.js.map +1 -1
- package/build/v1/users/schemas/user-response.schema.d.ts +0 -1
- package/build/v1/users/schemas/user-response.schema.js +0 -1
- package/build/v1/users/schemas/user-response.schema.js.map +1 -1
- package/build/v1/users/users.errors.d.ts +2 -1
- package/build/v1/users/users.errors.js +5 -0
- package/build/v1/users/users.errors.js.map +1 -1
- package/build/v1/verification/schemas/verification-channel.enum.d.ts +2 -1
- package/build/v1/verification/schemas/verification-channel.enum.js +1 -0
- package/build/v1/verification/schemas/verification-channel.enum.js.map +1 -1
- package/build/v1/verification/schemas/verification-step.schema.js +1 -1
- package/build/v1/verification/schemas/verification-step.schema.js.map +1 -1
- package/build/v1/verification/schemas/verification-type.enum.d.ts +3 -1
- package/build/v1/verification/schemas/verification-type.enum.js +2 -0
- package/build/v1/verification/schemas/verification-type.enum.js.map +1 -1
- package/build/v1/verification/schemas/verification-verify-response.schema.d.ts +6 -0
- package/build/v1/verification/schemas/verification-verify-response.schema.js +2 -0
- package/build/v1/verification/schemas/verification-verify-response.schema.js.map +1 -1
- package/build/v1/vk-auth/vk-auth.errors.d.ts +4 -1
- package/build/v1/vk-auth/vk-auth.errors.js +6 -0
- package/build/v1/vk-auth/vk-auth.errors.js.map +1 -1
- package/build/v1/web-notifications/commands/index.d.ts +1 -0
- package/build/v1/web-notifications/commands/index.js +18 -0
- package/build/v1/web-notifications/commands/index.js.map +1 -0
- package/build/v1/web-notifications/commands/mark-web-notifications-read-up-to.command.d.ts +15 -0
- package/build/v1/web-notifications/commands/mark-web-notifications-read-up-to.command.js +14 -0
- package/build/v1/web-notifications/commands/mark-web-notifications-read-up-to.command.js.map +1 -0
- package/build/v1/web-notifications/index.d.ts +3 -0
- package/build/v1/web-notifications/index.js +20 -0
- package/build/v1/web-notifications/index.js.map +1 -0
- package/build/v1/web-notifications/queries/get-web-notifications.query.d.ts +30 -0
- package/build/v1/web-notifications/queries/get-web-notifications.query.js +14 -0
- package/build/v1/web-notifications/queries/get-web-notifications.query.js.map +1 -0
- package/build/v1/web-notifications/queries/get-web-unread-count.query.d.ts +12 -0
- package/build/v1/web-notifications/queries/get-web-unread-count.query.js +15 -0
- package/build/v1/web-notifications/queries/get-web-unread-count.query.js.map +1 -0
- package/build/v1/web-notifications/queries/index.d.ts +2 -0
- package/build/v1/web-notifications/queries/index.js +19 -0
- package/build/v1/web-notifications/queries/index.js.map +1 -0
- package/build/v1/web-notifications/schemas/get-web-notifications-query.schema.d.ts +8 -0
- package/build/v1/web-notifications/schemas/get-web-notifications-query.schema.js +22 -0
- package/build/v1/web-notifications/schemas/get-web-notifications-query.schema.js.map +1 -0
- package/build/v1/web-notifications/schemas/index.d.ts +7 -0
- package/build/v1/web-notifications/schemas/index.js +24 -0
- package/build/v1/web-notifications/schemas/index.js.map +1 -0
- package/build/v1/web-notifications/schemas/mark-web-notifications-read-up-to-request.schema.d.ts +5 -0
- package/build/v1/web-notifications/schemas/mark-web-notifications-read-up-to-request.schema.js +11 -0
- package/build/v1/web-notifications/schemas/mark-web-notifications-read-up-to-request.schema.js.map +1 -0
- package/build/v1/web-notifications/schemas/mark-web-notifications-read-up-to-response.schema.d.ts +6 -0
- package/build/v1/web-notifications/schemas/mark-web-notifications-read-up-to-response.schema.js +9 -0
- package/build/v1/web-notifications/schemas/mark-web-notifications-read-up-to-response.schema.js.map +1 -0
- package/build/v1/web-notifications/schemas/web-notification-status-filter.enum.d.ts +5 -0
- package/build/v1/web-notifications/schemas/web-notification-status-filter.enum.js +10 -0
- package/build/v1/web-notifications/schemas/web-notification-status-filter.enum.js.map +1 -0
- package/build/v1/web-notifications/schemas/web-notification.schema.d.ts +15 -0
- package/build/v1/web-notifications/schemas/web-notification.schema.js +19 -0
- package/build/v1/web-notifications/schemas/web-notification.schema.js.map +1 -0
- package/build/v1/web-notifications/schemas/web-notifications-response.schema.d.ts +19 -0
- package/build/v1/web-notifications/schemas/web-notifications-response.schema.js +12 -0
- package/build/v1/web-notifications/schemas/web-notifications-response.schema.js.map +1 -0
- package/build/v1/web-notifications/schemas/web-unread-count-response.schema.d.ts +5 -0
- package/build/v1/web-notifications/schemas/web-unread-count-response.schema.js +8 -0
- package/build/v1/web-notifications/schemas/web-unread-count-response.schema.js.map +1 -0
- package/build/v1/yandex-auth/yandex-auth.errors.d.ts +3 -1
- package/build/v1/yandex-auth/yandex-auth.errors.js +10 -0
- package/build/v1/yandex-auth/yandex-auth.errors.js.map +1 -1
- package/package.json +1 -1
- package/build/v1/users/commands/toggle-marketing-consent.command.d.ts +0 -21
- package/build/v1/users/commands/toggle-marketing-consent.command.js +0 -15
- package/build/v1/users/commands/toggle-marketing-consent.command.js.map +0 -1
- package/build/v1/users/queries/confirm-email-verification.query.js +0 -25
- package/build/v1/users/queries/confirm-email-verification.query.js.map +0 -1
- 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 +0 -10
- package/build/v1/users/schemas/toggle-marketing-consent-request.schema.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ATTRIBUTION_CONTROLLER: "v1/atr";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribution.controllers.js","sourceRoot":"","sources":["../../controllers/attribution.controllers.ts"],"names":[],"mappings":";;;AAGa,QAAA,sBAAsB,GAAG,QAAiB,CAAC"}
|
|
@@ -11,6 +11,9 @@ export { FILE_CONTROLLER } from './file.controllers';
|
|
|
11
11
|
export { CHAT_PROJECT_CONTROLLER } from './chat-project.controllers';
|
|
12
12
|
export { CHAT_UNREG_CONTROLLER, CHAT_REG_CONTROLLER, CHAT_HISTORY_CONTROLLER, } from './chat.controllers';
|
|
13
13
|
export { MESSAGE_UNREG_CONTROLLER, MESSAGE_REG_CONTROLLER } from './message.controllers';
|
|
14
|
+
export { NOTIFICATIONS_CONTROLLER } from './notifications.controllers';
|
|
15
|
+
export { WEB_NOTIFICATIONS_CONTROLLER } from './web-notifications.controllers';
|
|
16
|
+
export { ATTRIBUTION_CONTROLLER } from './attribution.controllers';
|
|
14
17
|
export { VERIFICATION_CONTROLLER } from './verification.controllers';
|
|
15
18
|
export { SITEMAP_CONTROLLER } from './sitemap.controllers';
|
|
16
19
|
export { WALLET_CONTROLLER } from './wallet.controllers';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OPEN_GRAPH_UNREG_CONTROLLER = exports.OPEN_GRAPH_REG_CONTROLLER = exports.FORMS_UNREG_CONTROLLER = exports.FORMS_CONTROLLER = exports.YANDEX_PROFILE_CONTROLLER = exports.YANDEX_AUTH_CONTROLLER = exports.VK_PROFILE_CONTROLLER = exports.VK_AUTH_CONTROLLER = exports.TELEGRAM_PROFILE_CONTROLLER = exports.TELEGRAM_AUTH_CONTROLLER = exports.S2S_CONTROLLER = exports.PAGE_HINTS_ADMIN_CONTROLLER = exports.WALLET_CONTROLLER = exports.SITEMAP_CONTROLLER = exports.VERIFICATION_CONTROLLER = exports.MESSAGE_REG_CONTROLLER = exports.MESSAGE_UNREG_CONTROLLER = exports.CHAT_HISTORY_CONTROLLER = exports.CHAT_REG_CONTROLLER = exports.CHAT_UNREG_CONTROLLER = exports.CHAT_PROJECT_CONTROLLER = exports.FILE_CONTROLLER = exports.CLIENT_FILE_CONTROLLER = exports.ADMIN_FILE_CONTROLLER = exports.AI_MODEL_UNREG_CONTROLLER = exports.AI_MODEL_PUBLIC_CONTROLLER = exports.AI_MODEL_ADMIN_CONTROLLER = exports.AI_PROVIDER_PUBLIC_CONTROLLER = exports.AI_PROVIDER_ADMIN_CONTROLLER = exports.SEO_PAGES_PUBLIC_CONTROLLER = exports.SEO_PAGES_ADMIN_CONTROLLER = exports.BLOG_PUBLIC_POSTS_CONTROLLER = exports.BLOG_PUBLIC_CATEGORIES_CONTROLLER = exports.BLOG_ADMIN_POSTS_CONTROLLER = exports.BLOG_ADMIN_CATEGORIES_CONTROLLER = exports.UNREG_USERS_CONTROLLER = exports.USERS_CONTROLLER = exports.AUTH_CONTROLLER = void 0;
|
|
3
|
+
exports.OPEN_GRAPH_UNREG_CONTROLLER = exports.OPEN_GRAPH_REG_CONTROLLER = exports.FORMS_UNREG_CONTROLLER = exports.FORMS_CONTROLLER = exports.YANDEX_PROFILE_CONTROLLER = exports.YANDEX_AUTH_CONTROLLER = exports.VK_PROFILE_CONTROLLER = exports.VK_AUTH_CONTROLLER = exports.TELEGRAM_PROFILE_CONTROLLER = exports.TELEGRAM_AUTH_CONTROLLER = exports.S2S_CONTROLLER = exports.PAGE_HINTS_ADMIN_CONTROLLER = exports.WALLET_CONTROLLER = exports.SITEMAP_CONTROLLER = exports.VERIFICATION_CONTROLLER = exports.ATTRIBUTION_CONTROLLER = exports.WEB_NOTIFICATIONS_CONTROLLER = exports.NOTIFICATIONS_CONTROLLER = exports.MESSAGE_REG_CONTROLLER = exports.MESSAGE_UNREG_CONTROLLER = exports.CHAT_HISTORY_CONTROLLER = exports.CHAT_REG_CONTROLLER = exports.CHAT_UNREG_CONTROLLER = exports.CHAT_PROJECT_CONTROLLER = exports.FILE_CONTROLLER = exports.CLIENT_FILE_CONTROLLER = exports.ADMIN_FILE_CONTROLLER = exports.AI_MODEL_UNREG_CONTROLLER = exports.AI_MODEL_PUBLIC_CONTROLLER = exports.AI_MODEL_ADMIN_CONTROLLER = exports.AI_PROVIDER_PUBLIC_CONTROLLER = exports.AI_PROVIDER_ADMIN_CONTROLLER = exports.SEO_PAGES_PUBLIC_CONTROLLER = exports.SEO_PAGES_ADMIN_CONTROLLER = exports.BLOG_PUBLIC_POSTS_CONTROLLER = exports.BLOG_PUBLIC_CATEGORIES_CONTROLLER = exports.BLOG_ADMIN_POSTS_CONTROLLER = exports.BLOG_ADMIN_CATEGORIES_CONTROLLER = exports.UNREG_USERS_CONTROLLER = exports.USERS_CONTROLLER = exports.AUTH_CONTROLLER = void 0;
|
|
4
4
|
var auth_controllers_1 = require("./auth.controllers");
|
|
5
5
|
Object.defineProperty(exports, "AUTH_CONTROLLER", { enumerable: true, get: function () { return auth_controllers_1.AUTH_CONTROLLER; } });
|
|
6
6
|
var users_controllers_1 = require("./users.controllers");
|
|
@@ -37,6 +37,12 @@ Object.defineProperty(exports, "CHAT_HISTORY_CONTROLLER", { enumerable: true, ge
|
|
|
37
37
|
var message_controllers_1 = require("./message.controllers");
|
|
38
38
|
Object.defineProperty(exports, "MESSAGE_UNREG_CONTROLLER", { enumerable: true, get: function () { return message_controllers_1.MESSAGE_UNREG_CONTROLLER; } });
|
|
39
39
|
Object.defineProperty(exports, "MESSAGE_REG_CONTROLLER", { enumerable: true, get: function () { return message_controllers_1.MESSAGE_REG_CONTROLLER; } });
|
|
40
|
+
var notifications_controllers_1 = require("./notifications.controllers");
|
|
41
|
+
Object.defineProperty(exports, "NOTIFICATIONS_CONTROLLER", { enumerable: true, get: function () { return notifications_controllers_1.NOTIFICATIONS_CONTROLLER; } });
|
|
42
|
+
var web_notifications_controllers_1 = require("./web-notifications.controllers");
|
|
43
|
+
Object.defineProperty(exports, "WEB_NOTIFICATIONS_CONTROLLER", { enumerable: true, get: function () { return web_notifications_controllers_1.WEB_NOTIFICATIONS_CONTROLLER; } });
|
|
44
|
+
var attribution_controllers_1 = require("./attribution.controllers");
|
|
45
|
+
Object.defineProperty(exports, "ATTRIBUTION_CONTROLLER", { enumerable: true, get: function () { return attribution_controllers_1.ATTRIBUTION_CONTROLLER; } });
|
|
40
46
|
var verification_controllers_1 = require("./verification.controllers");
|
|
41
47
|
Object.defineProperty(exports, "VERIFICATION_CONTROLLER", { enumerable: true, get: function () { return verification_controllers_1.VERIFICATION_CONTROLLER; } });
|
|
42
48
|
var sitemap_controllers_1 = require("./sitemap.controllers");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../controllers/index.ts"],"names":[],"mappings":";;;AAGA,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA;AACzB,qEAAmE;AAA1D,iIAAA,sBAAsB,OAAA;AAC/B,uDAK4B;AAJxB,oIAAA,gCAAgC,OAAA;AAChC,+HAAA,2BAA2B,OAAA;AAC3B,qIAAA,iCAAiC,OAAA;AACjC,gIAAA,4BAA4B,OAAA;AAEhC,iEAAkG;AAAzF,mIAAA,0BAA0B,OAAA;AAAE,oIAAA,2BAA2B,OAAA;AAChE,qEAGmC;AAF/B,uIAAA,4BAA4B,OAAA;AAC5B,wIAAA,6BAA6B,OAAA;AAEjC,+DAIgC;AAH5B,iIAAA,yBAAyB,OAAA;AACzB,kIAAA,0BAA0B,OAAA;AAC1B,iIAAA,yBAAyB,OAAA;AAE7B,mEAAiE;AAAxD,+HAAA,qBAAqB,OAAA;AAC9B,qEAAmE;AAA1D,iIAAA,sBAAsB,OAAA;AAC/B,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,uEAAqE;AAA5D,mIAAA,uBAAuB,OAAA;AAChC,uDAI4B;AAHxB,yHAAA,qBAAqB,OAAA;AACrB,uHAAA,mBAAmB,OAAA;AACnB,2HAAA,uBAAuB,OAAA;AAE3B,6DAAyF;AAAhF,+HAAA,wBAAwB,OAAA;AAAE,6HAAA,sBAAsB,OAAA;AACzD,uEAAqE;AAA5D,mIAAA,uBAAuB,OAAA;AAChC,6DAA2D;AAAlD,yHAAA,kBAAkB,OAAA;AAC3B,2DAAyD;AAAhD,uHAAA,iBAAiB,OAAA;AAC1B,mEAAuE;AAA9D,qIAAA,2BAA2B,OAAA;AACpC,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA;AACjC,+EAA6E;AAApE,2IAAA,2BAA2B,OAAA;AACpC,6DAA2D;AAAlD,yHAAA,kBAAkB,OAAA;AAC3B,mEAAiE;AAAxD,+HAAA,qBAAqB,OAAA;AAC9B,qEAAmE;AAA1D,iIAAA,sBAAsB,OAAA;AAC/B,2EAAyE;AAAhE,uIAAA,yBAAyB,OAAA;AAClC,yDAA+E;AAAtE,qHAAA,gBAAgB,OAAA;AAAE,2HAAA,sBAAsB,OAAA;AACjD,mEAAkG;AAAzF,mIAAA,yBAAyB,OAAA;AAAE,qIAAA,2BAA2B,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../controllers/index.ts"],"names":[],"mappings":";;;AAGA,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA;AACzB,qEAAmE;AAA1D,iIAAA,sBAAsB,OAAA;AAC/B,uDAK4B;AAJxB,oIAAA,gCAAgC,OAAA;AAChC,+HAAA,2BAA2B,OAAA;AAC3B,qIAAA,iCAAiC,OAAA;AACjC,gIAAA,4BAA4B,OAAA;AAEhC,iEAAkG;AAAzF,mIAAA,0BAA0B,OAAA;AAAE,oIAAA,2BAA2B,OAAA;AAChE,qEAGmC;AAF/B,uIAAA,4BAA4B,OAAA;AAC5B,wIAAA,6BAA6B,OAAA;AAEjC,+DAIgC;AAH5B,iIAAA,yBAAyB,OAAA;AACzB,kIAAA,0BAA0B,OAAA;AAC1B,iIAAA,yBAAyB,OAAA;AAE7B,mEAAiE;AAAxD,+HAAA,qBAAqB,OAAA;AAC9B,qEAAmE;AAA1D,iIAAA,sBAAsB,OAAA;AAC/B,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,uEAAqE;AAA5D,mIAAA,uBAAuB,OAAA;AAChC,uDAI4B;AAHxB,yHAAA,qBAAqB,OAAA;AACrB,uHAAA,mBAAmB,OAAA;AACnB,2HAAA,uBAAuB,OAAA;AAE3B,6DAAyF;AAAhF,+HAAA,wBAAwB,OAAA;AAAE,6HAAA,sBAAsB,OAAA;AACzD,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA;AACjC,iFAA+E;AAAtE,6IAAA,4BAA4B,OAAA;AACrC,qEAAmE;AAA1D,iIAAA,sBAAsB,OAAA;AAC/B,uEAAqE;AAA5D,mIAAA,uBAAuB,OAAA;AAChC,6DAA2D;AAAlD,yHAAA,kBAAkB,OAAA;AAC3B,2DAAyD;AAAhD,uHAAA,iBAAiB,OAAA;AAC1B,mEAAuE;AAA9D,qIAAA,2BAA2B,OAAA;AACpC,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA;AACjC,+EAA6E;AAApE,2IAAA,2BAA2B,OAAA;AACpC,6DAA2D;AAAlD,yHAAA,kBAAkB,OAAA;AAC3B,mEAAiE;AAAxD,+HAAA,qBAAqB,OAAA;AAC9B,qEAAmE;AAA1D,iIAAA,sBAAsB,OAAA;AAC/B,2EAAyE;AAAhE,uIAAA,yBAAyB,OAAA;AAClC,yDAA+E;AAAtE,qHAAA,gBAAgB,OAAA;AAAE,2HAAA,sBAAsB,OAAA;AACjD,mEAAkG;AAAzF,mIAAA,yBAAyB,OAAA;AAAE,qIAAA,2BAA2B,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NOTIFICATIONS_CONTROLLER: "v1/notifications";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.controllers.js","sourceRoot":"","sources":["../../controllers/notifications.controllers.ts"],"names":[],"mappings":";;;AAGa,QAAA,wBAAwB,GAAG,kBAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WEB_NOTIFICATIONS_CONTROLLER: "v1/web-notifications";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-notifications.controllers.js","sourceRoot":"","sources":["../../controllers/web-notifications.controllers.ts"],"names":[],"mappings":";;;AAGa,QAAA,4BAA4B,GAAG,sBAA+B,CAAC"}
|
|
@@ -14,6 +14,7 @@ export declare const validationMessages: {
|
|
|
14
14
|
readonly name: {
|
|
15
15
|
readonly required: "Name is required";
|
|
16
16
|
readonly min: "Name must be at least 2 characters";
|
|
17
|
+
readonly max: "Name must be at most 100 characters";
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
20
|
readonly SignInRequest: {
|
|
@@ -98,6 +99,10 @@ export declare const validationMessages: {
|
|
|
98
99
|
readonly required: "New email is required";
|
|
99
100
|
readonly invalid: "Invalid email format";
|
|
100
101
|
};
|
|
102
|
+
readonly password: {
|
|
103
|
+
readonly required: "Password is required";
|
|
104
|
+
readonly min: "Password is required";
|
|
105
|
+
};
|
|
101
106
|
};
|
|
102
107
|
readonly PasswordChangeCompleteRequest: {
|
|
103
108
|
readonly requestId: {
|
|
@@ -116,7 +121,11 @@ export declare const validationMessages: {
|
|
|
116
121
|
readonly min: "Current password is required";
|
|
117
122
|
};
|
|
118
123
|
};
|
|
119
|
-
readonly
|
|
124
|
+
readonly SetupPasswordCompleteRequest: {
|
|
125
|
+
readonly requestId: {
|
|
126
|
+
readonly required: "Request ID is required";
|
|
127
|
+
readonly invalid: "Invalid request ID format";
|
|
128
|
+
};
|
|
120
129
|
readonly password: {
|
|
121
130
|
readonly required: "Password is required";
|
|
122
131
|
readonly min: "Password must be at least 8 characters";
|
|
@@ -154,6 +163,10 @@ export declare const validationMessages: {
|
|
|
154
163
|
readonly logoutAllSessions: {
|
|
155
164
|
readonly required: "logoutAllSessions is required";
|
|
156
165
|
};
|
|
166
|
+
readonly atr: {
|
|
167
|
+
readonly invalid: "atr must be a string";
|
|
168
|
+
readonly invalidFormat: "atr must be a valid attribution token";
|
|
169
|
+
};
|
|
157
170
|
};
|
|
158
171
|
readonly ConfirmEmailVerificationQuery: {
|
|
159
172
|
readonly userId: {
|
|
@@ -165,10 +178,9 @@ export declare const validationMessages: {
|
|
|
165
178
|
readonly min: "Verification token is required";
|
|
166
179
|
readonly invalid: "Verification token must be a 64-character hex string";
|
|
167
180
|
};
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
readonly required: "Marketing consent value is required";
|
|
181
|
+
readonly atr: {
|
|
182
|
+
readonly invalid: "atr must be a string";
|
|
183
|
+
readonly invalidFormat: "atr must be a valid attribution token";
|
|
172
184
|
};
|
|
173
185
|
};
|
|
174
186
|
readonly UpdateProfileRequest: {
|
|
@@ -178,6 +190,51 @@ export declare const validationMessages: {
|
|
|
178
190
|
readonly max: "Name must be at most 100 characters";
|
|
179
191
|
};
|
|
180
192
|
};
|
|
193
|
+
readonly GetWebNotificationsQuery: {
|
|
194
|
+
readonly status: {
|
|
195
|
+
readonly invalid: "Invalid notifications status filter";
|
|
196
|
+
};
|
|
197
|
+
readonly limit: {
|
|
198
|
+
readonly invalid: "limit must be a number";
|
|
199
|
+
readonly positive: "limit must be greater than 0";
|
|
200
|
+
readonly max: "limit must be at most 100";
|
|
201
|
+
};
|
|
202
|
+
readonly cursor: {
|
|
203
|
+
readonly invalid: "cursor must be a string";
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
readonly UpdateNotificationSettingsRequest: {
|
|
207
|
+
readonly groupKey: {
|
|
208
|
+
readonly invalid: "Invalid notification group";
|
|
209
|
+
};
|
|
210
|
+
readonly channel: {
|
|
211
|
+
readonly invalid: "Invalid notification channel";
|
|
212
|
+
};
|
|
213
|
+
readonly enabled: {
|
|
214
|
+
readonly required: "enabled is required";
|
|
215
|
+
};
|
|
216
|
+
readonly settings: {
|
|
217
|
+
readonly min: "At least one setting must be provided";
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
readonly MarkWebNotificationsReadUpToRequest: {
|
|
221
|
+
readonly lastUuid: {
|
|
222
|
+
readonly required: "lastUuid is required";
|
|
223
|
+
readonly invalid: "lastUuid must be a valid UUID";
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
readonly ReplayNotificationJobRequest: {
|
|
227
|
+
readonly jobId: {
|
|
228
|
+
readonly required: "jobId is required";
|
|
229
|
+
readonly invalid: "jobId must be a valid UUID";
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
readonly AttributionClickRedirectParams: {
|
|
233
|
+
readonly token: {
|
|
234
|
+
readonly required: "token is required";
|
|
235
|
+
readonly invalid: "token must be a valid attribution token";
|
|
236
|
+
};
|
|
237
|
+
};
|
|
181
238
|
readonly CreateCategoryRequest: {
|
|
182
239
|
readonly alias: {
|
|
183
240
|
readonly required: "Alias is required";
|
|
@@ -827,6 +884,22 @@ export declare const validationMessages: {
|
|
|
827
884
|
readonly min: "At least one reasoning effort level is required";
|
|
828
885
|
};
|
|
829
886
|
};
|
|
887
|
+
readonly CooperationForm: {
|
|
888
|
+
readonly name: {
|
|
889
|
+
readonly required: "Name is required";
|
|
890
|
+
readonly min: "Name is required";
|
|
891
|
+
readonly max: "Name must be at most 200 characters";
|
|
892
|
+
};
|
|
893
|
+
readonly email: {
|
|
894
|
+
readonly required: "Email is required";
|
|
895
|
+
readonly invalid: "Invalid email format";
|
|
896
|
+
};
|
|
897
|
+
readonly message: {
|
|
898
|
+
readonly required: "Message is required";
|
|
899
|
+
readonly min: "Message is required";
|
|
900
|
+
readonly max: "Message must be at most 5000 characters";
|
|
901
|
+
};
|
|
902
|
+
};
|
|
830
903
|
readonly PaginationQuery: {
|
|
831
904
|
readonly page: {
|
|
832
905
|
readonly invalid: "Page must be a positive integer";
|
|
@@ -852,6 +925,7 @@ export declare const validationMessages: {
|
|
|
852
925
|
readonly name: {
|
|
853
926
|
readonly required: "Введите имя";
|
|
854
927
|
readonly min: "Имя должно содержать минимум 2 символа";
|
|
928
|
+
readonly max: "Имя должно содержать максимум 100 символов";
|
|
855
929
|
};
|
|
856
930
|
};
|
|
857
931
|
readonly SignInRequest: {
|
|
@@ -936,6 +1010,10 @@ export declare const validationMessages: {
|
|
|
936
1010
|
readonly required: "Введите новый email";
|
|
937
1011
|
readonly invalid: "Некорректный формат email";
|
|
938
1012
|
};
|
|
1013
|
+
readonly password: {
|
|
1014
|
+
readonly required: "Введите пароль";
|
|
1015
|
+
readonly min: "Введите пароль";
|
|
1016
|
+
};
|
|
939
1017
|
};
|
|
940
1018
|
readonly PasswordChangeCompleteRequest: {
|
|
941
1019
|
readonly requestId: {
|
|
@@ -954,7 +1032,11 @@ export declare const validationMessages: {
|
|
|
954
1032
|
readonly min: "Введите текущий пароль";
|
|
955
1033
|
};
|
|
956
1034
|
};
|
|
957
|
-
readonly
|
|
1035
|
+
readonly SetupPasswordCompleteRequest: {
|
|
1036
|
+
readonly requestId: {
|
|
1037
|
+
readonly required: "Идентификатор запроса обязателен";
|
|
1038
|
+
readonly invalid: "Некорректный формат ID запроса";
|
|
1039
|
+
};
|
|
958
1040
|
readonly password: {
|
|
959
1041
|
readonly required: "Введите пароль";
|
|
960
1042
|
readonly min: "Пароль должен содержать минимум 8 символов";
|
|
@@ -992,6 +1074,10 @@ export declare const validationMessages: {
|
|
|
992
1074
|
readonly logoutAllSessions: {
|
|
993
1075
|
readonly required: "Поле logoutAllSessions обязательно";
|
|
994
1076
|
};
|
|
1077
|
+
readonly atr: {
|
|
1078
|
+
readonly invalid: "atr должен быть строкой";
|
|
1079
|
+
readonly invalidFormat: "atr должен быть валидным attribution токеном";
|
|
1080
|
+
};
|
|
995
1081
|
};
|
|
996
1082
|
readonly ConfirmEmailVerificationQuery: {
|
|
997
1083
|
readonly userId: {
|
|
@@ -1003,10 +1089,9 @@ export declare const validationMessages: {
|
|
|
1003
1089
|
readonly min: "Токен подтверждения обязателен";
|
|
1004
1090
|
readonly invalid: "Токен подтверждения должен быть 64-символьной hex-строкой";
|
|
1005
1091
|
};
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
readonly required: "Укажите согласие на маркетинговые рассылки";
|
|
1092
|
+
readonly atr: {
|
|
1093
|
+
readonly invalid: "atr должен быть строкой";
|
|
1094
|
+
readonly invalidFormat: "atr должен быть валидным attribution токеном";
|
|
1010
1095
|
};
|
|
1011
1096
|
};
|
|
1012
1097
|
readonly UpdateProfileRequest: {
|
|
@@ -1016,6 +1101,51 @@ export declare const validationMessages: {
|
|
|
1016
1101
|
readonly max: "Имя должно содержать максимум 100 символов";
|
|
1017
1102
|
};
|
|
1018
1103
|
};
|
|
1104
|
+
readonly GetWebNotificationsQuery: {
|
|
1105
|
+
readonly status: {
|
|
1106
|
+
readonly invalid: "Некорректный фильтр статуса уведомлений";
|
|
1107
|
+
};
|
|
1108
|
+
readonly limit: {
|
|
1109
|
+
readonly invalid: "limit должен быть числом";
|
|
1110
|
+
readonly positive: "limit должен быть больше 0";
|
|
1111
|
+
readonly max: "limit должен быть не больше 100";
|
|
1112
|
+
};
|
|
1113
|
+
readonly cursor: {
|
|
1114
|
+
readonly invalid: "cursor должен быть строкой";
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
readonly UpdateNotificationSettingsRequest: {
|
|
1118
|
+
readonly groupKey: {
|
|
1119
|
+
readonly invalid: "Некорректная группа уведомлений";
|
|
1120
|
+
};
|
|
1121
|
+
readonly channel: {
|
|
1122
|
+
readonly invalid: "Некорректный канал уведомлений";
|
|
1123
|
+
};
|
|
1124
|
+
readonly enabled: {
|
|
1125
|
+
readonly required: "Поле enabled обязательно";
|
|
1126
|
+
};
|
|
1127
|
+
readonly settings: {
|
|
1128
|
+
readonly min: "Нужно передать хотя бы одну настройку";
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
readonly MarkWebNotificationsReadUpToRequest: {
|
|
1132
|
+
readonly lastUuid: {
|
|
1133
|
+
readonly required: "lastUuid обязателен";
|
|
1134
|
+
readonly invalid: "lastUuid должен быть валидным UUID";
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1137
|
+
readonly ReplayNotificationJobRequest: {
|
|
1138
|
+
readonly jobId: {
|
|
1139
|
+
readonly required: "jobId обязателен";
|
|
1140
|
+
readonly invalid: "jobId должен быть валидным UUID";
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
readonly AttributionClickRedirectParams: {
|
|
1144
|
+
readonly token: {
|
|
1145
|
+
readonly required: "token обязателен";
|
|
1146
|
+
readonly invalid: "token должен быть валидным attribution токеном";
|
|
1147
|
+
};
|
|
1148
|
+
};
|
|
1019
1149
|
readonly CreateCategoryRequest: {
|
|
1020
1150
|
readonly alias: {
|
|
1021
1151
|
readonly required: "Введите alias";
|
|
@@ -1665,6 +1795,22 @@ export declare const validationMessages: {
|
|
|
1665
1795
|
readonly min: "Необходим хотя бы один уровень размышлений";
|
|
1666
1796
|
};
|
|
1667
1797
|
};
|
|
1798
|
+
readonly CooperationForm: {
|
|
1799
|
+
readonly name: {
|
|
1800
|
+
readonly required: "Введите имя";
|
|
1801
|
+
readonly min: "Введите имя";
|
|
1802
|
+
readonly max: "Имя должно содержать максимум 200 символов";
|
|
1803
|
+
};
|
|
1804
|
+
readonly email: {
|
|
1805
|
+
readonly required: "Введите email";
|
|
1806
|
+
readonly invalid: "Некорректный формат email";
|
|
1807
|
+
};
|
|
1808
|
+
readonly message: {
|
|
1809
|
+
readonly required: "Введите сообщение";
|
|
1810
|
+
readonly min: "Введите сообщение";
|
|
1811
|
+
readonly max: "Сообщение должно содержать максимум 5000 символов";
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1668
1814
|
readonly PaginationQuery: {
|
|
1669
1815
|
readonly page: {
|
|
1670
1816
|
readonly invalid: "Страница должна быть положительным целым числом";
|
|
@@ -18,6 +18,7 @@ exports.validationMessages = {
|
|
|
18
18
|
name: {
|
|
19
19
|
required: 'Name is required',
|
|
20
20
|
min: 'Name must be at least 2 characters',
|
|
21
|
+
max: 'Name must be at most 100 characters',
|
|
21
22
|
},
|
|
22
23
|
},
|
|
23
24
|
SignInRequest: {
|
|
@@ -102,6 +103,10 @@ exports.validationMessages = {
|
|
|
102
103
|
required: 'New email is required',
|
|
103
104
|
invalid: 'Invalid email format',
|
|
104
105
|
},
|
|
106
|
+
password: {
|
|
107
|
+
required: 'Password is required',
|
|
108
|
+
min: 'Password is required',
|
|
109
|
+
},
|
|
105
110
|
},
|
|
106
111
|
PasswordChangeCompleteRequest: {
|
|
107
112
|
requestId: {
|
|
@@ -120,7 +125,11 @@ exports.validationMessages = {
|
|
|
120
125
|
min: 'Current password is required',
|
|
121
126
|
},
|
|
122
127
|
},
|
|
123
|
-
|
|
128
|
+
SetupPasswordCompleteRequest: {
|
|
129
|
+
requestId: {
|
|
130
|
+
required: 'Request ID is required',
|
|
131
|
+
invalid: 'Invalid request ID format',
|
|
132
|
+
},
|
|
124
133
|
password: {
|
|
125
134
|
required: 'Password is required',
|
|
126
135
|
min: 'Password must be at least 8 characters',
|
|
@@ -158,6 +167,10 @@ exports.validationMessages = {
|
|
|
158
167
|
logoutAllSessions: {
|
|
159
168
|
required: 'logoutAllSessions is required',
|
|
160
169
|
},
|
|
170
|
+
atr: {
|
|
171
|
+
invalid: 'atr must be a string',
|
|
172
|
+
invalidFormat: 'atr must be a valid attribution token',
|
|
173
|
+
},
|
|
161
174
|
},
|
|
162
175
|
ConfirmEmailVerificationQuery: {
|
|
163
176
|
userId: {
|
|
@@ -169,10 +182,9 @@ exports.validationMessages = {
|
|
|
169
182
|
min: 'Verification token is required',
|
|
170
183
|
invalid: 'Verification token must be a 64-character hex string',
|
|
171
184
|
},
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
required: 'Marketing consent value is required',
|
|
185
|
+
atr: {
|
|
186
|
+
invalid: 'atr must be a string',
|
|
187
|
+
invalidFormat: 'atr must be a valid attribution token',
|
|
176
188
|
},
|
|
177
189
|
},
|
|
178
190
|
UpdateProfileRequest: {
|
|
@@ -182,6 +194,51 @@ exports.validationMessages = {
|
|
|
182
194
|
max: 'Name must be at most 100 characters',
|
|
183
195
|
},
|
|
184
196
|
},
|
|
197
|
+
GetWebNotificationsQuery: {
|
|
198
|
+
status: {
|
|
199
|
+
invalid: 'Invalid notifications status filter',
|
|
200
|
+
},
|
|
201
|
+
limit: {
|
|
202
|
+
invalid: 'limit must be a number',
|
|
203
|
+
positive: 'limit must be greater than 0',
|
|
204
|
+
max: 'limit must be at most 100',
|
|
205
|
+
},
|
|
206
|
+
cursor: {
|
|
207
|
+
invalid: 'cursor must be a string',
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
UpdateNotificationSettingsRequest: {
|
|
211
|
+
groupKey: {
|
|
212
|
+
invalid: 'Invalid notification group',
|
|
213
|
+
},
|
|
214
|
+
channel: {
|
|
215
|
+
invalid: 'Invalid notification channel',
|
|
216
|
+
},
|
|
217
|
+
enabled: {
|
|
218
|
+
required: 'enabled is required',
|
|
219
|
+
},
|
|
220
|
+
settings: {
|
|
221
|
+
min: 'At least one setting must be provided',
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
MarkWebNotificationsReadUpToRequest: {
|
|
225
|
+
lastUuid: {
|
|
226
|
+
required: 'lastUuid is required',
|
|
227
|
+
invalid: 'lastUuid must be a valid UUID',
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
ReplayNotificationJobRequest: {
|
|
231
|
+
jobId: {
|
|
232
|
+
required: 'jobId is required',
|
|
233
|
+
invalid: 'jobId must be a valid UUID',
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
AttributionClickRedirectParams: {
|
|
237
|
+
token: {
|
|
238
|
+
required: 'token is required',
|
|
239
|
+
invalid: 'token must be a valid attribution token',
|
|
240
|
+
},
|
|
241
|
+
},
|
|
185
242
|
CreateCategoryRequest: {
|
|
186
243
|
alias: {
|
|
187
244
|
required: 'Alias is required',
|
|
@@ -831,6 +888,22 @@ exports.validationMessages = {
|
|
|
831
888
|
min: 'At least one reasoning effort level is required',
|
|
832
889
|
},
|
|
833
890
|
},
|
|
891
|
+
CooperationForm: {
|
|
892
|
+
name: {
|
|
893
|
+
required: 'Name is required',
|
|
894
|
+
min: 'Name is required',
|
|
895
|
+
max: 'Name must be at most 200 characters',
|
|
896
|
+
},
|
|
897
|
+
email: {
|
|
898
|
+
required: 'Email is required',
|
|
899
|
+
invalid: 'Invalid email format',
|
|
900
|
+
},
|
|
901
|
+
message: {
|
|
902
|
+
required: 'Message is required',
|
|
903
|
+
min: 'Message is required',
|
|
904
|
+
max: 'Message must be at most 5000 characters',
|
|
905
|
+
},
|
|
906
|
+
},
|
|
834
907
|
PaginationQuery: {
|
|
835
908
|
page: {
|
|
836
909
|
invalid: 'Page must be a positive integer',
|
|
@@ -856,6 +929,7 @@ exports.validationMessages = {
|
|
|
856
929
|
name: {
|
|
857
930
|
required: 'Введите имя',
|
|
858
931
|
min: 'Имя должно содержать минимум 2 символа',
|
|
932
|
+
max: 'Имя должно содержать максимум 100 символов',
|
|
859
933
|
},
|
|
860
934
|
},
|
|
861
935
|
SignInRequest: {
|
|
@@ -940,6 +1014,10 @@ exports.validationMessages = {
|
|
|
940
1014
|
required: 'Введите новый email',
|
|
941
1015
|
invalid: 'Некорректный формат email',
|
|
942
1016
|
},
|
|
1017
|
+
password: {
|
|
1018
|
+
required: 'Введите пароль',
|
|
1019
|
+
min: 'Введите пароль',
|
|
1020
|
+
},
|
|
943
1021
|
},
|
|
944
1022
|
PasswordChangeCompleteRequest: {
|
|
945
1023
|
requestId: {
|
|
@@ -958,7 +1036,11 @@ exports.validationMessages = {
|
|
|
958
1036
|
min: 'Введите текущий пароль',
|
|
959
1037
|
},
|
|
960
1038
|
},
|
|
961
|
-
|
|
1039
|
+
SetupPasswordCompleteRequest: {
|
|
1040
|
+
requestId: {
|
|
1041
|
+
required: 'Идентификатор запроса обязателен',
|
|
1042
|
+
invalid: 'Некорректный формат ID запроса',
|
|
1043
|
+
},
|
|
962
1044
|
password: {
|
|
963
1045
|
required: 'Введите пароль',
|
|
964
1046
|
min: 'Пароль должен содержать минимум 8 символов',
|
|
@@ -996,6 +1078,10 @@ exports.validationMessages = {
|
|
|
996
1078
|
logoutAllSessions: {
|
|
997
1079
|
required: 'Поле logoutAllSessions обязательно',
|
|
998
1080
|
},
|
|
1081
|
+
atr: {
|
|
1082
|
+
invalid: 'atr должен быть строкой',
|
|
1083
|
+
invalidFormat: 'atr должен быть валидным attribution токеном',
|
|
1084
|
+
},
|
|
999
1085
|
},
|
|
1000
1086
|
ConfirmEmailVerificationQuery: {
|
|
1001
1087
|
userId: {
|
|
@@ -1007,10 +1093,9 @@ exports.validationMessages = {
|
|
|
1007
1093
|
min: 'Токен подтверждения обязателен',
|
|
1008
1094
|
invalid: 'Токен подтверждения должен быть 64-символьной hex-строкой',
|
|
1009
1095
|
},
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
required: 'Укажите согласие на маркетинговые рассылки',
|
|
1096
|
+
atr: {
|
|
1097
|
+
invalid: 'atr должен быть строкой',
|
|
1098
|
+
invalidFormat: 'atr должен быть валидным attribution токеном',
|
|
1014
1099
|
},
|
|
1015
1100
|
},
|
|
1016
1101
|
UpdateProfileRequest: {
|
|
@@ -1020,6 +1105,51 @@ exports.validationMessages = {
|
|
|
1020
1105
|
max: 'Имя должно содержать максимум 100 символов',
|
|
1021
1106
|
},
|
|
1022
1107
|
},
|
|
1108
|
+
GetWebNotificationsQuery: {
|
|
1109
|
+
status: {
|
|
1110
|
+
invalid: 'Некорректный фильтр статуса уведомлений',
|
|
1111
|
+
},
|
|
1112
|
+
limit: {
|
|
1113
|
+
invalid: 'limit должен быть числом',
|
|
1114
|
+
positive: 'limit должен быть больше 0',
|
|
1115
|
+
max: 'limit должен быть не больше 100',
|
|
1116
|
+
},
|
|
1117
|
+
cursor: {
|
|
1118
|
+
invalid: 'cursor должен быть строкой',
|
|
1119
|
+
},
|
|
1120
|
+
},
|
|
1121
|
+
UpdateNotificationSettingsRequest: {
|
|
1122
|
+
groupKey: {
|
|
1123
|
+
invalid: 'Некорректная группа уведомлений',
|
|
1124
|
+
},
|
|
1125
|
+
channel: {
|
|
1126
|
+
invalid: 'Некорректный канал уведомлений',
|
|
1127
|
+
},
|
|
1128
|
+
enabled: {
|
|
1129
|
+
required: 'Поле enabled обязательно',
|
|
1130
|
+
},
|
|
1131
|
+
settings: {
|
|
1132
|
+
min: 'Нужно передать хотя бы одну настройку',
|
|
1133
|
+
},
|
|
1134
|
+
},
|
|
1135
|
+
MarkWebNotificationsReadUpToRequest: {
|
|
1136
|
+
lastUuid: {
|
|
1137
|
+
required: 'lastUuid обязателен',
|
|
1138
|
+
invalid: 'lastUuid должен быть валидным UUID',
|
|
1139
|
+
},
|
|
1140
|
+
},
|
|
1141
|
+
ReplayNotificationJobRequest: {
|
|
1142
|
+
jobId: {
|
|
1143
|
+
required: 'jobId обязателен',
|
|
1144
|
+
invalid: 'jobId должен быть валидным UUID',
|
|
1145
|
+
},
|
|
1146
|
+
},
|
|
1147
|
+
AttributionClickRedirectParams: {
|
|
1148
|
+
token: {
|
|
1149
|
+
required: 'token обязателен',
|
|
1150
|
+
invalid: 'token должен быть валидным attribution токеном',
|
|
1151
|
+
},
|
|
1152
|
+
},
|
|
1023
1153
|
CreateCategoryRequest: {
|
|
1024
1154
|
alias: {
|
|
1025
1155
|
required: 'Введите alias',
|
|
@@ -1669,6 +1799,22 @@ exports.validationMessages = {
|
|
|
1669
1799
|
min: 'Необходим хотя бы один уровень размышлений',
|
|
1670
1800
|
},
|
|
1671
1801
|
},
|
|
1802
|
+
CooperationForm: {
|
|
1803
|
+
name: {
|
|
1804
|
+
required: 'Введите имя',
|
|
1805
|
+
min: 'Введите имя',
|
|
1806
|
+
max: 'Имя должно содержать максимум 200 символов',
|
|
1807
|
+
},
|
|
1808
|
+
email: {
|
|
1809
|
+
required: 'Введите email',
|
|
1810
|
+
invalid: 'Некорректный формат email',
|
|
1811
|
+
},
|
|
1812
|
+
message: {
|
|
1813
|
+
required: 'Введите сообщение',
|
|
1814
|
+
min: 'Введите сообщение',
|
|
1815
|
+
max: 'Сообщение должно содержать максимум 5000 символов',
|
|
1816
|
+
},
|
|
1817
|
+
},
|
|
1672
1818
|
PaginationQuery: {
|
|
1673
1819
|
page: {
|
|
1674
1820
|
invalid: 'Страница должна быть положительным целым числом',
|