ch-admin-api-client-typescript 2.2.8 → 2.2.10

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
@@ -1639,6 +1639,19 @@ export interface BookingsModel {
1639
1639
  */
1640
1640
  'metaData'?: PagedListMetaData;
1641
1641
  }
1642
+ /**
1643
+ *
1644
+ * @export
1645
+ * @interface ChangeEmailCommand
1646
+ */
1647
+ export interface ChangeEmailCommand {
1648
+ /**
1649
+ *
1650
+ * @type {string}
1651
+ * @memberof ChangeEmailCommand
1652
+ */
1653
+ 'email'?: string | null;
1654
+ }
1642
1655
  /**
1643
1656
  *
1644
1657
  * @export
@@ -1810,6 +1823,19 @@ export interface CommunicationUserTokenModel {
1810
1823
  */
1811
1824
  'gateway'?: string | null;
1812
1825
  }
1826
+ /**
1827
+ *
1828
+ * @export
1829
+ * @interface ConfirmEmailCommand
1830
+ */
1831
+ export interface ConfirmEmailCommand {
1832
+ /**
1833
+ *
1834
+ * @type {string}
1835
+ * @memberof ConfirmEmailCommand
1836
+ */
1837
+ 'code'?: string | null;
1838
+ }
1813
1839
  /**
1814
1840
  *
1815
1841
  * @export
@@ -4064,6 +4090,91 @@ export interface CreateHospitalSpecialtyCommand {
4064
4090
  */
4065
4091
  'order'?: number;
4066
4092
  }
4093
+ /**
4094
+ *
4095
+ * @export
4096
+ * @interface CreateManagerCommand
4097
+ */
4098
+ export interface CreateManagerCommand {
4099
+ /**
4100
+ *
4101
+ * @type {string}
4102
+ * @memberof CreateManagerCommand
4103
+ */
4104
+ 'firstName'?: string | null;
4105
+ /**
4106
+ *
4107
+ * @type {string}
4108
+ * @memberof CreateManagerCommand
4109
+ */
4110
+ 'lastName'?: string | null;
4111
+ /**
4112
+ *
4113
+ * @type {string}
4114
+ * @memberof CreateManagerCommand
4115
+ */
4116
+ 'phone'?: string | null;
4117
+ /**
4118
+ *
4119
+ * @type {string}
4120
+ * @memberof CreateManagerCommand
4121
+ */
4122
+ 'photo'?: string | null;
4123
+ /**
4124
+ *
4125
+ * @type {string}
4126
+ * @memberof CreateManagerCommand
4127
+ */
4128
+ 'photoThumbnail'?: string | null;
4129
+ /**
4130
+ *
4131
+ * @type {Gender}
4132
+ * @memberof CreateManagerCommand
4133
+ */
4134
+ 'gender'?: Gender;
4135
+ /**
4136
+ *
4137
+ * @type {Date}
4138
+ * @memberof CreateManagerCommand
4139
+ */
4140
+ 'dateOfBirth'?: Date | null;
4141
+ /**
4142
+ *
4143
+ * @type {Array<MediaModel>}
4144
+ * @memberof CreateManagerCommand
4145
+ */
4146
+ 'medias'?: Array<MediaModel> | null;
4147
+ /**
4148
+ *
4149
+ * @type {Array<UserLanguageModel>}
4150
+ * @memberof CreateManagerCommand
4151
+ */
4152
+ 'languages'?: Array<UserLanguageModel> | null;
4153
+ /**
4154
+ *
4155
+ * @type {Array<UserLocationModel>}
4156
+ * @memberof CreateManagerCommand
4157
+ */
4158
+ 'locations'?: Array<UserLocationModel> | null;
4159
+ /**
4160
+ *
4161
+ * @type {string}
4162
+ * @memberof CreateManagerCommand
4163
+ */
4164
+ 'userName'?: string | null;
4165
+ /**
4166
+ *
4167
+ * @type {string}
4168
+ * @memberof CreateManagerCommand
4169
+ */
4170
+ 'email'?: string | null;
4171
+ /**
4172
+ *
4173
+ * @type {string}
4174
+ * @memberof CreateManagerCommand
4175
+ */
4176
+ 'hospitalId'?: string;
4177
+ }
4067
4178
  /**
4068
4179
  *
4069
4180
  * @export
@@ -8721,6 +8832,207 @@ export interface ManagerAffiliation {
8721
8832
  */
8722
8833
  'hospital'?: Hospital;
8723
8834
  }
8835
+ /**
8836
+ *
8837
+ * @export
8838
+ * @interface ManagerAffiliationModel
8839
+ */
8840
+ export interface ManagerAffiliationModel {
8841
+ /**
8842
+ *
8843
+ * @type {string}
8844
+ * @memberof ManagerAffiliationModel
8845
+ */
8846
+ 'hospitalId'?: string;
8847
+ /**
8848
+ *
8849
+ * @type {string}
8850
+ * @memberof ManagerAffiliationModel
8851
+ */
8852
+ 'hospitalName'?: string | null;
8853
+ /**
8854
+ *
8855
+ * @type {string}
8856
+ * @memberof ManagerAffiliationModel
8857
+ */
8858
+ 'hospitalSlug'?: string | null;
8859
+ /**
8860
+ *
8861
+ * @type {string}
8862
+ * @memberof ManagerAffiliationModel
8863
+ */
8864
+ 'countryId'?: string;
8865
+ /**
8866
+ *
8867
+ * @type {string}
8868
+ * @memberof ManagerAffiliationModel
8869
+ */
8870
+ 'countryName'?: string | null;
8871
+ /**
8872
+ *
8873
+ * @type {string}
8874
+ * @memberof ManagerAffiliationModel
8875
+ */
8876
+ 'stateName'?: string | null;
8877
+ /**
8878
+ *
8879
+ * @type {string}
8880
+ * @memberof ManagerAffiliationModel
8881
+ */
8882
+ 'cityName'?: string | null;
8883
+ /**
8884
+ *
8885
+ * @type {string}
8886
+ * @memberof ManagerAffiliationModel
8887
+ */
8888
+ 'managerId'?: string;
8889
+ /**
8890
+ *
8891
+ * @type {string}
8892
+ * @memberof ManagerAffiliationModel
8893
+ */
8894
+ 'managerName'?: string | null;
8895
+ }
8896
+ /**
8897
+ *
8898
+ * @export
8899
+ * @interface ManagerModel
8900
+ */
8901
+ export interface ManagerModel {
8902
+ /**
8903
+ *
8904
+ * @type {string}
8905
+ * @memberof ManagerModel
8906
+ */
8907
+ 'id'?: string;
8908
+ /**
8909
+ *
8910
+ * @type {string}
8911
+ * @memberof ManagerModel
8912
+ */
8913
+ 'userName'?: string | null;
8914
+ /**
8915
+ *
8916
+ * @type {string}
8917
+ * @memberof ManagerModel
8918
+ */
8919
+ 'firstName'?: string | null;
8920
+ /**
8921
+ *
8922
+ * @type {string}
8923
+ * @memberof ManagerModel
8924
+ */
8925
+ 'lastName'?: string | null;
8926
+ /**
8927
+ *
8928
+ * @type {string}
8929
+ * @memberof ManagerModel
8930
+ */
8931
+ 'fullname'?: string | null;
8932
+ /**
8933
+ *
8934
+ * @type {string}
8935
+ * @memberof ManagerModel
8936
+ */
8937
+ 'phone'?: string | null;
8938
+ /**
8939
+ *
8940
+ * @type {string}
8941
+ * @memberof ManagerModel
8942
+ */
8943
+ 'email'?: string | null;
8944
+ /**
8945
+ *
8946
+ * @type {string}
8947
+ * @memberof ManagerModel
8948
+ */
8949
+ 'photo'?: string | null;
8950
+ /**
8951
+ *
8952
+ * @type {string}
8953
+ * @memberof ManagerModel
8954
+ */
8955
+ 'photoThumbnail'?: string | null;
8956
+ /**
8957
+ *
8958
+ * @type {Gender}
8959
+ * @memberof ManagerModel
8960
+ */
8961
+ 'gender'?: Gender;
8962
+ /**
8963
+ *
8964
+ * @type {Date}
8965
+ * @memberof ManagerModel
8966
+ */
8967
+ 'dateOfBirth'?: Date | null;
8968
+ /**
8969
+ *
8970
+ * @type {string}
8971
+ * @memberof ManagerModel
8972
+ */
8973
+ 'timeZone'?: string | null;
8974
+ /**
8975
+ *
8976
+ * @type {string}
8977
+ * @memberof ManagerModel
8978
+ */
8979
+ 'communicationUserId'?: string | null;
8980
+ /**
8981
+ *
8982
+ * @type {AuditableEntity}
8983
+ * @memberof ManagerModel
8984
+ */
8985
+ 'auditableEntity'?: AuditableEntity;
8986
+ /**
8987
+ *
8988
+ * @type {string}
8989
+ * @memberof ManagerModel
8990
+ */
8991
+ 'userType'?: string | null;
8992
+ /**
8993
+ *
8994
+ * @type {Array<UserLanguageModel>}
8995
+ * @memberof ManagerModel
8996
+ */
8997
+ 'languages'?: Array<UserLanguageModel> | null;
8998
+ /**
8999
+ *
9000
+ * @type {Array<UserLocationModel>}
9001
+ * @memberof ManagerModel
9002
+ */
9003
+ 'locations'?: Array<UserLocationModel> | null;
9004
+ /**
9005
+ *
9006
+ * @type {string}
9007
+ * @memberof ManagerModel
9008
+ */
9009
+ 'hospitalId'?: string;
9010
+ /**
9011
+ *
9012
+ * @type {Array<ManagerAffiliationModel>}
9013
+ * @memberof ManagerModel
9014
+ */
9015
+ 'affiliations'?: Array<ManagerAffiliationModel> | null;
9016
+ }
9017
+ /**
9018
+ *
9019
+ * @export
9020
+ * @interface ManagersModel
9021
+ */
9022
+ export interface ManagersModel {
9023
+ /**
9024
+ *
9025
+ * @type {Array<UserItemModel>}
9026
+ * @memberof ManagersModel
9027
+ */
9028
+ 'items'?: Array<UserItemModel> | null;
9029
+ /**
9030
+ *
9031
+ * @type {PagedListMetaData}
9032
+ * @memberof ManagersModel
9033
+ */
9034
+ 'metaData'?: PagedListMetaData;
9035
+ }
8724
9036
  /**
8725
9037
  *
8726
9038
  * @export
@@ -11854,15 +12166,76 @@ export interface UpdateHospitalSpecialtyCommand {
11854
12166
  /**
11855
12167
  *
11856
12168
  * @export
11857
- * @interface UpdateMediaCommand
12169
+ * @interface UpdateManagerCommand
11858
12170
  */
11859
- export interface UpdateMediaCommand {
12171
+ export interface UpdateManagerCommand {
11860
12172
  /**
11861
12173
  *
11862
- * @type {MediaType}
11863
- * @memberof UpdateMediaCommand
12174
+ * @type {string}
12175
+ * @memberof UpdateManagerCommand
11864
12176
  */
11865
- 'mediaType'?: MediaType;
12177
+ 'firstName'?: string | null;
12178
+ /**
12179
+ *
12180
+ * @type {string}
12181
+ * @memberof UpdateManagerCommand
12182
+ */
12183
+ 'lastName'?: string | null;
12184
+ /**
12185
+ *
12186
+ * @type {string}
12187
+ * @memberof UpdateManagerCommand
12188
+ */
12189
+ 'phone'?: string | null;
12190
+ /**
12191
+ *
12192
+ * @type {string}
12193
+ * @memberof UpdateManagerCommand
12194
+ */
12195
+ 'photo'?: string | null;
12196
+ /**
12197
+ *
12198
+ * @type {string}
12199
+ * @memberof UpdateManagerCommand
12200
+ */
12201
+ 'photoThumbnail'?: string | null;
12202
+ /**
12203
+ *
12204
+ * @type {Gender}
12205
+ * @memberof UpdateManagerCommand
12206
+ */
12207
+ 'gender'?: Gender;
12208
+ /**
12209
+ *
12210
+ * @type {Date}
12211
+ * @memberof UpdateManagerCommand
12212
+ */
12213
+ 'dateOfBirth'?: Date | null;
12214
+ /**
12215
+ *
12216
+ * @type {Array<UserLanguageModel>}
12217
+ * @memberof UpdateManagerCommand
12218
+ */
12219
+ 'languages'?: Array<UserLanguageModel> | null;
12220
+ /**
12221
+ *
12222
+ * @type {Array<UserLocationModel>}
12223
+ * @memberof UpdateManagerCommand
12224
+ */
12225
+ 'locations'?: Array<UserLocationModel> | null;
12226
+ }
12227
+ /**
12228
+ *
12229
+ * @export
12230
+ * @interface UpdateMediaCommand
12231
+ */
12232
+ export interface UpdateMediaCommand {
12233
+ /**
12234
+ *
12235
+ * @type {MediaType}
12236
+ * @memberof UpdateMediaCommand
12237
+ */
12238
+ 'mediaType'?: MediaType;
11866
12239
  /**
11867
12240
  *
11868
12241
  * @type {string}
@@ -12204,6 +12577,97 @@ export interface User {
12204
12577
  */
12205
12578
  'auditableEntity'?: AuditableEntity;
12206
12579
  }
12580
+ /**
12581
+ *
12582
+ * @export
12583
+ * @interface UserItemModel
12584
+ */
12585
+ export interface UserItemModel {
12586
+ /**
12587
+ *
12588
+ * @type {string}
12589
+ * @memberof UserItemModel
12590
+ */
12591
+ 'id'?: string;
12592
+ /**
12593
+ *
12594
+ * @type {string}
12595
+ * @memberof UserItemModel
12596
+ */
12597
+ 'userName'?: string | null;
12598
+ /**
12599
+ *
12600
+ * @type {string}
12601
+ * @memberof UserItemModel
12602
+ */
12603
+ 'firstName'?: string | null;
12604
+ /**
12605
+ *
12606
+ * @type {string}
12607
+ * @memberof UserItemModel
12608
+ */
12609
+ 'lastName'?: string | null;
12610
+ /**
12611
+ *
12612
+ * @type {string}
12613
+ * @memberof UserItemModel
12614
+ */
12615
+ 'fullname'?: string | null;
12616
+ /**
12617
+ *
12618
+ * @type {string}
12619
+ * @memberof UserItemModel
12620
+ */
12621
+ 'phone'?: string | null;
12622
+ /**
12623
+ *
12624
+ * @type {string}
12625
+ * @memberof UserItemModel
12626
+ */
12627
+ 'email'?: string | null;
12628
+ /**
12629
+ *
12630
+ * @type {string}
12631
+ * @memberof UserItemModel
12632
+ */
12633
+ 'photo'?: string | null;
12634
+ /**
12635
+ *
12636
+ * @type {string}
12637
+ * @memberof UserItemModel
12638
+ */
12639
+ 'photoThumbnail'?: string | null;
12640
+ /**
12641
+ *
12642
+ * @type {Gender}
12643
+ * @memberof UserItemModel
12644
+ */
12645
+ 'gender'?: Gender;
12646
+ /**
12647
+ *
12648
+ * @type {Date}
12649
+ * @memberof UserItemModel
12650
+ */
12651
+ 'dateOfBirth'?: Date | null;
12652
+ /**
12653
+ *
12654
+ * @type {string}
12655
+ * @memberof UserItemModel
12656
+ */
12657
+ 'timeZone'?: string | null;
12658
+ /**
12659
+ *
12660
+ * @type {string}
12661
+ * @memberof UserItemModel
12662
+ */
12663
+ 'communicationUserId'?: string | null;
12664
+ /**
12665
+ *
12666
+ * @type {AuditableEntity}
12667
+ * @memberof UserItemModel
12668
+ */
12669
+ 'auditableEntity'?: AuditableEntity;
12670
+ }
12207
12671
  /**
12208
12672
  *
12209
12673
  * @export
@@ -12373,6 +12837,115 @@ export declare enum UserLocationType {
12373
12837
  LivesIn = "LivesIn",
12374
12838
  BirthPlace = "BirthPlace"
12375
12839
  }
12840
+ /**
12841
+ *
12842
+ * @export
12843
+ * @interface UserModel
12844
+ */
12845
+ export interface UserModel {
12846
+ /**
12847
+ *
12848
+ * @type {string}
12849
+ * @memberof UserModel
12850
+ */
12851
+ 'id'?: string;
12852
+ /**
12853
+ *
12854
+ * @type {string}
12855
+ * @memberof UserModel
12856
+ */
12857
+ 'userName'?: string | null;
12858
+ /**
12859
+ *
12860
+ * @type {string}
12861
+ * @memberof UserModel
12862
+ */
12863
+ 'firstName'?: string | null;
12864
+ /**
12865
+ *
12866
+ * @type {string}
12867
+ * @memberof UserModel
12868
+ */
12869
+ 'lastName'?: string | null;
12870
+ /**
12871
+ *
12872
+ * @type {string}
12873
+ * @memberof UserModel
12874
+ */
12875
+ 'fullname'?: string | null;
12876
+ /**
12877
+ *
12878
+ * @type {string}
12879
+ * @memberof UserModel
12880
+ */
12881
+ 'phone'?: string | null;
12882
+ /**
12883
+ *
12884
+ * @type {string}
12885
+ * @memberof UserModel
12886
+ */
12887
+ 'email'?: string | null;
12888
+ /**
12889
+ *
12890
+ * @type {string}
12891
+ * @memberof UserModel
12892
+ */
12893
+ 'photo'?: string | null;
12894
+ /**
12895
+ *
12896
+ * @type {string}
12897
+ * @memberof UserModel
12898
+ */
12899
+ 'photoThumbnail'?: string | null;
12900
+ /**
12901
+ *
12902
+ * @type {Gender}
12903
+ * @memberof UserModel
12904
+ */
12905
+ 'gender'?: Gender;
12906
+ /**
12907
+ *
12908
+ * @type {Date}
12909
+ * @memberof UserModel
12910
+ */
12911
+ 'dateOfBirth'?: Date | null;
12912
+ /**
12913
+ *
12914
+ * @type {string}
12915
+ * @memberof UserModel
12916
+ */
12917
+ 'timeZone'?: string | null;
12918
+ /**
12919
+ *
12920
+ * @type {string}
12921
+ * @memberof UserModel
12922
+ */
12923
+ 'communicationUserId'?: string | null;
12924
+ /**
12925
+ *
12926
+ * @type {AuditableEntity}
12927
+ * @memberof UserModel
12928
+ */
12929
+ 'auditableEntity'?: AuditableEntity;
12930
+ /**
12931
+ *
12932
+ * @type {string}
12933
+ * @memberof UserModel
12934
+ */
12935
+ 'userType'?: string | null;
12936
+ /**
12937
+ *
12938
+ * @type {Array<UserLanguageModel>}
12939
+ * @memberof UserModel
12940
+ */
12941
+ 'languages'?: Array<UserLanguageModel> | null;
12942
+ /**
12943
+ *
12944
+ * @type {Array<UserLocationModel>}
12945
+ * @memberof UserModel
12946
+ */
12947
+ 'locations'?: Array<UserLocationModel> | null;
12948
+ }
12376
12949
  /**
12377
12950
  *
12378
12951
  * @export
@@ -20004,6 +20577,237 @@ export declare class LanguagesApi extends BaseAPI {
20004
20577
  */
20005
20578
  apiV1LanguagesIdGet(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LanguageModel>>;
20006
20579
  }
20580
+ /**
20581
+ * ManagersApi - axios parameter creator
20582
+ * @export
20583
+ */
20584
+ export declare const ManagersApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
20585
+ /**
20586
+ *
20587
+ * @summary Get all Managers.
20588
+ * @param {string} [hospitalId]
20589
+ * @param {string} [id]
20590
+ * @param {string} [fullname]
20591
+ * @param {string} [email]
20592
+ * @param {Gender} [gender]
20593
+ * @param {Date} [dateOfBirth]
20594
+ * @param {Date} [created]
20595
+ * @param {number} [page]
20596
+ * @param {number} [limit]
20597
+ * @param {Date} [lastRetrieved]
20598
+ * @param {*} [options] Override http request option.
20599
+ * @throws {RequiredError}
20600
+ */
20601
+ apiV1ManagersGet: (hospitalId?: string | undefined, id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20602
+ /**
20603
+ *
20604
+ * @summary Delete Manager.
20605
+ * @param {string} managerId
20606
+ * @param {*} [options] Override http request option.
20607
+ * @throws {RequiredError}
20608
+ */
20609
+ apiV1ManagersManagerIdDelete: (managerId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20610
+ /**
20611
+ *
20612
+ * @summary Get Manager.
20613
+ * @param {string} managerId
20614
+ * @param {*} [options] Override http request option.
20615
+ * @throws {RequiredError}
20616
+ */
20617
+ apiV1ManagersManagerIdGet: (managerId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20618
+ /**
20619
+ *
20620
+ * @summary Update Manager.
20621
+ * @param {string} managerId
20622
+ * @param {UpdateManagerCommand} [updateManagerCommand]
20623
+ * @param {*} [options] Override http request option.
20624
+ * @throws {RequiredError}
20625
+ */
20626
+ apiV1ManagersManagerIdPut: (managerId: string, updateManagerCommand?: UpdateManagerCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20627
+ /**
20628
+ *
20629
+ * @summary Create a Manager.
20630
+ * @param {CreateManagerCommand} [createManagerCommand]
20631
+ * @param {*} [options] Override http request option.
20632
+ * @throws {RequiredError}
20633
+ */
20634
+ apiV1ManagersPost: (createManagerCommand?: CreateManagerCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20635
+ };
20636
+ /**
20637
+ * ManagersApi - functional programming interface
20638
+ * @export
20639
+ */
20640
+ export declare const ManagersApiFp: (configuration?: Configuration | undefined) => {
20641
+ /**
20642
+ *
20643
+ * @summary Get all Managers.
20644
+ * @param {string} [hospitalId]
20645
+ * @param {string} [id]
20646
+ * @param {string} [fullname]
20647
+ * @param {string} [email]
20648
+ * @param {Gender} [gender]
20649
+ * @param {Date} [dateOfBirth]
20650
+ * @param {Date} [created]
20651
+ * @param {number} [page]
20652
+ * @param {number} [limit]
20653
+ * @param {Date} [lastRetrieved]
20654
+ * @param {*} [options] Override http request option.
20655
+ * @throws {RequiredError}
20656
+ */
20657
+ apiV1ManagersGet(hospitalId?: string | undefined, id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ManagersModel>>;
20658
+ /**
20659
+ *
20660
+ * @summary Delete Manager.
20661
+ * @param {string} managerId
20662
+ * @param {*} [options] Override http request option.
20663
+ * @throws {RequiredError}
20664
+ */
20665
+ apiV1ManagersManagerIdDelete(managerId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
20666
+ /**
20667
+ *
20668
+ * @summary Get Manager.
20669
+ * @param {string} managerId
20670
+ * @param {*} [options] Override http request option.
20671
+ * @throws {RequiredError}
20672
+ */
20673
+ apiV1ManagersManagerIdGet(managerId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ManagerModel>>;
20674
+ /**
20675
+ *
20676
+ * @summary Update Manager.
20677
+ * @param {string} managerId
20678
+ * @param {UpdateManagerCommand} [updateManagerCommand]
20679
+ * @param {*} [options] Override http request option.
20680
+ * @throws {RequiredError}
20681
+ */
20682
+ apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
20683
+ /**
20684
+ *
20685
+ * @summary Create a Manager.
20686
+ * @param {CreateManagerCommand} [createManagerCommand]
20687
+ * @param {*} [options] Override http request option.
20688
+ * @throws {RequiredError}
20689
+ */
20690
+ apiV1ManagersPost(createManagerCommand?: CreateManagerCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ManagerModel>>;
20691
+ };
20692
+ /**
20693
+ * ManagersApi - factory interface
20694
+ * @export
20695
+ */
20696
+ export declare const ManagersApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
20697
+ /**
20698
+ *
20699
+ * @summary Get all Managers.
20700
+ * @param {string} [hospitalId]
20701
+ * @param {string} [id]
20702
+ * @param {string} [fullname]
20703
+ * @param {string} [email]
20704
+ * @param {Gender} [gender]
20705
+ * @param {Date} [dateOfBirth]
20706
+ * @param {Date} [created]
20707
+ * @param {number} [page]
20708
+ * @param {number} [limit]
20709
+ * @param {Date} [lastRetrieved]
20710
+ * @param {*} [options] Override http request option.
20711
+ * @throws {RequiredError}
20712
+ */
20713
+ apiV1ManagersGet(hospitalId?: string | undefined, id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<ManagersModel>;
20714
+ /**
20715
+ *
20716
+ * @summary Delete Manager.
20717
+ * @param {string} managerId
20718
+ * @param {*} [options] Override http request option.
20719
+ * @throws {RequiredError}
20720
+ */
20721
+ apiV1ManagersManagerIdDelete(managerId: string, options?: any): AxiosPromise<boolean>;
20722
+ /**
20723
+ *
20724
+ * @summary Get Manager.
20725
+ * @param {string} managerId
20726
+ * @param {*} [options] Override http request option.
20727
+ * @throws {RequiredError}
20728
+ */
20729
+ apiV1ManagersManagerIdGet(managerId: string, options?: any): AxiosPromise<ManagerModel>;
20730
+ /**
20731
+ *
20732
+ * @summary Update Manager.
20733
+ * @param {string} managerId
20734
+ * @param {UpdateManagerCommand} [updateManagerCommand]
20735
+ * @param {*} [options] Override http request option.
20736
+ * @throws {RequiredError}
20737
+ */
20738
+ apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand | undefined, options?: any): AxiosPromise<boolean>;
20739
+ /**
20740
+ *
20741
+ * @summary Create a Manager.
20742
+ * @param {CreateManagerCommand} [createManagerCommand]
20743
+ * @param {*} [options] Override http request option.
20744
+ * @throws {RequiredError}
20745
+ */
20746
+ apiV1ManagersPost(createManagerCommand?: CreateManagerCommand | undefined, options?: any): AxiosPromise<ManagerModel>;
20747
+ };
20748
+ /**
20749
+ * ManagersApi - object-oriented interface
20750
+ * @export
20751
+ * @class ManagersApi
20752
+ * @extends {BaseAPI}
20753
+ */
20754
+ export declare class ManagersApi extends BaseAPI {
20755
+ /**
20756
+ *
20757
+ * @summary Get all Managers.
20758
+ * @param {string} [hospitalId]
20759
+ * @param {string} [id]
20760
+ * @param {string} [fullname]
20761
+ * @param {string} [email]
20762
+ * @param {Gender} [gender]
20763
+ * @param {Date} [dateOfBirth]
20764
+ * @param {Date} [created]
20765
+ * @param {number} [page]
20766
+ * @param {number} [limit]
20767
+ * @param {Date} [lastRetrieved]
20768
+ * @param {*} [options] Override http request option.
20769
+ * @throws {RequiredError}
20770
+ * @memberof ManagersApi
20771
+ */
20772
+ apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagersModel>>;
20773
+ /**
20774
+ *
20775
+ * @summary Delete Manager.
20776
+ * @param {string} managerId
20777
+ * @param {*} [options] Override http request option.
20778
+ * @throws {RequiredError}
20779
+ * @memberof ManagersApi
20780
+ */
20781
+ apiV1ManagersManagerIdDelete(managerId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
20782
+ /**
20783
+ *
20784
+ * @summary Get Manager.
20785
+ * @param {string} managerId
20786
+ * @param {*} [options] Override http request option.
20787
+ * @throws {RequiredError}
20788
+ * @memberof ManagersApi
20789
+ */
20790
+ apiV1ManagersManagerIdGet(managerId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerModel>>;
20791
+ /**
20792
+ *
20793
+ * @summary Update Manager.
20794
+ * @param {string} managerId
20795
+ * @param {UpdateManagerCommand} [updateManagerCommand]
20796
+ * @param {*} [options] Override http request option.
20797
+ * @throws {RequiredError}
20798
+ * @memberof ManagersApi
20799
+ */
20800
+ apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
20801
+ /**
20802
+ *
20803
+ * @summary Create a Manager.
20804
+ * @param {CreateManagerCommand} [createManagerCommand]
20805
+ * @param {*} [options] Override http request option.
20806
+ * @throws {RequiredError}
20807
+ * @memberof ManagersApi
20808
+ */
20809
+ apiV1ManagersPost(createManagerCommand?: CreateManagerCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerModel>>;
20810
+ }
20007
20811
  /**
20008
20812
  * NotificationsApi - axios parameter creator
20009
20813
  * @export
@@ -20112,6 +20916,127 @@ export declare class NotificationsApi extends BaseAPI {
20112
20916
  */
20113
20917
  apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationsModel>>;
20114
20918
  }
20919
+ /**
20920
+ * ProfilesApi - axios parameter creator
20921
+ * @export
20922
+ */
20923
+ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
20924
+ /**
20925
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
20926
+ * @summary Change user\'s email on both Identity and Api.
20927
+ * @param {ChangeEmailCommand} [changeEmailCommand]
20928
+ * @param {*} [options] Override http request option.
20929
+ * @throws {RequiredError}
20930
+ */
20931
+ apiV1ProfilesChangeemailPost: (changeEmailCommand?: ChangeEmailCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20932
+ /**
20933
+ *
20934
+ * @summary Configm email.
20935
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
20936
+ * @param {*} [options] Override http request option.
20937
+ * @throws {RequiredError}
20938
+ */
20939
+ apiV1ProfilesConfirmemailPost: (confirmEmailCommand?: ConfirmEmailCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20940
+ /**
20941
+ *
20942
+ * @summary Get Profile.
20943
+ * @param {*} [options] Override http request option.
20944
+ * @throws {RequiredError}
20945
+ */
20946
+ apiV1ProfilesGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
20947
+ };
20948
+ /**
20949
+ * ProfilesApi - functional programming interface
20950
+ * @export
20951
+ */
20952
+ export declare const ProfilesApiFp: (configuration?: Configuration | undefined) => {
20953
+ /**
20954
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
20955
+ * @summary Change user\'s email on both Identity and Api.
20956
+ * @param {ChangeEmailCommand} [changeEmailCommand]
20957
+ * @param {*} [options] Override http request option.
20958
+ * @throws {RequiredError}
20959
+ */
20960
+ apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
20961
+ /**
20962
+ *
20963
+ * @summary Configm email.
20964
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
20965
+ * @param {*} [options] Override http request option.
20966
+ * @throws {RequiredError}
20967
+ */
20968
+ apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
20969
+ /**
20970
+ *
20971
+ * @summary Get Profile.
20972
+ * @param {*} [options] Override http request option.
20973
+ * @throws {RequiredError}
20974
+ */
20975
+ apiV1ProfilesGet(options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<UserModel>>;
20976
+ };
20977
+ /**
20978
+ * ProfilesApi - factory interface
20979
+ * @export
20980
+ */
20981
+ export declare const ProfilesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
20982
+ /**
20983
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
20984
+ * @summary Change user\'s email on both Identity and Api.
20985
+ * @param {ChangeEmailCommand} [changeEmailCommand]
20986
+ * @param {*} [options] Override http request option.
20987
+ * @throws {RequiredError}
20988
+ */
20989
+ apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand | undefined, options?: any): AxiosPromise<boolean>;
20990
+ /**
20991
+ *
20992
+ * @summary Configm email.
20993
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
20994
+ * @param {*} [options] Override http request option.
20995
+ * @throws {RequiredError}
20996
+ */
20997
+ apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand | undefined, options?: any): AxiosPromise<boolean>;
20998
+ /**
20999
+ *
21000
+ * @summary Get Profile.
21001
+ * @param {*} [options] Override http request option.
21002
+ * @throws {RequiredError}
21003
+ */
21004
+ apiV1ProfilesGet(options?: any): AxiosPromise<UserModel>;
21005
+ };
21006
+ /**
21007
+ * ProfilesApi - object-oriented interface
21008
+ * @export
21009
+ * @class ProfilesApi
21010
+ * @extends {BaseAPI}
21011
+ */
21012
+ export declare class ProfilesApi extends BaseAPI {
21013
+ /**
21014
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
21015
+ * @summary Change user\'s email on both Identity and Api.
21016
+ * @param {ChangeEmailCommand} [changeEmailCommand]
21017
+ * @param {*} [options] Override http request option.
21018
+ * @throws {RequiredError}
21019
+ * @memberof ProfilesApi
21020
+ */
21021
+ apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
21022
+ /**
21023
+ *
21024
+ * @summary Configm email.
21025
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
21026
+ * @param {*} [options] Override http request option.
21027
+ * @throws {RequiredError}
21028
+ * @memberof ProfilesApi
21029
+ */
21030
+ apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
21031
+ /**
21032
+ *
21033
+ * @summary Get Profile.
21034
+ * @param {*} [options] Override http request option.
21035
+ * @throws {RequiredError}
21036
+ * @memberof ProfilesApi
21037
+ */
21038
+ apiV1ProfilesGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserModel>>;
21039
+ }
20115
21040
  /**
20116
21041
  * ServicesApi - axios parameter creator
20117
21042
  * @export