ch-api-client-typescript2 4.1.8 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +500 -22
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +639 -30
- package/package.json +1 -1
- package/src/api.ts +787 -36
package/src/api.ts
CHANGED
|
@@ -2301,6 +2301,12 @@ export interface ContributorItemModel {
|
|
|
2301
2301
|
* @memberof ContributorItemModel
|
|
2302
2302
|
*/
|
|
2303
2303
|
'confirmed'?: boolean;
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @type {string}
|
|
2307
|
+
* @memberof ContributorItemModel
|
|
2308
|
+
*/
|
|
2309
|
+
'description'?: string | null;
|
|
2304
2310
|
/**
|
|
2305
2311
|
*
|
|
2306
2312
|
* @type {string}
|
|
@@ -2392,6 +2398,12 @@ export interface ContributorModel {
|
|
|
2392
2398
|
* @memberof ContributorModel
|
|
2393
2399
|
*/
|
|
2394
2400
|
'confirmed'?: boolean;
|
|
2401
|
+
/**
|
|
2402
|
+
*
|
|
2403
|
+
* @type {string}
|
|
2404
|
+
* @memberof ContributorModel
|
|
2405
|
+
*/
|
|
2406
|
+
'description'?: string | null;
|
|
2395
2407
|
/**
|
|
2396
2408
|
*
|
|
2397
2409
|
* @type {string}
|
|
@@ -2446,12 +2458,6 @@ export interface ContributorModel {
|
|
|
2446
2458
|
* @memberof ContributorModel
|
|
2447
2459
|
*/
|
|
2448
2460
|
'auditableEntity'?: AuditableEntity;
|
|
2449
|
-
/**
|
|
2450
|
-
*
|
|
2451
|
-
* @type {string}
|
|
2452
|
-
* @memberof ContributorModel
|
|
2453
|
-
*/
|
|
2454
|
-
'description'?: string | null;
|
|
2455
2461
|
/**
|
|
2456
2462
|
*
|
|
2457
2463
|
* @type {string}
|
|
@@ -2911,6 +2917,74 @@ export interface CreateConsultationCommand {
|
|
|
2911
2917
|
*/
|
|
2912
2918
|
'isExternal'?: boolean;
|
|
2913
2919
|
}
|
|
2920
|
+
/**
|
|
2921
|
+
*
|
|
2922
|
+
* @export
|
|
2923
|
+
* @interface CreateDeviceCommand
|
|
2924
|
+
*/
|
|
2925
|
+
export interface CreateDeviceCommand {
|
|
2926
|
+
/**
|
|
2927
|
+
*
|
|
2928
|
+
* @type {string}
|
|
2929
|
+
* @memberof CreateDeviceCommand
|
|
2930
|
+
*/
|
|
2931
|
+
'id'?: string;
|
|
2932
|
+
/**
|
|
2933
|
+
*
|
|
2934
|
+
* @type {string}
|
|
2935
|
+
* @memberof CreateDeviceCommand
|
|
2936
|
+
*/
|
|
2937
|
+
'token'?: string | null;
|
|
2938
|
+
/**
|
|
2939
|
+
*
|
|
2940
|
+
* @type {Platform}
|
|
2941
|
+
* @memberof CreateDeviceCommand
|
|
2942
|
+
*/
|
|
2943
|
+
'platform'?: Platform;
|
|
2944
|
+
/**
|
|
2945
|
+
*
|
|
2946
|
+
* @type {Array<string>}
|
|
2947
|
+
* @memberof CreateDeviceCommand
|
|
2948
|
+
*/
|
|
2949
|
+
'tags'?: Array<string> | null;
|
|
2950
|
+
/**
|
|
2951
|
+
*
|
|
2952
|
+
* @type {boolean}
|
|
2953
|
+
* @memberof CreateDeviceCommand
|
|
2954
|
+
*/
|
|
2955
|
+
'appAlert'?: boolean;
|
|
2956
|
+
/**
|
|
2957
|
+
*
|
|
2958
|
+
* @type {boolean}
|
|
2959
|
+
* @memberof CreateDeviceCommand
|
|
2960
|
+
*/
|
|
2961
|
+
'eventAlert'?: boolean;
|
|
2962
|
+
/**
|
|
2963
|
+
*
|
|
2964
|
+
* @type {boolean}
|
|
2965
|
+
* @memberof CreateDeviceCommand
|
|
2966
|
+
*/
|
|
2967
|
+
'noticeAlert'?: boolean;
|
|
2968
|
+
}
|
|
2969
|
+
/**
|
|
2970
|
+
*
|
|
2971
|
+
* @export
|
|
2972
|
+
* @interface CreateDeviceLoginCommand
|
|
2973
|
+
*/
|
|
2974
|
+
export interface CreateDeviceLoginCommand {
|
|
2975
|
+
/**
|
|
2976
|
+
*
|
|
2977
|
+
* @type {string}
|
|
2978
|
+
* @memberof CreateDeviceLoginCommand
|
|
2979
|
+
*/
|
|
2980
|
+
'version'?: string | null;
|
|
2981
|
+
/**
|
|
2982
|
+
*
|
|
2983
|
+
* @type {LocationModel}
|
|
2984
|
+
* @memberof CreateDeviceLoginCommand
|
|
2985
|
+
*/
|
|
2986
|
+
'location'?: LocationModel;
|
|
2987
|
+
}
|
|
2914
2988
|
/**
|
|
2915
2989
|
*
|
|
2916
2990
|
* @export
|
|
@@ -3705,6 +3779,117 @@ export interface DealsSimpleModel {
|
|
|
3705
3779
|
*/
|
|
3706
3780
|
'metaData'?: PagedListMetaData;
|
|
3707
3781
|
}
|
|
3782
|
+
/**
|
|
3783
|
+
*
|
|
3784
|
+
* @export
|
|
3785
|
+
* @interface DeviceItemModel
|
|
3786
|
+
*/
|
|
3787
|
+
export interface DeviceItemModel {
|
|
3788
|
+
/**
|
|
3789
|
+
*
|
|
3790
|
+
* @type {string}
|
|
3791
|
+
* @memberof DeviceItemModel
|
|
3792
|
+
*/
|
|
3793
|
+
'id'?: string;
|
|
3794
|
+
/**
|
|
3795
|
+
*
|
|
3796
|
+
* @type {string}
|
|
3797
|
+
* @memberof DeviceItemModel
|
|
3798
|
+
*/
|
|
3799
|
+
'token'?: string | null;
|
|
3800
|
+
/**
|
|
3801
|
+
*
|
|
3802
|
+
* @type {Platform}
|
|
3803
|
+
* @memberof DeviceItemModel
|
|
3804
|
+
*/
|
|
3805
|
+
'platform'?: Platform;
|
|
3806
|
+
/**
|
|
3807
|
+
*
|
|
3808
|
+
* @type {boolean}
|
|
3809
|
+
* @memberof DeviceItemModel
|
|
3810
|
+
*/
|
|
3811
|
+
'appAlert'?: boolean;
|
|
3812
|
+
/**
|
|
3813
|
+
*
|
|
3814
|
+
* @type {boolean}
|
|
3815
|
+
* @memberof DeviceItemModel
|
|
3816
|
+
*/
|
|
3817
|
+
'eventAlert'?: boolean;
|
|
3818
|
+
/**
|
|
3819
|
+
*
|
|
3820
|
+
* @type {boolean}
|
|
3821
|
+
* @memberof DeviceItemModel
|
|
3822
|
+
*/
|
|
3823
|
+
'noticeAlert'?: boolean;
|
|
3824
|
+
}
|
|
3825
|
+
/**
|
|
3826
|
+
*
|
|
3827
|
+
* @export
|
|
3828
|
+
* @interface DeviceModel
|
|
3829
|
+
*/
|
|
3830
|
+
export interface DeviceModel {
|
|
3831
|
+
/**
|
|
3832
|
+
*
|
|
3833
|
+
* @type {string}
|
|
3834
|
+
* @memberof DeviceModel
|
|
3835
|
+
*/
|
|
3836
|
+
'id'?: string;
|
|
3837
|
+
/**
|
|
3838
|
+
*
|
|
3839
|
+
* @type {string}
|
|
3840
|
+
* @memberof DeviceModel
|
|
3841
|
+
*/
|
|
3842
|
+
'token'?: string | null;
|
|
3843
|
+
/**
|
|
3844
|
+
*
|
|
3845
|
+
* @type {Platform}
|
|
3846
|
+
* @memberof DeviceModel
|
|
3847
|
+
*/
|
|
3848
|
+
'platform'?: Platform;
|
|
3849
|
+
/**
|
|
3850
|
+
*
|
|
3851
|
+
* @type {boolean}
|
|
3852
|
+
* @memberof DeviceModel
|
|
3853
|
+
*/
|
|
3854
|
+
'appAlert'?: boolean;
|
|
3855
|
+
/**
|
|
3856
|
+
*
|
|
3857
|
+
* @type {boolean}
|
|
3858
|
+
* @memberof DeviceModel
|
|
3859
|
+
*/
|
|
3860
|
+
'eventAlert'?: boolean;
|
|
3861
|
+
/**
|
|
3862
|
+
*
|
|
3863
|
+
* @type {boolean}
|
|
3864
|
+
* @memberof DeviceModel
|
|
3865
|
+
*/
|
|
3866
|
+
'noticeAlert'?: boolean;
|
|
3867
|
+
/**
|
|
3868
|
+
*
|
|
3869
|
+
* @type {Array<string>}
|
|
3870
|
+
* @memberof DeviceModel
|
|
3871
|
+
*/
|
|
3872
|
+
'tags'?: Array<string> | null;
|
|
3873
|
+
}
|
|
3874
|
+
/**
|
|
3875
|
+
*
|
|
3876
|
+
* @export
|
|
3877
|
+
* @interface DevicesModel
|
|
3878
|
+
*/
|
|
3879
|
+
export interface DevicesModel {
|
|
3880
|
+
/**
|
|
3881
|
+
*
|
|
3882
|
+
* @type {Array<DeviceItemModel>}
|
|
3883
|
+
* @memberof DevicesModel
|
|
3884
|
+
*/
|
|
3885
|
+
'items'?: Array<DeviceItemModel> | null;
|
|
3886
|
+
/**
|
|
3887
|
+
*
|
|
3888
|
+
* @type {PagedListMetaData}
|
|
3889
|
+
* @memberof DevicesModel
|
|
3890
|
+
*/
|
|
3891
|
+
'metaData'?: PagedListMetaData;
|
|
3892
|
+
}
|
|
3708
3893
|
/**
|
|
3709
3894
|
*
|
|
3710
3895
|
* @export
|
|
@@ -9242,6 +9427,43 @@ export interface UpdateConsultationCommand {
|
|
|
9242
9427
|
*/
|
|
9243
9428
|
'timeZone'?: string | null;
|
|
9244
9429
|
}
|
|
9430
|
+
/**
|
|
9431
|
+
*
|
|
9432
|
+
* @export
|
|
9433
|
+
* @interface UpdateDeviceCommand
|
|
9434
|
+
*/
|
|
9435
|
+
export interface UpdateDeviceCommand {
|
|
9436
|
+
/**
|
|
9437
|
+
*
|
|
9438
|
+
* @type {string}
|
|
9439
|
+
* @memberof UpdateDeviceCommand
|
|
9440
|
+
*/
|
|
9441
|
+
'token'?: string | null;
|
|
9442
|
+
/**
|
|
9443
|
+
*
|
|
9444
|
+
* @type {Array<string>}
|
|
9445
|
+
* @memberof UpdateDeviceCommand
|
|
9446
|
+
*/
|
|
9447
|
+
'tags'?: Array<string> | null;
|
|
9448
|
+
/**
|
|
9449
|
+
*
|
|
9450
|
+
* @type {boolean}
|
|
9451
|
+
* @memberof UpdateDeviceCommand
|
|
9452
|
+
*/
|
|
9453
|
+
'appAlert'?: boolean;
|
|
9454
|
+
/**
|
|
9455
|
+
*
|
|
9456
|
+
* @type {boolean}
|
|
9457
|
+
* @memberof UpdateDeviceCommand
|
|
9458
|
+
*/
|
|
9459
|
+
'eventAlert'?: boolean;
|
|
9460
|
+
/**
|
|
9461
|
+
*
|
|
9462
|
+
* @type {boolean}
|
|
9463
|
+
* @memberof UpdateDeviceCommand
|
|
9464
|
+
*/
|
|
9465
|
+
'noticeAlert'?: boolean;
|
|
9466
|
+
}
|
|
9245
9467
|
/**
|
|
9246
9468
|
*
|
|
9247
9469
|
* @export
|
|
@@ -10507,14 +10729,13 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10507
10729
|
* @param {ContributionType} [contributionType]
|
|
10508
10730
|
* @param {string} [languageCode]
|
|
10509
10731
|
* @param {boolean} [showHidden]
|
|
10510
|
-
* @param {boolean} [inbound]
|
|
10511
10732
|
* @param {number} [page]
|
|
10512
10733
|
* @param {number} [limit]
|
|
10513
10734
|
* @param {Date} [lastRetrieved]
|
|
10514
10735
|
* @param {*} [options] Override http request option.
|
|
10515
10736
|
* @throws {RequiredError}
|
|
10516
10737
|
*/
|
|
10517
|
-
apiV2ArticlesArticleIdContributorsGet: async (articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean,
|
|
10738
|
+
apiV2ArticlesArticleIdContributorsGet: async (articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10518
10739
|
// verify required parameter 'articleId' is not null or undefined
|
|
10519
10740
|
assertParamExists('apiV2ArticlesArticleIdContributorsGet', 'articleId', articleId)
|
|
10520
10741
|
const localVarPath = `/api/v2/articles/{articleId}/contributors`
|
|
@@ -10562,10 +10783,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10562
10783
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10563
10784
|
}
|
|
10564
10785
|
|
|
10565
|
-
if (inbound !== undefined) {
|
|
10566
|
-
localVarQueryParameter['Inbound'] = inbound;
|
|
10567
|
-
}
|
|
10568
|
-
|
|
10569
10786
|
if (page !== undefined) {
|
|
10570
10787
|
localVarQueryParameter['page'] = page;
|
|
10571
10788
|
}
|
|
@@ -11116,15 +11333,14 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
11116
11333
|
* @param {ContributionType} [contributionType]
|
|
11117
11334
|
* @param {string} [languageCode]
|
|
11118
11335
|
* @param {boolean} [showHidden]
|
|
11119
|
-
* @param {boolean} [inbound]
|
|
11120
11336
|
* @param {number} [page]
|
|
11121
11337
|
* @param {number} [limit]
|
|
11122
11338
|
* @param {Date} [lastRetrieved]
|
|
11123
11339
|
* @param {*} [options] Override http request option.
|
|
11124
11340
|
* @throws {RequiredError}
|
|
11125
11341
|
*/
|
|
11126
|
-
async apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean,
|
|
11127
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden,
|
|
11342
|
+
async apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleContributorsModel>> {
|
|
11343
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
11128
11344
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11129
11345
|
},
|
|
11130
11346
|
/**
|
|
@@ -11294,15 +11510,14 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
11294
11510
|
* @param {ContributionType} [contributionType]
|
|
11295
11511
|
* @param {string} [languageCode]
|
|
11296
11512
|
* @param {boolean} [showHidden]
|
|
11297
|
-
* @param {boolean} [inbound]
|
|
11298
11513
|
* @param {number} [page]
|
|
11299
11514
|
* @param {number} [limit]
|
|
11300
11515
|
* @param {Date} [lastRetrieved]
|
|
11301
11516
|
* @param {*} [options] Override http request option.
|
|
11302
11517
|
* @throws {RequiredError}
|
|
11303
11518
|
*/
|
|
11304
|
-
apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean,
|
|
11305
|
-
return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden,
|
|
11519
|
+
apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleContributorsModel> {
|
|
11520
|
+
return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
11306
11521
|
},
|
|
11307
11522
|
/**
|
|
11308
11523
|
*
|
|
@@ -11464,7 +11679,6 @@ export class ArticlesApi extends BaseAPI {
|
|
|
11464
11679
|
* @param {ContributionType} [contributionType]
|
|
11465
11680
|
* @param {string} [languageCode]
|
|
11466
11681
|
* @param {boolean} [showHidden]
|
|
11467
|
-
* @param {boolean} [inbound]
|
|
11468
11682
|
* @param {number} [page]
|
|
11469
11683
|
* @param {number} [limit]
|
|
11470
11684
|
* @param {Date} [lastRetrieved]
|
|
@@ -11472,8 +11686,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
11472
11686
|
* @throws {RequiredError}
|
|
11473
11687
|
* @memberof ArticlesApi
|
|
11474
11688
|
*/
|
|
11475
|
-
public apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean,
|
|
11476
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden,
|
|
11689
|
+
public apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
11690
|
+
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
11477
11691
|
}
|
|
11478
11692
|
|
|
11479
11693
|
/**
|
|
@@ -13561,14 +13775,13 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13561
13775
|
* @param {boolean} [showHidden]
|
|
13562
13776
|
* @param {string} [languageCode]
|
|
13563
13777
|
* @param {boolean} [returnDefaultValue]
|
|
13564
|
-
* @param {boolean} [inbound]
|
|
13565
13778
|
* @param {number} [page]
|
|
13566
13779
|
* @param {number} [limit]
|
|
13567
13780
|
* @param {Date} [lastRetrieved]
|
|
13568
13781
|
* @param {*} [options] Override http request option.
|
|
13569
13782
|
* @throws {RequiredError}
|
|
13570
13783
|
*/
|
|
13571
|
-
apiV2ContributorsGet: async (id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean,
|
|
13784
|
+
apiV2ContributorsGet: async (id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13572
13785
|
const localVarPath = `/api/v2/contributors`;
|
|
13573
13786
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13574
13787
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13617,10 +13830,6 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13617
13830
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
13618
13831
|
}
|
|
13619
13832
|
|
|
13620
|
-
if (inbound !== undefined) {
|
|
13621
|
-
localVarQueryParameter['Inbound'] = inbound;
|
|
13622
|
-
}
|
|
13623
|
-
|
|
13624
13833
|
if (page !== undefined) {
|
|
13625
13834
|
localVarQueryParameter['page'] = page;
|
|
13626
13835
|
}
|
|
@@ -13755,15 +13964,14 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
13755
13964
|
* @param {boolean} [showHidden]
|
|
13756
13965
|
* @param {string} [languageCode]
|
|
13757
13966
|
* @param {boolean} [returnDefaultValue]
|
|
13758
|
-
* @param {boolean} [inbound]
|
|
13759
13967
|
* @param {number} [page]
|
|
13760
13968
|
* @param {number} [limit]
|
|
13761
13969
|
* @param {Date} [lastRetrieved]
|
|
13762
13970
|
* @param {*} [options] Override http request option.
|
|
13763
13971
|
* @throws {RequiredError}
|
|
13764
13972
|
*/
|
|
13765
|
-
async apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean,
|
|
13766
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue,
|
|
13973
|
+
async apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
|
|
13974
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
13767
13975
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13768
13976
|
},
|
|
13769
13977
|
/**
|
|
@@ -13841,15 +14049,14 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
13841
14049
|
* @param {boolean} [showHidden]
|
|
13842
14050
|
* @param {string} [languageCode]
|
|
13843
14051
|
* @param {boolean} [returnDefaultValue]
|
|
13844
|
-
* @param {boolean} [inbound]
|
|
13845
14052
|
* @param {number} [page]
|
|
13846
14053
|
* @param {number} [limit]
|
|
13847
14054
|
* @param {Date} [lastRetrieved]
|
|
13848
14055
|
* @param {*} [options] Override http request option.
|
|
13849
14056
|
* @throws {RequiredError}
|
|
13850
14057
|
*/
|
|
13851
|
-
apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean,
|
|
13852
|
-
return localVarFp.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue,
|
|
14058
|
+
apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
|
|
14059
|
+
return localVarFp.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
13853
14060
|
},
|
|
13854
14061
|
/**
|
|
13855
14062
|
*
|
|
@@ -13931,7 +14138,6 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13931
14138
|
* @param {boolean} [showHidden]
|
|
13932
14139
|
* @param {string} [languageCode]
|
|
13933
14140
|
* @param {boolean} [returnDefaultValue]
|
|
13934
|
-
* @param {boolean} [inbound]
|
|
13935
14141
|
* @param {number} [page]
|
|
13936
14142
|
* @param {number} [limit]
|
|
13937
14143
|
* @param {Date} [lastRetrieved]
|
|
@@ -13939,8 +14145,8 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13939
14145
|
* @throws {RequiredError}
|
|
13940
14146
|
* @memberof ContributorsApi
|
|
13941
14147
|
*/
|
|
13942
|
-
public apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean,
|
|
13943
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue,
|
|
14148
|
+
public apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
14149
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
13944
14150
|
}
|
|
13945
14151
|
|
|
13946
14152
|
/**
|
|
@@ -15584,6 +15790,551 @@ export class DealsApi extends BaseAPI {
|
|
|
15584
15790
|
}
|
|
15585
15791
|
|
|
15586
15792
|
|
|
15793
|
+
/**
|
|
15794
|
+
* DevicesApi - axios parameter creator
|
|
15795
|
+
* @export
|
|
15796
|
+
*/
|
|
15797
|
+
export const DevicesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15798
|
+
return {
|
|
15799
|
+
/**
|
|
15800
|
+
*
|
|
15801
|
+
* @summary Get all devices.
|
|
15802
|
+
* @param {string} [id]
|
|
15803
|
+
* @param {string} [token]
|
|
15804
|
+
* @param {Platform} [platform]
|
|
15805
|
+
* @param {boolean} [appAlert]
|
|
15806
|
+
* @param {boolean} [eventAlert]
|
|
15807
|
+
* @param {boolean} [noticeAlert]
|
|
15808
|
+
* @param {number} [page]
|
|
15809
|
+
* @param {number} [limit]
|
|
15810
|
+
* @param {Date} [lastRetrieved]
|
|
15811
|
+
* @param {*} [options] Override http request option.
|
|
15812
|
+
* @throws {RequiredError}
|
|
15813
|
+
*/
|
|
15814
|
+
apiV2DevicesGet: async (id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15815
|
+
const localVarPath = `/api/v2/devices`;
|
|
15816
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15817
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15818
|
+
let baseOptions;
|
|
15819
|
+
if (configuration) {
|
|
15820
|
+
baseOptions = configuration.baseOptions;
|
|
15821
|
+
}
|
|
15822
|
+
|
|
15823
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15824
|
+
const localVarHeaderParameter = {} as any;
|
|
15825
|
+
const localVarQueryParameter = {} as any;
|
|
15826
|
+
|
|
15827
|
+
// authentication oauth2 required
|
|
15828
|
+
// oauth required
|
|
15829
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
15830
|
+
|
|
15831
|
+
if (id !== undefined) {
|
|
15832
|
+
localVarQueryParameter['Id'] = id;
|
|
15833
|
+
}
|
|
15834
|
+
|
|
15835
|
+
if (token !== undefined) {
|
|
15836
|
+
localVarQueryParameter['Token'] = token;
|
|
15837
|
+
}
|
|
15838
|
+
|
|
15839
|
+
if (platform !== undefined) {
|
|
15840
|
+
localVarQueryParameter['Platform'] = platform;
|
|
15841
|
+
}
|
|
15842
|
+
|
|
15843
|
+
if (appAlert !== undefined) {
|
|
15844
|
+
localVarQueryParameter['AppAlert'] = appAlert;
|
|
15845
|
+
}
|
|
15846
|
+
|
|
15847
|
+
if (eventAlert !== undefined) {
|
|
15848
|
+
localVarQueryParameter['EventAlert'] = eventAlert;
|
|
15849
|
+
}
|
|
15850
|
+
|
|
15851
|
+
if (noticeAlert !== undefined) {
|
|
15852
|
+
localVarQueryParameter['NoticeAlert'] = noticeAlert;
|
|
15853
|
+
}
|
|
15854
|
+
|
|
15855
|
+
if (page !== undefined) {
|
|
15856
|
+
localVarQueryParameter['page'] = page;
|
|
15857
|
+
}
|
|
15858
|
+
|
|
15859
|
+
if (limit !== undefined) {
|
|
15860
|
+
localVarQueryParameter['limit'] = limit;
|
|
15861
|
+
}
|
|
15862
|
+
|
|
15863
|
+
if (lastRetrieved !== undefined) {
|
|
15864
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
15865
|
+
(lastRetrieved as any).toISOString() :
|
|
15866
|
+
lastRetrieved;
|
|
15867
|
+
}
|
|
15868
|
+
|
|
15869
|
+
|
|
15870
|
+
|
|
15871
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15872
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15873
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15874
|
+
|
|
15875
|
+
return {
|
|
15876
|
+
url: toPathString(localVarUrlObj),
|
|
15877
|
+
options: localVarRequestOptions,
|
|
15878
|
+
};
|
|
15879
|
+
},
|
|
15880
|
+
/**
|
|
15881
|
+
*
|
|
15882
|
+
* @summary Delete device.
|
|
15883
|
+
* @param {string} id
|
|
15884
|
+
* @param {*} [options] Override http request option.
|
|
15885
|
+
* @throws {RequiredError}
|
|
15886
|
+
*/
|
|
15887
|
+
apiV2DevicesIdDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15888
|
+
// verify required parameter 'id' is not null or undefined
|
|
15889
|
+
assertParamExists('apiV2DevicesIdDelete', 'id', id)
|
|
15890
|
+
const localVarPath = `/api/v2/devices/{id}`
|
|
15891
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15892
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15893
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15894
|
+
let baseOptions;
|
|
15895
|
+
if (configuration) {
|
|
15896
|
+
baseOptions = configuration.baseOptions;
|
|
15897
|
+
}
|
|
15898
|
+
|
|
15899
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
15900
|
+
const localVarHeaderParameter = {} as any;
|
|
15901
|
+
const localVarQueryParameter = {} as any;
|
|
15902
|
+
|
|
15903
|
+
// authentication oauth2 required
|
|
15904
|
+
// oauth required
|
|
15905
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
15906
|
+
|
|
15907
|
+
|
|
15908
|
+
|
|
15909
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15910
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15911
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15912
|
+
|
|
15913
|
+
return {
|
|
15914
|
+
url: toPathString(localVarUrlObj),
|
|
15915
|
+
options: localVarRequestOptions,
|
|
15916
|
+
};
|
|
15917
|
+
},
|
|
15918
|
+
/**
|
|
15919
|
+
*
|
|
15920
|
+
* @summary Get device.
|
|
15921
|
+
* @param {string} id
|
|
15922
|
+
* @param {*} [options] Override http request option.
|
|
15923
|
+
* @throws {RequiredError}
|
|
15924
|
+
*/
|
|
15925
|
+
apiV2DevicesIdGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15926
|
+
// verify required parameter 'id' is not null or undefined
|
|
15927
|
+
assertParamExists('apiV2DevicesIdGet', 'id', id)
|
|
15928
|
+
const localVarPath = `/api/v2/devices/{id}`
|
|
15929
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15930
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15931
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15932
|
+
let baseOptions;
|
|
15933
|
+
if (configuration) {
|
|
15934
|
+
baseOptions = configuration.baseOptions;
|
|
15935
|
+
}
|
|
15936
|
+
|
|
15937
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15938
|
+
const localVarHeaderParameter = {} as any;
|
|
15939
|
+
const localVarQueryParameter = {} as any;
|
|
15940
|
+
|
|
15941
|
+
// authentication oauth2 required
|
|
15942
|
+
// oauth required
|
|
15943
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
15944
|
+
|
|
15945
|
+
|
|
15946
|
+
|
|
15947
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15948
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15949
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15950
|
+
|
|
15951
|
+
return {
|
|
15952
|
+
url: toPathString(localVarUrlObj),
|
|
15953
|
+
options: localVarRequestOptions,
|
|
15954
|
+
};
|
|
15955
|
+
},
|
|
15956
|
+
/**
|
|
15957
|
+
*
|
|
15958
|
+
* @summary Create device login.
|
|
15959
|
+
* @param {string} id
|
|
15960
|
+
* @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
|
|
15961
|
+
* @param {*} [options] Override http request option.
|
|
15962
|
+
* @throws {RequiredError}
|
|
15963
|
+
*/
|
|
15964
|
+
apiV2DevicesIdLoginsPost: async (id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15965
|
+
// verify required parameter 'id' is not null or undefined
|
|
15966
|
+
assertParamExists('apiV2DevicesIdLoginsPost', 'id', id)
|
|
15967
|
+
const localVarPath = `/api/v2/devices/{id}/logins`
|
|
15968
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15969
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15970
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15971
|
+
let baseOptions;
|
|
15972
|
+
if (configuration) {
|
|
15973
|
+
baseOptions = configuration.baseOptions;
|
|
15974
|
+
}
|
|
15975
|
+
|
|
15976
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15977
|
+
const localVarHeaderParameter = {} as any;
|
|
15978
|
+
const localVarQueryParameter = {} as any;
|
|
15979
|
+
|
|
15980
|
+
// authentication oauth2 required
|
|
15981
|
+
// oauth required
|
|
15982
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
15983
|
+
|
|
15984
|
+
|
|
15985
|
+
|
|
15986
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15987
|
+
|
|
15988
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15989
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15990
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15991
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createDeviceLoginCommand, localVarRequestOptions, configuration)
|
|
15992
|
+
|
|
15993
|
+
return {
|
|
15994
|
+
url: toPathString(localVarUrlObj),
|
|
15995
|
+
options: localVarRequestOptions,
|
|
15996
|
+
};
|
|
15997
|
+
},
|
|
15998
|
+
/**
|
|
15999
|
+
*
|
|
16000
|
+
* @summary Update device.
|
|
16001
|
+
* @param {string} id
|
|
16002
|
+
* @param {UpdateDeviceCommand} [updateDeviceCommand]
|
|
16003
|
+
* @param {*} [options] Override http request option.
|
|
16004
|
+
* @throws {RequiredError}
|
|
16005
|
+
*/
|
|
16006
|
+
apiV2DevicesIdPut: async (id: string, updateDeviceCommand?: UpdateDeviceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16007
|
+
// verify required parameter 'id' is not null or undefined
|
|
16008
|
+
assertParamExists('apiV2DevicesIdPut', 'id', id)
|
|
16009
|
+
const localVarPath = `/api/v2/devices/{id}`
|
|
16010
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16011
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16012
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16013
|
+
let baseOptions;
|
|
16014
|
+
if (configuration) {
|
|
16015
|
+
baseOptions = configuration.baseOptions;
|
|
16016
|
+
}
|
|
16017
|
+
|
|
16018
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16019
|
+
const localVarHeaderParameter = {} as any;
|
|
16020
|
+
const localVarQueryParameter = {} as any;
|
|
16021
|
+
|
|
16022
|
+
// authentication oauth2 required
|
|
16023
|
+
// oauth required
|
|
16024
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
16025
|
+
|
|
16026
|
+
|
|
16027
|
+
|
|
16028
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16029
|
+
|
|
16030
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16031
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16032
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16033
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDeviceCommand, localVarRequestOptions, configuration)
|
|
16034
|
+
|
|
16035
|
+
return {
|
|
16036
|
+
url: toPathString(localVarUrlObj),
|
|
16037
|
+
options: localVarRequestOptions,
|
|
16038
|
+
};
|
|
16039
|
+
},
|
|
16040
|
+
/**
|
|
16041
|
+
*
|
|
16042
|
+
* @summary Create device.
|
|
16043
|
+
* @param {CreateDeviceCommand} [createDeviceCommand]
|
|
16044
|
+
* @param {*} [options] Override http request option.
|
|
16045
|
+
* @throws {RequiredError}
|
|
16046
|
+
*/
|
|
16047
|
+
apiV2DevicesPost: async (createDeviceCommand?: CreateDeviceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16048
|
+
const localVarPath = `/api/v2/devices`;
|
|
16049
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16050
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16051
|
+
let baseOptions;
|
|
16052
|
+
if (configuration) {
|
|
16053
|
+
baseOptions = configuration.baseOptions;
|
|
16054
|
+
}
|
|
16055
|
+
|
|
16056
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16057
|
+
const localVarHeaderParameter = {} as any;
|
|
16058
|
+
const localVarQueryParameter = {} as any;
|
|
16059
|
+
|
|
16060
|
+
// authentication oauth2 required
|
|
16061
|
+
// oauth required
|
|
16062
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
16063
|
+
|
|
16064
|
+
|
|
16065
|
+
|
|
16066
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16067
|
+
|
|
16068
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16069
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16070
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16071
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createDeviceCommand, localVarRequestOptions, configuration)
|
|
16072
|
+
|
|
16073
|
+
return {
|
|
16074
|
+
url: toPathString(localVarUrlObj),
|
|
16075
|
+
options: localVarRequestOptions,
|
|
16076
|
+
};
|
|
16077
|
+
},
|
|
16078
|
+
}
|
|
16079
|
+
};
|
|
16080
|
+
|
|
16081
|
+
/**
|
|
16082
|
+
* DevicesApi - functional programming interface
|
|
16083
|
+
* @export
|
|
16084
|
+
*/
|
|
16085
|
+
export const DevicesApiFp = function(configuration?: Configuration) {
|
|
16086
|
+
const localVarAxiosParamCreator = DevicesApiAxiosParamCreator(configuration)
|
|
16087
|
+
return {
|
|
16088
|
+
/**
|
|
16089
|
+
*
|
|
16090
|
+
* @summary Get all devices.
|
|
16091
|
+
* @param {string} [id]
|
|
16092
|
+
* @param {string} [token]
|
|
16093
|
+
* @param {Platform} [platform]
|
|
16094
|
+
* @param {boolean} [appAlert]
|
|
16095
|
+
* @param {boolean} [eventAlert]
|
|
16096
|
+
* @param {boolean} [noticeAlert]
|
|
16097
|
+
* @param {number} [page]
|
|
16098
|
+
* @param {number} [limit]
|
|
16099
|
+
* @param {Date} [lastRetrieved]
|
|
16100
|
+
* @param {*} [options] Override http request option.
|
|
16101
|
+
* @throws {RequiredError}
|
|
16102
|
+
*/
|
|
16103
|
+
async apiV2DevicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DevicesModel>> {
|
|
16104
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options);
|
|
16105
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16106
|
+
},
|
|
16107
|
+
/**
|
|
16108
|
+
*
|
|
16109
|
+
* @summary Delete device.
|
|
16110
|
+
* @param {string} id
|
|
16111
|
+
* @param {*} [options] Override http request option.
|
|
16112
|
+
* @throws {RequiredError}
|
|
16113
|
+
*/
|
|
16114
|
+
async apiV2DevicesIdDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
16115
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdDelete(id, options);
|
|
16116
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16117
|
+
},
|
|
16118
|
+
/**
|
|
16119
|
+
*
|
|
16120
|
+
* @summary Get device.
|
|
16121
|
+
* @param {string} id
|
|
16122
|
+
* @param {*} [options] Override http request option.
|
|
16123
|
+
* @throws {RequiredError}
|
|
16124
|
+
*/
|
|
16125
|
+
async apiV2DevicesIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>> {
|
|
16126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdGet(id, options);
|
|
16127
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16128
|
+
},
|
|
16129
|
+
/**
|
|
16130
|
+
*
|
|
16131
|
+
* @summary Create device login.
|
|
16132
|
+
* @param {string} id
|
|
16133
|
+
* @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
|
|
16134
|
+
* @param {*} [options] Override http request option.
|
|
16135
|
+
* @throws {RequiredError}
|
|
16136
|
+
*/
|
|
16137
|
+
async apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
16138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options);
|
|
16139
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16140
|
+
},
|
|
16141
|
+
/**
|
|
16142
|
+
*
|
|
16143
|
+
* @summary Update device.
|
|
16144
|
+
* @param {string} id
|
|
16145
|
+
* @param {UpdateDeviceCommand} [updateDeviceCommand]
|
|
16146
|
+
* @param {*} [options] Override http request option.
|
|
16147
|
+
* @throws {RequiredError}
|
|
16148
|
+
*/
|
|
16149
|
+
async apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
16150
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdPut(id, updateDeviceCommand, options);
|
|
16151
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16152
|
+
},
|
|
16153
|
+
/**
|
|
16154
|
+
*
|
|
16155
|
+
* @summary Create device.
|
|
16156
|
+
* @param {CreateDeviceCommand} [createDeviceCommand]
|
|
16157
|
+
* @param {*} [options] Override http request option.
|
|
16158
|
+
* @throws {RequiredError}
|
|
16159
|
+
*/
|
|
16160
|
+
async apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>> {
|
|
16161
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesPost(createDeviceCommand, options);
|
|
16162
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16163
|
+
},
|
|
16164
|
+
}
|
|
16165
|
+
};
|
|
16166
|
+
|
|
16167
|
+
/**
|
|
16168
|
+
* DevicesApi - factory interface
|
|
16169
|
+
* @export
|
|
16170
|
+
*/
|
|
16171
|
+
export const DevicesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
16172
|
+
const localVarFp = DevicesApiFp(configuration)
|
|
16173
|
+
return {
|
|
16174
|
+
/**
|
|
16175
|
+
*
|
|
16176
|
+
* @summary Get all devices.
|
|
16177
|
+
* @param {string} [id]
|
|
16178
|
+
* @param {string} [token]
|
|
16179
|
+
* @param {Platform} [platform]
|
|
16180
|
+
* @param {boolean} [appAlert]
|
|
16181
|
+
* @param {boolean} [eventAlert]
|
|
16182
|
+
* @param {boolean} [noticeAlert]
|
|
16183
|
+
* @param {number} [page]
|
|
16184
|
+
* @param {number} [limit]
|
|
16185
|
+
* @param {Date} [lastRetrieved]
|
|
16186
|
+
* @param {*} [options] Override http request option.
|
|
16187
|
+
* @throws {RequiredError}
|
|
16188
|
+
*/
|
|
16189
|
+
apiV2DevicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DevicesModel> {
|
|
16190
|
+
return localVarFp.apiV2DevicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16191
|
+
},
|
|
16192
|
+
/**
|
|
16193
|
+
*
|
|
16194
|
+
* @summary Delete device.
|
|
16195
|
+
* @param {string} id
|
|
16196
|
+
* @param {*} [options] Override http request option.
|
|
16197
|
+
* @throws {RequiredError}
|
|
16198
|
+
*/
|
|
16199
|
+
apiV2DevicesIdDelete(id: string, options?: any): AxiosPromise<boolean> {
|
|
16200
|
+
return localVarFp.apiV2DevicesIdDelete(id, options).then((request) => request(axios, basePath));
|
|
16201
|
+
},
|
|
16202
|
+
/**
|
|
16203
|
+
*
|
|
16204
|
+
* @summary Get device.
|
|
16205
|
+
* @param {string} id
|
|
16206
|
+
* @param {*} [options] Override http request option.
|
|
16207
|
+
* @throws {RequiredError}
|
|
16208
|
+
*/
|
|
16209
|
+
apiV2DevicesIdGet(id: string, options?: any): AxiosPromise<DeviceModel> {
|
|
16210
|
+
return localVarFp.apiV2DevicesIdGet(id, options).then((request) => request(axios, basePath));
|
|
16211
|
+
},
|
|
16212
|
+
/**
|
|
16213
|
+
*
|
|
16214
|
+
* @summary Create device login.
|
|
16215
|
+
* @param {string} id
|
|
16216
|
+
* @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
|
|
16217
|
+
* @param {*} [options] Override http request option.
|
|
16218
|
+
* @throws {RequiredError}
|
|
16219
|
+
*/
|
|
16220
|
+
apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: any): AxiosPromise<string> {
|
|
16221
|
+
return localVarFp.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options).then((request) => request(axios, basePath));
|
|
16222
|
+
},
|
|
16223
|
+
/**
|
|
16224
|
+
*
|
|
16225
|
+
* @summary Update device.
|
|
16226
|
+
* @param {string} id
|
|
16227
|
+
* @param {UpdateDeviceCommand} [updateDeviceCommand]
|
|
16228
|
+
* @param {*} [options] Override http request option.
|
|
16229
|
+
* @throws {RequiredError}
|
|
16230
|
+
*/
|
|
16231
|
+
apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: any): AxiosPromise<boolean> {
|
|
16232
|
+
return localVarFp.apiV2DevicesIdPut(id, updateDeviceCommand, options).then((request) => request(axios, basePath));
|
|
16233
|
+
},
|
|
16234
|
+
/**
|
|
16235
|
+
*
|
|
16236
|
+
* @summary Create device.
|
|
16237
|
+
* @param {CreateDeviceCommand} [createDeviceCommand]
|
|
16238
|
+
* @param {*} [options] Override http request option.
|
|
16239
|
+
* @throws {RequiredError}
|
|
16240
|
+
*/
|
|
16241
|
+
apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: any): AxiosPromise<DeviceModel> {
|
|
16242
|
+
return localVarFp.apiV2DevicesPost(createDeviceCommand, options).then((request) => request(axios, basePath));
|
|
16243
|
+
},
|
|
16244
|
+
};
|
|
16245
|
+
};
|
|
16246
|
+
|
|
16247
|
+
/**
|
|
16248
|
+
* DevicesApi - object-oriented interface
|
|
16249
|
+
* @export
|
|
16250
|
+
* @class DevicesApi
|
|
16251
|
+
* @extends {BaseAPI}
|
|
16252
|
+
*/
|
|
16253
|
+
export class DevicesApi extends BaseAPI {
|
|
16254
|
+
/**
|
|
16255
|
+
*
|
|
16256
|
+
* @summary Get all devices.
|
|
16257
|
+
* @param {string} [id]
|
|
16258
|
+
* @param {string} [token]
|
|
16259
|
+
* @param {Platform} [platform]
|
|
16260
|
+
* @param {boolean} [appAlert]
|
|
16261
|
+
* @param {boolean} [eventAlert]
|
|
16262
|
+
* @param {boolean} [noticeAlert]
|
|
16263
|
+
* @param {number} [page]
|
|
16264
|
+
* @param {number} [limit]
|
|
16265
|
+
* @param {Date} [lastRetrieved]
|
|
16266
|
+
* @param {*} [options] Override http request option.
|
|
16267
|
+
* @throws {RequiredError}
|
|
16268
|
+
* @memberof DevicesApi
|
|
16269
|
+
*/
|
|
16270
|
+
public apiV2DevicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16271
|
+
return DevicesApiFp(this.configuration).apiV2DevicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16272
|
+
}
|
|
16273
|
+
|
|
16274
|
+
/**
|
|
16275
|
+
*
|
|
16276
|
+
* @summary Delete device.
|
|
16277
|
+
* @param {string} id
|
|
16278
|
+
* @param {*} [options] Override http request option.
|
|
16279
|
+
* @throws {RequiredError}
|
|
16280
|
+
* @memberof DevicesApi
|
|
16281
|
+
*/
|
|
16282
|
+
public apiV2DevicesIdDelete(id: string, options?: AxiosRequestConfig) {
|
|
16283
|
+
return DevicesApiFp(this.configuration).apiV2DevicesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
16284
|
+
}
|
|
16285
|
+
|
|
16286
|
+
/**
|
|
16287
|
+
*
|
|
16288
|
+
* @summary Get device.
|
|
16289
|
+
* @param {string} id
|
|
16290
|
+
* @param {*} [options] Override http request option.
|
|
16291
|
+
* @throws {RequiredError}
|
|
16292
|
+
* @memberof DevicesApi
|
|
16293
|
+
*/
|
|
16294
|
+
public apiV2DevicesIdGet(id: string, options?: AxiosRequestConfig) {
|
|
16295
|
+
return DevicesApiFp(this.configuration).apiV2DevicesIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
16296
|
+
}
|
|
16297
|
+
|
|
16298
|
+
/**
|
|
16299
|
+
*
|
|
16300
|
+
* @summary Create device login.
|
|
16301
|
+
* @param {string} id
|
|
16302
|
+
* @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
|
|
16303
|
+
* @param {*} [options] Override http request option.
|
|
16304
|
+
* @throws {RequiredError}
|
|
16305
|
+
* @memberof DevicesApi
|
|
16306
|
+
*/
|
|
16307
|
+
public apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig) {
|
|
16308
|
+
return DevicesApiFp(this.configuration).apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options).then((request) => request(this.axios, this.basePath));
|
|
16309
|
+
}
|
|
16310
|
+
|
|
16311
|
+
/**
|
|
16312
|
+
*
|
|
16313
|
+
* @summary Update device.
|
|
16314
|
+
* @param {string} id
|
|
16315
|
+
* @param {UpdateDeviceCommand} [updateDeviceCommand]
|
|
16316
|
+
* @param {*} [options] Override http request option.
|
|
16317
|
+
* @throws {RequiredError}
|
|
16318
|
+
* @memberof DevicesApi
|
|
16319
|
+
*/
|
|
16320
|
+
public apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig) {
|
|
16321
|
+
return DevicesApiFp(this.configuration).apiV2DevicesIdPut(id, updateDeviceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
16322
|
+
}
|
|
16323
|
+
|
|
16324
|
+
/**
|
|
16325
|
+
*
|
|
16326
|
+
* @summary Create device.
|
|
16327
|
+
* @param {CreateDeviceCommand} [createDeviceCommand]
|
|
16328
|
+
* @param {*} [options] Override http request option.
|
|
16329
|
+
* @throws {RequiredError}
|
|
16330
|
+
* @memberof DevicesApi
|
|
16331
|
+
*/
|
|
16332
|
+
public apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig) {
|
|
16333
|
+
return DevicesApiFp(this.configuration).apiV2DevicesPost(createDeviceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
16334
|
+
}
|
|
16335
|
+
}
|
|
16336
|
+
|
|
16337
|
+
|
|
15587
16338
|
/**
|
|
15588
16339
|
* DoctorAffiliationsApi - axios parameter creator
|
|
15589
16340
|
* @export
|