import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export interface UploadsControllerUploadQuestionsRequestParams { file: Blob; companyId2: string; userId2: string; /** The ID of the company that the user sending the request is related to. This field is required when using the API Key. It will be included in the JSON Web Token (JWT) when using Auth0 authentication. */ companyId?: string; /** The ID of the user sending the request. This field is required when using the API Key. It will be included in the JSON Web Token (JWT) when using Auth0 authentication. Used to set the `createdBy` property on creation of entities. */ userId?: string; coachId?: string; } export declare class UploadsApiService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; private addToHttpParams; private addToHttpParamsRecursive; /** * * Import .csv file following the format below: <br><br> Question,A,B,C,D,CorrectAnswers,CorrectAnswersInfo,Tags,Programs,KB_Link<br> What is the capital of France?,Paris,London,Berlin,Madrid,A,Paris is the capital of France,Geography,Capitals,https://en.wikipedia.org/wiki/Paris<br> What is the capital of Germany?,Paris,London,Berlin,Madrid,C,Berlin is the capital of Germany,Geography,Capitals,https://en.wikipedia.org/wiki/Berlin<br><br> If you want to custom the number of propositions, you need to add a \"AnswersColNames\" column listing the columns names.<br> For example, if you want to have 3 propositions, you need to add a column \"AnswersColNames\" with the value \"A,B,C\".<br> Question,A,B,C,CorrectAnswers,CorrectAnswersInfo,Tags,Programs,AnswersColNames,KB_Link<br> What is the capital of France?,Paris,London,Berlin,A,Paris is the capital of France,Geography,Capitals,A,B,C,https://en.wikipedia.org/wiki/Paris,<br><br> You can also custom the propositions columns headers and add them to the \"AnswersColNames\" column.<br> For example, if you want to have 2 propositions with the headers \"Proposition 1\" and \"Proposition 2\", you need to add a column \"AnswersColNames\" with the value \"Proposition 1,Proposition 2\".<br> Question,Proposition 1,Proposition 2,CorrectAnswers,CorrectAnswersInfo,Tags,Programs,AnswersColNames,KB_Link<br> What is the capital of France?,Paris,London,A,Paris is the capital of France,Geography,Capitals,Proposition 1,Proposition 2,https://en.wikipedia.org/wiki/Paris,<br><br> * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ uploadsControllerUploadQuestions(requestParameters: UploadsControllerUploadQuestionsRequestParams, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable; uploadsControllerUploadQuestions(requestParameters: UploadsControllerUploadQuestionsRequestParams, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; uploadsControllerUploadQuestions(requestParameters: UploadsControllerUploadQuestionsRequestParams, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }