ch-api-client-typescript2 4.1.8 → 4.1.9

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/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
@@ -7671,45 +7856,6 @@ export enum Platform {
7671
7856
  Android = 'Android'
7672
7857
  }
7673
7858
 
7674
- /**
7675
- *
7676
- * @export
7677
- * @interface ProblemDetails
7678
- */
7679
- export interface ProblemDetails {
7680
- [key: string]: any | any;
7681
-
7682
- /**
7683
- *
7684
- * @type {string}
7685
- * @memberof ProblemDetails
7686
- */
7687
- 'type'?: string | null;
7688
- /**
7689
- *
7690
- * @type {string}
7691
- * @memberof ProblemDetails
7692
- */
7693
- 'title'?: string | null;
7694
- /**
7695
- *
7696
- * @type {number}
7697
- * @memberof ProblemDetails
7698
- */
7699
- 'status'?: number | null;
7700
- /**
7701
- *
7702
- * @type {string}
7703
- * @memberof ProblemDetails
7704
- */
7705
- 'detail'?: string | null;
7706
- /**
7707
- *
7708
- * @type {string}
7709
- * @memberof ProblemDetails
7710
- */
7711
- 'instance'?: string | null;
7712
- }
7713
7859
  /**
7714
7860
  *
7715
7861
  * @export
@@ -9242,6 +9388,43 @@ export interface UpdateConsultationCommand {
9242
9388
  */
9243
9389
  'timeZone'?: string | null;
9244
9390
  }
9391
+ /**
9392
+ *
9393
+ * @export
9394
+ * @interface UpdateDeviceCommand
9395
+ */
9396
+ export interface UpdateDeviceCommand {
9397
+ /**
9398
+ *
9399
+ * @type {string}
9400
+ * @memberof UpdateDeviceCommand
9401
+ */
9402
+ 'token'?: string | null;
9403
+ /**
9404
+ *
9405
+ * @type {Array<string>}
9406
+ * @memberof UpdateDeviceCommand
9407
+ */
9408
+ 'tags'?: Array<string> | null;
9409
+ /**
9410
+ *
9411
+ * @type {boolean}
9412
+ * @memberof UpdateDeviceCommand
9413
+ */
9414
+ 'appAlert'?: boolean;
9415
+ /**
9416
+ *
9417
+ * @type {boolean}
9418
+ * @memberof UpdateDeviceCommand
9419
+ */
9420
+ 'eventAlert'?: boolean;
9421
+ /**
9422
+ *
9423
+ * @type {boolean}
9424
+ * @memberof UpdateDeviceCommand
9425
+ */
9426
+ 'noticeAlert'?: boolean;
9427
+ }
9245
9428
  /**
9246
9429
  *
9247
9430
  * @export
@@ -10507,14 +10690,13 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10507
10690
  * @param {ContributionType} [contributionType]
10508
10691
  * @param {string} [languageCode]
10509
10692
  * @param {boolean} [showHidden]
10510
- * @param {boolean} [inbound]
10511
10693
  * @param {number} [page]
10512
10694
  * @param {number} [limit]
10513
10695
  * @param {Date} [lastRetrieved]
10514
10696
  * @param {*} [options] Override http request option.
10515
10697
  * @throws {RequiredError}
10516
10698
  */
10517
- apiV2ArticlesArticleIdContributorsGet: async (articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, inbound?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10699
+ 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
10700
  // verify required parameter 'articleId' is not null or undefined
10519
10701
  assertParamExists('apiV2ArticlesArticleIdContributorsGet', 'articleId', articleId)
10520
10702
  const localVarPath = `/api/v2/articles/{articleId}/contributors`
@@ -10562,10 +10744,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10562
10744
  localVarQueryParameter['ShowHidden'] = showHidden;
10563
10745
  }
10564
10746
 
10565
- if (inbound !== undefined) {
10566
- localVarQueryParameter['Inbound'] = inbound;
10567
- }
10568
-
10569
10747
  if (page !== undefined) {
10570
10748
  localVarQueryParameter['page'] = page;
10571
10749
  }
@@ -11116,15 +11294,14 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
11116
11294
  * @param {ContributionType} [contributionType]
11117
11295
  * @param {string} [languageCode]
11118
11296
  * @param {boolean} [showHidden]
11119
- * @param {boolean} [inbound]
11120
11297
  * @param {number} [page]
11121
11298
  * @param {number} [limit]
11122
11299
  * @param {Date} [lastRetrieved]
11123
11300
  * @param {*} [options] Override http request option.
11124
11301
  * @throws {RequiredError}
11125
11302
  */
11126
- async apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, inbound?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleContributorsModel>> {
11127
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, inbound, page, limit, lastRetrieved, options);
11303
+ 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>> {
11304
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options);
11128
11305
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11129
11306
  },
11130
11307
  /**
@@ -11294,15 +11471,14 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
11294
11471
  * @param {ContributionType} [contributionType]
11295
11472
  * @param {string} [languageCode]
11296
11473
  * @param {boolean} [showHidden]
11297
- * @param {boolean} [inbound]
11298
11474
  * @param {number} [page]
11299
11475
  * @param {number} [limit]
11300
11476
  * @param {Date} [lastRetrieved]
11301
11477
  * @param {*} [options] Override http request option.
11302
11478
  * @throws {RequiredError}
11303
11479
  */
11304
- apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, inbound?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleContributorsModel> {
11305
- return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, inbound, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
11480
+ 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> {
11481
+ return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
11306
11482
  },
11307
11483
  /**
11308
11484
  *
@@ -11464,7 +11640,6 @@ export class ArticlesApi extends BaseAPI {
11464
11640
  * @param {ContributionType} [contributionType]
11465
11641
  * @param {string} [languageCode]
11466
11642
  * @param {boolean} [showHidden]
11467
- * @param {boolean} [inbound]
11468
11643
  * @param {number} [page]
11469
11644
  * @param {number} [limit]
11470
11645
  * @param {Date} [lastRetrieved]
@@ -11472,8 +11647,8 @@ export class ArticlesApi extends BaseAPI {
11472
11647
  * @throws {RequiredError}
11473
11648
  * @memberof ArticlesApi
11474
11649
  */
11475
- public apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, inbound?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
11476
- return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, inbound, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
11650
+ 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) {
11651
+ 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
11652
  }
11478
11653
 
11479
11654
  /**
@@ -13561,14 +13736,13 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
13561
13736
  * @param {boolean} [showHidden]
13562
13737
  * @param {string} [languageCode]
13563
13738
  * @param {boolean} [returnDefaultValue]
13564
- * @param {boolean} [inbound]
13565
13739
  * @param {number} [page]
13566
13740
  * @param {number} [limit]
13567
13741
  * @param {Date} [lastRetrieved]
13568
13742
  * @param {*} [options] Override http request option.
13569
13743
  * @throws {RequiredError}
13570
13744
  */
13571
- apiV2ContributorsGet: async (id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, inbound?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13745
+ 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
13746
  const localVarPath = `/api/v2/contributors`;
13573
13747
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13574
13748
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13617,10 +13791,6 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
13617
13791
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
13618
13792
  }
13619
13793
 
13620
- if (inbound !== undefined) {
13621
- localVarQueryParameter['Inbound'] = inbound;
13622
- }
13623
-
13624
13794
  if (page !== undefined) {
13625
13795
  localVarQueryParameter['page'] = page;
13626
13796
  }
@@ -13755,15 +13925,14 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
13755
13925
  * @param {boolean} [showHidden]
13756
13926
  * @param {string} [languageCode]
13757
13927
  * @param {boolean} [returnDefaultValue]
13758
- * @param {boolean} [inbound]
13759
13928
  * @param {number} [page]
13760
13929
  * @param {number} [limit]
13761
13930
  * @param {Date} [lastRetrieved]
13762
13931
  * @param {*} [options] Override http request option.
13763
13932
  * @throws {RequiredError}
13764
13933
  */
13765
- async apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, inbound?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
13766
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, inbound, page, limit, lastRetrieved, options);
13934
+ 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>> {
13935
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
13767
13936
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13768
13937
  },
13769
13938
  /**
@@ -13841,15 +14010,14 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
13841
14010
  * @param {boolean} [showHidden]
13842
14011
  * @param {string} [languageCode]
13843
14012
  * @param {boolean} [returnDefaultValue]
13844
- * @param {boolean} [inbound]
13845
14013
  * @param {number} [page]
13846
14014
  * @param {number} [limit]
13847
14015
  * @param {Date} [lastRetrieved]
13848
14016
  * @param {*} [options] Override http request option.
13849
14017
  * @throws {RequiredError}
13850
14018
  */
13851
- apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, inbound?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
13852
- return localVarFp.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, inbound, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
14019
+ 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> {
14020
+ return localVarFp.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
13853
14021
  },
13854
14022
  /**
13855
14023
  *
@@ -13931,7 +14099,6 @@ export class ContributorsApi extends BaseAPI {
13931
14099
  * @param {boolean} [showHidden]
13932
14100
  * @param {string} [languageCode]
13933
14101
  * @param {boolean} [returnDefaultValue]
13934
- * @param {boolean} [inbound]
13935
14102
  * @param {number} [page]
13936
14103
  * @param {number} [limit]
13937
14104
  * @param {Date} [lastRetrieved]
@@ -13939,8 +14106,8 @@ export class ContributorsApi extends BaseAPI {
13939
14106
  * @throws {RequiredError}
13940
14107
  * @memberof ContributorsApi
13941
14108
  */
13942
- public apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, inbound?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
13943
- return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, inbound, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
14109
+ 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) {
14110
+ 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
14111
  }
13945
14112
 
13946
14113
  /**
@@ -15584,6 +15751,551 @@ export class DealsApi extends BaseAPI {
15584
15751
  }
15585
15752
 
15586
15753
 
15754
+ /**
15755
+ * DevicesApi - axios parameter creator
15756
+ * @export
15757
+ */
15758
+ export const DevicesApiAxiosParamCreator = function (configuration?: Configuration) {
15759
+ return {
15760
+ /**
15761
+ *
15762
+ * @summary Get all devices.
15763
+ * @param {string} [id]
15764
+ * @param {string} [token]
15765
+ * @param {Platform} [platform]
15766
+ * @param {boolean} [appAlert]
15767
+ * @param {boolean} [eventAlert]
15768
+ * @param {boolean} [noticeAlert]
15769
+ * @param {number} [page]
15770
+ * @param {number} [limit]
15771
+ * @param {Date} [lastRetrieved]
15772
+ * @param {*} [options] Override http request option.
15773
+ * @throws {RequiredError}
15774
+ */
15775
+ apiV2DevicesGet: async (id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15776
+ const localVarPath = `/api/v2/devices`;
15777
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15778
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15779
+ let baseOptions;
15780
+ if (configuration) {
15781
+ baseOptions = configuration.baseOptions;
15782
+ }
15783
+
15784
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15785
+ const localVarHeaderParameter = {} as any;
15786
+ const localVarQueryParameter = {} as any;
15787
+
15788
+ // authentication oauth2 required
15789
+ // oauth required
15790
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
15791
+
15792
+ if (id !== undefined) {
15793
+ localVarQueryParameter['Id'] = id;
15794
+ }
15795
+
15796
+ if (token !== undefined) {
15797
+ localVarQueryParameter['Token'] = token;
15798
+ }
15799
+
15800
+ if (platform !== undefined) {
15801
+ localVarQueryParameter['Platform'] = platform;
15802
+ }
15803
+
15804
+ if (appAlert !== undefined) {
15805
+ localVarQueryParameter['AppAlert'] = appAlert;
15806
+ }
15807
+
15808
+ if (eventAlert !== undefined) {
15809
+ localVarQueryParameter['EventAlert'] = eventAlert;
15810
+ }
15811
+
15812
+ if (noticeAlert !== undefined) {
15813
+ localVarQueryParameter['NoticeAlert'] = noticeAlert;
15814
+ }
15815
+
15816
+ if (page !== undefined) {
15817
+ localVarQueryParameter['page'] = page;
15818
+ }
15819
+
15820
+ if (limit !== undefined) {
15821
+ localVarQueryParameter['limit'] = limit;
15822
+ }
15823
+
15824
+ if (lastRetrieved !== undefined) {
15825
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
15826
+ (lastRetrieved as any).toISOString() :
15827
+ lastRetrieved;
15828
+ }
15829
+
15830
+
15831
+
15832
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15833
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15834
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15835
+
15836
+ return {
15837
+ url: toPathString(localVarUrlObj),
15838
+ options: localVarRequestOptions,
15839
+ };
15840
+ },
15841
+ /**
15842
+ *
15843
+ * @summary Delete device.
15844
+ * @param {string} id
15845
+ * @param {*} [options] Override http request option.
15846
+ * @throws {RequiredError}
15847
+ */
15848
+ apiV2DevicesIdDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15849
+ // verify required parameter 'id' is not null or undefined
15850
+ assertParamExists('apiV2DevicesIdDelete', 'id', id)
15851
+ const localVarPath = `/api/v2/devices/{id}`
15852
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15853
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15854
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15855
+ let baseOptions;
15856
+ if (configuration) {
15857
+ baseOptions = configuration.baseOptions;
15858
+ }
15859
+
15860
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
15861
+ const localVarHeaderParameter = {} as any;
15862
+ const localVarQueryParameter = {} as any;
15863
+
15864
+ // authentication oauth2 required
15865
+ // oauth required
15866
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
15867
+
15868
+
15869
+
15870
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15871
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15872
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15873
+
15874
+ return {
15875
+ url: toPathString(localVarUrlObj),
15876
+ options: localVarRequestOptions,
15877
+ };
15878
+ },
15879
+ /**
15880
+ *
15881
+ * @summary Get device.
15882
+ * @param {string} id
15883
+ * @param {*} [options] Override http request option.
15884
+ * @throws {RequiredError}
15885
+ */
15886
+ apiV2DevicesIdGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15887
+ // verify required parameter 'id' is not null or undefined
15888
+ assertParamExists('apiV2DevicesIdGet', 'id', id)
15889
+ const localVarPath = `/api/v2/devices/{id}`
15890
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15891
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15892
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15893
+ let baseOptions;
15894
+ if (configuration) {
15895
+ baseOptions = configuration.baseOptions;
15896
+ }
15897
+
15898
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15899
+ const localVarHeaderParameter = {} as any;
15900
+ const localVarQueryParameter = {} as any;
15901
+
15902
+ // authentication oauth2 required
15903
+ // oauth required
15904
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
15905
+
15906
+
15907
+
15908
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15909
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15910
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15911
+
15912
+ return {
15913
+ url: toPathString(localVarUrlObj),
15914
+ options: localVarRequestOptions,
15915
+ };
15916
+ },
15917
+ /**
15918
+ *
15919
+ * @summary Create device login.
15920
+ * @param {string} id
15921
+ * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
15922
+ * @param {*} [options] Override http request option.
15923
+ * @throws {RequiredError}
15924
+ */
15925
+ apiV2DevicesIdLoginsPost: async (id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15926
+ // verify required parameter 'id' is not null or undefined
15927
+ assertParamExists('apiV2DevicesIdLoginsPost', 'id', id)
15928
+ const localVarPath = `/api/v2/devices/{id}/logins`
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: 'POST', ...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
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15948
+
15949
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15950
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15951
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15952
+ localVarRequestOptions.data = serializeDataIfNeeded(createDeviceLoginCommand, localVarRequestOptions, configuration)
15953
+
15954
+ return {
15955
+ url: toPathString(localVarUrlObj),
15956
+ options: localVarRequestOptions,
15957
+ };
15958
+ },
15959
+ /**
15960
+ *
15961
+ * @summary Update device.
15962
+ * @param {string} id
15963
+ * @param {UpdateDeviceCommand} [updateDeviceCommand]
15964
+ * @param {*} [options] Override http request option.
15965
+ * @throws {RequiredError}
15966
+ */
15967
+ apiV2DevicesIdPut: async (id: string, updateDeviceCommand?: UpdateDeviceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15968
+ // verify required parameter 'id' is not null or undefined
15969
+ assertParamExists('apiV2DevicesIdPut', 'id', id)
15970
+ const localVarPath = `/api/v2/devices/{id}`
15971
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15972
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15973
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15974
+ let baseOptions;
15975
+ if (configuration) {
15976
+ baseOptions = configuration.baseOptions;
15977
+ }
15978
+
15979
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15980
+ const localVarHeaderParameter = {} as any;
15981
+ const localVarQueryParameter = {} as any;
15982
+
15983
+ // authentication oauth2 required
15984
+ // oauth required
15985
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
15986
+
15987
+
15988
+
15989
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15990
+
15991
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15992
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15993
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15994
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDeviceCommand, localVarRequestOptions, configuration)
15995
+
15996
+ return {
15997
+ url: toPathString(localVarUrlObj),
15998
+ options: localVarRequestOptions,
15999
+ };
16000
+ },
16001
+ /**
16002
+ *
16003
+ * @summary Create device.
16004
+ * @param {CreateDeviceCommand} [createDeviceCommand]
16005
+ * @param {*} [options] Override http request option.
16006
+ * @throws {RequiredError}
16007
+ */
16008
+ apiV2DevicesPost: async (createDeviceCommand?: CreateDeviceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16009
+ const localVarPath = `/api/v2/devices`;
16010
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16011
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16012
+ let baseOptions;
16013
+ if (configuration) {
16014
+ baseOptions = configuration.baseOptions;
16015
+ }
16016
+
16017
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16018
+ const localVarHeaderParameter = {} as any;
16019
+ const localVarQueryParameter = {} as any;
16020
+
16021
+ // authentication oauth2 required
16022
+ // oauth required
16023
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
16024
+
16025
+
16026
+
16027
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16028
+
16029
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16030
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16031
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16032
+ localVarRequestOptions.data = serializeDataIfNeeded(createDeviceCommand, localVarRequestOptions, configuration)
16033
+
16034
+ return {
16035
+ url: toPathString(localVarUrlObj),
16036
+ options: localVarRequestOptions,
16037
+ };
16038
+ },
16039
+ }
16040
+ };
16041
+
16042
+ /**
16043
+ * DevicesApi - functional programming interface
16044
+ * @export
16045
+ */
16046
+ export const DevicesApiFp = function(configuration?: Configuration) {
16047
+ const localVarAxiosParamCreator = DevicesApiAxiosParamCreator(configuration)
16048
+ return {
16049
+ /**
16050
+ *
16051
+ * @summary Get all devices.
16052
+ * @param {string} [id]
16053
+ * @param {string} [token]
16054
+ * @param {Platform} [platform]
16055
+ * @param {boolean} [appAlert]
16056
+ * @param {boolean} [eventAlert]
16057
+ * @param {boolean} [noticeAlert]
16058
+ * @param {number} [page]
16059
+ * @param {number} [limit]
16060
+ * @param {Date} [lastRetrieved]
16061
+ * @param {*} [options] Override http request option.
16062
+ * @throws {RequiredError}
16063
+ */
16064
+ 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>> {
16065
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options);
16066
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16067
+ },
16068
+ /**
16069
+ *
16070
+ * @summary Delete device.
16071
+ * @param {string} id
16072
+ * @param {*} [options] Override http request option.
16073
+ * @throws {RequiredError}
16074
+ */
16075
+ async apiV2DevicesIdDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
16076
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdDelete(id, options);
16077
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16078
+ },
16079
+ /**
16080
+ *
16081
+ * @summary Get device.
16082
+ * @param {string} id
16083
+ * @param {*} [options] Override http request option.
16084
+ * @throws {RequiredError}
16085
+ */
16086
+ async apiV2DevicesIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>> {
16087
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdGet(id, options);
16088
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16089
+ },
16090
+ /**
16091
+ *
16092
+ * @summary Create device login.
16093
+ * @param {string} id
16094
+ * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
16095
+ * @param {*} [options] Override http request option.
16096
+ * @throws {RequiredError}
16097
+ */
16098
+ async apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
16099
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options);
16100
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16101
+ },
16102
+ /**
16103
+ *
16104
+ * @summary Update device.
16105
+ * @param {string} id
16106
+ * @param {UpdateDeviceCommand} [updateDeviceCommand]
16107
+ * @param {*} [options] Override http request option.
16108
+ * @throws {RequiredError}
16109
+ */
16110
+ async apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
16111
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdPut(id, updateDeviceCommand, options);
16112
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16113
+ },
16114
+ /**
16115
+ *
16116
+ * @summary Create device.
16117
+ * @param {CreateDeviceCommand} [createDeviceCommand]
16118
+ * @param {*} [options] Override http request option.
16119
+ * @throws {RequiredError}
16120
+ */
16121
+ async apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>> {
16122
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesPost(createDeviceCommand, options);
16123
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16124
+ },
16125
+ }
16126
+ };
16127
+
16128
+ /**
16129
+ * DevicesApi - factory interface
16130
+ * @export
16131
+ */
16132
+ export const DevicesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
16133
+ const localVarFp = DevicesApiFp(configuration)
16134
+ return {
16135
+ /**
16136
+ *
16137
+ * @summary Get all devices.
16138
+ * @param {string} [id]
16139
+ * @param {string} [token]
16140
+ * @param {Platform} [platform]
16141
+ * @param {boolean} [appAlert]
16142
+ * @param {boolean} [eventAlert]
16143
+ * @param {boolean} [noticeAlert]
16144
+ * @param {number} [page]
16145
+ * @param {number} [limit]
16146
+ * @param {Date} [lastRetrieved]
16147
+ * @param {*} [options] Override http request option.
16148
+ * @throws {RequiredError}
16149
+ */
16150
+ apiV2DevicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DevicesModel> {
16151
+ return localVarFp.apiV2DevicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16152
+ },
16153
+ /**
16154
+ *
16155
+ * @summary Delete device.
16156
+ * @param {string} id
16157
+ * @param {*} [options] Override http request option.
16158
+ * @throws {RequiredError}
16159
+ */
16160
+ apiV2DevicesIdDelete(id: string, options?: any): AxiosPromise<boolean> {
16161
+ return localVarFp.apiV2DevicesIdDelete(id, options).then((request) => request(axios, basePath));
16162
+ },
16163
+ /**
16164
+ *
16165
+ * @summary Get device.
16166
+ * @param {string} id
16167
+ * @param {*} [options] Override http request option.
16168
+ * @throws {RequiredError}
16169
+ */
16170
+ apiV2DevicesIdGet(id: string, options?: any): AxiosPromise<DeviceModel> {
16171
+ return localVarFp.apiV2DevicesIdGet(id, options).then((request) => request(axios, basePath));
16172
+ },
16173
+ /**
16174
+ *
16175
+ * @summary Create device login.
16176
+ * @param {string} id
16177
+ * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
16178
+ * @param {*} [options] Override http request option.
16179
+ * @throws {RequiredError}
16180
+ */
16181
+ apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: any): AxiosPromise<string> {
16182
+ return localVarFp.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options).then((request) => request(axios, basePath));
16183
+ },
16184
+ /**
16185
+ *
16186
+ * @summary Update device.
16187
+ * @param {string} id
16188
+ * @param {UpdateDeviceCommand} [updateDeviceCommand]
16189
+ * @param {*} [options] Override http request option.
16190
+ * @throws {RequiredError}
16191
+ */
16192
+ apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: any): AxiosPromise<boolean> {
16193
+ return localVarFp.apiV2DevicesIdPut(id, updateDeviceCommand, options).then((request) => request(axios, basePath));
16194
+ },
16195
+ /**
16196
+ *
16197
+ * @summary Create device.
16198
+ * @param {CreateDeviceCommand} [createDeviceCommand]
16199
+ * @param {*} [options] Override http request option.
16200
+ * @throws {RequiredError}
16201
+ */
16202
+ apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: any): AxiosPromise<DeviceModel> {
16203
+ return localVarFp.apiV2DevicesPost(createDeviceCommand, options).then((request) => request(axios, basePath));
16204
+ },
16205
+ };
16206
+ };
16207
+
16208
+ /**
16209
+ * DevicesApi - object-oriented interface
16210
+ * @export
16211
+ * @class DevicesApi
16212
+ * @extends {BaseAPI}
16213
+ */
16214
+ export class DevicesApi extends BaseAPI {
16215
+ /**
16216
+ *
16217
+ * @summary Get all devices.
16218
+ * @param {string} [id]
16219
+ * @param {string} [token]
16220
+ * @param {Platform} [platform]
16221
+ * @param {boolean} [appAlert]
16222
+ * @param {boolean} [eventAlert]
16223
+ * @param {boolean} [noticeAlert]
16224
+ * @param {number} [page]
16225
+ * @param {number} [limit]
16226
+ * @param {Date} [lastRetrieved]
16227
+ * @param {*} [options] Override http request option.
16228
+ * @throws {RequiredError}
16229
+ * @memberof DevicesApi
16230
+ */
16231
+ public apiV2DevicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
16232
+ return DevicesApiFp(this.configuration).apiV2DevicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
16233
+ }
16234
+
16235
+ /**
16236
+ *
16237
+ * @summary Delete device.
16238
+ * @param {string} id
16239
+ * @param {*} [options] Override http request option.
16240
+ * @throws {RequiredError}
16241
+ * @memberof DevicesApi
16242
+ */
16243
+ public apiV2DevicesIdDelete(id: string, options?: AxiosRequestConfig) {
16244
+ return DevicesApiFp(this.configuration).apiV2DevicesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
16245
+ }
16246
+
16247
+ /**
16248
+ *
16249
+ * @summary Get device.
16250
+ * @param {string} id
16251
+ * @param {*} [options] Override http request option.
16252
+ * @throws {RequiredError}
16253
+ * @memberof DevicesApi
16254
+ */
16255
+ public apiV2DevicesIdGet(id: string, options?: AxiosRequestConfig) {
16256
+ return DevicesApiFp(this.configuration).apiV2DevicesIdGet(id, options).then((request) => request(this.axios, this.basePath));
16257
+ }
16258
+
16259
+ /**
16260
+ *
16261
+ * @summary Create device login.
16262
+ * @param {string} id
16263
+ * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
16264
+ * @param {*} [options] Override http request option.
16265
+ * @throws {RequiredError}
16266
+ * @memberof DevicesApi
16267
+ */
16268
+ public apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig) {
16269
+ return DevicesApiFp(this.configuration).apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options).then((request) => request(this.axios, this.basePath));
16270
+ }
16271
+
16272
+ /**
16273
+ *
16274
+ * @summary Update device.
16275
+ * @param {string} id
16276
+ * @param {UpdateDeviceCommand} [updateDeviceCommand]
16277
+ * @param {*} [options] Override http request option.
16278
+ * @throws {RequiredError}
16279
+ * @memberof DevicesApi
16280
+ */
16281
+ public apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig) {
16282
+ return DevicesApiFp(this.configuration).apiV2DevicesIdPut(id, updateDeviceCommand, options).then((request) => request(this.axios, this.basePath));
16283
+ }
16284
+
16285
+ /**
16286
+ *
16287
+ * @summary Create device.
16288
+ * @param {CreateDeviceCommand} [createDeviceCommand]
16289
+ * @param {*} [options] Override http request option.
16290
+ * @throws {RequiredError}
16291
+ * @memberof DevicesApi
16292
+ */
16293
+ public apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig) {
16294
+ return DevicesApiFp(this.configuration).apiV2DevicesPost(createDeviceCommand, options).then((request) => request(this.axios, this.basePath));
16295
+ }
16296
+ }
16297
+
16298
+
15587
16299
  /**
15588
16300
  * DoctorAffiliationsApi - axios parameter creator
15589
16301
  * @export