ch-api-client-typescript2 4.7.9 → 4.8.1
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 +54 -34
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +39 -46
- package/package.json +1 -1
- package/src/api.ts +70 -53
package/lib/api.d.ts
CHANGED
|
@@ -3311,6 +3311,12 @@ export interface CreateProfileCommand {
|
|
|
3311
3311
|
* @memberof CreateProfileCommand
|
|
3312
3312
|
*/
|
|
3313
3313
|
'lastName'?: string | null;
|
|
3314
|
+
/**
|
|
3315
|
+
*
|
|
3316
|
+
* @type {string}
|
|
3317
|
+
* @memberof CreateProfileCommand
|
|
3318
|
+
*/
|
|
3319
|
+
'phoneCountryCode'?: string | null;
|
|
3314
3320
|
/**
|
|
3315
3321
|
*
|
|
3316
3322
|
* @type {string}
|
|
@@ -3365,12 +3371,6 @@ export interface CreateProfileCommand {
|
|
|
3365
3371
|
* @memberof CreateProfileCommand
|
|
3366
3372
|
*/
|
|
3367
3373
|
'hospitalId'?: string;
|
|
3368
|
-
/**
|
|
3369
|
-
*
|
|
3370
|
-
* @type {number}
|
|
3371
|
-
* @memberof CreateProfileCommand
|
|
3372
|
-
*/
|
|
3373
|
-
'userType'?: number;
|
|
3374
3374
|
}
|
|
3375
3375
|
/**
|
|
3376
3376
|
*
|
|
@@ -4957,6 +4957,12 @@ export interface DoctorModel {
|
|
|
4957
4957
|
* @memberof DoctorModel
|
|
4958
4958
|
*/
|
|
4959
4959
|
'auditableEntity'?: AuditableEntity;
|
|
4960
|
+
/**
|
|
4961
|
+
*
|
|
4962
|
+
* @type {string}
|
|
4963
|
+
* @memberof DoctorModel
|
|
4964
|
+
*/
|
|
4965
|
+
'phoneCountryCode'?: string | null;
|
|
4960
4966
|
/**
|
|
4961
4967
|
*
|
|
4962
4968
|
* @type {string}
|
|
@@ -8306,6 +8312,12 @@ export interface PatientModel {
|
|
|
8306
8312
|
* @memberof PatientModel
|
|
8307
8313
|
*/
|
|
8308
8314
|
'auditableEntity'?: AuditableEntity;
|
|
8315
|
+
/**
|
|
8316
|
+
*
|
|
8317
|
+
* @type {string}
|
|
8318
|
+
* @memberof PatientModel
|
|
8319
|
+
*/
|
|
8320
|
+
'phoneCountryCode'?: string | null;
|
|
8309
8321
|
/**
|
|
8310
8322
|
*
|
|
8311
8323
|
* @type {string}
|
|
@@ -10527,6 +10539,12 @@ export interface UpdateProfileCommand {
|
|
|
10527
10539
|
* @memberof UpdateProfileCommand
|
|
10528
10540
|
*/
|
|
10529
10541
|
'lastName'?: string | null;
|
|
10542
|
+
/**
|
|
10543
|
+
*
|
|
10544
|
+
* @type {string}
|
|
10545
|
+
* @memberof UpdateProfileCommand
|
|
10546
|
+
*/
|
|
10547
|
+
'phoneCountryCode'?: string | null;
|
|
10530
10548
|
/**
|
|
10531
10549
|
*
|
|
10532
10550
|
* @type {string}
|
|
@@ -10811,6 +10829,12 @@ export interface UserModel {
|
|
|
10811
10829
|
* @memberof UserModel
|
|
10812
10830
|
*/
|
|
10813
10831
|
'auditableEntity'?: AuditableEntity;
|
|
10832
|
+
/**
|
|
10833
|
+
*
|
|
10834
|
+
* @type {string}
|
|
10835
|
+
* @memberof UserModel
|
|
10836
|
+
*/
|
|
10837
|
+
'phoneCountryCode'?: string | null;
|
|
10814
10838
|
/**
|
|
10815
10839
|
*
|
|
10816
10840
|
* @type {string}
|
|
@@ -18771,21 +18795,20 @@ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18771
18795
|
apiV2ProfilesGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18772
18796
|
/**
|
|
18773
18797
|
*
|
|
18774
|
-
* @summary
|
|
18775
|
-
* @param {
|
|
18776
|
-
* @param {string} patientId
|
|
18798
|
+
* @summary Create a Profile.
|
|
18799
|
+
* @param {CreateProfileCommand} [createProfileCommand]
|
|
18777
18800
|
* @param {*} [options] Override http request option.
|
|
18778
18801
|
* @throws {RequiredError}
|
|
18779
18802
|
*/
|
|
18780
|
-
|
|
18803
|
+
apiV2ProfilesPost: (createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18781
18804
|
/**
|
|
18782
18805
|
*
|
|
18783
|
-
* @summary
|
|
18784
|
-
* @param {
|
|
18806
|
+
* @summary Delete Profile.
|
|
18807
|
+
* @param {string} profileId
|
|
18785
18808
|
* @param {*} [options] Override http request option.
|
|
18786
18809
|
* @throws {RequiredError}
|
|
18787
18810
|
*/
|
|
18788
|
-
|
|
18811
|
+
apiV2ProfilesProfileIdDelete: (profileId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18789
18812
|
/**
|
|
18790
18813
|
*
|
|
18791
18814
|
* @summary Update Profile.
|
|
@@ -18825,21 +18848,20 @@ export declare const ProfilesApiFp: (configuration?: Configuration) => {
|
|
|
18825
18848
|
apiV2ProfilesGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>>;
|
|
18826
18849
|
/**
|
|
18827
18850
|
*
|
|
18828
|
-
* @summary
|
|
18829
|
-
* @param {
|
|
18830
|
-
* @param {string} patientId
|
|
18851
|
+
* @summary Create a Profile.
|
|
18852
|
+
* @param {CreateProfileCommand} [createProfileCommand]
|
|
18831
18853
|
* @param {*} [options] Override http request option.
|
|
18832
18854
|
* @throws {RequiredError}
|
|
18833
18855
|
*/
|
|
18834
|
-
|
|
18856
|
+
apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>>;
|
|
18835
18857
|
/**
|
|
18836
18858
|
*
|
|
18837
|
-
* @summary
|
|
18838
|
-
* @param {
|
|
18859
|
+
* @summary Delete Profile.
|
|
18860
|
+
* @param {string} profileId
|
|
18839
18861
|
* @param {*} [options] Override http request option.
|
|
18840
18862
|
* @throws {RequiredError}
|
|
18841
18863
|
*/
|
|
18842
|
-
|
|
18864
|
+
apiV2ProfilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
18843
18865
|
/**
|
|
18844
18866
|
*
|
|
18845
18867
|
* @summary Update Profile.
|
|
@@ -18879,21 +18901,20 @@ export declare const ProfilesApiFactory: (configuration?: Configuration, basePat
|
|
|
18879
18901
|
apiV2ProfilesGet(options?: any): AxiosPromise<UserModel>;
|
|
18880
18902
|
/**
|
|
18881
18903
|
*
|
|
18882
|
-
* @summary
|
|
18883
|
-
* @param {
|
|
18884
|
-
* @param {string} patientId
|
|
18904
|
+
* @summary Create a Profile.
|
|
18905
|
+
* @param {CreateProfileCommand} [createProfileCommand]
|
|
18885
18906
|
* @param {*} [options] Override http request option.
|
|
18886
18907
|
* @throws {RequiredError}
|
|
18887
18908
|
*/
|
|
18888
|
-
|
|
18909
|
+
apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: any): AxiosPromise<UserModel>;
|
|
18889
18910
|
/**
|
|
18890
18911
|
*
|
|
18891
|
-
* @summary
|
|
18892
|
-
* @param {
|
|
18912
|
+
* @summary Delete Profile.
|
|
18913
|
+
* @param {string} profileId
|
|
18893
18914
|
* @param {*} [options] Override http request option.
|
|
18894
18915
|
* @throws {RequiredError}
|
|
18895
18916
|
*/
|
|
18896
|
-
|
|
18917
|
+
apiV2ProfilesProfileIdDelete(profileId: string, options?: any): AxiosPromise<boolean>;
|
|
18897
18918
|
/**
|
|
18898
18919
|
*
|
|
18899
18920
|
* @summary Update Profile.
|
|
@@ -18938,23 +18959,22 @@ export declare class ProfilesApi extends BaseAPI {
|
|
|
18938
18959
|
apiV2ProfilesGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserModel, any>>;
|
|
18939
18960
|
/**
|
|
18940
18961
|
*
|
|
18941
|
-
* @summary
|
|
18942
|
-
* @param {
|
|
18943
|
-
* @param {string} patientId
|
|
18962
|
+
* @summary Create a Profile.
|
|
18963
|
+
* @param {CreateProfileCommand} [createProfileCommand]
|
|
18944
18964
|
* @param {*} [options] Override http request option.
|
|
18945
18965
|
* @throws {RequiredError}
|
|
18946
18966
|
* @memberof ProfilesApi
|
|
18947
18967
|
*/
|
|
18948
|
-
|
|
18968
|
+
apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserModel, any>>;
|
|
18949
18969
|
/**
|
|
18950
18970
|
*
|
|
18951
|
-
* @summary
|
|
18952
|
-
* @param {
|
|
18971
|
+
* @summary Delete Profile.
|
|
18972
|
+
* @param {string} profileId
|
|
18953
18973
|
* @param {*} [options] Override http request option.
|
|
18954
18974
|
* @throws {RequiredError}
|
|
18955
18975
|
* @memberof ProfilesApi
|
|
18956
18976
|
*/
|
|
18957
|
-
|
|
18977
|
+
apiV2ProfilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
18958
18978
|
/**
|
|
18959
18979
|
*
|
|
18960
18980
|
* @summary Update Profile.
|