ch-api-client-typescript2 4.1.6 → 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/lib/api.d.ts +492 -44
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +625 -2
- package/package.json +1 -1
- package/src/api.ts +773 -45
package/lib/api.d.ts
CHANGED
|
@@ -2284,6 +2284,12 @@ export interface ContributorItemModel {
|
|
|
2284
2284
|
* @memberof ContributorItemModel
|
|
2285
2285
|
*/
|
|
2286
2286
|
'confirmed'?: boolean;
|
|
2287
|
+
/**
|
|
2288
|
+
*
|
|
2289
|
+
* @type {string}
|
|
2290
|
+
* @memberof ContributorItemModel
|
|
2291
|
+
*/
|
|
2292
|
+
'description'?: string | null;
|
|
2287
2293
|
/**
|
|
2288
2294
|
*
|
|
2289
2295
|
* @type {string}
|
|
@@ -2375,6 +2381,12 @@ export interface ContributorModel {
|
|
|
2375
2381
|
* @memberof ContributorModel
|
|
2376
2382
|
*/
|
|
2377
2383
|
'confirmed'?: boolean;
|
|
2384
|
+
/**
|
|
2385
|
+
*
|
|
2386
|
+
* @type {string}
|
|
2387
|
+
* @memberof ContributorModel
|
|
2388
|
+
*/
|
|
2389
|
+
'description'?: string | null;
|
|
2378
2390
|
/**
|
|
2379
2391
|
*
|
|
2380
2392
|
* @type {string}
|
|
@@ -2429,12 +2441,6 @@ export interface ContributorModel {
|
|
|
2429
2441
|
* @memberof ContributorModel
|
|
2430
2442
|
*/
|
|
2431
2443
|
'auditableEntity'?: AuditableEntity;
|
|
2432
|
-
/**
|
|
2433
|
-
*
|
|
2434
|
-
* @type {string}
|
|
2435
|
-
* @memberof ContributorModel
|
|
2436
|
-
*/
|
|
2437
|
-
'description'?: string | null;
|
|
2438
2444
|
/**
|
|
2439
2445
|
*
|
|
2440
2446
|
* @type {string}
|
|
@@ -2894,6 +2900,74 @@ export interface CreateConsultationCommand {
|
|
|
2894
2900
|
*/
|
|
2895
2901
|
'isExternal'?: boolean;
|
|
2896
2902
|
}
|
|
2903
|
+
/**
|
|
2904
|
+
*
|
|
2905
|
+
* @export
|
|
2906
|
+
* @interface CreateDeviceCommand
|
|
2907
|
+
*/
|
|
2908
|
+
export interface CreateDeviceCommand {
|
|
2909
|
+
/**
|
|
2910
|
+
*
|
|
2911
|
+
* @type {string}
|
|
2912
|
+
* @memberof CreateDeviceCommand
|
|
2913
|
+
*/
|
|
2914
|
+
'id'?: string;
|
|
2915
|
+
/**
|
|
2916
|
+
*
|
|
2917
|
+
* @type {string}
|
|
2918
|
+
* @memberof CreateDeviceCommand
|
|
2919
|
+
*/
|
|
2920
|
+
'token'?: string | null;
|
|
2921
|
+
/**
|
|
2922
|
+
*
|
|
2923
|
+
* @type {Platform}
|
|
2924
|
+
* @memberof CreateDeviceCommand
|
|
2925
|
+
*/
|
|
2926
|
+
'platform'?: Platform;
|
|
2927
|
+
/**
|
|
2928
|
+
*
|
|
2929
|
+
* @type {Array<string>}
|
|
2930
|
+
* @memberof CreateDeviceCommand
|
|
2931
|
+
*/
|
|
2932
|
+
'tags'?: Array<string> | null;
|
|
2933
|
+
/**
|
|
2934
|
+
*
|
|
2935
|
+
* @type {boolean}
|
|
2936
|
+
* @memberof CreateDeviceCommand
|
|
2937
|
+
*/
|
|
2938
|
+
'appAlert'?: boolean;
|
|
2939
|
+
/**
|
|
2940
|
+
*
|
|
2941
|
+
* @type {boolean}
|
|
2942
|
+
* @memberof CreateDeviceCommand
|
|
2943
|
+
*/
|
|
2944
|
+
'eventAlert'?: boolean;
|
|
2945
|
+
/**
|
|
2946
|
+
*
|
|
2947
|
+
* @type {boolean}
|
|
2948
|
+
* @memberof CreateDeviceCommand
|
|
2949
|
+
*/
|
|
2950
|
+
'noticeAlert'?: boolean;
|
|
2951
|
+
}
|
|
2952
|
+
/**
|
|
2953
|
+
*
|
|
2954
|
+
* @export
|
|
2955
|
+
* @interface CreateDeviceLoginCommand
|
|
2956
|
+
*/
|
|
2957
|
+
export interface CreateDeviceLoginCommand {
|
|
2958
|
+
/**
|
|
2959
|
+
*
|
|
2960
|
+
* @type {string}
|
|
2961
|
+
* @memberof CreateDeviceLoginCommand
|
|
2962
|
+
*/
|
|
2963
|
+
'version'?: string | null;
|
|
2964
|
+
/**
|
|
2965
|
+
*
|
|
2966
|
+
* @type {LocationModel}
|
|
2967
|
+
* @memberof CreateDeviceLoginCommand
|
|
2968
|
+
*/
|
|
2969
|
+
'location'?: LocationModel;
|
|
2970
|
+
}
|
|
2897
2971
|
/**
|
|
2898
2972
|
*
|
|
2899
2973
|
* @export
|
|
@@ -3688,6 +3762,117 @@ export interface DealsSimpleModel {
|
|
|
3688
3762
|
*/
|
|
3689
3763
|
'metaData'?: PagedListMetaData;
|
|
3690
3764
|
}
|
|
3765
|
+
/**
|
|
3766
|
+
*
|
|
3767
|
+
* @export
|
|
3768
|
+
* @interface DeviceItemModel
|
|
3769
|
+
*/
|
|
3770
|
+
export interface DeviceItemModel {
|
|
3771
|
+
/**
|
|
3772
|
+
*
|
|
3773
|
+
* @type {string}
|
|
3774
|
+
* @memberof DeviceItemModel
|
|
3775
|
+
*/
|
|
3776
|
+
'id'?: string;
|
|
3777
|
+
/**
|
|
3778
|
+
*
|
|
3779
|
+
* @type {string}
|
|
3780
|
+
* @memberof DeviceItemModel
|
|
3781
|
+
*/
|
|
3782
|
+
'token'?: string | null;
|
|
3783
|
+
/**
|
|
3784
|
+
*
|
|
3785
|
+
* @type {Platform}
|
|
3786
|
+
* @memberof DeviceItemModel
|
|
3787
|
+
*/
|
|
3788
|
+
'platform'?: Platform;
|
|
3789
|
+
/**
|
|
3790
|
+
*
|
|
3791
|
+
* @type {boolean}
|
|
3792
|
+
* @memberof DeviceItemModel
|
|
3793
|
+
*/
|
|
3794
|
+
'appAlert'?: boolean;
|
|
3795
|
+
/**
|
|
3796
|
+
*
|
|
3797
|
+
* @type {boolean}
|
|
3798
|
+
* @memberof DeviceItemModel
|
|
3799
|
+
*/
|
|
3800
|
+
'eventAlert'?: boolean;
|
|
3801
|
+
/**
|
|
3802
|
+
*
|
|
3803
|
+
* @type {boolean}
|
|
3804
|
+
* @memberof DeviceItemModel
|
|
3805
|
+
*/
|
|
3806
|
+
'noticeAlert'?: boolean;
|
|
3807
|
+
}
|
|
3808
|
+
/**
|
|
3809
|
+
*
|
|
3810
|
+
* @export
|
|
3811
|
+
* @interface DeviceModel
|
|
3812
|
+
*/
|
|
3813
|
+
export interface DeviceModel {
|
|
3814
|
+
/**
|
|
3815
|
+
*
|
|
3816
|
+
* @type {string}
|
|
3817
|
+
* @memberof DeviceModel
|
|
3818
|
+
*/
|
|
3819
|
+
'id'?: string;
|
|
3820
|
+
/**
|
|
3821
|
+
*
|
|
3822
|
+
* @type {string}
|
|
3823
|
+
* @memberof DeviceModel
|
|
3824
|
+
*/
|
|
3825
|
+
'token'?: string | null;
|
|
3826
|
+
/**
|
|
3827
|
+
*
|
|
3828
|
+
* @type {Platform}
|
|
3829
|
+
* @memberof DeviceModel
|
|
3830
|
+
*/
|
|
3831
|
+
'platform'?: Platform;
|
|
3832
|
+
/**
|
|
3833
|
+
*
|
|
3834
|
+
* @type {boolean}
|
|
3835
|
+
* @memberof DeviceModel
|
|
3836
|
+
*/
|
|
3837
|
+
'appAlert'?: boolean;
|
|
3838
|
+
/**
|
|
3839
|
+
*
|
|
3840
|
+
* @type {boolean}
|
|
3841
|
+
* @memberof DeviceModel
|
|
3842
|
+
*/
|
|
3843
|
+
'eventAlert'?: boolean;
|
|
3844
|
+
/**
|
|
3845
|
+
*
|
|
3846
|
+
* @type {boolean}
|
|
3847
|
+
* @memberof DeviceModel
|
|
3848
|
+
*/
|
|
3849
|
+
'noticeAlert'?: boolean;
|
|
3850
|
+
/**
|
|
3851
|
+
*
|
|
3852
|
+
* @type {Array<string>}
|
|
3853
|
+
* @memberof DeviceModel
|
|
3854
|
+
*/
|
|
3855
|
+
'tags'?: Array<string> | null;
|
|
3856
|
+
}
|
|
3857
|
+
/**
|
|
3858
|
+
*
|
|
3859
|
+
* @export
|
|
3860
|
+
* @interface DevicesModel
|
|
3861
|
+
*/
|
|
3862
|
+
export interface DevicesModel {
|
|
3863
|
+
/**
|
|
3864
|
+
*
|
|
3865
|
+
* @type {Array<DeviceItemModel>}
|
|
3866
|
+
* @memberof DevicesModel
|
|
3867
|
+
*/
|
|
3868
|
+
'items'?: Array<DeviceItemModel> | null;
|
|
3869
|
+
/**
|
|
3870
|
+
*
|
|
3871
|
+
* @type {PagedListMetaData}
|
|
3872
|
+
* @memberof DevicesModel
|
|
3873
|
+
*/
|
|
3874
|
+
'metaData'?: PagedListMetaData;
|
|
3875
|
+
}
|
|
3691
3876
|
/**
|
|
3692
3877
|
*
|
|
3693
3878
|
* @export
|
|
@@ -7644,44 +7829,6 @@ export declare enum Platform {
|
|
|
7644
7829
|
IOs = "iOS",
|
|
7645
7830
|
Android = "Android"
|
|
7646
7831
|
}
|
|
7647
|
-
/**
|
|
7648
|
-
*
|
|
7649
|
-
* @export
|
|
7650
|
-
* @interface ProblemDetails
|
|
7651
|
-
*/
|
|
7652
|
-
export interface ProblemDetails {
|
|
7653
|
-
[key: string]: any | any;
|
|
7654
|
-
/**
|
|
7655
|
-
*
|
|
7656
|
-
* @type {string}
|
|
7657
|
-
* @memberof ProblemDetails
|
|
7658
|
-
*/
|
|
7659
|
-
'type'?: string | null;
|
|
7660
|
-
/**
|
|
7661
|
-
*
|
|
7662
|
-
* @type {string}
|
|
7663
|
-
* @memberof ProblemDetails
|
|
7664
|
-
*/
|
|
7665
|
-
'title'?: string | null;
|
|
7666
|
-
/**
|
|
7667
|
-
*
|
|
7668
|
-
* @type {number}
|
|
7669
|
-
* @memberof ProblemDetails
|
|
7670
|
-
*/
|
|
7671
|
-
'status'?: number | null;
|
|
7672
|
-
/**
|
|
7673
|
-
*
|
|
7674
|
-
* @type {string}
|
|
7675
|
-
* @memberof ProblemDetails
|
|
7676
|
-
*/
|
|
7677
|
-
'detail'?: string | null;
|
|
7678
|
-
/**
|
|
7679
|
-
*
|
|
7680
|
-
* @type {string}
|
|
7681
|
-
* @memberof ProblemDetails
|
|
7682
|
-
*/
|
|
7683
|
-
'instance'?: string | null;
|
|
7684
|
-
}
|
|
7685
7832
|
/**
|
|
7686
7833
|
*
|
|
7687
7834
|
* @export
|
|
@@ -9200,6 +9347,43 @@ export interface UpdateConsultationCommand {
|
|
|
9200
9347
|
*/
|
|
9201
9348
|
'timeZone'?: string | null;
|
|
9202
9349
|
}
|
|
9350
|
+
/**
|
|
9351
|
+
*
|
|
9352
|
+
* @export
|
|
9353
|
+
* @interface UpdateDeviceCommand
|
|
9354
|
+
*/
|
|
9355
|
+
export interface UpdateDeviceCommand {
|
|
9356
|
+
/**
|
|
9357
|
+
*
|
|
9358
|
+
* @type {string}
|
|
9359
|
+
* @memberof UpdateDeviceCommand
|
|
9360
|
+
*/
|
|
9361
|
+
'token'?: string | null;
|
|
9362
|
+
/**
|
|
9363
|
+
*
|
|
9364
|
+
* @type {Array<string>}
|
|
9365
|
+
* @memberof UpdateDeviceCommand
|
|
9366
|
+
*/
|
|
9367
|
+
'tags'?: Array<string> | null;
|
|
9368
|
+
/**
|
|
9369
|
+
*
|
|
9370
|
+
* @type {boolean}
|
|
9371
|
+
* @memberof UpdateDeviceCommand
|
|
9372
|
+
*/
|
|
9373
|
+
'appAlert'?: boolean;
|
|
9374
|
+
/**
|
|
9375
|
+
*
|
|
9376
|
+
* @type {boolean}
|
|
9377
|
+
* @memberof UpdateDeviceCommand
|
|
9378
|
+
*/
|
|
9379
|
+
'eventAlert'?: boolean;
|
|
9380
|
+
/**
|
|
9381
|
+
*
|
|
9382
|
+
* @type {boolean}
|
|
9383
|
+
* @memberof UpdateDeviceCommand
|
|
9384
|
+
*/
|
|
9385
|
+
'noticeAlert'?: boolean;
|
|
9386
|
+
}
|
|
9203
9387
|
/**
|
|
9204
9388
|
*
|
|
9205
9389
|
* @export
|
|
@@ -12616,6 +12800,270 @@ export declare class DealsApi extends BaseAPI {
|
|
|
12616
12800
|
*/
|
|
12617
12801
|
apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealModel, any>>;
|
|
12618
12802
|
}
|
|
12803
|
+
/**
|
|
12804
|
+
* DevicesApi - axios parameter creator
|
|
12805
|
+
* @export
|
|
12806
|
+
*/
|
|
12807
|
+
export declare const DevicesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
12808
|
+
/**
|
|
12809
|
+
*
|
|
12810
|
+
* @summary Get all devices.
|
|
12811
|
+
* @param {string} [id]
|
|
12812
|
+
* @param {string} [token]
|
|
12813
|
+
* @param {Platform} [platform]
|
|
12814
|
+
* @param {boolean} [appAlert]
|
|
12815
|
+
* @param {boolean} [eventAlert]
|
|
12816
|
+
* @param {boolean} [noticeAlert]
|
|
12817
|
+
* @param {number} [page]
|
|
12818
|
+
* @param {number} [limit]
|
|
12819
|
+
* @param {Date} [lastRetrieved]
|
|
12820
|
+
* @param {*} [options] Override http request option.
|
|
12821
|
+
* @throws {RequiredError}
|
|
12822
|
+
*/
|
|
12823
|
+
apiV2DevicesGet: (id?: string | undefined, token?: string | undefined, platform?: Platform | undefined, appAlert?: boolean | undefined, eventAlert?: boolean | undefined, noticeAlert?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
12824
|
+
/**
|
|
12825
|
+
*
|
|
12826
|
+
* @summary Delete device.
|
|
12827
|
+
* @param {string} id
|
|
12828
|
+
* @param {*} [options] Override http request option.
|
|
12829
|
+
* @throws {RequiredError}
|
|
12830
|
+
*/
|
|
12831
|
+
apiV2DevicesIdDelete: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
12832
|
+
/**
|
|
12833
|
+
*
|
|
12834
|
+
* @summary Get device.
|
|
12835
|
+
* @param {string} id
|
|
12836
|
+
* @param {*} [options] Override http request option.
|
|
12837
|
+
* @throws {RequiredError}
|
|
12838
|
+
*/
|
|
12839
|
+
apiV2DevicesIdGet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
12840
|
+
/**
|
|
12841
|
+
*
|
|
12842
|
+
* @summary Create device login.
|
|
12843
|
+
* @param {string} id
|
|
12844
|
+
* @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
|
|
12845
|
+
* @param {*} [options] Override http request option.
|
|
12846
|
+
* @throws {RequiredError}
|
|
12847
|
+
*/
|
|
12848
|
+
apiV2DevicesIdLoginsPost: (id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
12849
|
+
/**
|
|
12850
|
+
*
|
|
12851
|
+
* @summary Update device.
|
|
12852
|
+
* @param {string} id
|
|
12853
|
+
* @param {UpdateDeviceCommand} [updateDeviceCommand]
|
|
12854
|
+
* @param {*} [options] Override http request option.
|
|
12855
|
+
* @throws {RequiredError}
|
|
12856
|
+
*/
|
|
12857
|
+
apiV2DevicesIdPut: (id: string, updateDeviceCommand?: UpdateDeviceCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
12858
|
+
/**
|
|
12859
|
+
*
|
|
12860
|
+
* @summary Create device.
|
|
12861
|
+
* @param {CreateDeviceCommand} [createDeviceCommand]
|
|
12862
|
+
* @param {*} [options] Override http request option.
|
|
12863
|
+
* @throws {RequiredError}
|
|
12864
|
+
*/
|
|
12865
|
+
apiV2DevicesPost: (createDeviceCommand?: CreateDeviceCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
12866
|
+
};
|
|
12867
|
+
/**
|
|
12868
|
+
* DevicesApi - functional programming interface
|
|
12869
|
+
* @export
|
|
12870
|
+
*/
|
|
12871
|
+
export declare const DevicesApiFp: (configuration?: Configuration | undefined) => {
|
|
12872
|
+
/**
|
|
12873
|
+
*
|
|
12874
|
+
* @summary Get all devices.
|
|
12875
|
+
* @param {string} [id]
|
|
12876
|
+
* @param {string} [token]
|
|
12877
|
+
* @param {Platform} [platform]
|
|
12878
|
+
* @param {boolean} [appAlert]
|
|
12879
|
+
* @param {boolean} [eventAlert]
|
|
12880
|
+
* @param {boolean} [noticeAlert]
|
|
12881
|
+
* @param {number} [page]
|
|
12882
|
+
* @param {number} [limit]
|
|
12883
|
+
* @param {Date} [lastRetrieved]
|
|
12884
|
+
* @param {*} [options] Override http request option.
|
|
12885
|
+
* @throws {RequiredError}
|
|
12886
|
+
*/
|
|
12887
|
+
apiV2DevicesGet(id?: string | undefined, token?: string | undefined, platform?: Platform | undefined, appAlert?: boolean | undefined, eventAlert?: boolean | undefined, noticeAlert?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DevicesModel>>;
|
|
12888
|
+
/**
|
|
12889
|
+
*
|
|
12890
|
+
* @summary Delete device.
|
|
12891
|
+
* @param {string} id
|
|
12892
|
+
* @param {*} [options] Override http request option.
|
|
12893
|
+
* @throws {RequiredError}
|
|
12894
|
+
*/
|
|
12895
|
+
apiV2DevicesIdDelete(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
12896
|
+
/**
|
|
12897
|
+
*
|
|
12898
|
+
* @summary Get device.
|
|
12899
|
+
* @param {string} id
|
|
12900
|
+
* @param {*} [options] Override http request option.
|
|
12901
|
+
* @throws {RequiredError}
|
|
12902
|
+
*/
|
|
12903
|
+
apiV2DevicesIdGet(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DeviceModel>>;
|
|
12904
|
+
/**
|
|
12905
|
+
*
|
|
12906
|
+
* @summary Create device login.
|
|
12907
|
+
* @param {string} id
|
|
12908
|
+
* @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
|
|
12909
|
+
* @param {*} [options] Override http request option.
|
|
12910
|
+
* @throws {RequiredError}
|
|
12911
|
+
*/
|
|
12912
|
+
apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
12913
|
+
/**
|
|
12914
|
+
*
|
|
12915
|
+
* @summary Update device.
|
|
12916
|
+
* @param {string} id
|
|
12917
|
+
* @param {UpdateDeviceCommand} [updateDeviceCommand]
|
|
12918
|
+
* @param {*} [options] Override http request option.
|
|
12919
|
+
* @throws {RequiredError}
|
|
12920
|
+
*/
|
|
12921
|
+
apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
12922
|
+
/**
|
|
12923
|
+
*
|
|
12924
|
+
* @summary Create device.
|
|
12925
|
+
* @param {CreateDeviceCommand} [createDeviceCommand]
|
|
12926
|
+
* @param {*} [options] Override http request option.
|
|
12927
|
+
* @throws {RequiredError}
|
|
12928
|
+
*/
|
|
12929
|
+
apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DeviceModel>>;
|
|
12930
|
+
};
|
|
12931
|
+
/**
|
|
12932
|
+
* DevicesApi - factory interface
|
|
12933
|
+
* @export
|
|
12934
|
+
*/
|
|
12935
|
+
export declare const DevicesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
12936
|
+
/**
|
|
12937
|
+
*
|
|
12938
|
+
* @summary Get all devices.
|
|
12939
|
+
* @param {string} [id]
|
|
12940
|
+
* @param {string} [token]
|
|
12941
|
+
* @param {Platform} [platform]
|
|
12942
|
+
* @param {boolean} [appAlert]
|
|
12943
|
+
* @param {boolean} [eventAlert]
|
|
12944
|
+
* @param {boolean} [noticeAlert]
|
|
12945
|
+
* @param {number} [page]
|
|
12946
|
+
* @param {number} [limit]
|
|
12947
|
+
* @param {Date} [lastRetrieved]
|
|
12948
|
+
* @param {*} [options] Override http request option.
|
|
12949
|
+
* @throws {RequiredError}
|
|
12950
|
+
*/
|
|
12951
|
+
apiV2DevicesGet(id?: string | undefined, token?: string | undefined, platform?: Platform | undefined, appAlert?: boolean | undefined, eventAlert?: boolean | undefined, noticeAlert?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DevicesModel>;
|
|
12952
|
+
/**
|
|
12953
|
+
*
|
|
12954
|
+
* @summary Delete device.
|
|
12955
|
+
* @param {string} id
|
|
12956
|
+
* @param {*} [options] Override http request option.
|
|
12957
|
+
* @throws {RequiredError}
|
|
12958
|
+
*/
|
|
12959
|
+
apiV2DevicesIdDelete(id: string, options?: any): AxiosPromise<boolean>;
|
|
12960
|
+
/**
|
|
12961
|
+
*
|
|
12962
|
+
* @summary Get device.
|
|
12963
|
+
* @param {string} id
|
|
12964
|
+
* @param {*} [options] Override http request option.
|
|
12965
|
+
* @throws {RequiredError}
|
|
12966
|
+
*/
|
|
12967
|
+
apiV2DevicesIdGet(id: string, options?: any): AxiosPromise<DeviceModel>;
|
|
12968
|
+
/**
|
|
12969
|
+
*
|
|
12970
|
+
* @summary Create device login.
|
|
12971
|
+
* @param {string} id
|
|
12972
|
+
* @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
|
|
12973
|
+
* @param {*} [options] Override http request option.
|
|
12974
|
+
* @throws {RequiredError}
|
|
12975
|
+
*/
|
|
12976
|
+
apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand | undefined, options?: any): AxiosPromise<string>;
|
|
12977
|
+
/**
|
|
12978
|
+
*
|
|
12979
|
+
* @summary Update device.
|
|
12980
|
+
* @param {string} id
|
|
12981
|
+
* @param {UpdateDeviceCommand} [updateDeviceCommand]
|
|
12982
|
+
* @param {*} [options] Override http request option.
|
|
12983
|
+
* @throws {RequiredError}
|
|
12984
|
+
*/
|
|
12985
|
+
apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand | undefined, options?: any): AxiosPromise<boolean>;
|
|
12986
|
+
/**
|
|
12987
|
+
*
|
|
12988
|
+
* @summary Create device.
|
|
12989
|
+
* @param {CreateDeviceCommand} [createDeviceCommand]
|
|
12990
|
+
* @param {*} [options] Override http request option.
|
|
12991
|
+
* @throws {RequiredError}
|
|
12992
|
+
*/
|
|
12993
|
+
apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand | undefined, options?: any): AxiosPromise<DeviceModel>;
|
|
12994
|
+
};
|
|
12995
|
+
/**
|
|
12996
|
+
* DevicesApi - object-oriented interface
|
|
12997
|
+
* @export
|
|
12998
|
+
* @class DevicesApi
|
|
12999
|
+
* @extends {BaseAPI}
|
|
13000
|
+
*/
|
|
13001
|
+
export declare class DevicesApi extends BaseAPI {
|
|
13002
|
+
/**
|
|
13003
|
+
*
|
|
13004
|
+
* @summary Get all devices.
|
|
13005
|
+
* @param {string} [id]
|
|
13006
|
+
* @param {string} [token]
|
|
13007
|
+
* @param {Platform} [platform]
|
|
13008
|
+
* @param {boolean} [appAlert]
|
|
13009
|
+
* @param {boolean} [eventAlert]
|
|
13010
|
+
* @param {boolean} [noticeAlert]
|
|
13011
|
+
* @param {number} [page]
|
|
13012
|
+
* @param {number} [limit]
|
|
13013
|
+
* @param {Date} [lastRetrieved]
|
|
13014
|
+
* @param {*} [options] Override http request option.
|
|
13015
|
+
* @throws {RequiredError}
|
|
13016
|
+
* @memberof DevicesApi
|
|
13017
|
+
*/
|
|
13018
|
+
apiV2DevicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DevicesModel, any>>;
|
|
13019
|
+
/**
|
|
13020
|
+
*
|
|
13021
|
+
* @summary Delete device.
|
|
13022
|
+
* @param {string} id
|
|
13023
|
+
* @param {*} [options] Override http request option.
|
|
13024
|
+
* @throws {RequiredError}
|
|
13025
|
+
* @memberof DevicesApi
|
|
13026
|
+
*/
|
|
13027
|
+
apiV2DevicesIdDelete(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
13028
|
+
/**
|
|
13029
|
+
*
|
|
13030
|
+
* @summary Get device.
|
|
13031
|
+
* @param {string} id
|
|
13032
|
+
* @param {*} [options] Override http request option.
|
|
13033
|
+
* @throws {RequiredError}
|
|
13034
|
+
* @memberof DevicesApi
|
|
13035
|
+
*/
|
|
13036
|
+
apiV2DevicesIdGet(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceModel, any>>;
|
|
13037
|
+
/**
|
|
13038
|
+
*
|
|
13039
|
+
* @summary Create device login.
|
|
13040
|
+
* @param {string} id
|
|
13041
|
+
* @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
|
|
13042
|
+
* @param {*} [options] Override http request option.
|
|
13043
|
+
* @throws {RequiredError}
|
|
13044
|
+
* @memberof DevicesApi
|
|
13045
|
+
*/
|
|
13046
|
+
apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
13047
|
+
/**
|
|
13048
|
+
*
|
|
13049
|
+
* @summary Update device.
|
|
13050
|
+
* @param {string} id
|
|
13051
|
+
* @param {UpdateDeviceCommand} [updateDeviceCommand]
|
|
13052
|
+
* @param {*} [options] Override http request option.
|
|
13053
|
+
* @throws {RequiredError}
|
|
13054
|
+
* @memberof DevicesApi
|
|
13055
|
+
*/
|
|
13056
|
+
apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
13057
|
+
/**
|
|
13058
|
+
*
|
|
13059
|
+
* @summary Create device.
|
|
13060
|
+
* @param {CreateDeviceCommand} [createDeviceCommand]
|
|
13061
|
+
* @param {*} [options] Override http request option.
|
|
13062
|
+
* @throws {RequiredError}
|
|
13063
|
+
* @memberof DevicesApi
|
|
13064
|
+
*/
|
|
13065
|
+
apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceModel, any>>;
|
|
13066
|
+
}
|
|
12619
13067
|
/**
|
|
12620
13068
|
* DoctorAffiliationsApi - axios parameter creator
|
|
12621
13069
|
* @export
|