@@ -3236,6 +3236,44 @@ export const AnalysesApiAxiosParamCreator = function (configuration?: Configurat
3236
3236
3237
3237
3238
3238
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
+
3239
3277
localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ;
3240
3278
3241
3279
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
@@ -3355,6 +3393,17 @@ export const AnalysesApiFp = function(configuration?: Configuration) {
3355
3393
const localVarAxiosArgs = await localVarAxiosParamCreator . annotationAnalysesIdPut ( id , noteCollectionRequest , options ) ;
3356
3394
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
3357
3395
} ,
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
+ } ,
3358
3407
}
3359
3408
} ;
3360
3409
@@ -3454,6 +3503,16 @@ export const AnalysesApiFactory = function (configuration?: Configuration, baseP
3454
3503
annotationAnalysesIdPut ( id : string , noteCollectionRequest ?: NoteCollectionRequest , options ?: any ) : AxiosPromise < NoteCollectionReturn > {
3455
3504
return localVarFp . annotationAnalysesIdPut ( id , noteCollectionRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
3456
3505
} ,
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
+ } ,
3457
3516
} ;
3458
3517
} ;
3459
3518
@@ -3568,6 +3627,18 @@ export class AnalysesApi extends BaseAPI {
3568
3627
public annotationAnalysesIdPut ( id : string , noteCollectionRequest ?: NoteCollectionRequest , options ?: AxiosRequestConfig ) {
3569
3628
return AnalysesApiFp ( this . configuration ) . annotationAnalysesIdPut ( id , noteCollectionRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
3570
3629
}
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
+ }
3571
3642
}
3572
3643
3573
3644
@@ -3675,6 +3746,44 @@ export const AnnotationsApiAxiosParamCreator = function (configuration?: Configu
3675
3746
3676
3747
3677
3748
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
+
3678
3787
localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ;
3679
3788
3680
3789
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
@@ -3932,6 +4041,17 @@ export const AnnotationsApiFp = function(configuration?: Configuration) {
3932
4041
const localVarAxiosArgs = await localVarAxiosParamCreator . annotationAnalysesIdPut ( id , noteCollectionRequest , options ) ;
3933
4042
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
3934
4043
} ,
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
+ } ,
3935
4055
/**
3936
4056
* get annotations for an available studyset
3937
4057
* @summary Your GET endpoint
@@ -4031,6 +4151,16 @@ export const AnnotationsApiFactory = function (configuration?: Configuration, ba
4031
4151
annotationAnalysesIdPut ( id : string , noteCollectionRequest ?: NoteCollectionRequest , options ?: any ) : AxiosPromise < NoteCollectionReturn > {
4032
4152
return localVarFp . annotationAnalysesIdPut ( id , noteCollectionRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
4033
4153
} ,
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
+ } ,
4034
4164
/**
4035
4165
* get annotations for an available studyset
4036
4166
* @summary Your GET endpoint
@@ -4131,6 +4261,18 @@ export class AnnotationsApi extends BaseAPI {
4131
4261
return AnnotationsApiFp ( this . configuration ) . annotationAnalysesIdPut ( id , noteCollectionRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
4132
4262
}
4133
4263
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
+
4134
4276
/**
4135
4277
* get annotations for an available studyset
4136
4278
* @summary Your GET endpoint
@@ -5811,6 +5953,44 @@ export const StoreApiAxiosParamCreator = function (configuration?: Configuration
5811
5953
5812
5954
5813
5955
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
+
5814
5994
localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ;
5815
5995
5816
5996
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
@@ -7459,6 +7639,17 @@ export const StoreApiFp = function(configuration?: Configuration) {
7459
7639
const localVarAxiosArgs = await localVarAxiosParamCreator . annotationAnalysesIdPut ( id , noteCollectionRequest , options ) ;
7460
7640
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
7461
7641
} ,
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
+ } ,
7462
7653
/**
7463
7654
* get annotations for an available studyset
7464
7655
* @summary Your GET endpoint
@@ -7985,6 +8176,16 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
7985
8176
annotationAnalysesIdPut ( id : string , noteCollectionRequest ?: NoteCollectionRequest , options ?: any ) : AxiosPromise < NoteCollectionReturn > {
7986
8177
return localVarFp . annotationAnalysesIdPut ( id , noteCollectionRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
7987
8178
} ,
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
+ } ,
7988
8189
/**
7989
8190
* get annotations for an available studyset
7990
8191
* @summary Your GET endpoint
@@ -8494,6 +8695,18 @@ export class StoreApi extends BaseAPI {
8494
8695
return StoreApiFp ( this . configuration ) . annotationAnalysesIdPut ( id , noteCollectionRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
8495
8696
}
8496
8697
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
+
8497
8710
/**
8498
8711
* get annotations for an available studyset
8499
8712
* @summary Your GET endpoint
0 commit comments