import { Service } from './Service'; import { BindCallbackParams, BindFacebookParams, BindGoogleParams, BindVkParams, BindYandexParams, LoginResultDc } from './data-contracts'; /** * @title Spatial Processing Gateway API * @version 1.5.1.0 * @baseUrl /sp */ export declare class ExternalProvidersService extends Service { /** * No description * * @tags ExternalProviders * @name FacebookLogin * @operationId ExternalProvidersController_FacebookLogin * @summary The external login by facebook. * @request GET:/account/external/login/facebook * @secure * @response `200` OK */ facebookLogin(): string; /** * No description * * @tags ExternalProviders * @name GoogleLogin * @operationId ExternalProvidersController_GoogleLogin * @summary The external login by google. * @request GET:/account/external/login/google * @secure * @response `200` OK */ googleLogin(): string; /** * No description * * @tags ExternalProviders * @name VkLogin * @operationId ExternalProvidersController_VkLogin * @summary The external login by vk. * @request GET:/account/external/login/vk * @secure * @response `200` OK */ vkLogin(): string; /** * No description * * @tags ExternalProviders * @name YandexLogin * @operationId ExternalProvidersController_YandexLogin * @summary The external login by yandex. * @request GET:/account/external/login/yandex * @secure * @response `200` OK */ yandexLogin(): string; /** * No description * * @tags ExternalProviders * @name LoginCallback * @operationId ExternalProvidersController_LoginCallback * @summary The external login callback. * @request GET:/account/external/login/callback * @secure * @response `200` OK */ loginCallback(): Promise; /** * No description * * @tags ExternalProviders * @name UnbindFacebook * @operationId ExternalProvidersController_UnbindFacebook * @summary Unbind external login from current user account (facebook). * @request DELETE:/account/external/unbind/facebook * @secure * @response `200` OK */ unbindFacebook(): Promise; /** * No description * * @tags ExternalProviders * @name UnbindGoogle * @operationId ExternalProvidersController_UnbindGoogle * @summary Unbind external login from current user account (google). * @request DELETE:/account/external/unbind/google * @secure * @response `200` OK */ unbindGoogle(): Promise; /** * No description * * @tags ExternalProviders * @name UnbindVk * @operationId ExternalProvidersController_UnbindVk * @summary Unbind external login from current user account (vk). * @request DELETE:/account/external/unbind/vk * @secure * @response `200` OK */ unbindVk(): Promise; /** * No description * * @tags ExternalProviders * @name UnbindYandex * @operationId ExternalProvidersController_UnbindYandex * @summary Unbind external login from current user account (yandex). * @request DELETE:/account/external/unbind/yandex * @secure * @response `200` OK */ unbindYandex(): Promise; /** * No description * * @tags ExternalProviders * @name BindFacebook * @operationId ExternalProvidersController_BindFacebook * @summary Bind external login from current user account (facebook). * @request GET:/account/external/bind/facebook * @secure * @response `200` OK */ bindFacebook(query: BindFacebookParams): string; /** * No description * * @tags ExternalProviders * @name BindGoogle * @operationId ExternalProvidersController_BindGoogle * @summary Bind external login from current user account (google). * @request GET:/account/external/bind/google * @secure * @response `200` OK */ bindGoogle(query: BindGoogleParams): string; /** * No description * * @tags ExternalProviders * @name BindVk * @operationId ExternalProvidersController_BindVk * @summary Bind external login from current user account (vk). * @request GET:/account/external/bind/vk * @secure * @response `200` OK */ bindVk(query: BindVkParams): string; /** * No description * * @tags ExternalProviders * @name BindYandex * @operationId ExternalProvidersController_BindYandex * @summary Bind external login from current user account (yandex). * @request GET:/account/external/bind/yandex * @secure * @response `200` OK */ bindYandex(query: BindYandexParams): string; /** * No description * * @tags ExternalProviders * @name BindCallback * @operationId ExternalProvidersController_BindCallback * @summary Callback for bind external login to current user account. * @request GET:/account/external/bind/callback * @secure * @response `200` OK */ bindCallback(query: BindCallbackParams): Promise; }