@veruna/api-contracts 1.0.69 → 1.0.71
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/index.d.ts +4 -0
- package/build/controllers/index.js +9 -1
- package/build/controllers/index.js.map +1 -1
- package/build/controllers/vk-auth.controllers.d.ts +1 -0
- package/build/controllers/vk-auth.controllers.js +5 -0
- package/build/controllers/vk-auth.controllers.js.map +1 -0
- package/build/controllers/vk-profile.controllers.d.ts +1 -0
- package/build/controllers/vk-profile.controllers.js +5 -0
- package/build/controllers/vk-profile.controllers.js.map +1 -0
- package/build/controllers/yandex-auth.controllers.d.ts +1 -0
- package/build/controllers/yandex-auth.controllers.js +5 -0
- package/build/controllers/yandex-auth.controllers.js.map +1 -0
- package/build/controllers/yandex-profile.controllers.d.ts +1 -0
- package/build/controllers/yandex-profile.controllers.js +5 -0
- package/build/controllers/yandex-profile.controllers.js.map +1 -0
- package/build/locales/validation.d.ts +98 -0
- package/build/locales/validation.js +98 -0
- package/build/locales/validation.js.map +1 -1
- package/build/rest-api.d.ts +26 -0
- package/build/rest-api.js +26 -0
- package/build/rest-api.js.map +1 -1
- package/build/routes/chat-project.routes.d.ts +1 -0
- package/build/routes/chat-project.routes.js +1 -0
- package/build/routes/chat-project.routes.js.map +1 -1
- package/build/routes/chat.routes.d.ts +1 -0
- package/build/routes/chat.routes.js +1 -0
- package/build/routes/chat.routes.js.map +1 -1
- package/build/routes/index.d.ts +4 -0
- package/build/routes/index.js +9 -1
- package/build/routes/index.js.map +1 -1
- package/build/routes/vk-auth.routes.d.ts +6 -0
- package/build/routes/vk-auth.routes.js +10 -0
- package/build/routes/vk-auth.routes.js.map +1 -0
- package/build/routes/vk-profile.routes.d.ts +6 -0
- package/build/routes/vk-profile.routes.js +10 -0
- package/build/routes/vk-profile.routes.js.map +1 -0
- package/build/routes/yandex-auth.routes.d.ts +6 -0
- package/build/routes/yandex-auth.routes.js +10 -0
- package/build/routes/yandex-auth.routes.js.map +1 -0
- package/build/routes/yandex-profile.routes.d.ts +6 -0
- package/build/routes/yandex-profile.routes.js +10 -0
- package/build/routes/yandex-profile.routes.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/auth/commands/signin.command.d.ts +1 -1
- package/build/v1/auth/commands/signup.command.d.ts +1 -1
- package/build/v1/auth/schemas/auth-response.schema.d.ts +1 -1
- package/build/v1/chat/commands/delete-homeless-chats.command.d.ts +12 -0
- package/build/v1/chat/commands/delete-homeless-chats.command.js +15 -0
- package/build/v1/chat/commands/delete-homeless-chats.command.js.map +1 -0
- package/build/v1/chat/commands/index.d.ts +1 -0
- package/build/v1/chat/commands/index.js +3 -1
- package/build/v1/chat/commands/index.js.map +1 -1
- package/build/v1/chat/schemas/bulk-delete-chats-response.schema.d.ts +5 -0
- package/build/v1/chat/schemas/bulk-delete-chats-response.schema.js +8 -0
- package/build/v1/chat/schemas/bulk-delete-chats-response.schema.js.map +1 -0
- package/build/v1/chat/schemas/index.d.ts +2 -0
- package/build/v1/chat/schemas/index.js +3 -1
- package/build/v1/chat/schemas/index.js.map +1 -1
- package/build/v1/chat-project/commands/delete-folder-chats.command.d.ts +12 -0
- package/build/v1/chat-project/commands/delete-folder-chats.command.js +15 -0
- package/build/v1/chat-project/commands/delete-folder-chats.command.js.map +1 -0
- package/build/v1/chat-project/commands/index.d.ts +1 -0
- package/build/v1/chat-project/commands/index.js +1 -0
- package/build/v1/chat-project/commands/index.js.map +1 -1
- package/build/v1/index.d.ts +5 -0
- package/build/v1/index.js +5 -0
- package/build/v1/index.js.map +1 -1
- package/build/v1/oauth-common/index.d.ts +1 -0
- package/build/v1/oauth-common/index.js +18 -0
- package/build/v1/oauth-common/index.js.map +1 -0
- package/build/v1/oauth-common/schemas/index.d.ts +1 -0
- package/build/v1/oauth-common/schemas/index.js +18 -0
- package/build/v1/oauth-common/schemas/index.js.map +1 -0
- package/build/v1/oauth-common/schemas/oauth-auth-request-type.enum.d.ts +4 -0
- package/build/v1/oauth-common/schemas/oauth-auth-request-type.enum.js +9 -0
- package/build/v1/oauth-common/schemas/oauth-auth-request-type.enum.js.map +1 -0
- package/build/v1/telegram-auth/commands/exchange-telegram-auth.command.d.ts +1 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-exchange-request.schema.d.ts +1 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-exchange-request.schema.js +4 -0
- package/build/v1/telegram-auth/schemas/telegram-auth-exchange-request.schema.js.map +1 -1
- package/build/v1/telegram-auth/schemas/telegram-auth-request-type.enum.d.ts +1 -4
- package/build/v1/telegram-auth/schemas/telegram-auth-request-type.enum.js +2 -5
- package/build/v1/telegram-auth/schemas/telegram-auth-request-type.enum.js.map +1 -1
- package/build/v1/telegram-profile/commands/unlink-telegram.command.d.ts +1 -3
- package/build/v1/telegram-profile/commands/unlink-telegram.command.js +2 -2
- package/build/v1/telegram-profile/commands/unlink-telegram.command.js.map +1 -1
- package/build/v1/telegram-profile/schemas/index.d.ts +0 -1
- package/build/v1/telegram-profile/schemas/index.js +0 -1
- package/build/v1/telegram-profile/schemas/index.js.map +1 -1
- package/build/v1/telegram-profile/telegram-profile.errors.d.ts +2 -1
- package/build/v1/telegram-profile/telegram-profile.errors.js +5 -0
- package/build/v1/telegram-profile/telegram-profile.errors.js.map +1 -1
- package/build/v1/users/commands/toggle-marketing-consent.command.d.ts +1 -1
- package/build/v1/users/commands/update-profile.command.d.ts +1 -1
- package/build/v1/users/queries/get-current-user.query.d.ts +1 -1
- package/build/v1/users/schemas/register-type.enum.d.ts +3 -1
- package/build/v1/users/schemas/register-type.enum.js +2 -0
- package/build/v1/users/schemas/register-type.enum.js.map +1 -1
- package/build/v1/users/schemas/response-unions.schema.d.ts +3 -3
- package/build/v1/users/schemas/user-response.schema.d.ts +1 -1
- package/build/v1/users/schemas/user-response.schema.js +1 -1
- package/build/v1/users/schemas/user-response.schema.js.map +1 -1
- package/build/v1/vk-auth/commands/exchange-vk-auth.command.d.ts +15 -0
- package/build/v1/vk-auth/commands/exchange-vk-auth.command.js +14 -0
- package/build/v1/vk-auth/commands/exchange-vk-auth.command.js.map +1 -0
- package/build/v1/vk-auth/commands/index.d.ts +2 -0
- package/build/v1/vk-auth/commands/index.js +19 -0
- package/build/v1/vk-auth/commands/index.js.map +1 -0
- package/build/v1/vk-auth/commands/init-vk-auth.command.d.ts +14 -0
- package/build/v1/vk-auth/commands/init-vk-auth.command.js +15 -0
- package/build/v1/vk-auth/commands/init-vk-auth.command.js.map +1 -0
- package/build/v1/vk-auth/index.d.ts +6 -0
- package/build/v1/vk-auth/index.js +26 -0
- package/build/v1/vk-auth/index.js.map +1 -0
- package/build/v1/vk-auth/queries/get-vk-auth-status.query.d.ts +13 -0
- package/build/v1/vk-auth/queries/get-vk-auth-status.query.js +15 -0
- package/build/v1/vk-auth/queries/get-vk-auth-status.query.js.map +1 -0
- package/build/v1/vk-auth/queries/handle-vk-auth-callback.query.d.ts +14 -0
- package/build/v1/vk-auth/queries/handle-vk-auth-callback.query.js +15 -0
- package/build/v1/vk-auth/queries/handle-vk-auth-callback.query.js.map +1 -0
- package/build/v1/vk-auth/queries/index.d.ts +2 -0
- package/build/v1/vk-auth/queries/index.js +19 -0
- package/build/v1/vk-auth/queries/index.js.map +1 -0
- package/build/v1/vk-auth/schemas/index.d.ts +7 -0
- package/build/v1/vk-auth/schemas/index.js +24 -0
- package/build/v1/vk-auth/schemas/index.js.map +1 -0
- package/build/v1/vk-auth/schemas/vk-auth-callback-query.schema.d.ts +7 -0
- package/build/v1/vk-auth/schemas/vk-auth-callback-query.schema.js +10 -0
- package/build/v1/vk-auth/schemas/vk-auth-callback-query.schema.js.map +1 -0
- package/build/v1/vk-auth/schemas/vk-auth-exchange-request.schema.d.ts +6 -0
- package/build/v1/vk-auth/schemas/vk-auth-exchange-request.schema.js +14 -0
- package/build/v1/vk-auth/schemas/vk-auth-exchange-request.schema.js.map +1 -0
- package/build/v1/vk-auth/schemas/vk-auth-exchange-response.schema.d.ts +6 -0
- package/build/v1/vk-auth/schemas/vk-auth-exchange-response.schema.js +9 -0
- package/build/v1/vk-auth/schemas/vk-auth-exchange-response.schema.js.map +1 -0
- package/build/v1/vk-auth/schemas/vk-auth-init-response.schema.d.ts +7 -0
- package/build/v1/vk-auth/schemas/vk-auth-init-response.schema.js +10 -0
- package/build/v1/vk-auth/schemas/vk-auth-init-response.schema.js.map +1 -0
- package/build/v1/vk-auth/schemas/vk-auth-request-type.enum.d.ts +1 -0
- package/build/v1/vk-auth/schemas/vk-auth-request-type.enum.js +6 -0
- package/build/v1/vk-auth/schemas/vk-auth-request-type.enum.js.map +1 -0
- package/build/v1/vk-auth/schemas/vk-auth-status-response.schema.d.ts +7 -0
- package/build/v1/vk-auth/schemas/vk-auth-status-response.schema.js +10 -0
- package/build/v1/vk-auth/schemas/vk-auth-status-response.schema.js.map +1 -0
- package/build/v1/vk-auth/schemas/vk-auth-status.enum.d.ts +7 -0
- package/build/v1/vk-auth/schemas/vk-auth-status.enum.js +12 -0
- package/build/v1/vk-auth/schemas/vk-auth-status.enum.js.map +1 -0
- package/build/v1/vk-auth/vk-auth.errors.d.ts +14 -0
- package/build/v1/vk-auth/vk-auth.errors.js +29 -0
- package/build/v1/vk-auth/vk-auth.errors.js.map +1 -0
- package/build/v1/vk-profile/commands/index.d.ts +2 -0
- package/build/v1/vk-profile/commands/index.js +19 -0
- package/build/v1/vk-profile/commands/index.js.map +1 -0
- package/build/v1/vk-profile/commands/link-vk.command.d.ts +14 -0
- package/build/v1/vk-profile/commands/link-vk.command.js +15 -0
- package/build/v1/vk-profile/commands/link-vk.command.js.map +1 -0
- package/build/v1/vk-profile/commands/unlink-vk.command.d.ts +8 -0
- package/build/v1/vk-profile/commands/unlink-vk.command.js +13 -0
- package/build/v1/vk-profile/commands/unlink-vk.command.js.map +1 -0
- package/build/v1/vk-profile/index.d.ts +6 -0
- package/build/v1/vk-profile/index.js +26 -0
- package/build/v1/vk-profile/index.js.map +1 -0
- package/build/v1/vk-profile/queries/get-vk-link-status.query.d.ts +12 -0
- package/build/v1/vk-profile/queries/get-vk-link-status.query.js +13 -0
- package/build/v1/vk-profile/queries/get-vk-link-status.query.js.map +1 -0
- package/build/v1/vk-profile/queries/get-vk-profile.query.d.ts +20 -0
- package/build/v1/vk-profile/queries/get-vk-profile.query.js +13 -0
- package/build/v1/vk-profile/queries/get-vk-profile.query.js.map +1 -0
- package/build/v1/vk-profile/queries/index.d.ts +2 -0
- package/build/v1/vk-profile/queries/index.js +19 -0
- package/build/v1/vk-profile/queries/index.js.map +1 -0
- package/build/v1/vk-profile/schemas/index.d.ts +3 -0
- package/build/v1/vk-profile/schemas/index.js +20 -0
- package/build/v1/vk-profile/schemas/index.js.map +1 -0
- package/build/v1/vk-profile/schemas/vk-link-response.schema.d.ts +7 -0
- package/build/v1/vk-profile/schemas/vk-link-response.schema.js +10 -0
- package/build/v1/vk-profile/schemas/vk-link-response.schema.js.map +1 -0
- package/build/v1/vk-profile/schemas/vk-link-status-response.schema.d.ts +8 -0
- package/build/v1/vk-profile/schemas/vk-link-status-response.schema.js +11 -0
- package/build/v1/vk-profile/schemas/vk-link-status-response.schema.js.map +1 -0
- package/build/v1/vk-profile/schemas/vk-profile-response.schema.d.ts +15 -0
- package/build/v1/vk-profile/schemas/vk-profile-response.schema.js +18 -0
- package/build/v1/vk-profile/schemas/vk-profile-response.schema.js.map +1 -0
- package/build/v1/vk-profile/vk-profile.errors.d.ts +11 -0
- package/build/v1/vk-profile/vk-profile.errors.js +23 -0
- package/build/v1/vk-profile/vk-profile.errors.js.map +1 -0
- package/build/v1/yandex-auth/commands/exchange-yandex-auth.command.d.ts +16 -0
- package/build/v1/yandex-auth/commands/exchange-yandex-auth.command.js +14 -0
- package/build/v1/yandex-auth/commands/exchange-yandex-auth.command.js.map +1 -0
- package/build/v1/yandex-auth/commands/index.d.ts +2 -0
- package/build/v1/yandex-auth/commands/index.js +19 -0
- package/build/v1/yandex-auth/commands/index.js.map +1 -0
- package/build/v1/yandex-auth/commands/init-yandex-auth.command.d.ts +14 -0
- package/build/v1/yandex-auth/commands/init-yandex-auth.command.js +15 -0
- package/build/v1/yandex-auth/commands/init-yandex-auth.command.js.map +1 -0
- package/build/v1/yandex-auth/index.d.ts +6 -0
- package/build/v1/yandex-auth/index.js +26 -0
- package/build/v1/yandex-auth/index.js.map +1 -0
- package/build/v1/yandex-auth/queries/get-yandex-auth-status.query.d.ts +13 -0
- package/build/v1/yandex-auth/queries/get-yandex-auth-status.query.js +15 -0
- package/build/v1/yandex-auth/queries/get-yandex-auth-status.query.js.map +1 -0
- package/build/v1/yandex-auth/queries/handle-yandex-auth-callback.query.d.ts +13 -0
- package/build/v1/yandex-auth/queries/handle-yandex-auth-callback.query.js +15 -0
- package/build/v1/yandex-auth/queries/handle-yandex-auth-callback.query.js.map +1 -0
- package/build/v1/yandex-auth/queries/index.d.ts +2 -0
- package/build/v1/yandex-auth/queries/index.js +19 -0
- package/build/v1/yandex-auth/queries/index.js.map +1 -0
- package/build/v1/yandex-auth/schemas/index.d.ts +7 -0
- package/build/v1/yandex-auth/schemas/index.js +24 -0
- package/build/v1/yandex-auth/schemas/index.js.map +1 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-callback-query.schema.d.ts +6 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-callback-query.schema.js +9 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-callback-query.schema.js.map +1 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-exchange-request.schema.d.ts +6 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-exchange-request.schema.js +14 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-exchange-request.schema.js.map +1 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-exchange-response.schema.d.ts +6 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-exchange-response.schema.js +9 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-exchange-response.schema.js.map +1 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-init-response.schema.d.ts +7 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-init-response.schema.js +10 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-init-response.schema.js.map +1 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-request-type.enum.d.ts +1 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-request-type.enum.js +6 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-request-type.enum.js.map +1 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-status-response.schema.d.ts +7 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-status-response.schema.js +10 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-status-response.schema.js.map +1 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-status.enum.d.ts +7 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-status.enum.js +12 -0
- package/build/v1/yandex-auth/schemas/yandex-auth-status.enum.js.map +1 -0
- package/build/v1/yandex-auth/yandex-auth.errors.d.ts +14 -0
- package/build/v1/yandex-auth/yandex-auth.errors.js +59 -0
- package/build/v1/yandex-auth/yandex-auth.errors.js.map +1 -0
- package/build/v1/yandex-profile/commands/index.d.ts +2 -0
- package/build/v1/yandex-profile/commands/index.js +19 -0
- package/build/v1/yandex-profile/commands/index.js.map +1 -0
- package/build/v1/yandex-profile/commands/link-yandex.command.d.ts +14 -0
- package/build/v1/yandex-profile/commands/link-yandex.command.js +15 -0
- package/build/v1/yandex-profile/commands/link-yandex.command.js.map +1 -0
- package/build/v1/yandex-profile/commands/unlink-yandex.command.d.ts +8 -0
- package/build/v1/yandex-profile/commands/unlink-yandex.command.js +13 -0
- package/build/v1/yandex-profile/commands/unlink-yandex.command.js.map +1 -0
- package/build/v1/yandex-profile/index.d.ts +6 -0
- package/build/v1/yandex-profile/index.js +26 -0
- package/build/v1/yandex-profile/index.js.map +1 -0
- package/build/v1/yandex-profile/queries/get-yandex-link-status.query.d.ts +12 -0
- package/build/v1/yandex-profile/queries/get-yandex-link-status.query.js +13 -0
- package/build/v1/yandex-profile/queries/get-yandex-link-status.query.js.map +1 -0
- package/build/v1/yandex-profile/queries/get-yandex-profile.query.d.ts +29 -0
- package/build/v1/yandex-profile/queries/get-yandex-profile.query.js +13 -0
- package/build/v1/yandex-profile/queries/get-yandex-profile.query.js.map +1 -0
- package/build/v1/yandex-profile/queries/index.d.ts +2 -0
- package/build/v1/yandex-profile/queries/index.js +19 -0
- package/build/v1/yandex-profile/queries/index.js.map +1 -0
- package/build/v1/yandex-profile/schemas/index.d.ts +3 -0
- package/build/v1/yandex-profile/schemas/index.js +20 -0
- package/build/v1/yandex-profile/schemas/index.js.map +1 -0
- package/build/v1/yandex-profile/schemas/yandex-link-response.schema.d.ts +7 -0
- package/build/v1/yandex-profile/schemas/yandex-link-response.schema.js +10 -0
- package/build/v1/yandex-profile/schemas/yandex-link-response.schema.js.map +1 -0
- package/build/v1/yandex-profile/schemas/yandex-link-status-response.schema.d.ts +8 -0
- package/build/v1/yandex-profile/schemas/yandex-link-status-response.schema.js +11 -0
- package/build/v1/yandex-profile/schemas/yandex-link-status-response.schema.js.map +1 -0
- package/build/v1/yandex-profile/schemas/yandex-profile-response.schema.d.ts +24 -0
- package/build/v1/yandex-profile/schemas/yandex-profile-response.schema.js +27 -0
- package/build/v1/yandex-profile/schemas/yandex-profile-response.schema.js.map +1 -0
- package/build/v1/yandex-profile/yandex-profile.errors.d.ts +11 -0
- package/build/v1/yandex-profile/yandex-profile.errors.js +44 -0
- package/build/v1/yandex-profile/yandex-profile.errors.js.map +1 -0
- package/package.json +1 -1
- package/build/v1/telegram-profile/schemas/telegram-unlink-response.schema.d.ts +0 -5
- package/build/v1/telegram-profile/schemas/telegram-unlink-response.schema.js +0 -8
- package/build/v1/telegram-profile/schemas/telegram-unlink-response.schema.js.map +0 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.YANDEX_PROFILE_ERRORS = exports.YandexProfileErrorCode = void 0;
|
|
4
|
+
var YandexProfileErrorCode;
|
|
5
|
+
(function (YandexProfileErrorCode) {
|
|
6
|
+
YandexProfileErrorCode["PROFILE_NOT_FOUND"] = "YANDEX_PROFILE_NOT_FOUND";
|
|
7
|
+
YandexProfileErrorCode["USER_ALREADY_HAS_YANDEX"] = "YANDEX_USER_ALREADY_HAS_YANDEX";
|
|
8
|
+
YandexProfileErrorCode["YANDEX_ALREADY_LINKED"] = "YANDEX_ALREADY_LINKED_TO_OTHER_USER";
|
|
9
|
+
YandexProfileErrorCode["USER_HAS_NO_YANDEX"] = "YANDEX_USER_HAS_NO_YANDEX";
|
|
10
|
+
YandexProfileErrorCode["LINK_REQUEST_NOT_FOUND"] = "YANDEX_LINK_REQUEST_NOT_FOUND";
|
|
11
|
+
YandexProfileErrorCode["LINK_REQUEST_ACCESS_DENIED"] = "YANDEX_LINK_REQUEST_ACCESS_DENIED";
|
|
12
|
+
YandexProfileErrorCode["LAST_AUTH_METHOD"] = "YANDEX_LAST_AUTH_METHOD";
|
|
13
|
+
})(YandexProfileErrorCode || (exports.YandexProfileErrorCode = YandexProfileErrorCode = {}));
|
|
14
|
+
exports.YANDEX_PROFILE_ERRORS = {
|
|
15
|
+
[YandexProfileErrorCode.PROFILE_NOT_FOUND]: {
|
|
16
|
+
code: YandexProfileErrorCode.PROFILE_NOT_FOUND,
|
|
17
|
+
statusCode: 404,
|
|
18
|
+
},
|
|
19
|
+
[YandexProfileErrorCode.USER_ALREADY_HAS_YANDEX]: {
|
|
20
|
+
code: YandexProfileErrorCode.USER_ALREADY_HAS_YANDEX,
|
|
21
|
+
statusCode: 409,
|
|
22
|
+
},
|
|
23
|
+
[YandexProfileErrorCode.YANDEX_ALREADY_LINKED]: {
|
|
24
|
+
code: YandexProfileErrorCode.YANDEX_ALREADY_LINKED,
|
|
25
|
+
statusCode: 409,
|
|
26
|
+
},
|
|
27
|
+
[YandexProfileErrorCode.USER_HAS_NO_YANDEX]: {
|
|
28
|
+
code: YandexProfileErrorCode.USER_HAS_NO_YANDEX,
|
|
29
|
+
statusCode: 404,
|
|
30
|
+
},
|
|
31
|
+
[YandexProfileErrorCode.LINK_REQUEST_NOT_FOUND]: {
|
|
32
|
+
code: YandexProfileErrorCode.LINK_REQUEST_NOT_FOUND,
|
|
33
|
+
statusCode: 404,
|
|
34
|
+
},
|
|
35
|
+
[YandexProfileErrorCode.LINK_REQUEST_ACCESS_DENIED]: {
|
|
36
|
+
code: YandexProfileErrorCode.LINK_REQUEST_ACCESS_DENIED,
|
|
37
|
+
statusCode: 403,
|
|
38
|
+
},
|
|
39
|
+
[YandexProfileErrorCode.LAST_AUTH_METHOD]: {
|
|
40
|
+
code: YandexProfileErrorCode.LAST_AUTH_METHOD,
|
|
41
|
+
statusCode: 409,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=yandex-profile.errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yandex-profile.errors.js","sourceRoot":"","sources":["../../../v1/yandex-profile/yandex-profile.errors.ts"],"names":[],"mappings":";;;AAEA,IAAY,sBAQX;AARD,WAAY,sBAAsB;IAC9B,wEAA8C,CAAA;IAC9C,oFAA0D,CAAA;IAC1D,uFAA6D,CAAA;IAC7D,0EAAgD,CAAA;IAChD,kFAAwD,CAAA;IACxD,0FAAgE,CAAA;IAChE,sEAA4C,CAAA;AAChD,CAAC,EARW,sBAAsB,sCAAtB,sBAAsB,QAQjC;AAEY,QAAA,qBAAqB,GAAkD;IAChF,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,EAAE;QACxC,IAAI,EAAE,sBAAsB,CAAC,iBAAiB;QAC9C,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,EAAE;QAC9C,IAAI,EAAE,sBAAsB,CAAC,uBAAuB;QACpD,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,sBAAsB,CAAC,qBAAqB,CAAC,EAAE;QAC5C,IAAI,EAAE,sBAAsB,CAAC,qBAAqB;QAClD,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,EAAE;QACzC,IAAI,EAAE,sBAAsB,CAAC,kBAAkB;QAC/C,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,EAAE;QAC7C,IAAI,EAAE,sBAAsB,CAAC,sBAAsB;QACnD,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,sBAAsB,CAAC,0BAA0B,CAAC,EAAE;QACjD,IAAI,EAAE,sBAAsB,CAAC,0BAA0B;QACvD,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,EAAE;QACvC,IAAI,EAAE,sBAAsB,CAAC,gBAAgB;QAC7C,UAAU,EAAE,GAAG;KAClB;CACK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TelegramUnlinkResponseSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.TelegramUnlinkResponseSchema = zod_1.z.object({
|
|
6
|
-
success: zod_1.z.literal(true),
|
|
7
|
-
});
|
|
8
|
-
//# sourceMappingURL=telegram-unlink-response.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telegram-unlink-response.schema.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/schemas/telegram-unlink-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC3B,CAAC,CAAC"}
|