@veruna/api-contracts 1.0.89 → 1.0.90
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 +138 -8
- package/build/locales/validation.js +138 -8
- package/build/locales/validation.js.map +1 -1
- package/build/rest-api.d.ts +11 -1
- package/build/rest-api.js +11 -1
- 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 +0 -1
- package/build/routes/users.routes.js +0 -1
- 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/commands/index.d.ts +0 -1
- package/build/v1/users/commands/index.js +0 -1
- package/build/v1/users/commands/index.js.map +1 -1
- package/build/v1/users/commands/password-reset-confirm.command.d.ts +1 -0
- package/build/v1/users/commands/update-profile.command.d.ts +0 -1
- package/build/v1/users/queries/confirm-email-verification.query.d.ts +1 -0
- package/build/v1/users/queries/confirm-email-verification.query.js +6 -0
- package/build/v1/users/queries/confirm-email-verification.query.js.map +1 -1
- package/build/v1/users/queries/get-current-user.query.d.ts +0 -1
- 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/index.d.ts +0 -1
- package/build/v1/users/schemas/index.js +0 -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/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/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/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: {
|
|
@@ -154,6 +155,10 @@ export declare const validationMessages: {
|
|
|
154
155
|
readonly logoutAllSessions: {
|
|
155
156
|
readonly required: "logoutAllSessions is required";
|
|
156
157
|
};
|
|
158
|
+
readonly atr: {
|
|
159
|
+
readonly invalid: "atr must be a string";
|
|
160
|
+
readonly invalidFormat: "atr must be a valid attribution token";
|
|
161
|
+
};
|
|
157
162
|
};
|
|
158
163
|
readonly ConfirmEmailVerificationQuery: {
|
|
159
164
|
readonly userId: {
|
|
@@ -165,10 +170,9 @@ export declare const validationMessages: {
|
|
|
165
170
|
readonly min: "Verification token is required";
|
|
166
171
|
readonly invalid: "Verification token must be a 64-character hex string";
|
|
167
172
|
};
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
readonly required: "Marketing consent value is required";
|
|
173
|
+
readonly atr: {
|
|
174
|
+
readonly invalid: "atr must be a string";
|
|
175
|
+
readonly invalidFormat: "atr must be a valid attribution token";
|
|
172
176
|
};
|
|
173
177
|
};
|
|
174
178
|
readonly UpdateProfileRequest: {
|
|
@@ -178,6 +182,51 @@ export declare const validationMessages: {
|
|
|
178
182
|
readonly max: "Name must be at most 100 characters";
|
|
179
183
|
};
|
|
180
184
|
};
|
|
185
|
+
readonly GetWebNotificationsQuery: {
|
|
186
|
+
readonly status: {
|
|
187
|
+
readonly invalid: "Invalid notifications status filter";
|
|
188
|
+
};
|
|
189
|
+
readonly limit: {
|
|
190
|
+
readonly invalid: "limit must be a number";
|
|
191
|
+
readonly positive: "limit must be greater than 0";
|
|
192
|
+
readonly max: "limit must be at most 100";
|
|
193
|
+
};
|
|
194
|
+
readonly cursor: {
|
|
195
|
+
readonly invalid: "cursor must be a string";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly UpdateNotificationSettingsRequest: {
|
|
199
|
+
readonly groupKey: {
|
|
200
|
+
readonly invalid: "Invalid notification group";
|
|
201
|
+
};
|
|
202
|
+
readonly channel: {
|
|
203
|
+
readonly invalid: "Invalid notification channel";
|
|
204
|
+
};
|
|
205
|
+
readonly enabled: {
|
|
206
|
+
readonly required: "enabled is required";
|
|
207
|
+
};
|
|
208
|
+
readonly settings: {
|
|
209
|
+
readonly min: "At least one setting must be provided";
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
readonly MarkWebNotificationsReadUpToRequest: {
|
|
213
|
+
readonly lastUuid: {
|
|
214
|
+
readonly required: "lastUuid is required";
|
|
215
|
+
readonly invalid: "lastUuid must be a valid UUID";
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
readonly ReplayNotificationJobRequest: {
|
|
219
|
+
readonly jobId: {
|
|
220
|
+
readonly required: "jobId is required";
|
|
221
|
+
readonly invalid: "jobId must be a valid UUID";
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
readonly AttributionClickRedirectParams: {
|
|
225
|
+
readonly token: {
|
|
226
|
+
readonly required: "token is required";
|
|
227
|
+
readonly invalid: "token must be a valid attribution token";
|
|
228
|
+
};
|
|
229
|
+
};
|
|
181
230
|
readonly CreateCategoryRequest: {
|
|
182
231
|
readonly alias: {
|
|
183
232
|
readonly required: "Alias is required";
|
|
@@ -827,6 +876,22 @@ export declare const validationMessages: {
|
|
|
827
876
|
readonly min: "At least one reasoning effort level is required";
|
|
828
877
|
};
|
|
829
878
|
};
|
|
879
|
+
readonly CooperationForm: {
|
|
880
|
+
readonly name: {
|
|
881
|
+
readonly required: "Name is required";
|
|
882
|
+
readonly min: "Name is required";
|
|
883
|
+
readonly max: "Name must be at most 200 characters";
|
|
884
|
+
};
|
|
885
|
+
readonly email: {
|
|
886
|
+
readonly required: "Email is required";
|
|
887
|
+
readonly invalid: "Invalid email format";
|
|
888
|
+
};
|
|
889
|
+
readonly message: {
|
|
890
|
+
readonly required: "Message is required";
|
|
891
|
+
readonly min: "Message is required";
|
|
892
|
+
readonly max: "Message must be at most 5000 characters";
|
|
893
|
+
};
|
|
894
|
+
};
|
|
830
895
|
readonly PaginationQuery: {
|
|
831
896
|
readonly page: {
|
|
832
897
|
readonly invalid: "Page must be a positive integer";
|
|
@@ -852,6 +917,7 @@ export declare const validationMessages: {
|
|
|
852
917
|
readonly name: {
|
|
853
918
|
readonly required: "Введите имя";
|
|
854
919
|
readonly min: "Имя должно содержать минимум 2 символа";
|
|
920
|
+
readonly max: "Имя должно содержать максимум 100 символов";
|
|
855
921
|
};
|
|
856
922
|
};
|
|
857
923
|
readonly SignInRequest: {
|
|
@@ -992,6 +1058,10 @@ export declare const validationMessages: {
|
|
|
992
1058
|
readonly logoutAllSessions: {
|
|
993
1059
|
readonly required: "Поле logoutAllSessions обязательно";
|
|
994
1060
|
};
|
|
1061
|
+
readonly atr: {
|
|
1062
|
+
readonly invalid: "atr должен быть строкой";
|
|
1063
|
+
readonly invalidFormat: "atr должен быть валидным attribution токеном";
|
|
1064
|
+
};
|
|
995
1065
|
};
|
|
996
1066
|
readonly ConfirmEmailVerificationQuery: {
|
|
997
1067
|
readonly userId: {
|
|
@@ -1003,10 +1073,9 @@ export declare const validationMessages: {
|
|
|
1003
1073
|
readonly min: "Токен подтверждения обязателен";
|
|
1004
1074
|
readonly invalid: "Токен подтверждения должен быть 64-символьной hex-строкой";
|
|
1005
1075
|
};
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
readonly required: "Укажите согласие на маркетинговые рассылки";
|
|
1076
|
+
readonly atr: {
|
|
1077
|
+
readonly invalid: "atr должен быть строкой";
|
|
1078
|
+
readonly invalidFormat: "atr должен быть валидным attribution токеном";
|
|
1010
1079
|
};
|
|
1011
1080
|
};
|
|
1012
1081
|
readonly UpdateProfileRequest: {
|
|
@@ -1016,6 +1085,51 @@ export declare const validationMessages: {
|
|
|
1016
1085
|
readonly max: "Имя должно содержать максимум 100 символов";
|
|
1017
1086
|
};
|
|
1018
1087
|
};
|
|
1088
|
+
readonly GetWebNotificationsQuery: {
|
|
1089
|
+
readonly status: {
|
|
1090
|
+
readonly invalid: "Некорректный фильтр статуса уведомлений";
|
|
1091
|
+
};
|
|
1092
|
+
readonly limit: {
|
|
1093
|
+
readonly invalid: "limit должен быть числом";
|
|
1094
|
+
readonly positive: "limit должен быть больше 0";
|
|
1095
|
+
readonly max: "limit должен быть не больше 100";
|
|
1096
|
+
};
|
|
1097
|
+
readonly cursor: {
|
|
1098
|
+
readonly invalid: "cursor должен быть строкой";
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
readonly UpdateNotificationSettingsRequest: {
|
|
1102
|
+
readonly groupKey: {
|
|
1103
|
+
readonly invalid: "Некорректная группа уведомлений";
|
|
1104
|
+
};
|
|
1105
|
+
readonly channel: {
|
|
1106
|
+
readonly invalid: "Некорректный канал уведомлений";
|
|
1107
|
+
};
|
|
1108
|
+
readonly enabled: {
|
|
1109
|
+
readonly required: "Поле enabled обязательно";
|
|
1110
|
+
};
|
|
1111
|
+
readonly settings: {
|
|
1112
|
+
readonly min: "Нужно передать хотя бы одну настройку";
|
|
1113
|
+
};
|
|
1114
|
+
};
|
|
1115
|
+
readonly MarkWebNotificationsReadUpToRequest: {
|
|
1116
|
+
readonly lastUuid: {
|
|
1117
|
+
readonly required: "lastUuid обязателен";
|
|
1118
|
+
readonly invalid: "lastUuid должен быть валидным UUID";
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
readonly ReplayNotificationJobRequest: {
|
|
1122
|
+
readonly jobId: {
|
|
1123
|
+
readonly required: "jobId обязателен";
|
|
1124
|
+
readonly invalid: "jobId должен быть валидным UUID";
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
readonly AttributionClickRedirectParams: {
|
|
1128
|
+
readonly token: {
|
|
1129
|
+
readonly required: "token обязателен";
|
|
1130
|
+
readonly invalid: "token должен быть валидным attribution токеном";
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1019
1133
|
readonly CreateCategoryRequest: {
|
|
1020
1134
|
readonly alias: {
|
|
1021
1135
|
readonly required: "Введите alias";
|
|
@@ -1665,6 +1779,22 @@ export declare const validationMessages: {
|
|
|
1665
1779
|
readonly min: "Необходим хотя бы один уровень размышлений";
|
|
1666
1780
|
};
|
|
1667
1781
|
};
|
|
1782
|
+
readonly CooperationForm: {
|
|
1783
|
+
readonly name: {
|
|
1784
|
+
readonly required: "Введите имя";
|
|
1785
|
+
readonly min: "Введите имя";
|
|
1786
|
+
readonly max: "Имя должно содержать максимум 200 символов";
|
|
1787
|
+
};
|
|
1788
|
+
readonly email: {
|
|
1789
|
+
readonly required: "Введите email";
|
|
1790
|
+
readonly invalid: "Некорректный формат email";
|
|
1791
|
+
};
|
|
1792
|
+
readonly message: {
|
|
1793
|
+
readonly required: "Введите сообщение";
|
|
1794
|
+
readonly min: "Введите сообщение";
|
|
1795
|
+
readonly max: "Сообщение должно содержать максимум 5000 символов";
|
|
1796
|
+
};
|
|
1797
|
+
};
|
|
1668
1798
|
readonly PaginationQuery: {
|
|
1669
1799
|
readonly page: {
|
|
1670
1800
|
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: {
|
|
@@ -158,6 +159,10 @@ exports.validationMessages = {
|
|
|
158
159
|
logoutAllSessions: {
|
|
159
160
|
required: 'logoutAllSessions is required',
|
|
160
161
|
},
|
|
162
|
+
atr: {
|
|
163
|
+
invalid: 'atr must be a string',
|
|
164
|
+
invalidFormat: 'atr must be a valid attribution token',
|
|
165
|
+
},
|
|
161
166
|
},
|
|
162
167
|
ConfirmEmailVerificationQuery: {
|
|
163
168
|
userId: {
|
|
@@ -169,10 +174,9 @@ exports.validationMessages = {
|
|
|
169
174
|
min: 'Verification token is required',
|
|
170
175
|
invalid: 'Verification token must be a 64-character hex string',
|
|
171
176
|
},
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
required: 'Marketing consent value is required',
|
|
177
|
+
atr: {
|
|
178
|
+
invalid: 'atr must be a string',
|
|
179
|
+
invalidFormat: 'atr must be a valid attribution token',
|
|
176
180
|
},
|
|
177
181
|
},
|
|
178
182
|
UpdateProfileRequest: {
|
|
@@ -182,6 +186,51 @@ exports.validationMessages = {
|
|
|
182
186
|
max: 'Name must be at most 100 characters',
|
|
183
187
|
},
|
|
184
188
|
},
|
|
189
|
+
GetWebNotificationsQuery: {
|
|
190
|
+
status: {
|
|
191
|
+
invalid: 'Invalid notifications status filter',
|
|
192
|
+
},
|
|
193
|
+
limit: {
|
|
194
|
+
invalid: 'limit must be a number',
|
|
195
|
+
positive: 'limit must be greater than 0',
|
|
196
|
+
max: 'limit must be at most 100',
|
|
197
|
+
},
|
|
198
|
+
cursor: {
|
|
199
|
+
invalid: 'cursor must be a string',
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
UpdateNotificationSettingsRequest: {
|
|
203
|
+
groupKey: {
|
|
204
|
+
invalid: 'Invalid notification group',
|
|
205
|
+
},
|
|
206
|
+
channel: {
|
|
207
|
+
invalid: 'Invalid notification channel',
|
|
208
|
+
},
|
|
209
|
+
enabled: {
|
|
210
|
+
required: 'enabled is required',
|
|
211
|
+
},
|
|
212
|
+
settings: {
|
|
213
|
+
min: 'At least one setting must be provided',
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
MarkWebNotificationsReadUpToRequest: {
|
|
217
|
+
lastUuid: {
|
|
218
|
+
required: 'lastUuid is required',
|
|
219
|
+
invalid: 'lastUuid must be a valid UUID',
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
ReplayNotificationJobRequest: {
|
|
223
|
+
jobId: {
|
|
224
|
+
required: 'jobId is required',
|
|
225
|
+
invalid: 'jobId must be a valid UUID',
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
AttributionClickRedirectParams: {
|
|
229
|
+
token: {
|
|
230
|
+
required: 'token is required',
|
|
231
|
+
invalid: 'token must be a valid attribution token',
|
|
232
|
+
},
|
|
233
|
+
},
|
|
185
234
|
CreateCategoryRequest: {
|
|
186
235
|
alias: {
|
|
187
236
|
required: 'Alias is required',
|
|
@@ -831,6 +880,22 @@ exports.validationMessages = {
|
|
|
831
880
|
min: 'At least one reasoning effort level is required',
|
|
832
881
|
},
|
|
833
882
|
},
|
|
883
|
+
CooperationForm: {
|
|
884
|
+
name: {
|
|
885
|
+
required: 'Name is required',
|
|
886
|
+
min: 'Name is required',
|
|
887
|
+
max: 'Name must be at most 200 characters',
|
|
888
|
+
},
|
|
889
|
+
email: {
|
|
890
|
+
required: 'Email is required',
|
|
891
|
+
invalid: 'Invalid email format',
|
|
892
|
+
},
|
|
893
|
+
message: {
|
|
894
|
+
required: 'Message is required',
|
|
895
|
+
min: 'Message is required',
|
|
896
|
+
max: 'Message must be at most 5000 characters',
|
|
897
|
+
},
|
|
898
|
+
},
|
|
834
899
|
PaginationQuery: {
|
|
835
900
|
page: {
|
|
836
901
|
invalid: 'Page must be a positive integer',
|
|
@@ -856,6 +921,7 @@ exports.validationMessages = {
|
|
|
856
921
|
name: {
|
|
857
922
|
required: 'Введите имя',
|
|
858
923
|
min: 'Имя должно содержать минимум 2 символа',
|
|
924
|
+
max: 'Имя должно содержать максимум 100 символов',
|
|
859
925
|
},
|
|
860
926
|
},
|
|
861
927
|
SignInRequest: {
|
|
@@ -996,6 +1062,10 @@ exports.validationMessages = {
|
|
|
996
1062
|
logoutAllSessions: {
|
|
997
1063
|
required: 'Поле logoutAllSessions обязательно',
|
|
998
1064
|
},
|
|
1065
|
+
atr: {
|
|
1066
|
+
invalid: 'atr должен быть строкой',
|
|
1067
|
+
invalidFormat: 'atr должен быть валидным attribution токеном',
|
|
1068
|
+
},
|
|
999
1069
|
},
|
|
1000
1070
|
ConfirmEmailVerificationQuery: {
|
|
1001
1071
|
userId: {
|
|
@@ -1007,10 +1077,9 @@ exports.validationMessages = {
|
|
|
1007
1077
|
min: 'Токен подтверждения обязателен',
|
|
1008
1078
|
invalid: 'Токен подтверждения должен быть 64-символьной hex-строкой',
|
|
1009
1079
|
},
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
required: 'Укажите согласие на маркетинговые рассылки',
|
|
1080
|
+
atr: {
|
|
1081
|
+
invalid: 'atr должен быть строкой',
|
|
1082
|
+
invalidFormat: 'atr должен быть валидным attribution токеном',
|
|
1014
1083
|
},
|
|
1015
1084
|
},
|
|
1016
1085
|
UpdateProfileRequest: {
|
|
@@ -1020,6 +1089,51 @@ exports.validationMessages = {
|
|
|
1020
1089
|
max: 'Имя должно содержать максимум 100 символов',
|
|
1021
1090
|
},
|
|
1022
1091
|
},
|
|
1092
|
+
GetWebNotificationsQuery: {
|
|
1093
|
+
status: {
|
|
1094
|
+
invalid: 'Некорректный фильтр статуса уведомлений',
|
|
1095
|
+
},
|
|
1096
|
+
limit: {
|
|
1097
|
+
invalid: 'limit должен быть числом',
|
|
1098
|
+
positive: 'limit должен быть больше 0',
|
|
1099
|
+
max: 'limit должен быть не больше 100',
|
|
1100
|
+
},
|
|
1101
|
+
cursor: {
|
|
1102
|
+
invalid: 'cursor должен быть строкой',
|
|
1103
|
+
},
|
|
1104
|
+
},
|
|
1105
|
+
UpdateNotificationSettingsRequest: {
|
|
1106
|
+
groupKey: {
|
|
1107
|
+
invalid: 'Некорректная группа уведомлений',
|
|
1108
|
+
},
|
|
1109
|
+
channel: {
|
|
1110
|
+
invalid: 'Некорректный канал уведомлений',
|
|
1111
|
+
},
|
|
1112
|
+
enabled: {
|
|
1113
|
+
required: 'Поле enabled обязательно',
|
|
1114
|
+
},
|
|
1115
|
+
settings: {
|
|
1116
|
+
min: 'Нужно передать хотя бы одну настройку',
|
|
1117
|
+
},
|
|
1118
|
+
},
|
|
1119
|
+
MarkWebNotificationsReadUpToRequest: {
|
|
1120
|
+
lastUuid: {
|
|
1121
|
+
required: 'lastUuid обязателен',
|
|
1122
|
+
invalid: 'lastUuid должен быть валидным UUID',
|
|
1123
|
+
},
|
|
1124
|
+
},
|
|
1125
|
+
ReplayNotificationJobRequest: {
|
|
1126
|
+
jobId: {
|
|
1127
|
+
required: 'jobId обязателен',
|
|
1128
|
+
invalid: 'jobId должен быть валидным UUID',
|
|
1129
|
+
},
|
|
1130
|
+
},
|
|
1131
|
+
AttributionClickRedirectParams: {
|
|
1132
|
+
token: {
|
|
1133
|
+
required: 'token обязателен',
|
|
1134
|
+
invalid: 'token должен быть валидным attribution токеном',
|
|
1135
|
+
},
|
|
1136
|
+
},
|
|
1023
1137
|
CreateCategoryRequest: {
|
|
1024
1138
|
alias: {
|
|
1025
1139
|
required: 'Введите alias',
|
|
@@ -1669,6 +1783,22 @@ exports.validationMessages = {
|
|
|
1669
1783
|
min: 'Необходим хотя бы один уровень размышлений',
|
|
1670
1784
|
},
|
|
1671
1785
|
},
|
|
1786
|
+
CooperationForm: {
|
|
1787
|
+
name: {
|
|
1788
|
+
required: 'Введите имя',
|
|
1789
|
+
min: 'Введите имя',
|
|
1790
|
+
max: 'Имя должно содержать максимум 200 символов',
|
|
1791
|
+
},
|
|
1792
|
+
email: {
|
|
1793
|
+
required: 'Введите email',
|
|
1794
|
+
invalid: 'Некорректный формат email',
|
|
1795
|
+
},
|
|
1796
|
+
message: {
|
|
1797
|
+
required: 'Введите сообщение',
|
|
1798
|
+
min: 'Введите сообщение',
|
|
1799
|
+
max: 'Сообщение должно содержать максимум 5000 символов',
|
|
1800
|
+
},
|
|
1801
|
+
},
|
|
1672
1802
|
PaginationQuery: {
|
|
1673
1803
|
page: {
|
|
1674
1804
|
invalid: 'Страница должна быть положительным целым числом',
|