ch-admin-api-client-typescript 2.4.1 → 2.4.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 CHANGED
@@ -9599,6 +9599,50 @@ export interface ManagerAffiliation {
9599
9599
  */
9600
9600
  'hospital'?: Hospital;
9601
9601
  }
9602
+ /**
9603
+ *
9604
+ * @export
9605
+ * @interface ManagerAffiliationItemModel
9606
+ */
9607
+ export interface ManagerAffiliationItemModel {
9608
+ /**
9609
+ *
9610
+ * @type {string}
9611
+ * @memberof ManagerAffiliationItemModel
9612
+ */
9613
+ 'hospitalId'?: string;
9614
+ /**
9615
+ *
9616
+ * @type {string}
9617
+ * @memberof ManagerAffiliationItemModel
9618
+ */
9619
+ 'hospitalName'?: string | null;
9620
+ /**
9621
+ *
9622
+ * @type {string}
9623
+ * @memberof ManagerAffiliationItemModel
9624
+ */
9625
+ 'hospitalSlug'?: string | null;
9626
+ }
9627
+ /**
9628
+ *
9629
+ * @export
9630
+ * @interface ManagerAffiliationsModel
9631
+ */
9632
+ export interface ManagerAffiliationsModel {
9633
+ /**
9634
+ *
9635
+ * @type {Array<ManagerAffiliationItemModel>}
9636
+ * @memberof ManagerAffiliationsModel
9637
+ */
9638
+ 'items'?: Array<ManagerAffiliationItemModel> | null;
9639
+ /**
9640
+ *
9641
+ * @type {PagedListMetaData}
9642
+ * @memberof ManagerAffiliationsModel
9643
+ */
9644
+ 'metaData'?: PagedListMetaData;
9645
+ }
9602
9646
  /**
9603
9647
  *
9604
9648
  * @export
@@ -13894,6 +13938,67 @@ export interface UpdatePlanHospitalCommand {
13894
13938
  */
13895
13939
  'order'?: number;
13896
13940
  }
13941
+ /**
13942
+ *
13943
+ * @export
13944
+ * @interface UpdateProfileCommand
13945
+ */
13946
+ export interface UpdateProfileCommand {
13947
+ /**
13948
+ *
13949
+ * @type {string}
13950
+ * @memberof UpdateProfileCommand
13951
+ */
13952
+ 'firstName'?: string | null;
13953
+ /**
13954
+ *
13955
+ * @type {string}
13956
+ * @memberof UpdateProfileCommand
13957
+ */
13958
+ 'lastName'?: string | null;
13959
+ /**
13960
+ *
13961
+ * @type {string}
13962
+ * @memberof UpdateProfileCommand
13963
+ */
13964
+ 'phone'?: string | null;
13965
+ /**
13966
+ *
13967
+ * @type {string}
13968
+ * @memberof UpdateProfileCommand
13969
+ */
13970
+ 'photo'?: string | null;
13971
+ /**
13972
+ *
13973
+ * @type {string}
13974
+ * @memberof UpdateProfileCommand
13975
+ */
13976
+ 'photoThumbnail'?: string | null;
13977
+ /**
13978
+ *
13979
+ * @type {Gender}
13980
+ * @memberof UpdateProfileCommand
13981
+ */
13982
+ 'gender'?: Gender;
13983
+ /**
13984
+ *
13985
+ * @type {Date}
13986
+ * @memberof UpdateProfileCommand
13987
+ */
13988
+ 'dateOfBirth'?: Date | null;
13989
+ /**
13990
+ *
13991
+ * @type {Array<UserLanguageModel>}
13992
+ * @memberof UpdateProfileCommand
13993
+ */
13994
+ 'languages'?: Array<UserLanguageModel> | null;
13995
+ /**
13996
+ *
13997
+ * @type {Array<UserLocationModel>}
13998
+ * @memberof UpdateProfileCommand
13999
+ */
14000
+ 'locations'?: Array<UserLocationModel> | null;
14001
+ }
13897
14002
  /**
13898
14003
  *
13899
14004
  * @export
@@ -22647,6 +22752,18 @@ export declare const ManagersApiAxiosParamCreator: (configuration?: Configuratio
22647
22752
  * @throws {RequiredError}
22648
22753
  */
22649
22754
  apiV1ManagersGet: (hospitalId?: string | undefined, id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22755
+ /**
22756
+ *
22757
+ * @summary Get all manager affiliations.
22758
+ * @param {string} managerId
22759
+ * @param {string} [hospitalName]
22760
+ * @param {number} [page]
22761
+ * @param {number} [limit]
22762
+ * @param {Date} [lastRetrieved]
22763
+ * @param {*} [options] Override http request option.
22764
+ * @throws {RequiredError}
22765
+ */
22766
+ apiV1ManagersManagerIdAffiliationsGet: (managerId: string, hospitalName?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22650
22767
  /**
22651
22768
  *
22652
22769
  * @summary Delete Manager.
@@ -22704,6 +22821,18 @@ export declare const ManagersApiFp: (configuration?: Configuration | undefined)
22704
22821
  * @throws {RequiredError}
22705
22822
  */
22706
22823
  apiV1ManagersGet(hospitalId?: string | undefined, id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ManagersModel>>;
22824
+ /**
22825
+ *
22826
+ * @summary Get all manager affiliations.
22827
+ * @param {string} managerId
22828
+ * @param {string} [hospitalName]
22829
+ * @param {number} [page]
22830
+ * @param {number} [limit]
22831
+ * @param {Date} [lastRetrieved]
22832
+ * @param {*} [options] Override http request option.
22833
+ * @throws {RequiredError}
22834
+ */
22835
+ apiV1ManagersManagerIdAffiliationsGet(managerId: string, hospitalName?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ManagerAffiliationsModel>>;
22707
22836
  /**
22708
22837
  *
22709
22838
  * @summary Delete Manager.
@@ -22761,6 +22890,18 @@ export declare const ManagersApiFactory: (configuration?: Configuration | undefi
22761
22890
  * @throws {RequiredError}
22762
22891
  */
22763
22892
  apiV1ManagersGet(hospitalId?: string | undefined, id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<ManagersModel>;
22893
+ /**
22894
+ *
22895
+ * @summary Get all manager affiliations.
22896
+ * @param {string} managerId
22897
+ * @param {string} [hospitalName]
22898
+ * @param {number} [page]
22899
+ * @param {number} [limit]
22900
+ * @param {Date} [lastRetrieved]
22901
+ * @param {*} [options] Override http request option.
22902
+ * @throws {RequiredError}
22903
+ */
22904
+ apiV1ManagersManagerIdAffiliationsGet(managerId: string, hospitalName?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<ManagerAffiliationsModel>;
22764
22905
  /**
22765
22906
  *
22766
22907
  * @summary Delete Manager.
@@ -22821,6 +22962,19 @@ export declare class ManagersApi extends BaseAPI {
22821
22962
  * @memberof ManagersApi
22822
22963
  */
22823
22964
  apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagersModel>>;
22965
+ /**
22966
+ *
22967
+ * @summary Get all manager affiliations.
22968
+ * @param {string} managerId
22969
+ * @param {string} [hospitalName]
22970
+ * @param {number} [page]
22971
+ * @param {number} [limit]
22972
+ * @param {Date} [lastRetrieved]
22973
+ * @param {*} [options] Override http request option.
22974
+ * @throws {RequiredError}
22975
+ * @memberof ManagersApi
22976
+ */
22977
+ apiV1ManagersManagerIdAffiliationsGet(managerId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerAffiliationsModel>>;
22824
22978
  /**
22825
22979
  *
22826
22980
  * @summary Delete Manager.
@@ -23854,6 +24008,14 @@ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuratio
23854
24008
  * @throws {RequiredError}
23855
24009
  */
23856
24010
  apiV1ProfilesGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
24011
+ /**
24012
+ *
24013
+ * @summary Update Profile.
24014
+ * @param {UpdateProfileCommand} [updateProfileCommand]
24015
+ * @param {*} [options] Override http request option.
24016
+ * @throws {RequiredError}
24017
+ */
24018
+ apiV1ProfilesPut: (updateProfileCommand?: UpdateProfileCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
23857
24019
  };
23858
24020
  /**
23859
24021
  * ProfilesApi - functional programming interface
@@ -23883,6 +24045,14 @@ export declare const ProfilesApiFp: (configuration?: Configuration | undefined)
23883
24045
  * @throws {RequiredError}
23884
24046
  */
23885
24047
  apiV1ProfilesGet(options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<UserModel>>;
24048
+ /**
24049
+ *
24050
+ * @summary Update Profile.
24051
+ * @param {UpdateProfileCommand} [updateProfileCommand]
24052
+ * @param {*} [options] Override http request option.
24053
+ * @throws {RequiredError}
24054
+ */
24055
+ apiV1ProfilesPut(updateProfileCommand?: UpdateProfileCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<UserModel>>;
23886
24056
  };
23887
24057
  /**
23888
24058
  * ProfilesApi - factory interface
@@ -23912,6 +24082,14 @@ export declare const ProfilesApiFactory: (configuration?: Configuration | undefi
23912
24082
  * @throws {RequiredError}
23913
24083
  */
23914
24084
  apiV1ProfilesGet(options?: any): AxiosPromise<UserModel>;
24085
+ /**
24086
+ *
24087
+ * @summary Update Profile.
24088
+ * @param {UpdateProfileCommand} [updateProfileCommand]
24089
+ * @param {*} [options] Override http request option.
24090
+ * @throws {RequiredError}
24091
+ */
24092
+ apiV1ProfilesPut(updateProfileCommand?: UpdateProfileCommand | undefined, options?: any): AxiosPromise<UserModel>;
23915
24093
  };
23916
24094
  /**
23917
24095
  * ProfilesApi - object-oriented interface
@@ -23946,6 +24124,15 @@ export declare class ProfilesApi extends BaseAPI {
23946
24124
  * @memberof ProfilesApi
23947
24125
  */
23948
24126
  apiV1ProfilesGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserModel>>;
24127
+ /**
24128
+ *
24129
+ * @summary Update Profile.
24130
+ * @param {UpdateProfileCommand} [updateProfileCommand]
24131
+ * @param {*} [options] Override http request option.
24132
+ * @throws {RequiredError}
24133
+ * @memberof ProfilesApi
24134
+ */
24135
+ apiV1ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserModel>>;
23949
24136
  }
23950
24137
  /**
23951
24138
  * ServicesApi - axios parameter creator