/** * BIMData API * BIMData API is a tool to interact with your models stored on BIMData’s servers. Through the API, you can manage your projects, the clouds, upload your IFC files and manage them through endpoints. * * The version of the OpenAPI document: v1 (v1) * Contact: support@bimdata.io * * 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 { CreateUserRequest, Invitation, SelectUserRequest, ShortUser } from '../models'; export interface AcceptInvitationRequest { id: number; } export interface CreateUserOperationRequest { CreateUserRequest: CreateUserRequest; } export interface DeleteUserRequest { SelectUserRequest: SelectUserRequest; } export interface DenyInvitationRequest { id: number; } export interface GetInvitationRequest { id: number; } export interface GetInvitationsRequest { status?: GetInvitationsStatusEnum; } /** * */ export declare class SsoApi extends runtime.BaseAPI { /** * If the user already exists, s·he is added to the cloud and projet. If not, we wait their first connection to add them. Required scopes: org:manage * Accept an invitation */ acceptInvitationRaw(requestParameters: AcceptInvitationRequest, initOverrides?: RequestInit): Promise>; /** * If the user already exists, s·he is added to the cloud and projet. If not, we wait their first connection to add them. Required scopes: org:manage * Accept an invitation */ acceptInvitation(id: number, initOverrides?: RequestInit): Promise; /** * Create a user, linked to the provider. This route is only useful when used with `ProjetAccessToken`s. If user already exists, it responds with a 200 instead of a 201 * Create a user */ createUserRaw(requestParameters: CreateUserOperationRequest, initOverrides?: RequestInit): Promise>; /** * Create a user, linked to the provider. This route is only useful when used with `ProjetAccessToken`s. If user already exists, it responds with a 200 instead of a 201 * Create a user */ createUser(CreateUserRequest: CreateUserRequest, initOverrides?: RequestInit): Promise; /** * Delete the user and all clouds where the user is alone * Delete user from BIMData */ deleteUserRaw(requestParameters: DeleteUserRequest, initOverrides?: RequestInit): Promise>; /** * Delete the user and all clouds where the user is alone * Delete user from BIMData */ deleteUser(SelectUserRequest: SelectUserRequest, initOverrides?: RequestInit): Promise; /** * The invitation status change to DENIED and the user is not added to the cloud. You can accept an invitation previously denied Required scopes: org:manage * Deny an invitation */ denyInvitationRaw(requestParameters: DenyInvitationRequest, initOverrides?: RequestInit): Promise>; /** * The invitation status change to DENIED and the user is not added to the cloud. You can accept an invitation previously denied Required scopes: org:manage * Deny an invitation */ denyInvitation(id: number, initOverrides?: RequestInit): Promise; /** * Retrieve all invitations of your identity provider Required scopes: org:manage * Retrieve an invitation */ getInvitationRaw(requestParameters: GetInvitationRequest, initOverrides?: RequestInit): Promise>; /** * Retrieve all invitations of your identity provider Required scopes: org:manage * Retrieve an invitation */ getInvitation(id: number, initOverrides?: RequestInit): Promise; /** * Retrieve all invitations of your identity provider Required scopes: org:manage * Retrieve all invitations */ getInvitationsRaw(requestParameters: GetInvitationsRequest, initOverrides?: RequestInit): Promise>>; /** * Retrieve all invitations of your identity provider Required scopes: org:manage * Retrieve all invitations */ getInvitations(status?: GetInvitationsStatusEnum, initOverrides?: RequestInit): Promise>; } /** * @export * @enum {string} */ export declare enum GetInvitationsStatusEnum { A = "A", D = "D", P = "P" }