Skip to content

Commit eba997e

Browse files
a51e7db15639eaf8529a9843253ccef284e9a0a1
1 parent 9afd655 commit eba997e

File tree

1 file changed

+213
-0
lines changed

1 file changed

+213
-0
lines changed

api.ts

+213
Original file line numberDiff line numberDiff line change
@@ -3236,6 +3236,44 @@ export const AnalysesApiAxiosParamCreator = function (configuration?: Configurat
32363236

32373237

32383238

3239+
localVarHeaderParameter['Content-Type'] = 'application/json';
3240+
3241+
setSearchParams(localVarUrlObj, localVarQueryParameter);
3242+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3243+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3244+
localVarRequestOptions.data = serializeDataIfNeeded(noteCollectionRequest, localVarRequestOptions, configuration)
3245+
3246+
return {
3247+
url: toPathString(localVarUrlObj),
3248+
options: localVarRequestOptions,
3249+
};
3250+
},
3251+
/**
3252+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
3253+
* @summary Your POST endpoint
3254+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
3255+
* @param {*} [options] Override http request option.
3256+
* @throws {RequiredError}
3257+
*/
3258+
annotationAnalysesPost: async (noteCollectionRequest?: Array<NoteCollectionRequest>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3259+
const localVarPath = `/annotation-analyses/`;
3260+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
3261+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3262+
let baseOptions;
3263+
if (configuration) {
3264+
baseOptions = configuration.baseOptions;
3265+
}
3266+
3267+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3268+
const localVarHeaderParameter = {} as any;
3269+
const localVarQueryParameter = {} as any;
3270+
3271+
// authentication JSON-Web-Token required
3272+
// http bearer authentication required
3273+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
3274+
3275+
3276+
32393277
localVarHeaderParameter['Content-Type'] = 'application/json';
32403278

32413279
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3355,6 +3393,17 @@ export const AnalysesApiFp = function(configuration?: Configuration) {
33553393
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnalysesIdPut(id, noteCollectionRequest, options);
33563394
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33573395
},
3396+
/**
3397+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
3398+
* @summary Your POST endpoint
3399+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
3400+
* @param {*} [options] Override http request option.
3401+
* @throws {RequiredError}
3402+
*/
3403+
async annotationAnalysesPost(noteCollectionRequest?: Array<NoteCollectionRequest>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NoteCollectionReturn>>> {
3404+
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnalysesPost(noteCollectionRequest, options);
3405+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3406+
},
33583407
}
33593408
};
33603409

@@ -3454,6 +3503,16 @@ export const AnalysesApiFactory = function (configuration?: Configuration, baseP
34543503
annotationAnalysesIdPut(id: string, noteCollectionRequest?: NoteCollectionRequest, options?: any): AxiosPromise<NoteCollectionReturn> {
34553504
return localVarFp.annotationAnalysesIdPut(id, noteCollectionRequest, options).then((request) => request(axios, basePath));
34563505
},
3506+
/**
3507+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
3508+
* @summary Your POST endpoint
3509+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
3510+
* @param {*} [options] Override http request option.
3511+
* @throws {RequiredError}
3512+
*/
3513+
annotationAnalysesPost(noteCollectionRequest?: Array<NoteCollectionRequest>, options?: any): AxiosPromise<Array<NoteCollectionReturn>> {
3514+
return localVarFp.annotationAnalysesPost(noteCollectionRequest, options).then((request) => request(axios, basePath));
3515+
},
34573516
};
34583517
};
34593518

@@ -3568,6 +3627,18 @@ export class AnalysesApi extends BaseAPI {
35683627
public annotationAnalysesIdPut(id: string, noteCollectionRequest?: NoteCollectionRequest, options?: AxiosRequestConfig) {
35693628
return AnalysesApiFp(this.configuration).annotationAnalysesIdPut(id, noteCollectionRequest, options).then((request) => request(this.axios, this.basePath));
35703629
}
3630+
3631+
/**
3632+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
3633+
* @summary Your POST endpoint
3634+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
3635+
* @param {*} [options] Override http request option.
3636+
* @throws {RequiredError}
3637+
* @memberof AnalysesApi
3638+
*/
3639+
public annotationAnalysesPost(noteCollectionRequest?: Array<NoteCollectionRequest>, options?: AxiosRequestConfig) {
3640+
return AnalysesApiFp(this.configuration).annotationAnalysesPost(noteCollectionRequest, options).then((request) => request(this.axios, this.basePath));
3641+
}
35713642
}
35723643

35733644

@@ -3675,6 +3746,44 @@ export const AnnotationsApiAxiosParamCreator = function (configuration?: Configu
36753746

36763747

36773748

3749+
localVarHeaderParameter['Content-Type'] = 'application/json';
3750+
3751+
setSearchParams(localVarUrlObj, localVarQueryParameter);
3752+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3753+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3754+
localVarRequestOptions.data = serializeDataIfNeeded(noteCollectionRequest, localVarRequestOptions, configuration)
3755+
3756+
return {
3757+
url: toPathString(localVarUrlObj),
3758+
options: localVarRequestOptions,
3759+
};
3760+
},
3761+
/**
3762+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
3763+
* @summary Your POST endpoint
3764+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
3765+
* @param {*} [options] Override http request option.
3766+
* @throws {RequiredError}
3767+
*/
3768+
annotationAnalysesPost: async (noteCollectionRequest?: Array<NoteCollectionRequest>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3769+
const localVarPath = `/annotation-analyses/`;
3770+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
3771+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3772+
let baseOptions;
3773+
if (configuration) {
3774+
baseOptions = configuration.baseOptions;
3775+
}
3776+
3777+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3778+
const localVarHeaderParameter = {} as any;
3779+
const localVarQueryParameter = {} as any;
3780+
3781+
// authentication JSON-Web-Token required
3782+
// http bearer authentication required
3783+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
3784+
3785+
3786+
36783787
localVarHeaderParameter['Content-Type'] = 'application/json';
36793788

36803789
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3932,6 +4041,17 @@ export const AnnotationsApiFp = function(configuration?: Configuration) {
39324041
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnalysesIdPut(id, noteCollectionRequest, options);
39334042
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39344043
},
4044+
/**
4045+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
4046+
* @summary Your POST endpoint
4047+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
4048+
* @param {*} [options] Override http request option.
4049+
* @throws {RequiredError}
4050+
*/
4051+
async annotationAnalysesPost(noteCollectionRequest?: Array<NoteCollectionRequest>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NoteCollectionReturn>>> {
4052+
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnalysesPost(noteCollectionRequest, options);
4053+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4054+
},
39354055
/**
39364056
* get annotations for an available studyset
39374057
* @summary Your GET endpoint
@@ -4031,6 +4151,16 @@ export const AnnotationsApiFactory = function (configuration?: Configuration, ba
40314151
annotationAnalysesIdPut(id: string, noteCollectionRequest?: NoteCollectionRequest, options?: any): AxiosPromise<NoteCollectionReturn> {
40324152
return localVarFp.annotationAnalysesIdPut(id, noteCollectionRequest, options).then((request) => request(axios, basePath));
40334153
},
4154+
/**
4155+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
4156+
* @summary Your POST endpoint
4157+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
4158+
* @param {*} [options] Override http request option.
4159+
* @throws {RequiredError}
4160+
*/
4161+
annotationAnalysesPost(noteCollectionRequest?: Array<NoteCollectionRequest>, options?: any): AxiosPromise<Array<NoteCollectionReturn>> {
4162+
return localVarFp.annotationAnalysesPost(noteCollectionRequest, options).then((request) => request(axios, basePath));
4163+
},
40344164
/**
40354165
* get annotations for an available studyset
40364166
* @summary Your GET endpoint
@@ -4131,6 +4261,18 @@ export class AnnotationsApi extends BaseAPI {
41314261
return AnnotationsApiFp(this.configuration).annotationAnalysesIdPut(id, noteCollectionRequest, options).then((request) => request(this.axios, this.basePath));
41324262
}
41334263

4264+
/**
4265+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
4266+
* @summary Your POST endpoint
4267+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
4268+
* @param {*} [options] Override http request option.
4269+
* @throws {RequiredError}
4270+
* @memberof AnnotationsApi
4271+
*/
4272+
public annotationAnalysesPost(noteCollectionRequest?: Array<NoteCollectionRequest>, options?: AxiosRequestConfig) {
4273+
return AnnotationsApiFp(this.configuration).annotationAnalysesPost(noteCollectionRequest, options).then((request) => request(this.axios, this.basePath));
4274+
}
4275+
41344276
/**
41354277
* get annotations for an available studyset
41364278
* @summary Your GET endpoint
@@ -5811,6 +5953,44 @@ export const StoreApiAxiosParamCreator = function (configuration?: Configuration
58115953

58125954

58135955

5956+
localVarHeaderParameter['Content-Type'] = 'application/json';
5957+
5958+
setSearchParams(localVarUrlObj, localVarQueryParameter);
5959+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5960+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5961+
localVarRequestOptions.data = serializeDataIfNeeded(noteCollectionRequest, localVarRequestOptions, configuration)
5962+
5963+
return {
5964+
url: toPathString(localVarUrlObj),
5965+
options: localVarRequestOptions,
5966+
};
5967+
},
5968+
/**
5969+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
5970+
* @summary Your POST endpoint
5971+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
5972+
* @param {*} [options] Override http request option.
5973+
* @throws {RequiredError}
5974+
*/
5975+
annotationAnalysesPost: async (noteCollectionRequest?: Array<NoteCollectionRequest>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5976+
const localVarPath = `/annotation-analyses/`;
5977+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
5978+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5979+
let baseOptions;
5980+
if (configuration) {
5981+
baseOptions = configuration.baseOptions;
5982+
}
5983+
5984+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5985+
const localVarHeaderParameter = {} as any;
5986+
const localVarQueryParameter = {} as any;
5987+
5988+
// authentication JSON-Web-Token required
5989+
// http bearer authentication required
5990+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
5991+
5992+
5993+
58145994
localVarHeaderParameter['Content-Type'] = 'application/json';
58155995

58165996
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7459,6 +7639,17 @@ export const StoreApiFp = function(configuration?: Configuration) {
74597639
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnalysesIdPut(id, noteCollectionRequest, options);
74607640
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
74617641
},
7642+
/**
7643+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
7644+
* @summary Your POST endpoint
7645+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
7646+
* @param {*} [options] Override http request option.
7647+
* @throws {RequiredError}
7648+
*/
7649+
async annotationAnalysesPost(noteCollectionRequest?: Array<NoteCollectionRequest>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NoteCollectionReturn>>> {
7650+
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnalysesPost(noteCollectionRequest, options);
7651+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7652+
},
74627653
/**
74637654
* get annotations for an available studyset
74647655
* @summary Your GET endpoint
@@ -7985,6 +8176,16 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
79858176
annotationAnalysesIdPut(id: string, noteCollectionRequest?: NoteCollectionRequest, options?: any): AxiosPromise<NoteCollectionReturn> {
79868177
return localVarFp.annotationAnalysesIdPut(id, noteCollectionRequest, options).then((request) => request(axios, basePath));
79878178
},
8179+
/**
8180+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
8181+
* @summary Your POST endpoint
8182+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
8183+
* @param {*} [options] Override http request option.
8184+
* @throws {RequiredError}
8185+
*/
8186+
annotationAnalysesPost(noteCollectionRequest?: Array<NoteCollectionRequest>, options?: any): AxiosPromise<Array<NoteCollectionReturn>> {
8187+
return localVarFp.annotationAnalysesPost(noteCollectionRequest, options).then((request) => request(axios, basePath));
8188+
},
79888189
/**
79898190
* get annotations for an available studyset
79908191
* @summary Your GET endpoint
@@ -8494,6 +8695,18 @@ export class StoreApi extends BaseAPI {
84948695
return StoreApiFp(this.configuration).annotationAnalysesIdPut(id, noteCollectionRequest, options).then((request) => request(this.axios, this.basePath));
84958696
}
84968697

8698+
/**
8699+
* This endpoint does not allow for creation, only modification of existing annotation-analyses. If you wish to create an annotation-analysis, post to the annotations endpoint and/or add the analysis to the appropriate study in the studyset, and the annotation-analysis will be created automatically.
8700+
* @summary Your POST endpoint
8701+
* @param {Array<NoteCollectionRequest>} [noteCollectionRequest]
8702+
* @param {*} [options] Override http request option.
8703+
* @throws {RequiredError}
8704+
* @memberof StoreApi
8705+
*/
8706+
public annotationAnalysesPost(noteCollectionRequest?: Array<NoteCollectionRequest>, options?: AxiosRequestConfig) {
8707+
return StoreApiFp(this.configuration).annotationAnalysesPost(noteCollectionRequest, options).then((request) => request(this.axios, this.basePath));
8708+
}
8709+
84978710
/**
84988711
* get annotations for an available studyset
84998712
* @summary Your GET endpoint

0 commit comments

Comments
 (0)