/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import * as runtime from '../runtime';
import { AliasListToJSON, EntityHeaderFromJSON, IdListToJSON, ListWrapperOfUserProfileFromJSON, NotificationSettingsSignedTokenToJSON, PaginatedResultsOfEntityHeaderFromJSON, PaginatedResultsOfUserProfileFromJSON, ProjectHeaderListFromJSON, ResponseMessageFromJSON, UserBundleFromJSON, UserGroupHeaderResponseFromJSON, UserGroupHeaderResponsePageFromJSON, UserProfileFromJSON, UserProfileToJSON, } from '../models/index';
/**
 *
 */
export class UserProfileServicesApi extends runtime.BaseAPI {
    /**
     */
    async deleteRepoV1FavoriteIdRaw(requestParameters, initOverrides) {
        if (requestParameters['id'] == null) {
            throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteRepoV1FavoriteId().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/favorite/{id}`;
        urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
        const response = await this.request({
            path: urlPath,
            method: 'DELETE',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.VoidApiResponse(response);
    }
    /**
     */
    async deleteRepoV1FavoriteId(requestParameters, initOverrides) {
        await this.deleteRepoV1FavoriteIdRaw(requestParameters, initOverrides);
    }
    /**
     */
    async getRepoV1FavoriteRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['offset'] != null) {
            queryParameters['offset'] = requestParameters['offset'];
        }
        if (requestParameters['limit'] != null) {
            queryParameters['limit'] = requestParameters['limit'];
        }
        if (requestParameters['sort'] != null) {
            queryParameters['sort'] = requestParameters['sort'];
        }
        if (requestParameters['sortDirection'] != null) {
            queryParameters['sortDirection'] = requestParameters['sortDirection'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/favorite`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedResultsOfEntityHeaderFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1Favorite(requestParameters = {}, initOverrides) {
        const response = await this.getRepoV1FavoriteRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1ProjectsRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['teamId'] != null) {
            queryParameters['teamId'] = requestParameters['teamId'];
        }
        if (requestParameters['filter'] != null) {
            queryParameters['filter'] = requestParameters['filter'];
        }
        if (requestParameters['sort'] != null) {
            queryParameters['sort'] = requestParameters['sort'];
        }
        if (requestParameters['sortDirection'] != null) {
            queryParameters['sortDirection'] = requestParameters['sortDirection'];
        }
        if (requestParameters['nextPageToken'] != null) {
            queryParameters['nextPageToken'] = requestParameters['nextPageToken'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/projects`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => ProjectHeaderListFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1Projects(requestParameters = {}, initOverrides) {
        const response = await this.getRepoV1ProjectsRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1ProjectsUserPrincipalIdRaw(requestParameters, initOverrides) {
        if (requestParameters['principalId'] == null) {
            throw new runtime.RequiredError('principalId', 'Required parameter "principalId" was null or undefined when calling getRepoV1ProjectsUserPrincipalId().');
        }
        const queryParameters = {};
        if (requestParameters['teamId'] != null) {
            queryParameters['teamId'] = requestParameters['teamId'];
        }
        if (requestParameters['filter'] != null) {
            queryParameters['filter'] = requestParameters['filter'];
        }
        if (requestParameters['sort'] != null) {
            queryParameters['sort'] = requestParameters['sort'];
        }
        if (requestParameters['sortDirection'] != null) {
            queryParameters['sortDirection'] = requestParameters['sortDirection'];
        }
        if (requestParameters['nextPageToken'] != null) {
            queryParameters['nextPageToken'] = requestParameters['nextPageToken'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/projects/user/{principalId}`;
        urlPath = urlPath.replace(`{${"principalId"}}`, encodeURIComponent(String(requestParameters['principalId'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => ProjectHeaderListFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1ProjectsUserPrincipalId(requestParameters, initOverrides) {
        const response = await this.getRepoV1ProjectsUserPrincipalIdRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1UserRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['offset'] != null) {
            queryParameters['offset'] = requestParameters['offset'];
        }
        if (requestParameters['limit'] != null) {
            queryParameters['limit'] = requestParameters['limit'];
        }
        if (requestParameters['sort'] != null) {
            queryParameters['sort'] = requestParameters['sort'];
        }
        if (requestParameters['ascending'] != null) {
            queryParameters['ascending'] = requestParameters['ascending'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/user`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedResultsOfUserProfileFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1User(requestParameters = {}, initOverrides) {
        const response = await this.getRepoV1UserRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1UserBundleRaw(requestParameters, initOverrides) {
        if (requestParameters['mask'] == null) {
            throw new runtime.RequiredError('mask', 'Required parameter "mask" was null or undefined when calling getRepoV1UserBundle().');
        }
        const queryParameters = {};
        if (requestParameters['mask'] != null) {
            queryParameters['mask'] = requestParameters['mask'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/user/bundle`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => UserBundleFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1UserBundle(requestParameters, initOverrides) {
        const response = await this.getRepoV1UserBundleRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1UserGroupHeadersRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['prefix'] != null) {
            queryParameters['prefix'] = requestParameters['prefix'];
        }
        if (requestParameters['typeFilter'] != null) {
            queryParameters['typeFilter'] = requestParameters['typeFilter'];
        }
        if (requestParameters['offset'] != null) {
            queryParameters['offset'] = requestParameters['offset'];
        }
        if (requestParameters['limit'] != null) {
            queryParameters['limit'] = requestParameters['limit'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/userGroupHeaders`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => UserGroupHeaderResponsePageFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1UserGroupHeaders(requestParameters = {}, initOverrides) {
        const response = await this.getRepoV1UserGroupHeadersRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1UserGroupHeadersBatchRaw(requestParameters, initOverrides) {
        if (requestParameters['ids'] == null) {
            throw new runtime.RequiredError('ids', 'Required parameter "ids" was null or undefined when calling getRepoV1UserGroupHeadersBatch().');
        }
        const queryParameters = {};
        if (requestParameters['ids'] != null) {
            queryParameters['ids'] = requestParameters['ids'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/userGroupHeaders/batch`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => UserGroupHeaderResponsePageFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1UserGroupHeadersBatch(requestParameters, initOverrides) {
        const response = await this.getRepoV1UserGroupHeadersBatchRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1UserIdBundleRaw(requestParameters, initOverrides) {
        if (requestParameters['mask'] == null) {
            throw new runtime.RequiredError('mask', 'Required parameter "mask" was null or undefined when calling getRepoV1UserIdBundle().');
        }
        if (requestParameters['id'] == null) {
            throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getRepoV1UserIdBundle().');
        }
        const queryParameters = {};
        if (requestParameters['mask'] != null) {
            queryParameters['mask'] = requestParameters['mask'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/user/{id}/bundle`;
        urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => UserBundleFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1UserIdBundle(requestParameters, initOverrides) {
        const response = await this.getRepoV1UserIdBundleRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1UserProfileRaw(initOverrides) {
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/userProfile`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => UserProfileFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1UserProfile(initOverrides) {
        const response = await this.getRepoV1UserProfileRaw(initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1UserProfileProfileIdRaw(requestParameters, initOverrides) {
        if (requestParameters['profileId'] == null) {
            throw new runtime.RequiredError('profileId', 'Required parameter "profileId" was null or undefined when calling getRepoV1UserProfileProfileId().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/userProfile/{profileId}`;
        urlPath = urlPath.replace(`{${"profileId"}}`, encodeURIComponent(String(requestParameters['profileId'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => UserProfileFromJSON(jsonValue));
    }
    /**
     */
    async getRepoV1UserProfileProfileId(requestParameters, initOverrides) {
        const response = await this.getRepoV1UserProfileProfileIdRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1UserProfileProfileIdImageRaw(requestParameters, initOverrides) {
        if (requestParameters['profileId'] == null) {
            throw new runtime.RequiredError('profileId', 'Required parameter "profileId" was null or undefined when calling getRepoV1UserProfileProfileIdImage().');
        }
        const queryParameters = {};
        if (requestParameters['redirect'] != null) {
            queryParameters['redirect'] = requestParameters['redirect'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/userProfile/{profileId}/image`;
        urlPath = urlPath.replace(`{${"profileId"}}`, encodeURIComponent(String(requestParameters['profileId'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        if (this.isJsonMime(response.headers.get('content-type'))) {
            return new runtime.JSONApiResponse(response);
        }
        else {
            return new runtime.TextApiResponse(response);
        }
    }
    /**
     */
    async getRepoV1UserProfileProfileIdImage(requestParameters, initOverrides) {
        const response = await this.getRepoV1UserProfileProfileIdImageRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async getRepoV1UserProfileProfileIdImagePreviewRaw(requestParameters, initOverrides) {
        if (requestParameters['profileId'] == null) {
            throw new runtime.RequiredError('profileId', 'Required parameter "profileId" was null or undefined when calling getRepoV1UserProfileProfileIdImagePreview().');
        }
        const queryParameters = {};
        if (requestParameters['redirect'] != null) {
            queryParameters['redirect'] = requestParameters['redirect'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/userProfile/{profileId}/image/preview`;
        urlPath = urlPath.replace(`{${"profileId"}}`, encodeURIComponent(String(requestParameters['profileId'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        if (this.isJsonMime(response.headers.get('content-type'))) {
            return new runtime.JSONApiResponse(response);
        }
        else {
            return new runtime.TextApiResponse(response);
        }
    }
    /**
     */
    async getRepoV1UserProfileProfileIdImagePreview(requestParameters, initOverrides) {
        const response = await this.getRepoV1UserProfileProfileIdImagePreviewRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async postRepoV1FavoriteIdRaw(requestParameters, initOverrides) {
        if (requestParameters['id'] == null) {
            throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postRepoV1FavoriteId().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/favorite/{id}`;
        urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
        const response = await this.request({
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => EntityHeaderFromJSON(jsonValue));
    }
    /**
     */
    async postRepoV1FavoriteId(requestParameters, initOverrides) {
        const response = await this.postRepoV1FavoriteIdRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async postRepoV1UserGroupHeadersAliasesRaw(requestParameters, initOverrides) {
        if (requestParameters['aliasList'] == null) {
            throw new runtime.RequiredError('aliasList', 'Required parameter "aliasList" was null or undefined when calling postRepoV1UserGroupHeadersAliases().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/userGroupHeaders/aliases`;
        const response = await this.request({
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
            body: AliasListToJSON(requestParameters['aliasList']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => UserGroupHeaderResponseFromJSON(jsonValue));
    }
    /**
     */
    async postRepoV1UserGroupHeadersAliases(requestParameters, initOverrides) {
        const response = await this.postRepoV1UserGroupHeadersAliasesRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async postRepoV1UserProfileRaw(requestParameters, initOverrides) {
        if (requestParameters['idList'] == null) {
            throw new runtime.RequiredError('idList', 'Required parameter "idList" was null or undefined when calling postRepoV1UserProfile().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/userProfile`;
        const response = await this.request({
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
            body: IdListToJSON(requestParameters['idList']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => ListWrapperOfUserProfileFromJSON(jsonValue));
    }
    /**
     */
    async postRepoV1UserProfile(requestParameters, initOverrides) {
        const response = await this.postRepoV1UserProfileRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async putRepoV1NotificationSettingsRaw(requestParameters, initOverrides) {
        if (requestParameters['notificationSettingsSignedToken'] == null) {
            throw new runtime.RequiredError('notificationSettingsSignedToken', 'Required parameter "notificationSettingsSignedToken" was null or undefined when calling putRepoV1NotificationSettings().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        let urlPath = `/repo/v1/notificationSettings`;
        const response = await this.request({
            path: urlPath,
            method: 'PUT',
            headers: headerParameters,
            query: queryParameters,
            body: NotificationSettingsSignedTokenToJSON(requestParameters['notificationSettingsSignedToken']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => ResponseMessageFromJSON(jsonValue));
    }
    /**
     */
    async putRepoV1NotificationSettings(requestParameters, initOverrides) {
        const response = await this.putRepoV1NotificationSettingsRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     */
    async putRepoV1UserProfileRaw(requestParameters, initOverrides) {
        if (requestParameters['userProfile'] == null) {
            throw new runtime.RequiredError('userProfile', 'Required parameter "userProfile" was null or undefined when calling putRepoV1UserProfile().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("bearerAuth", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/repo/v1/userProfile`;
        const response = await this.request({
            path: urlPath,
            method: 'PUT',
            headers: headerParameters,
            query: queryParameters,
            body: UserProfileToJSON(requestParameters['userProfile']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => UserProfileFromJSON(jsonValue));
    }
    /**
     */
    async putRepoV1UserProfile(requestParameters, initOverrides) {
        const response = await this.putRepoV1UserProfileRaw(requestParameters, initOverrides);
        return await response.value();
    }
}
//# sourceMappingURL=UserProfileServicesApi.js.map